Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 099b8ea86ae346ef1d450a8d185b2283d3122d98 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-ssh17434631871139495680.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh8786921856113692958.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5912995989224422804.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh7345248917401424566.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11417864832121080620.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-34828’ is offline Running on prd-ubuntu20.04-docker-8c-8g-38390 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 099b8ea86ae346ef1d450a8d185b2283d3122d98 (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 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 Commit message: "Merge pull request #282 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" > git rev-list --no-walk a78a78d04b97f7ac7bc255628a7f1c8f0a4474e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-03T03:33:51.501Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-03T03:33:51.582Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-03T03:33:51.607Z] ========================================================= [2022-05-03T03:33:51.607Z] EdgeX Global Pipelines Version Info [2022-05-03T03:33:51.607Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:33:52.794Z] ------------------- [2022-05-03T03:33:52.794Z] stable info: [2022-05-03T03:33:52.794Z] ------------------- [2022-05-03T03:33:52.794Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-03T03:33:52.794Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-03T03:33:52.794Z] Message: update stable to v1.0.227 [2022-05-03T03:33:53.058Z] ------------------- [2022-05-03T03:33:53.058Z] experimental info: [2022-05-03T03:33:53.058Z] ------------------- [2022-05-03T03:33:53.058Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-03T03:33:53.058Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-03T03:33:53.058Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-03T03:33:53.234Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-05-03T03:33:53.245Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-05-03T03:33:53.254Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-03T03:33:53.263Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-03T03:33:53.272Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-03T03:33:53.283Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-03T03:33:53.294Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-03T03:33:53.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-03T03:33:53.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-03T03:33:53.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-03T03:33:53.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-03T03:33:53.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-05-03T03:33:53.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-03T03:33:53.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-03T03:33:53.488Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T03:33:53.502Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T03:33:53.519Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T03:33:53.536Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T03:33:53.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-03T03:33:53.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-03T03:33:53.589Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-03T03:33:53.603Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-03T03:33:53.616Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-03T03:33:53.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-03T03:33:53.641Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-03T03:33:53.663Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-03T03:33:53.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-03T03:33:53.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-03T03:33:53.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-03T03:33:53.708Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] echo [2022-05-03T03:33:53.718Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 099b8ea [Pipeline] echo [2022-05-03T03:33:53.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T03:33:53.773Z] provisioning config files... [2022-05-03T03:33:53.786Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config868338079667381316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:33:54.115Z] ---> docker-login.sh [2022-05-03T03:33:54.115Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:33:54.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:33:54.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:33:54.378Z] Configure a credential helper to remove this warning. See [2022-05-03T03:33:54.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:33:54.378Z] [2022-05-03T03:33:54.378Z] Login Succeeded [2022-05-03T03:33:54.378Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:33:54.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:33:54.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:33:54.643Z] Configure a credential helper to remove this warning. See [2022-05-03T03:33:54.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:33:54.643Z] [2022-05-03T03:33:54.643Z] Login Succeeded [2022-05-03T03:33:54.643Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:33:54.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:33:54.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:33:54.916Z] Configure a credential helper to remove this warning. See [2022-05-03T03:33:54.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:33:54.916Z] [2022-05-03T03:33:54.916Z] Login Succeeded [2022-05-03T03:33:54.916Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:33:54.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:33:54.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:33:54.916Z] Configure a credential helper to remove this warning. See [2022-05-03T03:33:54.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:33:54.916Z] [2022-05-03T03:33:54.916Z] Login Succeeded [2022-05-03T03:33:54.916Z] docker.io [2022-05-03T03:33:54.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:33:55.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:33:55.491Z] Configure a credential helper to remove this warning. See [2022-05-03T03:33:55.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:33:55.491Z] [2022-05-03T03:33:55.491Z] Login Succeeded [2022-05-03T03:33:55.491Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:33:55.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-03T03:33:55.977Z] + git rev-list -1 --merges 099b8ea86ae346ef1d450a8d185b2283d3122d98~1..099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] echo [2022-05-03T03:33:56.077Z] -----------> git rev-list -1 --merges 099b8ea86ae346ef1d450a8d185b2283d3122d98~1..099b8ea86ae346ef1d450a8d185b2283d3122d98 099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T03:33:56.078Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98 [false] [Pipeline] sh [2022-05-03T03:33:56.377Z] + git log --format=format:%s -1 099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] echo [2022-05-03T03:33:56.395Z] ========================================================= [2022-05-03T03:33:56.395Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-03T03:33:56.395Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T03:33:56.759Z] + git log --format=format:%s -1 099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] echo [2022-05-03T03:33:56.772Z] [semverPrep] GIT_COMMIT: 099b8ea86ae346ef1d450a8d185b2283d3122d98, Commit Message: Merge pull request #282 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35 [Pipeline] echo [2022-05-03T03:33:56.783Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-03T03:33:57.517Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T03:33:57.517Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-03T03:33:57.517Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-03T03:33:57.517Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-03T03:33:57.517Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-03T03:33:57.517Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-03T03:33:57.517Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:33:58.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:33:58.034Z] [2022-05-03T03:33:58.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:33:58.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:33:58.345Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-03T03:33:58.345Z] 1fe172e4850f: Pulling fs layer [2022-05-03T03:33:58.345Z] caf521ccaac6: Pulling fs layer [2022-05-03T03:33:58.345Z] 3ead6fa29328: Pulling fs layer [2022-05-03T03:33:58.345Z] 5c2a1cbceb83: Pulling fs layer [2022-05-03T03:33:58.345Z] a8d5f1318db7: Pulling fs layer [2022-05-03T03:33:58.345Z] c427282e49a2: Pulling fs layer [2022-05-03T03:33:58.345Z] 1827001aaf11: Pulling fs layer [2022-05-03T03:33:58.345Z] 0714d37db230: Pulling fs layer [2022-05-03T03:33:58.345Z] ac28cf19c067: Pulling fs layer [2022-05-03T03:33:58.345Z] ca983d60f3e2: Pulling fs layer [2022-05-03T03:33:58.345Z] 9f894cec8388: Pulling fs layer [2022-05-03T03:33:58.345Z] c427282e49a2: Waiting [2022-05-03T03:33:58.345Z] 1827001aaf11: Waiting [2022-05-03T03:33:58.345Z] a8d5f1318db7: Waiting [2022-05-03T03:33:58.345Z] 0714d37db230: Waiting [2022-05-03T03:33:58.345Z] 5c2a1cbceb83: Waiting [2022-05-03T03:33:58.345Z] ac28cf19c067: Waiting [2022-05-03T03:33:58.345Z] ca983d60f3e2: Waiting [2022-05-03T03:33:58.345Z] 9f894cec8388: Waiting [2022-05-03T03:33:58.345Z] caf521ccaac6: Download complete [2022-05-03T03:33:58.345Z] 5c2a1cbceb83: Verifying Checksum [2022-05-03T03:33:58.345Z] 5c2a1cbceb83: Download complete [2022-05-03T03:33:58.345Z] a8d5f1318db7: Verifying Checksum [2022-05-03T03:33:58.345Z] a8d5f1318db7: Download complete [2022-05-03T03:33:58.345Z] 3ead6fa29328: Verifying Checksum [2022-05-03T03:33:58.345Z] 3ead6fa29328: Download complete [2022-05-03T03:33:58.611Z] c427282e49a2: Verifying Checksum [2022-05-03T03:33:58.611Z] c427282e49a2: Download complete [2022-05-03T03:33:58.612Z] 0714d37db230: Verifying Checksum [2022-05-03T03:33:58.612Z] 0714d37db230: Download complete [2022-05-03T03:33:58.612Z] ac28cf19c067: Verifying Checksum [2022-05-03T03:33:58.612Z] ac28cf19c067: Download complete [2022-05-03T03:33:58.612Z] ca983d60f3e2: Download complete [2022-05-03T03:33:58.612Z] 9f894cec8388: Verifying Checksum [2022-05-03T03:33:58.612Z] 9f894cec8388: Download complete [2022-05-03T03:33:58.612Z] 1fe172e4850f: Verifying Checksum [2022-05-03T03:33:58.612Z] 1fe172e4850f: Download complete [2022-05-03T03:33:58.877Z] 1827001aaf11: Verifying Checksum [2022-05-03T03:33:58.877Z] 1827001aaf11: Download complete [2022-05-03T03:33:59.817Z] 1fe172e4850f: Pull complete [2022-05-03T03:34:00.079Z] caf521ccaac6: Pull complete [2022-05-03T03:34:00.648Z] 3ead6fa29328: Pull complete [2022-05-03T03:34:00.648Z] 5c2a1cbceb83: Pull complete [2022-05-03T03:34:00.909Z] a8d5f1318db7: Pull complete [2022-05-03T03:34:00.909Z] c427282e49a2: Pull complete [2022-05-03T03:34:02.817Z] 1827001aaf11: Pull complete [2022-05-03T03:34:02.817Z] 0714d37db230: Pull complete [2022-05-03T03:34:02.817Z] ac28cf19c067: Pull complete [2022-05-03T03:34:02.817Z] ca983d60f3e2: Pull complete [2022-05-03T03:34:03.084Z] 9f894cec8388: Pull complete [2022-05-03T03:34:03.084Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-03T03:34:03.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:34:03.084Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-03T03:34:03.159Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T03:34:03.206Z] $ 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-03T03:34:04.739Z] $ docker top da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c -eo pid,comm [2022-05-03T03:34:04.803Z] 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-03T03:34:04.803Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T03:34:04.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T03:34:04.855Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T03:34:04.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T03:34:04.986Z] $ docker exec da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c ssh-agent [2022-05-03T03:34:05.104Z] SSH_AUTH_SOCK=/tmp/ssh-N1jNqedkRlYM/agent.33 [2022-05-03T03:34:05.104Z] SSH_AGENT_PID=39 [2022-05-03T03:34:05.114Z] Running ssh-add (command line suppressed) [2022-05-03T03:34:05.244Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3203593329937694222.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3203593329937694222.key) [2022-05-03T03:34:05.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T03:34:05.552Z] + git tag --points-at HEAD [Pipeline] } [2022-05-03T03:34:05.578Z] $ docker exec --env ******** --env ******** da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c ssh-agent -k [2022-05-03T03:34:05.680Z] unset SSH_AUTH_SOCK; [2022-05-03T03:34:05.681Z] unset SSH_AGENT_PID; [2022-05-03T03:34:05.681Z] echo Agent pid 39 killed; [2022-05-03T03:34:05.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-03T03:34:05.707Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T03:34:05.707Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T03:34:05.823Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T03:34:05.831Z] $ docker exec da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c ssh-agent [2022-05-03T03:34:05.937Z] SSH_AUTH_SOCK=/tmp/ssh-CqoXXJVbgu2J/agent.71 [2022-05-03T03:34:05.937Z] SSH_AGENT_PID=77 [2022-05-03T03:34:05.942Z] Running ssh-add (command line suppressed) [2022-05-03T03:34:06.067Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7450126861910967707.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7450126861910967707.key) [2022-05-03T03:34:06.077Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T03:34:06.370Z] + git semver init [2022-05-03T03:34:06.630Z] 2022-05-03 03:34:06,581 [run_init] DEBUG init version:0.0.0 force:False [2022-05-03T03:34:06.630Z] 2022-05-03 03:34:06,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-03T03:34:06.630Z] 2022-05-03 03:34:06,582 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-05-03T03:34:06.630Z] 2022-05-03 03:34:06,582 [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-03T03:34:08.018Z] 2022-05-03 03:34:07,615 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude [2022-05-03T03:34:08.018Z] 2022-05-03 03:34:07,616 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False [2022-05-03T03:34:08.018Z] 2022-05-03 03:34:07,616 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T03:34:08.018Z] 2022-05-03 03:34:07,616 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T03:34:08.018Z] 2.2.0-dev.15 [Pipeline] } [2022-05-03T03:34:08.034Z] $ docker exec --env ******** --env ******** da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c ssh-agent -k [2022-05-03T03:34:08.142Z] unset SSH_AUTH_SOCK; [2022-05-03T03:34:08.143Z] unset SSH_AGENT_PID; [2022-05-03T03:34:08.143Z] echo Agent pid 77 killed; [2022-05-03T03:34:08.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T03:34:08.475Z] + git semver [Pipeline] } [2022-05-03T03:34:08.754Z] $ docker stop --time=1 da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c [2022-05-03T03:34:10.088Z] $ docker rm -f da6810b4b29c3bf8986b75a6bf106b40ce97d8f044323838bf44b61510ff502c [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T03:34:10.457Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-03T03:34:10.736Z] Stashed 1 file(s) [Pipeline] echo [2022-05-03T03:34:10.740Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [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-03T03:34:10.920Z] provisioning config files... [2022-05-03T03:34:10.933Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4466171750179039383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:34:11.250Z] ---> docker-login.sh [2022-05-03T03:34:11.250Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:34:11.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:34:11.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:34:11.250Z] Configure a credential helper to remove this warning. See [2022-05-03T03:34:11.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:34:11.250Z] [2022-05-03T03:34:11.250Z] Login Succeeded [2022-05-03T03:34:11.250Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:34:11.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:34:11.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:34:11.510Z] Configure a credential helper to remove this warning. See [2022-05-03T03:34:11.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:34:11.510Z] [2022-05-03T03:34:11.510Z] Login Succeeded [2022-05-03T03:34:11.510Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:34:11.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:34:11.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:34:11.510Z] Configure a credential helper to remove this warning. See [2022-05-03T03:34:11.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:34:11.510Z] [2022-05-03T03:34:11.510Z] Login Succeeded [2022-05-03T03:34:11.510Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:34:11.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:34:11.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:34:11.772Z] Configure a credential helper to remove this warning. See [2022-05-03T03:34:11.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:34:11.772Z] [2022-05-03T03:34:11.772Z] Login Succeeded [2022-05-03T03:34:11.772Z] docker.io [2022-05-03T03:34:11.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:34:12.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:34:12.033Z] Configure a credential helper to remove this warning. See [2022-05-03T03:34:12.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:34:12.033Z] [2022-05-03T03:34:12.033Z] Login Succeeded [2022-05-03T03:34:12.033Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:34:12.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T03:34:12.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T03:34:12.127Z] ========================================================= [2022-05-03T03:34:12.127Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-03T03:34:12.127Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:34:12.461Z] + 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-03T03:34:12.461Z] Sending build context to Docker daemon 22.9MB [2022-05-03T03:34:12.461Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T03:34:12.461Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-03T03:34:12.721Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-03T03:34:12.721Z] 59bf1c3509f3: Pulling fs layer [2022-05-03T03:34:12.721Z] 666ba61612fd: Pulling fs layer [2022-05-03T03:34:12.721Z] 8ed8ca486205: Pulling fs layer [2022-05-03T03:34:12.721Z] 4fe6c5a15a65: Pulling fs layer [2022-05-03T03:34:12.721Z] 22a0e8bec74d: Pulling fs layer [2022-05-03T03:34:12.721Z] ca2b28591e48: Pulling fs layer [2022-05-03T03:34:12.721Z] a51346096db8: Pulling fs layer [2022-05-03T03:34:12.721Z] daebc70d1ce1: Pulling fs layer [2022-05-03T03:34:12.721Z] 0e18a0eac166: Pulling fs layer [2022-05-03T03:34:12.721Z] 4fe6c5a15a65: Waiting [2022-05-03T03:34:12.721Z] 22a0e8bec74d: Waiting [2022-05-03T03:34:12.721Z] ca2b28591e48: Waiting [2022-05-03T03:34:12.721Z] a51346096db8: Waiting [2022-05-03T03:34:12.721Z] daebc70d1ce1: Waiting [2022-05-03T03:34:12.721Z] 0e18a0eac166: Waiting [2022-05-03T03:34:12.721Z] 8ed8ca486205: Download complete [2022-05-03T03:34:12.721Z] 666ba61612fd: Download complete [2022-05-03T03:34:12.721Z] 22a0e8bec74d: Download complete [2022-05-03T03:34:12.721Z] ca2b28591e48: Verifying Checksum [2022-05-03T03:34:12.721Z] ca2b28591e48: Download complete [2022-05-03T03:34:12.721Z] a51346096db8: Verifying Checksum [2022-05-03T03:34:12.721Z] a51346096db8: Download complete [2022-05-03T03:34:12.721Z] 59bf1c3509f3: Verifying Checksum [2022-05-03T03:34:12.721Z] daebc70d1ce1: Verifying Checksum [2022-05-03T03:34:12.721Z] daebc70d1ce1: Download complete [2022-05-03T03:34:12.721Z] 59bf1c3509f3: Pull complete [2022-05-03T03:34:12.983Z] 666ba61612fd: Pull complete [2022-05-03T03:34:12.983Z] 8ed8ca486205: Pull complete [2022-05-03T03:34:13.244Z] 0e18a0eac166: Verifying Checksum [2022-05-03T03:34:13.244Z] 0e18a0eac166: Download complete [2022-05-03T03:34:13.504Z] 4fe6c5a15a65: Verifying Checksum [2022-05-03T03:34:13.504Z] 4fe6c5a15a65: Download complete [2022-05-03T03:34:17.702Z] 4fe6c5a15a65: Pull complete [2022-05-03T03:34:17.702Z] 22a0e8bec74d: Pull complete [2022-05-03T03:34:17.702Z] ca2b28591e48: Pull complete [2022-05-03T03:34:17.702Z] a51346096db8: Pull complete [2022-05-03T03:34:17.702Z] daebc70d1ce1: Pull complete [2022-05-03T03:34:19.608Z] 0e18a0eac166: Pull complete [2022-05-03T03:34:19.608Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-03T03:34:19.608Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T03:34:19.608Z] ---> f018257e8ee9 [2022-05-03T03:34:19.608Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T03:34:20.996Z] ---> Running in 51cef7a03582 [2022-05-03T03:34:20.996Z] Removing intermediate container 51cef7a03582 [2022-05-03T03:34:20.996Z] ---> a0d8a47bc6b9 [2022-05-03T03:34:20.996Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T03:34:20.996Z] ---> Running in 1ebbb415c88d [2022-05-03T03:34:20.996Z] Removing intermediate container 1ebbb415c88d [2022-05-03T03:34:20.996Z] ---> 66820d33642e [2022-05-03T03:34:20.996Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-03T03:34:21.255Z] ---> Running in 229778deb825 [2022-05-03T03:34:21.255Z] Removing intermediate container 229778deb825 [2022-05-03T03:34:21.255Z] ---> 2acba3fb8745 [2022-05-03T03:34:21.255Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:34:21.255Z] ---> Running in b9941f3630b6 [2022-05-03T03:34:22.215Z] Removing intermediate container b9941f3630b6 [2022-05-03T03:34:22.215Z] ---> cee3304e1ca3 [2022-05-03T03:34:22.215Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T03:34:22.215Z] ---> Running in 055f935944d8 [2022-05-03T03:34:22.477Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:34:23.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:34:23.682Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-03T03:34:23.682Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-03T03:34:23.942Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-03T03:34:23.942Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-03T03:34:24.204Z] Executing busybox-1.34.1-r3.trigger [2022-05-03T03:34:24.204Z] OK: 224 MiB in 56 packages [2022-05-03T03:34:24.463Z] Removing intermediate container 055f935944d8 [2022-05-03T03:34:24.463Z] ---> 0c958f004bda [2022-05-03T03:34:24.463Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-03T03:34:24.722Z] ---> 2f2f92b13512 [2022-05-03T03:34:24.722Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T03:34:24.722Z] ---> Running in 1796a64185e2 [2022-05-03T03:34:25.863Z] Still waiting to schedule task [2022-05-03T03:34:25.863Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-38399’ is offline [2022-05-03T03:34:39.631Z] Removing intermediate container 1796a64185e2 [2022-05-03T03:34:39.631Z] ---> 5bc4d482e57a [2022-05-03T03:34:39.631Z] Step 10/12 : COPY . . [2022-05-03T03:34:40.200Z] ---> c0d1c1798008 [2022-05-03T03:34:40.200Z] Step 11/12 : ARG MAKE='make build' [2022-05-03T03:34:40.461Z] ---> Running in 62ab7745f8e5 [2022-05-03T03:34:40.461Z] Removing intermediate container 62ab7745f8e5 [2022-05-03T03:34:40.461Z] ---> dee48991e3bd [2022-05-03T03:34:40.461Z] Step 12/12 : RUN $MAKE [2022-05-03T03:34:40.461Z] ---> Running in bbfda8ff287f [2022-05-03T03:34:40.721Z] noop [2022-05-03T03:34:40.982Z] Removing intermediate container bbfda8ff287f [2022-05-03T03:34:40.982Z] ---> d0c8ea17cd6e [2022-05-03T03:34:40.982Z] Successfully built d0c8ea17cd6e [2022-05-03T03:34:40.982Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:34:41.543Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T03:34:41.543Z] . [Pipeline] withDockerContainer [2022-05-03T03:34:41.607Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T03:34:41.653Z] $ 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-03T03:34:42.038Z] $ docker top c61a7d84b4de456d229fe93c10ef90a4bbf1d12e34b1062e00667a8230acaf25 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T03:34:42.383Z] + go version [2022-05-03T03:34:42.383Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-03T03:34:42.401Z] $ docker stop --time=1 c61a7d84b4de456d229fe93c10ef90a4bbf1d12e34b1062e00667a8230acaf25 [2022-05-03T03:34:43.703Z] $ docker rm -f c61a7d84b4de456d229fe93c10ef90a4bbf1d12e34b1062e00667a8230acaf25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:34:44.135Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T03:34:44.135Z] . [Pipeline] withDockerContainer [2022-05-03T03:34:44.206Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T03:34:44.251Z] $ 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-03T03:34:44.661Z] $ docker top 6af0de0626e4baa2934a2bfcc3b875b2bc950b16d2bf05a1a1eb8e82011cb86b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T03:34:45.101Z] + make test [2022-05-03T03:34:45.101Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-03T03:34:45.367Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-03T03:34:55.361Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-03T03:34:55.361Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-05-03T03:35:00.638Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-03T03:35:04.844Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T03:35:04.844Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T03:35:04.844Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T03:35:04.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T03:35:04.879Z] $ docker stop --time=1 6af0de0626e4baa2934a2bfcc3b875b2bc950b16d2bf05a1a1eb8e82011cb86b [2022-05-03T03:35:06.636Z] $ docker rm -f 6af0de0626e4baa2934a2bfcc3b875b2bc950b16d2bf05a1a1eb8e82011cb86b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T03:35:07.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T03:35:07.113Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-03T03:35:08.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T03:35:08.611Z] + ls -al . [2022-05-03T03:35:08.611Z] total 184 [2022-05-03T03:35:08.611Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:35 . [2022-05-03T03:35:08.611Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:33 .. [2022-05-03T03:35:08.611Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:34 .git [2022-05-03T03:35:08.611Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:33 .github [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 270 May 3 03:33 .gitignore [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:33 .golangci.yml [2022-05-03T03:35:08.611Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:34 .semver [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 7893 May 3 03:33 Attribution.txt [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 6349 May 3 03:33 CHANGELOG.md [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 3 03:33 Dockerfile [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:33 GOVERNANCE.md [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 660 May 3 03:33 Jenkinsfile [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:33 LICENSE [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 3 03:33 Makefile [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 623 May 3 03:33 OWNERS.md [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 3 03:33 README.md [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 12 May 3 03:34 VERSION [2022-05-03T03:35:08.611Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:33 bin [2022-05-03T03:35:08.611Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:33 cmd [2022-05-03T03:35:08.611Z] -rw-r--r-- 1 jenkins jenkins 44128 May 3 03:34 coverage.out [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 3185 May 3 03:33 go.mod [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 35098 May 3 03:33 go.sum [2022-05-03T03:35:08.611Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:33 internal [2022-05-03T03:35:08.611Z] -rw-rw-r-- 1 jenkins jenkins 235 May 3 03:33 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:08.923Z] + 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=099b8ea86ae346ef1d450a8d185b2283d3122d98 --label arch=amd64 --label version=2.2.0-dev.15 . [2022-05-03T03:35:08.923Z] Sending build context to Docker daemon 22.95MB [2022-05-03T03:35:08.923Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T03:35:08.923Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-03T03:35:08.923Z] ---> d0c8ea17cd6e [2022-05-03T03:35:08.923Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T03:35:09.185Z] ---> Running in a1ff316748c8 [2022-05-03T03:35:09.185Z] Removing intermediate container a1ff316748c8 [2022-05-03T03:35:09.185Z] ---> 4b4352cd4c5f [2022-05-03T03:35:09.185Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T03:35:09.185Z] ---> Running in fe0810c7989d [2022-05-03T03:35:09.446Z] Removing intermediate container fe0810c7989d [2022-05-03T03:35:09.446Z] ---> 7a09e47acf04 [2022-05-03T03:35:09.446Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-03T03:35:09.446Z] ---> Running in 46f525966b4f [2022-05-03T03:35:09.446Z] Removing intermediate container 46f525966b4f [2022-05-03T03:35:09.446Z] ---> 96ed24d7b035 [2022-05-03T03:35:09.446Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:35:09.446Z] ---> Running in f22199fe54ac [2022-05-03T03:35:10.018Z] Removing intermediate container f22199fe54ac [2022-05-03T03:35:10.018Z] ---> 413d149da315 [2022-05-03T03:35:10.018Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T03:35:10.018Z] ---> Running in 93c96ef60c8c [2022-05-03T03:35:10.280Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:35:11.224Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:35:11.794Z] OK: 224 MiB in 56 packages [2022-05-03T03:35:12.055Z] Removing intermediate container 93c96ef60c8c [2022-05-03T03:35:12.055Z] ---> 6dd883fd082b [2022-05-03T03:35:12.055Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-03T03:35:12.055Z] ---> 4475837faa3c [2022-05-03T03:35:12.055Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T03:35:12.316Z] ---> Running in 1517b4fe4f7b [2022-05-03T03:35:12.885Z] Removing intermediate container 1517b4fe4f7b [2022-05-03T03:35:12.885Z] ---> 600721a01932 [2022-05-03T03:35:12.885Z] Step 10/26 : COPY . . [2022-05-03T03:35:13.454Z] ---> 930ec2e1d907 [2022-05-03T03:35:13.454Z] Step 11/26 : ARG MAKE='make build' [2022-05-03T03:35:13.454Z] ---> Running in e2bcdda2087a [2022-05-03T03:35:13.454Z] Removing intermediate container e2bcdda2087a [2022-05-03T03:35:13.454Z] ---> 0dc7e9c6bf4e [2022-05-03T03:35:13.454Z] Step 12/26 : RUN $MAKE [2022-05-03T03:35:13.454Z] ---> Running in c38019a8ec04 [2022-05-03T03:35:13.712Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-03T03:35:35.669Z] Removing intermediate container c38019a8ec04 [2022-05-03T03:35:35.669Z] ---> ef7081f32c52 [2022-05-03T03:35:35.669Z] Step 13/26 : FROM alpine:3.14 [2022-05-03T03:35:35.669Z] 3.14: Pulling from library/alpine [2022-05-03T03:35:35.669Z] 8663204ce13b: Pulling fs layer [2022-05-03T03:35:35.669Z] 8663204ce13b: Verifying Checksum [2022-05-03T03:35:35.669Z] 8663204ce13b: Download complete [2022-05-03T03:35:35.669Z] 8663204ce13b: Pull complete [2022-05-03T03:35:35.669Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T03:35:35.669Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T03:35:35.669Z] ---> e04c818066af [2022-05-03T03:35:35.669Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-03T03:35:35.669Z] ---> Running in 0778fc399d30 [2022-05-03T03:35:35.669Z] Removing intermediate container 0778fc399d30 [2022-05-03T03:35:35.669Z] ---> dff80df807ac [2022-05-03T03:35:35.669Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:35:35.669Z] ---> Running in 70c76ff774ac [2022-05-03T03:35:35.669Z] Removing intermediate container 70c76ff774ac [2022-05-03T03:35:35.669Z] ---> f8724de6d50f [2022-05-03T03:35:35.669Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-03T03:35:35.669Z] ---> Running in 6b861c2b0aa0 [2022-05-03T03:35:35.669Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:35:35.669Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:35:35.929Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-03T03:35:35.929Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T03:35:35.929Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-03T03:35:36.190Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T03:35:36.190Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-03T03:35:36.190Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-03T03:35:36.450Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T03:35:36.450Z] OK: 8 MiB in 20 packages [2022-05-03T03:35:36.712Z] Removing intermediate container 6b861c2b0aa0 [2022-05-03T03:35:36.712Z] ---> 2c553ca34925 [2022-05-03T03:35:36.712Z] Step 17/26 : WORKDIR / [2022-05-03T03:35:36.712Z] ---> Running in c08c4d6322ae [2022-05-03T03:35:36.712Z] Removing intermediate container c08c4d6322ae [2022-05-03T03:35:36.712Z] ---> e4a062652e9c [2022-05-03T03:35:36.712Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-03T03:35:36.976Z] ---> 82450f2f0b43 [2022-05-03T03:35:36.976Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-03T03:35:36.976Z] ---> 508f8bb29b1e [2022-05-03T03:35:36.976Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-03T03:35:37.918Z] ---> 7e2a426101d5 [2022-05-03T03:35:37.918Z] Step 21/26 : EXPOSE 59900 [2022-05-03T03:35:37.918Z] ---> Running in afaa394ee008 [2022-05-03T03:35:37.918Z] Removing intermediate container afaa394ee008 [2022-05-03T03:35:37.918Z] ---> 1f4d601e544c [2022-05-03T03:35:37.918Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-03T03:35:37.918Z] ---> Running in 881f77596275 [2022-05-03T03:35:37.918Z] Removing intermediate container 881f77596275 [2022-05-03T03:35:37.918Z] ---> 5b61ba1e645f [2022-05-03T03:35:37.918Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T03:35:37.918Z] ---> Running in 6fef88f1c2fb [2022-05-03T03:35:38.179Z] Removing intermediate container 6fef88f1c2fb [2022-05-03T03:35:38.179Z] ---> 2a010277b9ec [2022-05-03T03:35:38.179Z] Step 24/26 : LABEL arch=amd64 [2022-05-03T03:35:38.179Z] ---> Running in 1408fec08463 [2022-05-03T03:35:38.179Z] Removing intermediate container 1408fec08463 [2022-05-03T03:35:38.179Z] ---> 5561650846c4 [2022-05-03T03:35:38.179Z] Step 25/26 : LABEL git_sha=099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T03:35:38.179Z] ---> Running in a123985fca7c [2022-05-03T03:35:38.441Z] Removing intermediate container a123985fca7c [2022-05-03T03:35:38.441Z] ---> 1fe6cbf912f2 [2022-05-03T03:35:38.441Z] Step 26/26 : LABEL version=2.2.0-dev.15 [2022-05-03T03:35:38.441Z] ---> Running in 13813df151a4 [2022-05-03T03:35:38.441Z] Removing intermediate container 13813df151a4 [2022-05-03T03:35:38.441Z] ---> e1b21c6cbd84 [2022-05-03T03:35:38.441Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T03:35:38.441Z] Successfully built e1b21c6cbd84 [2022-05-03T03:35:38.441Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T03:35:38.574Z] provisioning config files... [2022-05-03T03:35:38.583Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7231803532284644719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:35:38.886Z] ---> docker-login.sh [2022-05-03T03:35:38.886Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:35:38.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:35:38.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:35:38.886Z] Configure a credential helper to remove this warning. See [2022-05-03T03:35:38.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:35:38.886Z] [2022-05-03T03:35:38.886Z] Login Succeeded [2022-05-03T03:35:38.886Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:35:38.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:35:38.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:35:38.886Z] Configure a credential helper to remove this warning. See [2022-05-03T03:35:38.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:35:38.886Z] [2022-05-03T03:35:38.886Z] Login Succeeded [2022-05-03T03:35:39.147Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:35:39.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:35:39.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:35:39.147Z] Configure a credential helper to remove this warning. See [2022-05-03T03:35:39.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:35:39.147Z] [2022-05-03T03:35:39.147Z] Login Succeeded [2022-05-03T03:35:39.147Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:35:39.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:35:39.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:35:39.147Z] Configure a credential helper to remove this warning. See [2022-05-03T03:35:39.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:35:39.147Z] [2022-05-03T03:35:39.147Z] Login Succeeded [2022-05-03T03:35:39.408Z] docker.io [2022-05-03T03:35:39.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:35:39.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:35:39.668Z] Configure a credential helper to remove this warning. See [2022-05-03T03:35:39.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:35:39.668Z] [2022-05-03T03:35:39.668Z] Login Succeeded [2022-05-03T03:35:39.668Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:35:39.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T03:35:39.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T03:35:39.735Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-05-03T03:35:39.735Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T03:35:39.735Z] latest [2022-05-03T03:35:39.735Z] 2.2.0-dev.15 [2022-05-03T03:35:39.735Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [2022-05-03T03:35:39.735Z] main [2022-05-03T03:35:39.735Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:40.066Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:40.361Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T03:35:40.361Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-03T03:35:40.361Z] 6e440c1da008: Preparing [2022-05-03T03:35:40.361Z] ebcc65be708a: Preparing [2022-05-03T03:35:40.361Z] 0b5920cc195c: Preparing [2022-05-03T03:35:40.361Z] 9690536f03f5: Preparing [2022-05-03T03:35:40.361Z] 6b0d5e11cbce: Preparing [2022-05-03T03:35:40.361Z] b541d28bf3b4: Preparing [2022-05-03T03:35:40.361Z] ebcc65be708a: Pushed [2022-05-03T03:35:40.361Z] 6b0d5e11cbce: Pushed [2022-05-03T03:35:40.361Z] 0b5920cc195c: Pushed [2022-05-03T03:35:40.361Z] b541d28bf3b4: Layer already exists [2022-05-03T03:35:40.619Z] 9690536f03f5: Pushed [2022-05-03T03:35:43.164Z] 6e440c1da008: Pushed [2022-05-03T03:35:43.164Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:43.468Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:43.760Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-03T03:35:43.760Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-03T03:35:43.760Z] 6e440c1da008: Preparing [2022-05-03T03:35:43.760Z] ebcc65be708a: Preparing [2022-05-03T03:35:43.760Z] 0b5920cc195c: Preparing [2022-05-03T03:35:43.760Z] 9690536f03f5: Preparing [2022-05-03T03:35:43.760Z] 6b0d5e11cbce: Preparing [2022-05-03T03:35:43.760Z] b541d28bf3b4: Preparing [2022-05-03T03:35:43.760Z] b541d28bf3b4: Waiting [2022-05-03T03:35:43.760Z] 9690536f03f5: Layer already exists [2022-05-03T03:35:43.760Z] ebcc65be708a: Layer already exists [2022-05-03T03:35:43.760Z] 6b0d5e11cbce: Layer already exists [2022-05-03T03:35:43.760Z] 0b5920cc195c: Layer already exists [2022-05-03T03:35:43.760Z] 6e440c1da008: Layer already exists [2022-05-03T03:35:43.760Z] b541d28bf3b4: Layer already exists [2022-05-03T03:35:43.761Z] latest: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:44.059Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:44.354Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.15 [2022-05-03T03:35:44.354Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-03T03:35:44.354Z] 6e440c1da008: Preparing [2022-05-03T03:35:44.354Z] ebcc65be708a: Preparing [2022-05-03T03:35:44.354Z] 0b5920cc195c: Preparing [2022-05-03T03:35:44.354Z] 9690536f03f5: Preparing [2022-05-03T03:35:44.354Z] 6b0d5e11cbce: Preparing [2022-05-03T03:35:44.354Z] b541d28bf3b4: Preparing [2022-05-03T03:35:44.354Z] b541d28bf3b4: Waiting [2022-05-03T03:35:44.354Z] 9690536f03f5: Layer already exists [2022-05-03T03:35:44.354Z] 6e440c1da008: Layer already exists [2022-05-03T03:35:44.354Z] ebcc65be708a: Layer already exists [2022-05-03T03:35:44.354Z] 0b5920cc195c: Layer already exists [2022-05-03T03:35:44.354Z] 6b0d5e11cbce: Layer already exists [2022-05-03T03:35:44.354Z] b541d28bf3b4: Layer already exists [2022-05-03T03:35:44.354Z] 2.2.0-dev.15: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:44.736Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:45.035Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [2022-05-03T03:35:45.035Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-03T03:35:45.035Z] 6e440c1da008: Preparing [2022-05-03T03:35:45.035Z] ebcc65be708a: Preparing [2022-05-03T03:35:45.035Z] 0b5920cc195c: Preparing [2022-05-03T03:35:45.035Z] 9690536f03f5: Preparing [2022-05-03T03:35:45.035Z] 6b0d5e11cbce: Preparing [2022-05-03T03:35:45.035Z] b541d28bf3b4: Preparing [2022-05-03T03:35:45.035Z] b541d28bf3b4: Waiting [2022-05-03T03:35:45.035Z] 6e440c1da008: Layer already exists [2022-05-03T03:35:45.035Z] 0b5920cc195c: Layer already exists [2022-05-03T03:35:45.035Z] 6b0d5e11cbce: Layer already exists [2022-05-03T03:35:45.035Z] ebcc65be708a: Layer already exists [2022-05-03T03:35:45.035Z] 9690536f03f5: Layer already exists [2022-05-03T03:35:45.035Z] b541d28bf3b4: Layer already exists [2022-05-03T03:35:45.035Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:45.334Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:45.635Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-05-03T03:35:45.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-05-03T03:35:45.635Z] 6e440c1da008: Preparing [2022-05-03T03:35:45.635Z] ebcc65be708a: Preparing [2022-05-03T03:35:45.635Z] 0b5920cc195c: Preparing [2022-05-03T03:35:45.635Z] 9690536f03f5: Preparing [2022-05-03T03:35:45.635Z] 6b0d5e11cbce: Preparing [2022-05-03T03:35:45.635Z] b541d28bf3b4: Preparing [2022-05-03T03:35:45.635Z] b541d28bf3b4: Waiting [2022-05-03T03:35:45.635Z] 9690536f03f5: Layer already exists [2022-05-03T03:35:45.635Z] 6e440c1da008: Layer already exists [2022-05-03T03:35:45.635Z] 0b5920cc195c: Layer already exists [2022-05-03T03:35:45.635Z] 6b0d5e11cbce: Layer already exists [2022-05-03T03:35:45.635Z] ebcc65be708a: Layer already exists [2022-05-03T03:35:45.635Z] b541d28bf3b4: Layer already exists [2022-05-03T03:35:45.635Z] main: digest: sha256:5d6dbda66fb6fd59709da8a49049a305d8f25536f2e6f337abcb057e74c7ab20 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T03:35:45.681Z] ===================================================== [Pipeline] echo [2022-05-03T03:35:45.694Z] taggedImages: [2022-05-03T03:35:45.694Z] - nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T03:35:45.694Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-05-03T03:35:45.694Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.15 [2022-05-03T03:35:45.694Z] - nexus3.edgexfoundry.org:10004/device-virtual:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [2022-05-03T03:35:45.694Z] - 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] sh [2022-05-03T03:35:46.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:35:46.091Z] [2022-05-03T03:35:46.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:35:46.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:35:46.396Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-03T03:35:46.396Z] 5eb5b503b376: Pulling fs layer [2022-05-03T03:35:46.396Z] 5c69ac0246d0: Pulling fs layer [2022-05-03T03:35:46.396Z] ec43610c2a17: Pulling fs layer [2022-05-03T03:35:46.396Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-03T03:35:46.396Z] 33b1e0a273af: Pulling fs layer [2022-05-03T03:35:46.396Z] 5d3b04190fa2: Pulling fs layer [2022-05-03T03:35:46.396Z] 2f39f015ded8: Pulling fs layer [2022-05-03T03:35:46.396Z] 3a2ae6a8a46f: Waiting [2022-05-03T03:35:46.396Z] 33b1e0a273af: Waiting [2022-05-03T03:35:46.396Z] 5d3b04190fa2: Waiting [2022-05-03T03:35:46.396Z] 5c69ac0246d0: Download complete [2022-05-03T03:35:46.396Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-03T03:35:46.396Z] 3a2ae6a8a46f: Download complete [2022-05-03T03:35:46.396Z] 33b1e0a273af: Verifying Checksum [2022-05-03T03:35:46.396Z] 33b1e0a273af: Download complete [2022-05-03T03:35:46.396Z] 5d3b04190fa2: Verifying Checksum [2022-05-03T03:35:46.396Z] 5d3b04190fa2: Download complete [2022-05-03T03:35:46.396Z] ec43610c2a17: Verifying Checksum [2022-05-03T03:35:46.396Z] ec43610c2a17: Download complete [2022-05-03T03:35:46.656Z] 5eb5b503b376: Verifying Checksum [2022-05-03T03:35:46.656Z] 5eb5b503b376: Download complete [2022-05-03T03:35:47.222Z] 2f39f015ded8: Download complete [2022-05-03T03:35:47.793Z] 5eb5b503b376: Pull complete [2022-05-03T03:35:48.052Z] 5c69ac0246d0: Pull complete [2022-05-03T03:35:48.311Z] ec43610c2a17: Pull complete [2022-05-03T03:35:48.569Z] 3a2ae6a8a46f: Pull complete [2022-05-03T03:35:48.829Z] 33b1e0a273af: Pull complete [2022-05-03T03:35:48.829Z] 5d3b04190fa2: Pull complete [2022-05-03T03:35:53.128Z] 2f39f015ded8: Pull complete [2022-05-03T03:35:53.128Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-03T03:35:53.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:35:53.128Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-03T03:35:53.205Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T03:35:53.251Z] $ 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-03T03:35:54.733Z] $ docker top aaae5cf33caa7d1836d893e019e5ac18dba6b7a9b6fa1dcae6615e08a67c8c42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:35:55.153Z] ---> job-cost.sh [2022-05-03T03:35:55.153Z] lf-activate-venv: SKIPPING [2022-05-03T03:35:55.153Z] INFO: No Stack... [2022-05-03T03:35:55.417Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T03:35:55.992Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T03:35:56.297Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-05-03T03:35:56.297Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T03:35:56.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [2022-05-03T03:35:56.323Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] did not exist. Created. [2022-05-03T03:35:56.323Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T03:35:56.640Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-03T03:35:56.669Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T03:35:56.676Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T03:35:56.702Z] $ docker stop --time=1 aaae5cf33caa7d1836d893e019e5ac18dba6b7a9b6fa1dcae6615e08a67c8c42 [2022-05-03T03:35:57.857Z] $ docker rm -f aaae5cf33caa7d1836d893e019e5ac18dba6b7a9b6fa1dcae6615e08a67c8c42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-03T04:14:55.960Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-40300 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-05-03T04:14:55.973Z] Running in /w/workspace/device-virtual-go/31 [Pipeline] { [Pipeline] checkout [2022-05-03T04:14:56.288Z] The recommended git tool is: git [2022-05-03T04:15:02.532Z] using credential edgex-jenkins-ssh [2022-05-03T04:15:02.558Z] Cloning the remote Git repository [2022-05-03T04:15:02.654Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-05-03T04:15:02.752Z] > git init /w/workspace/device-virtual-go/31 # timeout=10 [2022-05-03T04:15:02.862Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-05-03T04:15:02.863Z] > git --version # timeout=10 [2022-05-03T04:15:02.893Z] > git --version # 'git version 2.25.1' [2022-05-03T04:15:02.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T04:15:02.962Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T04:15:05.373Z] Avoid second fetch [2022-05-03T04:15:05.373Z] Checking out Revision 099b8ea86ae346ef1d450a8d185b2283d3122d98 (main) [2022-05-03T04:15:05.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-05-03T04:15:05.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T04:15:05.399Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T04:15:05.466Z] > git checkout -f 099b8ea86ae346ef1d450a8d185b2283d3122d98 # timeout=10 [2022-05-03T04:15:10.038Z] Commit message: "Merge pull request #282 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:15:10.853Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-03T04:15:10.853Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:15:10.853Z] Dload Upload Total Spent Left Speed [2022-05-03T04:15:10.853Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-05-03T04:15:11.367Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-03T04:15:11.707Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-05-03T04:15:11.707Z] /etc/docker/daemon.json [2022-05-03T04:15:11.707Z] { [2022-05-03T04:15:11.707Z] "registry-mirrors": [ [2022-05-03T04:15:11.707Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-03T04:15:11.707Z] ], [2022-05-03T04:15:11.707Z] "bip": "10.250.0.254/24", [2022-05-03T04:15:11.707Z] "hosts": [ [2022-05-03T04:15:11.707Z] "tcp://0.0.0.0:5555", [2022-05-03T04:15:11.707Z] "unix:///var/run/docker.sock" [2022-05-03T04:15:11.707Z] ], [2022-05-03T04:15:11.707Z] "mtu": 1458, [2022-05-03T04:15:11.707Z] "selinux-enabled": true, [2022-05-03T04:15:11.707Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-03T04:15:11.707Z] } [Pipeline] sh [2022-05-03T04:15:12.078Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-03T04:15:12.438Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:15:30.798Z] provisioning config files... [2022-05-03T04:15:30.829Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/31@tmp/config7876580897178412738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:15:31.216Z] ---> docker-login.sh [2022-05-03T04:15:31.216Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:15:31.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:32.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:32.098Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:32.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:32.098Z] [2022-05-03T04:15:32.098Z] Login Succeeded [2022-05-03T04:15:32.098Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:15:32.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:32.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:32.647Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:32.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:32.647Z] [2022-05-03T04:15:32.647Z] Login Succeeded [2022-05-03T04:15:32.647Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:15:32.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:33.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:33.210Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:33.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:33.210Z] [2022-05-03T04:15:33.210Z] Login Succeeded [2022-05-03T04:15:33.210Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:15:33.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:33.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:33.763Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:33.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:33.763Z] [2022-05-03T04:15:33.763Z] Login Succeeded [2022-05-03T04:15:33.763Z] docker.io [2022-05-03T04:15:34.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:34.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:34.313Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:34.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:34.313Z] [2022-05-03T04:15:34.313Z] Login Succeeded [2022-05-03T04:15:34.313Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:15:34.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T04:15:35.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T04:15:35.290Z] ========================================================= [2022-05-03T04:15:35.290Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-03T04:15:35.290Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:15:35.749Z] + 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-03T04:15:36.479Z] Sending build context to Docker daemon 11.58MB [2022-05-03T04:15:36.479Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:15:36.479Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-03T04:15:36.765Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-03T04:15:36.765Z] 9b3977197b4f: Pulling fs layer [2022-05-03T04:15:36.765Z] 1a89e8eeedd5: Pulling fs layer [2022-05-03T04:15:36.765Z] 94645a83ff95: Pulling fs layer [2022-05-03T04:15:36.765Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-03T04:15:36.765Z] 0c92f367c5e7: Pulling fs layer [2022-05-03T04:15:36.765Z] 3096ccb668a1: Pulling fs layer [2022-05-03T04:15:36.765Z] e8cf19c19ddd: Pulling fs layer [2022-05-03T04:15:36.765Z] a4caa8a26152: Pulling fs layer [2022-05-03T04:15:36.765Z] 0c92f367c5e7: Waiting [2022-05-03T04:15:36.765Z] 3096ccb668a1: Waiting [2022-05-03T04:15:36.765Z] e8cf19c19ddd: Waiting [2022-05-03T04:15:36.765Z] a4caa8a26152: Waiting [2022-05-03T04:15:36.765Z] 3f3a8bcf1eab: Waiting [2022-05-03T04:15:36.765Z] 94645a83ff95: Verifying Checksum [2022-05-03T04:15:36.765Z] 94645a83ff95: Download complete [2022-05-03T04:15:36.765Z] 1a89e8eeedd5: Verifying Checksum [2022-05-03T04:15:36.765Z] 1a89e8eeedd5: Download complete [2022-05-03T04:15:36.765Z] 0c92f367c5e7: Verifying Checksum [2022-05-03T04:15:36.765Z] 0c92f367c5e7: Download complete [2022-05-03T04:15:36.765Z] 3096ccb668a1: Verifying Checksum [2022-05-03T04:15:36.765Z] 3096ccb668a1: Download complete [2022-05-03T04:15:36.765Z] e8cf19c19ddd: Download complete [2022-05-03T04:15:36.765Z] 9b3977197b4f: Verifying Checksum [2022-05-03T04:15:36.765Z] 9b3977197b4f: Download complete [2022-05-03T04:15:38.430Z] 9b3977197b4f: Pull complete [2022-05-03T04:15:39.053Z] 1a89e8eeedd5: Pull complete [2022-05-03T04:15:39.672Z] 94645a83ff95: Pull complete [2022-05-03T04:15:40.289Z] a4caa8a26152: Verifying Checksum [2022-05-03T04:15:40.289Z] a4caa8a26152: Download complete [2022-05-03T04:15:41.780Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-03T04:15:41.780Z] 3f3a8bcf1eab: Download complete [2022-05-03T04:16:00.139Z] 3f3a8bcf1eab: Pull complete [2022-05-03T04:16:00.743Z] 0c92f367c5e7: Pull complete [2022-05-03T04:16:01.018Z] 3096ccb668a1: Pull complete [2022-05-03T04:16:01.299Z] e8cf19c19ddd: Pull complete [2022-05-03T04:16:08.067Z] a4caa8a26152: Pull complete [2022-05-03T04:16:08.067Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-03T04:16:08.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T04:16:08.067Z] ---> 725f1c02e7f9 [2022-05-03T04:16:08.067Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T04:16:09.513Z] ---> Running in 56ac5a0df17c [2022-05-03T04:16:09.793Z] Removing intermediate container 56ac5a0df17c [2022-05-03T04:16:09.793Z] ---> 61d7edded465 [2022-05-03T04:16:09.793Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T04:16:10.074Z] ---> Running in 9a75161a3aa4 [2022-05-03T04:16:10.360Z] Removing intermediate container 9a75161a3aa4 [2022-05-03T04:16:10.360Z] ---> d19a5268e8c5 [2022-05-03T04:16:10.360Z] Step 5/12 : WORKDIR /device-virtual-go [2022-05-03T04:16:10.638Z] ---> Running in 2fd6ab687220 [2022-05-03T04:16:10.920Z] Removing intermediate container 2fd6ab687220 [2022-05-03T04:16:10.921Z] ---> 188c08766c07 [2022-05-03T04:16:10.921Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:16:10.921Z] ---> Running in f4887e1ce8aa [2022-05-03T04:16:12.920Z] Removing intermediate container f4887e1ce8aa [2022-05-03T04:16:12.920Z] ---> 74e5c07b4051 [2022-05-03T04:16:12.920Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T04:16:13.209Z] ---> Running in 92f43defb354 [2022-05-03T04:16:14.193Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:16:15.194Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:16:16.178Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-03T04:16:16.178Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-03T04:16:16.178Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-03T04:16:16.452Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-03T04:16:16.726Z] Executing busybox-1.34.1-r3.trigger [2022-05-03T04:16:16.726Z] OK: 224 MiB in 56 packages [2022-05-03T04:16:17.729Z] Removing intermediate container 92f43defb354 [2022-05-03T04:16:17.729Z] ---> 2d6db48b72fc [2022-05-03T04:16:17.729Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-03T04:16:18.327Z] ---> 884a4b8c0297 [2022-05-03T04:16:18.327Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:16:18.327Z] ---> Running in 0bdff51461d9 [2022-05-03T04:17:14.902Z] Removing intermediate container 0bdff51461d9 [2022-05-03T04:17:14.902Z] ---> 3e81b146771c [2022-05-03T04:17:14.902Z] Step 10/12 : COPY . . [2022-05-03T04:17:14.902Z] ---> 2a62a89db4a5 [2022-05-03T04:17:14.902Z] Step 11/12 : ARG MAKE='make build' [2022-05-03T04:17:14.902Z] ---> Running in 2160678b6bf4 [2022-05-03T04:17:14.902Z] Removing intermediate container 2160678b6bf4 [2022-05-03T04:17:14.902Z] ---> 37dbd54be2e7 [2022-05-03T04:17:14.902Z] Step 12/12 : RUN $MAKE [2022-05-03T04:17:14.902Z] ---> Running in 2e510f0b682f [2022-05-03T04:17:14.902Z] noop [2022-05-03T04:17:14.902Z] Removing intermediate container 2e510f0b682f [2022-05-03T04:17:14.902Z] ---> a7ceabb5c774 [2022-05-03T04:17:14.902Z] Successfully built a7ceabb5c774 [2022-05-03T04:17:14.902Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:17:15.261Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T04:17:15.261Z] . [Pipeline] withDockerContainer [2022-05-03T04:17:15.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-40300 does not seem to be running inside a container [2022-05-03T04:17:15.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/31 -v /w/workspace/device-virtual-go/31:/w/workspace/device-virtual-go/31:rw,z -v /w/workspace/device-virtual-go/31@tmp:/w/workspace/device-virtual-go/31@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-03T04:17:16.956Z] $ docker top 2abea019fd21ab7f587c6bcaedcb283dfeb991b51795abe4b57d601edead7565 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:17:17.924Z] + go version [2022-05-03T04:17:17.924Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-03T04:17:17.956Z] $ docker stop --time=1 2abea019fd21ab7f587c6bcaedcb283dfeb991b51795abe4b57d601edead7565 [2022-05-03T04:17:19.667Z] $ docker rm -f 2abea019fd21ab7f587c6bcaedcb283dfeb991b51795abe4b57d601edead7565 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:17:20.301Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T04:17:20.301Z] . [Pipeline] withDockerContainer [2022-05-03T04:17:20.534Z] prd-ubuntu20.04-docker-arm64-4c-16g-40300 does not seem to be running inside a container [2022-05-03T04:17:20.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/31 -v /w/workspace/device-virtual-go/31:/w/workspace/device-virtual-go/31:rw,z -v /w/workspace/device-virtual-go/31@tmp:/w/workspace/device-virtual-go/31@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-03T04:17:21.956Z] $ docker top 21ca3bc806586b0e4892515bc7a5de8e98258faabd4678c5eb64b1462fc67038 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T04:17:22.908Z] + make test [2022-05-03T04:17:22.908Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-03T04:17:24.925Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-05-03T04:19:01.863Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-05-03T04:19:01.863Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.160s coverage: 65.7% of statements [2022-05-03T04:19:01.863Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-03T04:19:01.863Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-03T04:19:34.269Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T04:19:34.269Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T04:19:34.269Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T04:19:34.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T04:19:34.312Z] $ docker stop --time=1 21ca3bc806586b0e4892515bc7a5de8e98258faabd4678c5eb64b1462fc67038 [2022-05-03T04:19:36.225Z] $ docker rm -f 21ca3bc806586b0e4892515bc7a5de8e98258faabd4678c5eb64b1462fc67038 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:19:37.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T04:19:37.299Z] Warning: overwriting stash ‘coverage-report’ [2022-05-03T04:19:37.912Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:19:38.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T04:19:38.675Z] + ls -al . [2022-05-03T04:19:38.675Z] total 180 [2022-05-03T04:19:38.675Z] drwxrwxr-x 7 jenkins jenkins 4096 May 3 04:19 . [2022-05-03T04:19:38.675Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:15 .. [2022-05-03T04:19:38.675Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:15 .git [2022-05-03T04:19:38.675Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 .github [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 270 May 3 04:15 .gitignore [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:15 .golangci.yml [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 7893 May 3 04:15 Attribution.txt [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 6349 May 3 04:15 CHANGELOG.md [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 1974 May 3 04:15 Dockerfile [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:15 GOVERNANCE.md [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 660 May 3 04:15 Jenkinsfile [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:15 LICENSE [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 2248 May 3 04:15 Makefile [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 623 May 3 04:15 OWNERS.md [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 2914 May 3 04:15 README.md [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 12 May 3 03:34 VERSION [2022-05-03T04:19:38.675Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 bin [2022-05-03T04:19:38.675Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 cmd [2022-05-03T04:19:38.675Z] -rw-r--r-- 1 jenkins jenkins 44128 May 3 04:18 coverage.out [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 3185 May 3 04:15 go.mod [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 35098 May 3 04:15 go.sum [2022-05-03T04:19:38.675Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 internal [2022-05-03T04:19:38.675Z] -rw-rw-r-- 1 jenkins jenkins 235 May 3 04:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:19:39.031Z] + 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=099b8ea86ae346ef1d450a8d185b2283d3122d98 --label arch=arm64 --label version=2.2.0-dev.15 . [2022-05-03T04:19:39.635Z] Sending build context to Docker daemon 11.62MB [2022-05-03T04:19:39.635Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:19:39.635Z] Step 2/26 : FROM ${BASE} AS builder [2022-05-03T04:19:39.635Z] ---> a7ceabb5c774 [2022-05-03T04:19:39.635Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T04:19:39.635Z] ---> Running in 2e0e624293bb [2022-05-03T04:19:40.238Z] Removing intermediate container 2e0e624293bb [2022-05-03T04:19:40.238Z] ---> 133ff9d3370c [2022-05-03T04:19:40.238Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T04:19:40.238Z] ---> Running in e812fd9d08fd [2022-05-03T04:19:40.515Z] Removing intermediate container e812fd9d08fd [2022-05-03T04:19:40.515Z] ---> 3cd704e2f98b [2022-05-03T04:19:40.515Z] Step 5/26 : WORKDIR /device-virtual-go [2022-05-03T04:19:40.791Z] ---> Running in cdd00c1e36c2 [2022-05-03T04:19:41.068Z] Removing intermediate container cdd00c1e36c2 [2022-05-03T04:19:41.068Z] ---> 97bf30abdb14 [2022-05-03T04:19:41.068Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:19:41.068Z] ---> Running in 5dc38720b603 [2022-05-03T04:19:43.066Z] Removing intermediate container 5dc38720b603 [2022-05-03T04:19:43.066Z] ---> 15efc798032e [2022-05-03T04:19:43.066Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T04:19:43.066Z] ---> Running in 213e3559c550 [2022-05-03T04:19:44.505Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:19:45.103Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:19:46.092Z] OK: 224 MiB in 56 packages [2022-05-03T04:19:47.078Z] Removing intermediate container 213e3559c550 [2022-05-03T04:19:47.078Z] ---> 8a8fc3b1b23a [2022-05-03T04:19:47.078Z] Step 8/26 : COPY go.mod vendor* ./ [2022-05-03T04:19:47.679Z] ---> e1292a5fe992 [2022-05-03T04:19:47.679Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:19:47.679Z] ---> Running in 92b71e94fb7e [2022-05-03T04:19:50.306Z] Removing intermediate container 92b71e94fb7e [2022-05-03T04:19:50.307Z] ---> b412491e7490 [2022-05-03T04:19:50.307Z] Step 10/26 : COPY . . [2022-05-03T04:19:51.336Z] ---> 2b2e7d3e3554 [2022-05-03T04:19:51.336Z] Step 11/26 : ARG MAKE='make build' [2022-05-03T04:19:51.336Z] ---> Running in 72c11412f1d0 [2022-05-03T04:19:51.944Z] Removing intermediate container 72c11412f1d0 [2022-05-03T04:19:51.944Z] ---> 3a1cedc7b182 [2022-05-03T04:19:51.944Z] Step 12/26 : RUN $MAKE [2022-05-03T04:19:51.944Z] ---> Running in 63efeaef2dd0 [2022-05-03T04:19:52.936Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-05-03T04:22:29.933Z] Removing intermediate container 63efeaef2dd0 [2022-05-03T04:22:29.933Z] ---> 2ad1d9cf1375 [2022-05-03T04:22:29.933Z] Step 13/26 : FROM alpine:3.14 [2022-05-03T04:22:29.933Z] 3.14: Pulling from library/alpine [2022-05-03T04:22:29.933Z] 455c02918c45: Pulling fs layer [2022-05-03T04:22:29.933Z] 455c02918c45: Download complete [2022-05-03T04:22:29.933Z] 455c02918c45: Pull complete [2022-05-03T04:22:29.933Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T04:22:29.933Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T04:22:29.933Z] ---> ac73e934f311 [2022-05-03T04:22:29.933Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-05-03T04:22:29.933Z] ---> Running in 701ef340ddb2 [2022-05-03T04:22:29.933Z] Removing intermediate container 701ef340ddb2 [2022-05-03T04:22:29.933Z] ---> 3c54290238d7 [2022-05-03T04:22:29.933Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:22:29.933Z] ---> Running in 45aee00af720 [2022-05-03T04:22:29.933Z] Removing intermediate container 45aee00af720 [2022-05-03T04:22:29.933Z] ---> 4136b4a88813 [2022-05-03T04:22:29.933Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-03T04:22:29.933Z] ---> Running in 01adb253dc38 [2022-05-03T04:22:29.933Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:22:29.933Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:22:29.933Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-03T04:22:29.933Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T04:22:29.933Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-03T04:22:29.933Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T04:22:29.933Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-03T04:22:29.933Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-03T04:22:29.933Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T04:22:29.933Z] OK: 8 MiB in 20 packages [2022-05-03T04:22:29.933Z] Removing intermediate container 01adb253dc38 [2022-05-03T04:22:29.933Z] ---> c2679708ba84 [2022-05-03T04:22:29.933Z] Step 17/26 : WORKDIR / [2022-05-03T04:22:29.933Z] ---> Running in c6f458012fec [2022-05-03T04:22:29.933Z] Removing intermediate container c6f458012fec [2022-05-03T04:22:29.933Z] ---> 5b55b2f63ef1 [2022-05-03T04:22:29.933Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-05-03T04:22:30.213Z] ---> 8a5a04877242 [2022-05-03T04:22:30.213Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-05-03T04:22:30.809Z] ---> 23c117418aee [2022-05-03T04:22:30.809Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-05-03T04:22:32.257Z] ---> d5fceca5e21f [2022-05-03T04:22:32.257Z] Step 21/26 : EXPOSE 59900 [2022-05-03T04:22:32.257Z] ---> Running in 6dc2d8143781 [2022-05-03T04:22:32.854Z] Removing intermediate container 6dc2d8143781 [2022-05-03T04:22:32.854Z] ---> 583ea8027d79 [2022-05-03T04:22:32.854Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-05-03T04:22:32.854Z] ---> Running in 3a84220cab35 [2022-05-03T04:22:33.130Z] Removing intermediate container 3a84220cab35 [2022-05-03T04:22:33.130Z] ---> 71a1a5e38162 [2022-05-03T04:22:33.130Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-03T04:22:33.130Z] ---> Running in 26d91516c146 [2022-05-03T04:22:33.407Z] Removing intermediate container 26d91516c146 [2022-05-03T04:22:33.407Z] ---> b062b1ee1609 [2022-05-03T04:22:33.407Z] Step 24/26 : LABEL arch=arm64 [2022-05-03T04:22:33.679Z] ---> Running in 29ac2a885c05 [2022-05-03T04:22:33.951Z] Removing intermediate container 29ac2a885c05 [2022-05-03T04:22:33.951Z] ---> 0b495faa1c8c [2022-05-03T04:22:33.951Z] Step 25/26 : LABEL git_sha=099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T04:22:33.951Z] ---> Running in 6048f7c765e2 [2022-05-03T04:22:34.227Z] Removing intermediate container 6048f7c765e2 [2022-05-03T04:22:34.227Z] ---> 6bbceb630daf [2022-05-03T04:22:34.227Z] Step 26/26 : LABEL version=2.2.0-dev.15 [2022-05-03T04:22:34.227Z] ---> Running in 60f9f73165de [2022-05-03T04:22:34.834Z] Removing intermediate container 60f9f73165de [2022-05-03T04:22:34.834Z] ---> ccdf6f7affeb [2022-05-03T04:22:34.834Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T04:22:34.834Z] Successfully built ccdf6f7affeb [2022-05-03T04:22:34.834Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:22:34.944Z] provisioning config files... [2022-05-03T04:22:34.966Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/31@tmp/config4290898426687368879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:22:35.327Z] ---> docker-login.sh [2022-05-03T04:22:35.327Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:22:35.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:35.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:35.602Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:35.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:35.602Z] [2022-05-03T04:22:35.602Z] Login Succeeded [2022-05-03T04:22:35.602Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:22:36.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:36.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:36.203Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:36.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:36.203Z] [2022-05-03T04:22:36.203Z] Login Succeeded [2022-05-03T04:22:36.203Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:22:36.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:36.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:36.806Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:36.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:36.806Z] [2022-05-03T04:22:36.806Z] Login Succeeded [2022-05-03T04:22:36.806Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:22:37.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:37.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:37.352Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:37.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:37.352Z] [2022-05-03T04:22:37.352Z] Login Succeeded [2022-05-03T04:22:37.352Z] docker.io [2022-05-03T04:22:37.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:38.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:38.225Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:38.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:38.225Z] [2022-05-03T04:22:38.225Z] Login Succeeded [2022-05-03T04:22:38.225Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:22:38.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T04:22:38.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T04:22:38.312Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-05-03T04:22:38.312Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T04:22:38.312Z] latest [2022-05-03T04:22:38.312Z] 2.2.0-dev.15 [2022-05-03T04:22:38.312Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [2022-05-03T04:22:38.312Z] main [2022-05-03T04:22:38.312Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:38.674Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:39.020Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T04:22:39.020Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-03T04:22:39.020Z] b32b565c99b8: Preparing [2022-05-03T04:22:39.020Z] 651ea149d982: Preparing [2022-05-03T04:22:39.020Z] 27d136157d2d: Preparing [2022-05-03T04:22:39.020Z] eff9ed7932b6: Preparing [2022-05-03T04:22:39.020Z] 2236c646c160: Preparing [2022-05-03T04:22:39.020Z] f73e7dbfee58: Preparing [2022-05-03T04:22:39.020Z] f73e7dbfee58: Waiting [2022-05-03T04:22:39.299Z] 2236c646c160: Pushed [2022-05-03T04:22:39.299Z] 27d136157d2d: Pushed [2022-05-03T04:22:39.299Z] 651ea149d982: Pushed [2022-05-03T04:22:39.299Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:39.897Z] eff9ed7932b6: Pushed [2022-05-03T04:22:45.295Z] b32b565c99b8: Pushed [2022-05-03T04:22:45.295Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:45.650Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:46.002Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-03T04:22:46.002Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-03T04:22:46.002Z] b32b565c99b8: Preparing [2022-05-03T04:22:46.002Z] 651ea149d982: Preparing [2022-05-03T04:22:46.002Z] 27d136157d2d: Preparing [2022-05-03T04:22:46.002Z] eff9ed7932b6: Preparing [2022-05-03T04:22:46.002Z] 2236c646c160: Preparing [2022-05-03T04:22:46.002Z] f73e7dbfee58: Preparing [2022-05-03T04:22:46.002Z] 651ea149d982: Layer already exists [2022-05-03T04:22:46.002Z] 27d136157d2d: Layer already exists [2022-05-03T04:22:46.002Z] 2236c646c160: Layer already exists [2022-05-03T04:22:46.002Z] eff9ed7932b6: Layer already exists [2022-05-03T04:22:46.002Z] b32b565c99b8: Layer already exists [2022-05-03T04:22:46.275Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:46.275Z] latest: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:46.630Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:46.974Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.15 [2022-05-03T04:22:46.974Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-03T04:22:46.974Z] b32b565c99b8: Preparing [2022-05-03T04:22:46.974Z] 651ea149d982: Preparing [2022-05-03T04:22:46.974Z] 27d136157d2d: Preparing [2022-05-03T04:22:46.974Z] eff9ed7932b6: Preparing [2022-05-03T04:22:46.974Z] 2236c646c160: Preparing [2022-05-03T04:22:46.974Z] f73e7dbfee58: Preparing [2022-05-03T04:22:46.974Z] f73e7dbfee58: Waiting [2022-05-03T04:22:46.974Z] eff9ed7932b6: Layer already exists [2022-05-03T04:22:46.974Z] b32b565c99b8: Layer already exists [2022-05-03T04:22:46.974Z] 27d136157d2d: Layer already exists [2022-05-03T04:22:46.974Z] 651ea149d982: Layer already exists [2022-05-03T04:22:46.974Z] 2236c646c160: Layer already exists [2022-05-03T04:22:47.249Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:47.249Z] 2.2.0-dev.15: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:47.611Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:47.961Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [2022-05-03T04:22:47.961Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-03T04:22:47.961Z] b32b565c99b8: Preparing [2022-05-03T04:22:47.961Z] 651ea149d982: Preparing [2022-05-03T04:22:47.961Z] 27d136157d2d: Preparing [2022-05-03T04:22:47.961Z] eff9ed7932b6: Preparing [2022-05-03T04:22:47.961Z] 2236c646c160: Preparing [2022-05-03T04:22:47.961Z] f73e7dbfee58: Preparing [2022-05-03T04:22:47.961Z] f73e7dbfee58: Waiting [2022-05-03T04:22:47.961Z] b32b565c99b8: Layer already exists [2022-05-03T04:22:47.961Z] 2236c646c160: Layer already exists [2022-05-03T04:22:47.961Z] 651ea149d982: Layer already exists [2022-05-03T04:22:48.235Z] eff9ed7932b6: Layer already exists [2022-05-03T04:22:48.235Z] 27d136157d2d: Layer already exists [2022-05-03T04:22:48.235Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:48.235Z] 099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:48.590Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:48.943Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-05-03T04:22:48.943Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-05-03T04:22:48.943Z] b32b565c99b8: Preparing [2022-05-03T04:22:48.943Z] 651ea149d982: Preparing [2022-05-03T04:22:48.943Z] 27d136157d2d: Preparing [2022-05-03T04:22:48.943Z] eff9ed7932b6: Preparing [2022-05-03T04:22:48.943Z] 2236c646c160: Preparing [2022-05-03T04:22:48.943Z] f73e7dbfee58: Preparing [2022-05-03T04:22:48.943Z] f73e7dbfee58: Waiting [2022-05-03T04:22:48.943Z] b32b565c99b8: Layer already exists [2022-05-03T04:22:48.943Z] 2236c646c160: Layer already exists [2022-05-03T04:22:48.943Z] 27d136157d2d: Layer already exists [2022-05-03T04:22:48.943Z] 651ea149d982: Layer already exists [2022-05-03T04:22:49.222Z] eff9ed7932b6: Layer already exists [2022-05-03T04:22:49.222Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:49.222Z] main: digest: sha256:5c3f27d83eff06117af7b9a27784c8f3c30e88a8d3fba6efd4056caff8687c59 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T04:22:49.269Z] ===================================================== [Pipeline] echo [2022-05-03T04:22:49.279Z] taggedImages: [2022-05-03T04:22:49.279Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98 [2022-05-03T04:22:49.279Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-05-03T04:22:49.279Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.15 [2022-05-03T04:22:49.279Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:099b8ea86ae346ef1d450a8d185b2283d3122d98-2.2.0-dev.15 [2022-05-03T04:22:49.279Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:49.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:22:49.671Z] [2022-05-03T04:22:49.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:50.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:22:50.315Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-03T04:22:50.315Z] 8998bd30e6a1: Pulling fs layer [2022-05-03T04:22:50.315Z] 04944245beec: Pulling fs layer [2022-05-03T04:22:50.315Z] 699f458cf7ca: Pulling fs layer [2022-05-03T04:22:50.316Z] 765212b225bb: Pulling fs layer [2022-05-03T04:22:50.316Z] f23df028b6ca: Pulling fs layer [2022-05-03T04:22:50.316Z] d65c8cfc05b1: Pulling fs layer [2022-05-03T04:22:50.316Z] 2437ff75d9bd: Pulling fs layer [2022-05-03T04:22:50.316Z] f23df028b6ca: Waiting [2022-05-03T04:22:50.316Z] 765212b225bb: Waiting [2022-05-03T04:22:50.316Z] d65c8cfc05b1: Waiting [2022-05-03T04:22:50.316Z] 2437ff75d9bd: Waiting [2022-05-03T04:22:50.316Z] 04944245beec: Verifying Checksum [2022-05-03T04:22:50.316Z] 04944245beec: Download complete [2022-05-03T04:22:50.316Z] 765212b225bb: Verifying Checksum [2022-05-03T04:22:50.316Z] 765212b225bb: Download complete [2022-05-03T04:22:50.316Z] f23df028b6ca: Verifying Checksum [2022-05-03T04:22:50.316Z] f23df028b6ca: Download complete [2022-05-03T04:22:50.595Z] d65c8cfc05b1: Verifying Checksum [2022-05-03T04:22:50.595Z] d65c8cfc05b1: Download complete [2022-05-03T04:22:50.595Z] 699f458cf7ca: Verifying Checksum [2022-05-03T04:22:50.595Z] 699f458cf7ca: Download complete [2022-05-03T04:22:50.873Z] 8998bd30e6a1: Verifying Checksum [2022-05-03T04:22:50.873Z] 8998bd30e6a1: Download complete [2022-05-03T04:22:53.508Z] 2437ff75d9bd: Verifying Checksum [2022-05-03T04:22:53.508Z] 2437ff75d9bd: Download complete [2022-05-03T04:22:55.514Z] 8998bd30e6a1: Pull complete [2022-05-03T04:22:56.116Z] 04944245beec: Pull complete [2022-05-03T04:22:57.564Z] 699f458cf7ca: Pull complete [2022-05-03T04:22:57.839Z] 765212b225bb: Pull complete [2022-05-03T04:22:58.826Z] f23df028b6ca: Pull complete [2022-05-03T04:22:59.102Z] d65c8cfc05b1: Pull complete [2022-05-03T04:23:14.219Z] 2437ff75d9bd: Pull complete [2022-05-03T04:23:14.220Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-03T04:23:14.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:23:14.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-03T04:23:14.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-40300 does not seem to be running inside a container [2022-05-03T04:23:14.557Z] $ 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/31 -v /w/workspace/device-virtual-go/31:/w/workspace/device-virtual-go/31:rw,z -v /w/workspace/device-virtual-go/31@tmp:/w/workspace/device-virtual-go/31@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-03T04:23:17.289Z] $ docker top b25ae1102856c61aff9718e36a6c2e2ab44554d29aca9b91119ecd1932f0dbfe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:18.234Z] ---> job-cost.sh [2022-05-03T04:23:18.235Z] lf-activate-venv: SKIPPING [2022-05-03T04:23:18.235Z] INFO: No Stack... [2022-05-03T04:23:18.829Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-03T04:23:19.424Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T04:23:20.087Z] + cat /w/workspace/device-virtual-go/31/archives/cost.csv [2022-05-03T04:23:20.087Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T04:23:20.154Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [2022-05-03T04:23:20.160Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] did not exist. Created. [2022-05-03T04:23:20.160Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T04:23:20.846Z] /w/workspace/device-virtual-go/31@tmp/durable-8afefc26/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-03T04:23:21.524Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-03T04:23:21.585Z] Warning: overwriting stash ‘stack-cost’ [2022-05-03T04:23:21.667Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T04:23:21.678Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T04:23:21.702Z] $ docker stop --time=1 b25ae1102856c61aff9718e36a6c2e2ab44554d29aca9b91119ecd1932f0dbfe [2022-05-03T04:23:23.251Z] $ docker rm -f b25ae1102856c61aff9718e36a6c2e2ab44554d29aca9b91119ecd1932f0dbfe [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-03T04:23:23.729Z] provisioning config files... [2022-05-03T04:23:23.739Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7412448129913860451tmp [Pipeline] { [Pipeline] sh [2022-05-03T04:23:24.039Z] + set +x [2022-05-03T04:23:24.039Z] + curl -s https://codecov.io/bash [2022-05-03T04:23:24.039Z] + bash -s -- [2022-05-03T04:23:24.039Z] [2022-05-03T04:23:24.039Z] _____ _ [2022-05-03T04:23:24.039Z] / ____| | | [2022-05-03T04:23:24.039Z] | | ___ __| | ___ ___ _____ __ [2022-05-03T04:23:24.039Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-03T04:23:24.039Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-03T04:23:24.039Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-03T04:23:24.039Z] Bash-1.0.6 [2022-05-03T04:23:24.039Z] [2022-05-03T04:23:24.039Z] [2022-05-03T04:23:24.039Z] ==> git version 2.25.1 found [2022-05-03T04:23:24.039Z] ==> 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-03T04:23:24.039Z] Release-Date: 2020-01-08 [2022-05-03T04:23:24.039Z] 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-03T04:23:24.039Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-03T04:23:24.039Z] ==> Jenkins CI detected. [2022-05-03T04:23:24.039Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-05-03T04:23:24.039Z] project root: . [2022-05-03T04:23:24.039Z] --> token set from env [2022-05-03T04:23:24.039Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-03T04:23:24.039Z] ==> Running gcov in . (disable via -X gcov) [2022-05-03T04:23:24.039Z] ==> Python coveragepy not found [2022-05-03T04:23:24.039Z] ==> Searching for coverage reports in: [2022-05-03T04:23:24.039Z] + . [2022-05-03T04:23:24.040Z] -> Found 1 reports [2022-05-03T04:23:24.040Z] ==> Detecting git/mercurial file structure [2022-05-03T04:23:24.040Z] ==> Reading reports [2022-05-03T04:23:24.040Z] + ./coverage.out bytes=44128 [2022-05-03T04:23:24.040Z] ==> Appending adjustments [2022-05-03T04:23:24.040Z] https://docs.codecov.io/docs/fixing-reports [2022-05-03T04:23:24.301Z] + Found adjustments [2022-05-03T04:23:24.301Z] ==> Gzipping contents [2022-05-03T04:23:24.301Z] 8.0K /tmp/codecov.Hjw93I.gz [2022-05-03T04:23:24.302Z] ==> Uploading reports [2022-05-03T04:23:24.302Z] url: https://codecov.io [2022-05-03T04:23:24.302Z] query: branch=main&commit=099b8ea86ae346ef1d450a8d185b2283d3122d98&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-03T04:23:24.302Z] -> Pinging Codecov [2022-05-03T04:23:24.302Z] 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=099b8ea86ae346ef1d450a8d185b2283d3122d98&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-03T04:23:24.563Z] -> Uploading to [2022-05-03T04:23:24.563Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-03/5E52B4B073DB2E39498172D8E973AA87/099b8ea86ae346ef1d450a8d185b2283d3122d98/020300bf-1f60-4b77-8478-520423db02d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T042324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f830a59092a87d226dbee3119ec708544044e5ba8155de87c6a3936837e404ff [2022-05-03T04:23:24.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:23:24.563Z] Dload Upload Total Spent Left Speed [2022-05-03T04:23:24.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5280 0 0 100 5280 0 26009 --:--:-- --:--:-- --:--:-- 25882 100 5280 0 0 100 5280 0 23891 --:--:-- --:--:-- --:--:-- 23783 [2022-05-03T04:23:24.829Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] } [2022-05-03T04:23:24.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-03T04:23:24.973Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-03T04:23:24.987Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:25.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:23:25.290Z] [2022-05-03T04:23:25.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:25.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:23:25.590Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-03T04:23:25.590Z] 188c0c94c7c5: Pulling fs layer [2022-05-03T04:23:25.590Z] 0ef7d3d256c8: Pulling fs layer [2022-05-03T04:23:25.590Z] de9db76c5a1d: Pulling fs layer [2022-05-03T04:23:25.590Z] 0eba1c9be4d2: Pulling fs layer [2022-05-03T04:23:25.590Z] 0d57e429df01: Pulling fs layer [2022-05-03T04:23:25.590Z] 4e4be7b47b0d: Pulling fs layer [2022-05-03T04:23:25.590Z] e1f770b5df2f: Pulling fs layer [2022-05-03T04:23:25.590Z] 85a0685a4137: Pulling fs layer [2022-05-03T04:23:25.590Z] 0d57e429df01: Waiting [2022-05-03T04:23:25.590Z] 4e4be7b47b0d: Waiting [2022-05-03T04:23:25.590Z] e1f770b5df2f: Waiting [2022-05-03T04:23:25.590Z] 85a0685a4137: Waiting [2022-05-03T04:23:25.590Z] 0eba1c9be4d2: Waiting [2022-05-03T04:23:25.590Z] de9db76c5a1d: Download complete [2022-05-03T04:23:25.590Z] 0ef7d3d256c8: Verifying Checksum [2022-05-03T04:23:25.590Z] 0ef7d3d256c8: Download complete [2022-05-03T04:23:25.590Z] 0d57e429df01: Verifying Checksum [2022-05-03T04:23:25.590Z] 0d57e429df01: Download complete [2022-05-03T04:23:25.590Z] 4e4be7b47b0d: Verifying Checksum [2022-05-03T04:23:25.590Z] 4e4be7b47b0d: Download complete [2022-05-03T04:23:25.590Z] 188c0c94c7c5: Verifying Checksum [2022-05-03T04:23:25.590Z] 188c0c94c7c5: Download complete [2022-05-03T04:23:25.851Z] 188c0c94c7c5: Pull complete [2022-05-03T04:23:25.851Z] 0ef7d3d256c8: Pull complete [2022-05-03T04:23:25.851Z] e1f770b5df2f: Verifying Checksum [2022-05-03T04:23:25.851Z] e1f770b5df2f: Download complete [2022-05-03T04:23:25.851Z] de9db76c5a1d: Pull complete [2022-05-03T04:23:26.423Z] 0eba1c9be4d2: Verifying Checksum [2022-05-03T04:23:26.423Z] 0eba1c9be4d2: Download complete [2022-05-03T04:23:26.423Z] 85a0685a4137: Verifying Checksum [2022-05-03T04:23:26.423Z] 85a0685a4137: Download complete [2022-05-03T04:23:29.712Z] 0eba1c9be4d2: Pull complete [2022-05-03T04:23:29.712Z] 0d57e429df01: Pull complete [2022-05-03T04:23:29.712Z] 4e4be7b47b0d: Pull complete [2022-05-03T04:23:29.970Z] e1f770b5df2f: Pull complete [2022-05-03T04:23:33.255Z] 85a0685a4137: Pull complete [2022-05-03T04:23:33.255Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-03T04:23:33.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:23:33.255Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-03T04:23:33.319Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T04:23:33.360Z] $ 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-03T04:23:35.326Z] $ docker top f61d1f4e0109814d509b9ba31bb2323aceeea633635b83d69c9698a3224c8084 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-03T04:23:35.454Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-03T04:23:35.738Z] + set -o pipefail [2022-05-03T04:23:35.738Z] + snyk monitor '--org=edgex-jenkins' [2022-05-03T04:23:41.017Z] [2022-05-03T04:23:41.017Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-05-03T04:23:41.017Z] [2022-05-03T04:23:41.017Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/4a02de6e-8ad3-4bcc-96f2-d81bd3b1cd22 [2022-05-03T04:23:41.017Z] [2022-05-03T04:23:41.017Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-03T04:23:41.017Z] [2022-05-03T04:23:41.017Z] [Pipeline] } [2022-05-03T04:23:41.031Z] $ docker stop --time=1 f61d1f4e0109814d509b9ba31bb2323aceeea633635b83d69c9698a3224c8084 [2022-05-03T04:23:42.954Z] $ docker rm -f f61d1f4e0109814d509b9ba31bb2323aceeea633635b83d69c9698a3224c8084 [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-03T04:23:43.681Z] + git log --format=format:%s -1 099b8ea86ae346ef1d450a8d185b2283d3122d98 [Pipeline] sh [2022-05-03T04:23:43.977Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:23:43.977Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:44.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:23:44.275Z] . [Pipeline] withDockerContainer [2022-05-03T04:23:44.340Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T04:23:44.377Z] $ 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-03T04:23:44.760Z] $ docker top d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:23:44.862Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:23:44.862Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:23:44.992Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:23:44.996Z] $ docker exec d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 ssh-agent [2022-05-03T04:23:45.113Z] SSH_AUTH_SOCK=/tmp/ssh-OIhoZISRyHq5/agent.33 [2022-05-03T04:23:45.113Z] SSH_AGENT_PID=39 [2022-05-03T04:23:45.119Z] Running ssh-add (command line suppressed) [2022-05-03T04:23:45.233Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2960989474035961650.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2960989474035961650.key) [2022-05-03T04:23:45.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:23:45.539Z] + git semver tag [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,703 [run_tag] DEBUG tag force:False [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,703 [check_head_tag] DEBUG check head tag [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,704 [execute] INFO git cat-file --batch-check [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,707 [execute] INFO git cat-file --batch [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,721 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,721 [execute] INFO git tag -a v2.2.0-dev.15 -m v2.2.0-dev.15 [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,721 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.15', '-m', 'v2.2.0-dev.15'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-03T04:23:45.799Z] 2022-05-03 04:23:45,725 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T04:23:45.799Z] 2.2.0-dev.15 [Pipeline] } [2022-05-03T04:23:45.810Z] $ docker exec --env ******** --env ******** d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 ssh-agent -k [2022-05-03T04:23:45.908Z] unset SSH_AUTH_SOCK; [2022-05-03T04:23:45.908Z] unset SSH_AGENT_PID; [2022-05-03T04:23:45.908Z] echo Agent pid 39 killed; [2022-05-03T04:23:45.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:23:46.242Z] + git semver [Pipeline] } [2022-05-03T04:23:46.520Z] $ docker stop --time=1 d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 [2022-05-03T04:23:47.774Z] $ docker rm -f d0bdb41f94befcd848bef0a8654e2db3439008b35bc4d74e9721fa0c196fbc01 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:48.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:23:48.161Z] [2022-05-03T04:23:48.161Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:48.467Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:23:48.467Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-03T04:23:48.467Z] ab5ef0e58194: Pulling fs layer [2022-05-03T04:23:48.467Z] 9712f1f96733: Pulling fs layer [2022-05-03T04:23:48.467Z] 63f879dbbcfc: Pulling fs layer [2022-05-03T04:23:48.467Z] 0d9ebad4ef96: Pulling fs layer [2022-05-03T04:23:48.467Z] e9a5061849ea: Pulling fs layer [2022-05-03T04:23:48.467Z] d747dcd14b5f: Pulling fs layer [2022-05-03T04:23:48.467Z] 2de7ff778b66: Pulling fs layer [2022-05-03T04:23:48.467Z] d747dcd14b5f: Waiting [2022-05-03T04:23:48.467Z] 0d9ebad4ef96: Waiting [2022-05-03T04:23:48.467Z] e9a5061849ea: Waiting [2022-05-03T04:23:48.467Z] 2de7ff778b66: Waiting [2022-05-03T04:23:48.467Z] 9712f1f96733: Verifying Checksum [2022-05-03T04:23:48.467Z] 9712f1f96733: Download complete [2022-05-03T04:23:48.729Z] 63f879dbbcfc: Verifying Checksum [2022-05-03T04:23:48.729Z] 63f879dbbcfc: Download complete [2022-05-03T04:23:48.989Z] e9a5061849ea: Verifying Checksum [2022-05-03T04:23:48.989Z] e9a5061849ea: Download complete [2022-05-03T04:23:48.989Z] d747dcd14b5f: Download complete [2022-05-03T04:23:48.989Z] 0d9ebad4ef96: Verifying Checksum [2022-05-03T04:23:48.989Z] 0d9ebad4ef96: Download complete [2022-05-03T04:23:48.989Z] ab5ef0e58194: Verifying Checksum [2022-05-03T04:23:48.989Z] ab5ef0e58194: Download complete [2022-05-03T04:23:49.247Z] 2de7ff778b66: Verifying Checksum [2022-05-03T04:23:49.247Z] 2de7ff778b66: Download complete [2022-05-03T04:23:51.783Z] ab5ef0e58194: Pull complete [2022-05-03T04:23:51.783Z] 9712f1f96733: Pull complete [2022-05-03T04:23:52.352Z] 63f879dbbcfc: Pull complete [2022-05-03T04:23:56.545Z] 0d9ebad4ef96: Pull complete [2022-05-03T04:23:56.545Z] e9a5061849ea: Pull complete [2022-05-03T04:23:56.545Z] d747dcd14b5f: Pull complete [2022-05-03T04:23:57.486Z] 2de7ff778b66: Pull complete [2022-05-03T04:23:57.486Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-03T04:23:57.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:23:57.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-03T04:23:57.555Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T04:23:57.590Z] $ 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-03T04:23:59.638Z] $ docker top d3bb6df9de6672f0ff5ba766a48df0689bdba88f7385fd6334c1c62d4ae1d364 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:23:59.722Z] provisioning config files... [2022-05-03T04:23:59.733Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6140332139044969742tmp [2022-05-03T04:23:59.745Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6693564380699320180tmp [2022-05-03T04:23:59.757Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7411958352152380565tmp [Pipeline] { [Pipeline] echo [2022-05-03T04:23:59.772Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:00.057Z] ---> sigul-configuration.sh [2022-05-03T04:24:00.057Z] gpg: directory `/root/.gnupg' created [2022-05-03T04:24:00.057Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-03T04:24:00.057Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-03T04:24:00.057Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-03T04:24:00.057Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-03T04:24:00.057Z] gpg: CAST5 encrypted data [2022-05-03T04:24:00.057Z] gpg: encrypted with 1 passphrase [2022-05-03T04:24:00.057Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-03T04:24:00.346Z] + mkdir /home/jenkins [2022-05-03T04:24:00.347Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-03T04:24:00.638Z] + 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-03T04:24:00.649Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:00.937Z] ---> sigul-install.sh [2022-05-03T04:24:00.937Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-03T04:24:01.226Z] + git tag --list [2022-05-03T04:24:01.226Z] v1.0.0 [2022-05-03T04:24:01.226Z] v1.1.0 [2022-05-03T04:24:01.226Z] v1.1.1 [2022-05-03T04:24:01.226Z] v1.2.1 [2022-05-03T04:24:01.226Z] v1.2.2 [2022-05-03T04:24:01.226Z] v1.2.3 [2022-05-03T04:24:01.226Z] v1.3.0 [2022-05-03T04:24:01.226Z] v1.3.1 [2022-05-03T04:24:01.226Z] v2.0.0 [2022-05-03T04:24:01.226Z] v2.0.1-dev.1 [2022-05-03T04:24:01.226Z] v2.0.1-dev.10 [2022-05-03T04:24:01.226Z] v2.0.1-dev.11 [2022-05-03T04:24:01.226Z] v2.0.1-dev.12 [2022-05-03T04:24:01.226Z] v2.0.1-dev.13 [2022-05-03T04:24:01.226Z] v2.0.1-dev.14 [2022-05-03T04:24:01.226Z] v2.0.1-dev.15 [2022-05-03T04:24:01.226Z] v2.0.1-dev.2 [2022-05-03T04:24:01.226Z] v2.0.1-dev.3 [2022-05-03T04:24:01.226Z] v2.0.1-dev.4 [2022-05-03T04:24:01.226Z] v2.0.1-dev.5 [2022-05-03T04:24:01.226Z] v2.0.1-dev.6 [2022-05-03T04:24:01.226Z] v2.0.1-dev.7 [2022-05-03T04:24:01.226Z] v2.0.1-dev.8 [2022-05-03T04:24:01.226Z] v2.0.1-dev.9 [2022-05-03T04:24:01.226Z] v2.1.0 [2022-05-03T04:24:01.226Z] v2.2.0-dev.1 [2022-05-03T04:24:01.226Z] v2.2.0-dev.10 [2022-05-03T04:24:01.226Z] v2.2.0-dev.11 [2022-05-03T04:24:01.226Z] v2.2.0-dev.12 [2022-05-03T04:24:01.226Z] v2.2.0-dev.13 [2022-05-03T04:24:01.226Z] v2.2.0-dev.14 [2022-05-03T04:24:01.226Z] v2.2.0-dev.15 [2022-05-03T04:24:01.226Z] v2.2.0-dev.2 [2022-05-03T04:24:01.226Z] v2.2.0-dev.3 [2022-05-03T04:24:01.226Z] v2.2.0-dev.4 [2022-05-03T04:24:01.226Z] v2.2.0-dev.5 [2022-05-03T04:24:01.226Z] v2.2.0-dev.6 [2022-05-03T04:24:01.226Z] v2.2.0-dev.7 [2022-05-03T04:24:01.226Z] v2.2.0-dev.8 [2022-05-03T04:24:01.226Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-03T04:24:01.514Z] + lftools sign git-tag v2.2.0-dev.15 [2022-05-03T04:24:02.084Z] Signing Git tag with Sigul... [2022-05-03T04:24:02.084Z] Signing v2.2.0-dev.15 [Pipeline] echo [2022-05-03T04:24:02.352Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:02.640Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-03T04:24:02.647Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-03T04:24:02.667Z] $ docker stop --time=1 d3bb6df9de6672f0ff5ba766a48df0689bdba88f7385fd6334c1c62d4ae1d364 [2022-05-03T04:24:03.975Z] $ docker rm -f d3bb6df9de6672f0ff5ba766a48df0689bdba88f7385fd6334c1c62d4ae1d364 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-03T04:24:04.400Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:24:04.400Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:24:04.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:24:04.695Z] . [Pipeline] withDockerContainer [2022-05-03T04:24:04.764Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T04:24:04.798Z] $ 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-03T04:24:05.194Z] $ docker top 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:24:05.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:24:05.288Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:24:05.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:24:05.434Z] $ docker exec 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 ssh-agent [2022-05-03T04:24:05.562Z] SSH_AUTH_SOCK=/tmp/ssh-v2npFKFTbC2p/agent.32 [2022-05-03T04:24:05.562Z] SSH_AGENT_PID=39 [2022-05-03T04:24:05.571Z] Running ssh-add (command line suppressed) [2022-05-03T04:24:05.696Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4971799841569046123.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4971799841569046123.key) [2022-05-03T04:24:05.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:24:06.007Z] + git semver bump pre [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,194 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,194 [bump_version] DEBUG bumping version:2.2.0-dev.15 on axis:pre with prefix:dev [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,194 [bump_version] DEBUG bumped version:2.2.0-dev.16 [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,194 [write_version] DEBUG write version:2.2.0-dev.16 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,194 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,194 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,196 [execute] INFO git cat-file --batch-check [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,196 [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-03T04:24:06.268Z] 2022-05-03 04:24:06,201 [execute] INFO git cat-file --batch [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T04:24:06.268Z] 2022-05-03 04:24:06,206 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T04:24:06.268Z] 2.2.0-dev.16 [Pipeline] } [2022-05-03T04:24:06.280Z] $ docker exec --env ******** --env ******** 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 ssh-agent -k [2022-05-03T04:24:06.387Z] unset SSH_AUTH_SOCK; [2022-05-03T04:24:06.387Z] unset SSH_AGENT_PID; [2022-05-03T04:24:06.388Z] echo Agent pid 39 killed; [2022-05-03T04:24:06.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:24:06.712Z] + git semver [Pipeline] } [2022-05-03T04:24:06.992Z] $ docker stop --time=1 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 [2022-05-03T04:24:08.293Z] $ docker rm -f 26f3b9477457b3e2e43232c58cc5a3c797aeec62d75da065a4ac0fb0e80f0265 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:24:08.650Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:24:08.651Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:24:08.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:24:08.948Z] . [Pipeline] withDockerContainer [2022-05-03T04:24:09.015Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T04:24:09.055Z] $ 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-03T04:24:09.438Z] $ docker top 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:24:09.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:24:09.532Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:24:09.650Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:24:09.654Z] $ docker exec 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 ssh-agent [2022-05-03T04:24:09.769Z] SSH_AUTH_SOCK=/tmp/ssh-D2JGgOGO3WIt/agent.32 [2022-05-03T04:24:09.769Z] SSH_AGENT_PID=39 [2022-05-03T04:24:09.774Z] Running ssh-add (command line suppressed) [2022-05-03T04:24:09.887Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_695849818448463495.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_695849818448463495.key) [2022-05-03T04:24:09.901Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:24:10.190Z] + git semver push [2022-05-03T04:24:10.450Z] 2022-05-03 04:24:10,398 [run_push] DEBUG push [2022-05-03T04:24:10.450Z] 2022-05-03 04:24:10,398 [execute] INFO git push origin semver [2022-05-03T04:24:10.450Z] 2022-05-03 04:24:10,398 [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-03T04:24:11.393Z] 2022-05-03 04:24:11,129 [run_push] DEBUG push all version tags [2022-05-03T04:24:11.393Z] 2022-05-03 04:24:11,130 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-03T04:24:11.393Z] 2022-05-03 04:24:11,130 [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-03T04:24:11.964Z] 2022-05-03 04:24:11,841 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main [2022-05-03T04:24:11.964Z] 2.2.0-dev.16 [Pipeline] } [2022-05-03T04:24:11.975Z] $ docker exec --env ******** --env ******** 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 ssh-agent -k [2022-05-03T04:24:12.104Z] unset SSH_AUTH_SOCK; [2022-05-03T04:24:12.105Z] unset SSH_AGENT_PID; [2022-05-03T04:24:12.105Z] echo Agent pid 39 killed; [2022-05-03T04:24:12.116Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:24:12.424Z] + git semver [Pipeline] } [2022-05-03T04:24:12.702Z] $ docker stop --time=1 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 [2022-05-03T04:24:14.037Z] $ docker rm -f 7e7c743fe07096ce3b62c416c1cc8746a3ef58a237d65bb6a8824be4e4d10c39 [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-03T04:24:14.616Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-05-03T04:24:14.616Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-03T04:24:14.616Z] total 16 [2022-05-03T04:24:14.616Z] drwxr-xr-x 3 root root 4096 May 3 03:35 . [2022-05-03T04:24:14.616Z] drwxrwxr-x 9 jenkins jenkins 4096 May 3 04:24 .. [2022-05-03T04:24:14.616Z] drwxr-xr-x 2 root root 4096 May 3 03:35 cost [2022-05-03T04:24:14.616Z] -rw-r--r-- 1 root root 87 May 3 03:35 cost.csv [2022-05-03T04:24:14.616Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-03T04:24:14.616Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-05-03T04:24:14.616Z] total 16 [2022-05-03T04:24:14.616Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:35 . [2022-05-03T04:24:14.616Z] drwxrwxr-x 9 jenkins jenkins 4096 May 3 04:24 .. [2022-05-03T04:24:14.616Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 03:35 cost [2022-05-03T04:24:14.616Z] -rw-r--r-- 1 jenkins jenkins 87 May 3 03:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:14.912Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:15.780Z] ---> package-listing.sh [2022-05-03T04:24:15.780Z] ++ facter osfamily [2022-05-03T04:24:15.780Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-03T04:24:16.041Z] + OS_FAMILY=debian [2022-05-03T04:24:16.041Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-05-03T04:24:16.041Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-03T04:24:16.041Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-03T04:24:16.041Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-03T04:24:16.041Z] + PACKAGES=/tmp/packages_start.txt [2022-05-03T04:24:16.041Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-03T04:24:16.041Z] + PACKAGES=/tmp/packages_end.txt [2022-05-03T04:24:16.041Z] + case "${OS_FAMILY}" in [2022-05-03T04:24:16.041Z] + dpkg -l [2022-05-03T04:24:16.041Z] + grep '^ii' [2022-05-03T04:24:16.041Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-03T04:24:16.041Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-03T04:24:16.041Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-03T04:24:16.041Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-05-03T04:24:16.041Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-05-03T04:24:16.041Z] + 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-03T04:24:16.053Z] 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-03T04:24:16.331Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:24:16.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T04:24:16.887Z] . [Pipeline] withDockerContainer [2022-05-03T04:24:16.960Z] prd-ubuntu20.04-docker-8c-8g-38390 does not seem to be running inside a container [2022-05-03T04:24:16.991Z] $ 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-03T04:24:17.219Z] $ docker top 0f782979b1260c8ce0d75dfc52790359a03ccc81d17fd0af4639b2a0f8de8fc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:24:17.578Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-03T04:24:17.867Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-03T04:24:18.156Z] + ls /var/log/sa-host [2022-05-03T04:24:18.157Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:24:18.247Z] provisioning config files... [2022-05-03T04:24:18.256Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2249772441521549446tmp [Pipeline] { [Pipeline] echo [2022-05-03T04:24:18.272Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:18.558Z] ---> create-netrc.sh [Pipeline] } [2022-05-03T04:24:18.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:18.899Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-03T04:24:18.909Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:19.196Z] ---> sudo-logs.sh [2022-05-03T04:24:19.196Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-03T04:24:19.223Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:19.509Z] ---> job-cost.sh [2022-05-03T04:24:19.509Z] lf-activate-venv: SKIPPING [2022-05-03T04:24:19.509Z] DEBUG: total: 0.2199999988079071 [2022-05-03T04:24:19.509Z] INFO: Retrieving Stack Cost... [2022-05-03T04:24:20.078Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T04:24:20.337Z] INFO: Archiving Costs [Pipeline] echo [2022-05-03T04:24:20.351Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:20.636Z] ---> logs-deploy.sh [2022-05-03T04:24:20.636Z] lf-activate-venv: SKIPPING [2022-05-03T04:24:20.636Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/31 [2022-05-03T04:24:20.636Z] INFO: archiving workspace using pattern(s): [2022-05-03T04:24:21.576Z] Archives upload complete. [2022-05-03T04:24:21.576Z] INFO: archiving logs to Nexus