Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 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-ssh246385939416593290.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh12723365859169923684.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13543664003642319092.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh2959142020525524353.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-ssh17009487693854874353.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7812 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 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f (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 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 Commit message: "Merge pull request #269 from hahattan/bump-go-mods" > git rev-list --no-walk 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-17T07:56:51.405Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-17T07:56:51.457Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-17T07:56:51.475Z] ========================================================= [2022-03-17T07:56:51.475Z] EdgeX Global Pipelines Version Info [2022-03-17T07:56:51.475Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:56:52.289Z] ------------------- [2022-03-17T07:56:52.289Z] stable info: [2022-03-17T07:56:52.289Z] ------------------- [2022-03-17T07:56:52.289Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-17T07:56:52.289Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T07:56:52.289Z] Message: update stable to v1.0.221 [2022-03-17T07:56:52.867Z] ------------------- [2022-03-17T07:56:52.867Z] experimental info: [2022-03-17T07:56:52.867Z] ------------------- [2022-03-17T07:56:52.867Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-17T07:56:52.867Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-17T07:56:52.867Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-17T07:56:53.030Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-03-17T07:56:53.041Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-03-17T07:56:53.056Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-17T07:56:53.068Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-17T07:56:53.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-17T07:56:53.100Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-17T07:56:53.113Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-17T07:56:53.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-17T07:56:53.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-17T07:56:53.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-17T07:56:53.167Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-17T07:56:53.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-03-17T07:56:53.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-17T07:56:53.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-17T07:56:53.220Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T07:56:53.235Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-17T07:56:53.245Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T07:56:53.259Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-17T07:56:53.271Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-17T07:56:53.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-17T07:56:53.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-17T07:56:53.314Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-17T07:56:53.325Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-17T07:56:53.338Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-17T07:56:53.350Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-17T07:56:53.364Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-17T07:56:53.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-17T07:56:53.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-17T07:56:53.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-17T07:56:53.415Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] echo [2022-03-17T07:56:53.428Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c03aa7c [Pipeline] echo [2022-03-17T07:56:53.446Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T07:56:53.493Z] provisioning config files... [2022-03-17T07:56:53.507Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7023378324132643700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:56:53.816Z] ---> docker-login.sh [2022-03-17T07:56:53.816Z] nexus3.edgexfoundry.org:10001 [2022-03-17T07:56:54.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:56:54.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:56:54.078Z] Configure a credential helper to remove this warning. See [2022-03-17T07:56:54.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:56:54.078Z] [2022-03-17T07:56:54.078Z] Login Succeeded [2022-03-17T07:56:54.078Z] nexus3.edgexfoundry.org:10002 [2022-03-17T07:56:54.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:56:54.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:56:54.339Z] Configure a credential helper to remove this warning. See [2022-03-17T07:56:54.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:56:54.339Z] [2022-03-17T07:56:54.339Z] Login Succeeded [2022-03-17T07:56:54.339Z] nexus3.edgexfoundry.org:10003 [2022-03-17T07:56:54.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:56:54.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:56:54.339Z] Configure a credential helper to remove this warning. See [2022-03-17T07:56:54.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:56:54.339Z] [2022-03-17T07:56:54.339Z] Login Succeeded [2022-03-17T07:56:54.339Z] nexus3.edgexfoundry.org:10004 [2022-03-17T07:56:54.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:56:54.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:56:54.599Z] Configure a credential helper to remove this warning. See [2022-03-17T07:56:54.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:56:54.599Z] [2022-03-17T07:56:54.599Z] Login Succeeded [2022-03-17T07:56:54.599Z] docker.io [2022-03-17T07:56:54.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:56:55.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:56:55.173Z] Configure a credential helper to remove this warning. See [2022-03-17T07:56:55.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:56:55.173Z] [2022-03-17T07:56:55.173Z] Login Succeeded [2022-03-17T07:56:55.173Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T07:56:55.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-17T07:56:55.560Z] + git rev-list -1 --merges c03aa7c74cee4c24f0ea21a2b880bc2767aae84f~1..c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] echo [2022-03-17T07:56:55.688Z] -----------> git rev-list -1 --merges c03aa7c74cee4c24f0ea21a2b880bc2767aae84f~1..c03aa7c74cee4c24f0ea21a2b880bc2767aae84f c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T07:56:55.688Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [false] [Pipeline] sh [2022-03-17T07:56:55.989Z] + git log --format=format:%s -1 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] echo [2022-03-17T07:56:56.006Z] ========================================================= [2022-03-17T07:56:56.006Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-17T07:56:56.006Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T07:56:56.343Z] + git log --format=format:%s -1 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] echo [2022-03-17T07:56:56.355Z] [semverPrep] GIT_COMMIT: c03aa7c74cee4c24f0ea21a2b880bc2767aae84f, Commit Message: Merge pull request #269 from hahattan/bump-go-mods [Pipeline] echo [2022-03-17T07:56:56.364Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-17T07:56:56.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T07:56:56.749Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-17T07:56:56.749Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-17T07:56:56.749Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-17T07:56:56.749Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-17T07:56:56.749Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-17T07:56:56.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:56:57.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T07:56:57.107Z] [2022-03-17T07:56:57.107Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:56:57.412Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T07:56:57.412Z] latest: Pulling from edgex-devops/git-semver [2022-03-17T07:56:57.412Z] a0d0a0d46f8b: Pulling fs layer [2022-03-17T07:56:57.412Z] 3e5f54012d9b: Pulling fs layer [2022-03-17T07:56:57.412Z] 4c7163046ea9: Pulling fs layer [2022-03-17T07:56:57.412Z] 0c2d73faf560: Pulling fs layer [2022-03-17T07:56:57.412Z] 0c2d73faf560: Waiting [2022-03-17T07:56:57.412Z] 3e5f54012d9b: Download complete [2022-03-17T07:56:57.412Z] a0d0a0d46f8b: Download complete [2022-03-17T07:56:57.412Z] 0c2d73faf560: Verifying Checksum [2022-03-17T07:56:57.412Z] 0c2d73faf560: Download complete [2022-03-17T07:56:57.412Z] 4c7163046ea9: Verifying Checksum [2022-03-17T07:56:57.412Z] 4c7163046ea9: Download complete [2022-03-17T07:56:57.673Z] a0d0a0d46f8b: Pull complete [2022-03-17T07:56:57.673Z] 3e5f54012d9b: Pull complete [2022-03-17T07:56:57.932Z] 4c7163046ea9: Pull complete [2022-03-17T07:56:58.191Z] 0c2d73faf560: Pull complete [2022-03-17T07:56:58.191Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-17T07:56:58.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T07:56:58.191Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-17T07:56:58.269Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T07:56:58.306Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T07:56:58.980Z] $ docker top a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T07:56:59.075Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T07:56:59.075Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T07:56:59.202Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T07:56:59.209Z] $ docker exec a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 ssh-agent [2022-03-17T07:56:59.335Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDDJehM/agent.14 [2022-03-17T07:56:59.335Z] SSH_AGENT_PID=21 [2022-03-17T07:56:59.348Z] Running ssh-add (command line suppressed) [2022-03-17T07:56:59.472Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8435236778559336964.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8435236778559336964.key) [2022-03-17T07:56:59.485Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T07:56:59.784Z] + git tag --points-at HEAD [Pipeline] } [2022-03-17T07:56:59.809Z] $ docker exec --env ******** --env ******** a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 ssh-agent -k [2022-03-17T07:56:59.930Z] unset SSH_AUTH_SOCK; [2022-03-17T07:56:59.931Z] unset SSH_AGENT_PID; [2022-03-17T07:56:59.931Z] echo Agent pid 21 killed; [2022-03-17T07:56:59.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-17T07:56:59.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T07:56:59.966Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T07:57:00.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T07:57:00.098Z] $ docker exec a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 ssh-agent [2022-03-17T07:57:00.229Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlGnmGh/agent.54 [2022-03-17T07:57:00.229Z] SSH_AGENT_PID=60 [2022-03-17T07:57:00.235Z] Running ssh-add (command line suppressed) [2022-03-17T07:57:00.363Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7229489341503141293.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7229489341503141293.key) [2022-03-17T07:57:00.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T07:57:00.672Z] + git semver init [2022-03-17T07:57:00.672Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T07:57:00.672Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-03-17T07:57:00.672Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-03-17T07:57:00.672Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T07:57:00.672Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T07:57:00.672Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T07:57:00.672Z] # $SEMVER_BRANCH = main [2022-03-17T07:57:00.672Z] # $SEMVER_TEMP = /tmp/semver-691896483 [2022-03-17T07:57:00.672Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-03-17T07:57:02.063Z] # '/tmp/semver-691896483' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2022-03-17T07:57:02.063Z] # -> Force: false [2022-03-17T07:57:02.063Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-03-17T07:57:02.077Z] $ docker exec --env ******** --env ******** a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 ssh-agent -k [2022-03-17T07:57:02.183Z] unset SSH_AUTH_SOCK; [2022-03-17T07:57:02.184Z] unset SSH_AGENT_PID; [2022-03-17T07:57:02.184Z] echo Agent pid 60 killed; [2022-03-17T07:57:02.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T07:57:02.507Z] + git semver [Pipeline] } [2022-03-17T07:57:02.526Z] $ docker stop --time=1 a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 [2022-03-17T07:57:03.938Z] $ docker rm -f a02768d7f8df8a7b331f849ae9b94a457af00562c489ce75c3d89193ab9a7447 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T07:57:04.299Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-17T07:57:04.550Z] Stashed 1 file(s) [Pipeline] echo [2022-03-17T07:57:04.554Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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-03-17T07:57:04.712Z] provisioning config files... [2022-03-17T07:57:04.722Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8108164976872041750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:57:05.034Z] ---> docker-login.sh [2022-03-17T07:57:05.034Z] nexus3.edgexfoundry.org:10001 [2022-03-17T07:57:05.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:57:05.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:57:05.034Z] Configure a credential helper to remove this warning. See [2022-03-17T07:57:05.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:57:05.034Z] [2022-03-17T07:57:05.034Z] Login Succeeded [2022-03-17T07:57:05.034Z] nexus3.edgexfoundry.org:10002 [2022-03-17T07:57:05.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:57:05.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:57:05.295Z] Configure a credential helper to remove this warning. See [2022-03-17T07:57:05.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:57:05.295Z] [2022-03-17T07:57:05.295Z] Login Succeeded [2022-03-17T07:57:05.295Z] nexus3.edgexfoundry.org:10003 [2022-03-17T07:57:05.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:57:05.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:57:05.295Z] Configure a credential helper to remove this warning. See [2022-03-17T07:57:05.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:57:05.295Z] [2022-03-17T07:57:05.295Z] Login Succeeded [2022-03-17T07:57:05.295Z] nexus3.edgexfoundry.org:10004 [2022-03-17T07:57:05.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:57:05.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:57:05.556Z] Configure a credential helper to remove this warning. See [2022-03-17T07:57:05.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:57:05.556Z] [2022-03-17T07:57:05.556Z] Login Succeeded [2022-03-17T07:57:05.556Z] docker.io [2022-03-17T07:57:05.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:57:05.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:57:05.817Z] Configure a credential helper to remove this warning. See [2022-03-17T07:57:05.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:57:05.817Z] [2022-03-17T07:57:05.817Z] Login Succeeded [2022-03-17T07:57:05.817Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T07:57:05.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T07:57:05.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T07:57:05.916Z] ========================================================= [2022-03-17T07:57:05.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-17T07:57:05.916Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:57:06.224Z] + 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-03-17T07:57:06.224Z] Sending build context to Docker daemon 22.85MB [2022-03-17T07:57:06.224Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T07:57:06.224Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-17T07:57:06.490Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-17T07:57:06.490Z] 59bf1c3509f3: Pulling fs layer [2022-03-17T07:57:06.490Z] 666ba61612fd: Pulling fs layer [2022-03-17T07:57:06.490Z] 8ed8ca486205: Pulling fs layer [2022-03-17T07:57:06.490Z] 4fe6c5a15a65: Pulling fs layer [2022-03-17T07:57:06.490Z] 22a0e8bec74d: Pulling fs layer [2022-03-17T07:57:06.490Z] 640e595b4fbd: Pulling fs layer [2022-03-17T07:57:06.490Z] 763cafe07f6e: Pulling fs layer [2022-03-17T07:57:06.490Z] 0c0b528cf693: Pulling fs layer [2022-03-17T07:57:06.490Z] 10935f4eaf8b: Pulling fs layer [2022-03-17T07:57:06.490Z] 4fe6c5a15a65: Waiting [2022-03-17T07:57:06.490Z] 22a0e8bec74d: Waiting [2022-03-17T07:57:06.490Z] 640e595b4fbd: Waiting [2022-03-17T07:57:06.490Z] 763cafe07f6e: Waiting [2022-03-17T07:57:06.490Z] 0c0b528cf693: Waiting [2022-03-17T07:57:06.490Z] 10935f4eaf8b: Waiting [2022-03-17T07:57:06.490Z] 8ed8ca486205: Verifying Checksum [2022-03-17T07:57:06.490Z] 8ed8ca486205: Download complete [2022-03-17T07:57:06.490Z] 666ba61612fd: Verifying Checksum [2022-03-17T07:57:06.490Z] 22a0e8bec74d: Verifying Checksum [2022-03-17T07:57:06.490Z] 22a0e8bec74d: Download complete [2022-03-17T07:57:06.490Z] 640e595b4fbd: Verifying Checksum [2022-03-17T07:57:06.490Z] 640e595b4fbd: Download complete [2022-03-17T07:57:06.490Z] 59bf1c3509f3: Verifying Checksum [2022-03-17T07:57:06.490Z] 59bf1c3509f3: Download complete [2022-03-17T07:57:06.490Z] 763cafe07f6e: Verifying Checksum [2022-03-17T07:57:06.490Z] 763cafe07f6e: Download complete [2022-03-17T07:57:06.490Z] 0c0b528cf693: Verifying Checksum [2022-03-17T07:57:06.490Z] 0c0b528cf693: Download complete [2022-03-17T07:57:06.751Z] 59bf1c3509f3: Pull complete [2022-03-17T07:57:06.751Z] 666ba61612fd: Pull complete [2022-03-17T07:57:06.751Z] 8ed8ca486205: Pull complete [2022-03-17T07:57:07.010Z] 10935f4eaf8b: Verifying Checksum [2022-03-17T07:57:07.011Z] 10935f4eaf8b: Download complete [2022-03-17T07:57:07.269Z] 4fe6c5a15a65: Verifying Checksum [2022-03-17T07:57:07.269Z] 4fe6c5a15a65: Download complete [2022-03-17T07:57:11.465Z] 4fe6c5a15a65: Pull complete [2022-03-17T07:57:11.465Z] 22a0e8bec74d: Pull complete [2022-03-17T07:57:11.465Z] 640e595b4fbd: Pull complete [2022-03-17T07:57:11.465Z] 763cafe07f6e: Pull complete [2022-03-17T07:57:11.728Z] 0c0b528cf693: Pull complete [2022-03-17T07:57:14.278Z] 10935f4eaf8b: Pull complete [2022-03-17T07:57:14.278Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-17T07:57:14.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-17T07:57:14.278Z] ---> 99d49a6021b9 [2022-03-17T07:57:14.278Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T07:57:16.193Z] ---> Running in ba64f1386d5d [2022-03-17T07:57:16.193Z] Removing intermediate container ba64f1386d5d [2022-03-17T07:57:16.193Z] ---> b50efa20264b [2022-03-17T07:57:16.193Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T07:57:16.193Z] ---> Running in 7a212fefbbb4 [2022-03-17T07:57:16.193Z] Removing intermediate container 7a212fefbbb4 [2022-03-17T07:57:16.193Z] ---> c03c7282d137 [2022-03-17T07:57:16.193Z] Step 5/12 : WORKDIR /device-virtual-go [2022-03-17T07:57:16.193Z] ---> Running in 65318680d195 [2022-03-17T07:57:16.193Z] Removing intermediate container 65318680d195 [2022-03-17T07:57:16.193Z] ---> a32f82079064 [2022-03-17T07:57:16.193Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:57:16.452Z] ---> Running in 68d6354f0682 [2022-03-17T07:57:17.023Z] Removing intermediate container 68d6354f0682 [2022-03-17T07:57:17.023Z] ---> 1b4e3e83af81 [2022-03-17T07:57:17.023Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T07:57:17.023Z] ---> Running in a41358b31398 [2022-03-17T07:57:17.285Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T07:57:18.230Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T07:57:18.230Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T07:57:18.491Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-17T07:57:18.491Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T07:57:18.753Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T07:57:18.753Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T07:57:18.753Z] OK: 224 MiB in 56 packages [2022-03-17T07:57:19.327Z] Removing intermediate container a41358b31398 [2022-03-17T07:57:19.327Z] ---> fed22c2a8628 [2022-03-17T07:57:19.327Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-17T07:57:19.327Z] ---> c3b81cb35ddf [2022-03-17T07:57:19.327Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T07:57:19.589Z] ---> Running in efeee7485188 [2022-03-17T07:57:19.665Z] Still waiting to schedule task [2022-03-17T07:57:19.666Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-03-17T07:57:46.224Z] Removing intermediate container efeee7485188 [2022-03-17T07:57:46.224Z] ---> ed6b55d914fe [2022-03-17T07:57:46.224Z] Step 10/12 : COPY . . [2022-03-17T07:57:46.224Z] ---> 349e449f039f [2022-03-17T07:57:46.224Z] Step 11/12 : ARG MAKE='make build' [2022-03-17T07:57:46.224Z] ---> Running in cba94e27c208 [2022-03-17T07:57:46.224Z] Removing intermediate container cba94e27c208 [2022-03-17T07:57:46.224Z] ---> a7b484cbb263 [2022-03-17T07:57:46.224Z] Step 12/12 : RUN $MAKE [2022-03-17T07:57:46.224Z] ---> Running in ab74cb716cab [2022-03-17T07:57:46.224Z] noop [2022-03-17T07:57:46.224Z] Removing intermediate container ab74cb716cab [2022-03-17T07:57:46.224Z] ---> 23224f63fea2 [2022-03-17T07:57:46.224Z] Successfully built 23224f63fea2 [2022-03-17T07:57:46.224Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:57:46.519Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T07:57:46.520Z] . [Pipeline] withDockerContainer [2022-03-17T07:57:46.598Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T07:57:46.639Z] $ 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-03-17T07:57:47.064Z] $ docker top a620369562de3925efc7983363d0ed87f4a522dd8118d900e99fef07bc3a450e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T07:57:47.463Z] + go version [2022-03-17T07:57:47.464Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-17T07:57:47.482Z] $ docker stop --time=1 a620369562de3925efc7983363d0ed87f4a522dd8118d900e99fef07bc3a450e [2022-03-17T07:57:48.789Z] $ docker rm -f a620369562de3925efc7983363d0ed87f4a522dd8118d900e99fef07bc3a450e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:57:49.239Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-17T07:57:49.239Z] . [Pipeline] withDockerContainer [2022-03-17T07:57:49.305Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T07:57:49.346Z] $ 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-03-17T07:57:49.737Z] $ docker top 81d02d93fee8fbfb273a3b2074083d88da00445b4cfb53ce642598ce1cc8899a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T07:57:50.120Z] + make test [2022-03-17T07:57:50.120Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-17T07:57:50.380Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-03-17T07:57:56.960Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-03-17T07:57:57.534Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2022-03-17T07:57:57.534Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T07:58:00.845Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T07:58:00.845Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T07:58:00.845Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T07:58:01.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T07:58:01.140Z] $ docker stop --time=1 81d02d93fee8fbfb273a3b2074083d88da00445b4cfb53ce642598ce1cc8899a [2022-03-17T07:58:02.822Z] $ docker rm -f 81d02d93fee8fbfb273a3b2074083d88da00445b4cfb53ce642598ce1cc8899a [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T07:58:03.210Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T07:58:03.265Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-17T07:58:03.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T07:58:04.168Z] + ls -al . [2022-03-17T07:58:04.168Z] total 196 [2022-03-17T07:58:04.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:58 . [2022-03-17T07:58:04.168Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:56 .. [2022-03-17T07:58:04.168Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:56 .git [2022-03-17T07:58:04.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:56 .github [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 270 Mar 17 07:56 .gitignore [2022-03-17T07:58:04.168Z] drwx------ 3 jenkins jenkins 4096 Mar 17 07:57 .semver [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 6610 Mar 17 07:56 Attribution.txt [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 6349 Mar 17 07:56 CHANGELOG.md [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 1974 Mar 17 07:56 Dockerfile [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:56 GOVERNANCE.md [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 07:56 Jenkinsfile [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:56 LICENSE [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 1157 Mar 17 07:56 Makefile [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 07:56 OWNERS.md [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 2914 Mar 17 07:56 README.md [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 07:57 VERSION [2022-03-17T07:58:04.168Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:56 bin [2022-03-17T07:58:04.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:56 cmd [2022-03-17T07:58:04.168Z] -rw-r--r-- 1 jenkins jenkins 44128 Mar 17 07:57 coverage.out [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 2760 Mar 17 07:56 go.mod [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 50411 Mar 17 07:56 go.sum [2022-03-17T07:58:04.168Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:56 internal [2022-03-17T07:58:04.168Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 07:56 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:04.488Z] + 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=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f --label arch=amd64 --label version=2.2.0-dev.7 . [2022-03-17T07:58:04.488Z] Sending build context to Docker daemon 22.9MB [2022-03-17T07:58:04.488Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T07:58:04.488Z] Step 2/26 : FROM ${BASE} AS builder [2022-03-17T07:58:04.488Z] ---> 23224f63fea2 [2022-03-17T07:58:04.488Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T07:58:04.750Z] ---> Running in c14d576ccd51 [2022-03-17T07:58:04.750Z] Removing intermediate container c14d576ccd51 [2022-03-17T07:58:04.750Z] ---> d373ecff9a79 [2022-03-17T07:58:04.750Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T07:58:04.750Z] ---> Running in ccdb2d2d331c [2022-03-17T07:58:05.010Z] Removing intermediate container ccdb2d2d331c [2022-03-17T07:58:05.010Z] ---> 263f492933ff [2022-03-17T07:58:05.010Z] Step 5/26 : WORKDIR /device-virtual-go [2022-03-17T07:58:05.010Z] ---> Running in 0731026b2cf8 [2022-03-17T07:58:05.010Z] Removing intermediate container 0731026b2cf8 [2022-03-17T07:58:05.010Z] ---> 89e96631560f [2022-03-17T07:58:05.010Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:58:05.010Z] ---> Running in 32742f4d411a [2022-03-17T07:58:05.581Z] Removing intermediate container 32742f4d411a [2022-03-17T07:58:05.581Z] ---> 2c7b499632b6 [2022-03-17T07:58:05.581Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T07:58:05.581Z] ---> Running in 56944979f411 [2022-03-17T07:58:06.151Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-17T07:58:06.723Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-17T07:58:06.984Z] OK: 224 MiB in 56 packages [2022-03-17T07:58:07.555Z] Removing intermediate container 56944979f411 [2022-03-17T07:58:07.555Z] ---> 87808fef4dd9 [2022-03-17T07:58:07.555Z] Step 8/26 : COPY go.mod vendor* ./ [2022-03-17T07:58:07.555Z] ---> 42cdebac34b6 [2022-03-17T07:58:07.555Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T07:58:07.555Z] ---> Running in 3ca6daa6b00d [2022-03-17T07:58:08.496Z] Removing intermediate container 3ca6daa6b00d [2022-03-17T07:58:08.496Z] ---> c6f36b266634 [2022-03-17T07:58:08.496Z] Step 10/26 : COPY . . [2022-03-17T07:58:08.756Z] ---> d01fdd9bbb06 [2022-03-17T07:58:08.756Z] Step 11/26 : ARG MAKE='make build' [2022-03-17T07:58:08.756Z] ---> Running in 61b66cd415ea [2022-03-17T07:58:09.018Z] Removing intermediate container 61b66cd415ea [2022-03-17T07:58:09.018Z] ---> 04671318d2a7 [2022-03-17T07:58:09.018Z] Step 12/26 : RUN $MAKE [2022-03-17T07:58:09.018Z] ---> Running in 6e1e851f39e7 [2022-03-17T07:58:09.277Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.7" -o cmd/device-virtual ./cmd [2022-03-17T07:58:17.406Z] Removing intermediate container 6e1e851f39e7 [2022-03-17T07:58:17.406Z] ---> 91c17f5dcf9a [2022-03-17T07:58:17.406Z] Step 13/26 : FROM alpine:3.14 [2022-03-17T07:58:17.406Z] 3.14: Pulling from library/alpine [2022-03-17T07:58:17.667Z] 97518928ae5f: Pulling fs layer [2022-03-17T07:58:17.930Z] 97518928ae5f: Verifying Checksum [2022-03-17T07:58:17.930Z] 97518928ae5f: Download complete [2022-03-17T07:58:17.930Z] 97518928ae5f: Pull complete [2022-03-17T07:58:17.930Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T07:58:17.930Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T07:58:17.930Z] ---> 0a97eee8041e [2022-03-17T07:58:17.930Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-03-17T07:58:18.192Z] ---> Running in ff67f3f04844 [2022-03-17T07:58:18.192Z] Removing intermediate container ff67f3f04844 [2022-03-17T07:58:18.192Z] ---> c97143176017 [2022-03-17T07:58:18.192Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T07:58:18.192Z] ---> Running in 9c4038be9f70 [2022-03-17T07:58:18.764Z] Removing intermediate container 9c4038be9f70 [2022-03-17T07:58:18.764Z] ---> 3971106c3eca [2022-03-17T07:58:18.764Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T07:58:19.025Z] ---> Running in e68be3e59476 [2022-03-17T07:58:19.286Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-17T07:58:20.230Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-17T07:58:20.491Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T07:58:20.491Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T07:58:20.491Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T07:58:20.752Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T07:58:20.752Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T07:58:20.752Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T07:58:21.013Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T07:58:21.013Z] OK: 8 MiB in 20 packages [2022-03-17T07:58:21.275Z] Removing intermediate container e68be3e59476 [2022-03-17T07:58:21.275Z] ---> 1b3052cb3313 [2022-03-17T07:58:21.275Z] Step 17/26 : WORKDIR / [2022-03-17T07:58:21.275Z] ---> Running in f71eee952bba [2022-03-17T07:58:21.536Z] Removing intermediate container f71eee952bba [2022-03-17T07:58:21.536Z] ---> f41b9cb78a5a [2022-03-17T07:58:21.536Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-03-17T07:58:21.536Z] ---> 223ac1642a9d [2022-03-17T07:58:21.536Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-03-17T07:58:21.797Z] ---> bfbd1debc85d [2022-03-17T07:58:21.797Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-03-17T07:58:22.368Z] ---> 6616b3861e13 [2022-03-17T07:58:22.368Z] Step 21/26 : EXPOSE 59900 [2022-03-17T07:58:22.368Z] ---> Running in be61fd388505 [2022-03-17T07:58:22.368Z] Removing intermediate container be61fd388505 [2022-03-17T07:58:22.368Z] ---> 915a52c62e3a [2022-03-17T07:58:22.368Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-03-17T07:58:22.368Z] ---> Running in 83ddb4ac85c6 [2022-03-17T07:58:22.368Z] Removing intermediate container 83ddb4ac85c6 [2022-03-17T07:58:22.368Z] ---> 2674e4e26b39 [2022-03-17T07:58:22.368Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T07:58:22.629Z] ---> Running in 605754dc0b31 [2022-03-17T07:58:22.629Z] Removing intermediate container 605754dc0b31 [2022-03-17T07:58:22.629Z] ---> e80fff11da27 [2022-03-17T07:58:22.629Z] Step 24/26 : LABEL arch=amd64 [2022-03-17T07:58:22.629Z] ---> Running in 84f28e9fcadb [2022-03-17T07:58:22.629Z] Removing intermediate container 84f28e9fcadb [2022-03-17T07:58:22.629Z] ---> 1842955ed1b4 [2022-03-17T07:58:22.629Z] Step 25/26 : LABEL git_sha=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T07:58:22.889Z] ---> Running in 395e48c9a489 [2022-03-17T07:58:22.889Z] Removing intermediate container 395e48c9a489 [2022-03-17T07:58:22.889Z] ---> 55b8ba3f61db [2022-03-17T07:58:22.889Z] Step 26/26 : LABEL version=2.2.0-dev.7 [2022-03-17T07:58:22.889Z] ---> Running in 3327e35c7106 [2022-03-17T07:58:22.889Z] Removing intermediate container 3327e35c7106 [2022-03-17T07:58:22.889Z] ---> 15fbe408f1ae [2022-03-17T07:58:22.889Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T07:58:22.889Z] Successfully built 15fbe408f1ae [2022-03-17T07:58:22.889Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T07:58:23.253Z] provisioning config files... [2022-03-17T07:58:23.262Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config680314036562745081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:58:23.573Z] ---> docker-login.sh [2022-03-17T07:58:23.573Z] nexus3.edgexfoundry.org:10001 [2022-03-17T07:58:23.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:58:23.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:58:23.573Z] Configure a credential helper to remove this warning. See [2022-03-17T07:58:23.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:58:23.573Z] [2022-03-17T07:58:23.573Z] Login Succeeded [2022-03-17T07:58:23.573Z] nexus3.edgexfoundry.org:10002 [2022-03-17T07:58:23.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:58:23.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:58:23.834Z] Configure a credential helper to remove this warning. See [2022-03-17T07:58:23.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:58:23.834Z] [2022-03-17T07:58:23.834Z] Login Succeeded [2022-03-17T07:58:23.834Z] nexus3.edgexfoundry.org:10003 [2022-03-17T07:58:23.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:58:23.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:58:23.834Z] Configure a credential helper to remove this warning. See [2022-03-17T07:58:23.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:58:23.834Z] [2022-03-17T07:58:23.834Z] Login Succeeded [2022-03-17T07:58:23.834Z] nexus3.edgexfoundry.org:10004 [2022-03-17T07:58:24.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:58:24.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:58:24.096Z] Configure a credential helper to remove this warning. See [2022-03-17T07:58:24.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:58:24.096Z] [2022-03-17T07:58:24.096Z] Login Succeeded [2022-03-17T07:58:24.096Z] docker.io [2022-03-17T07:58:24.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T07:58:24.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T07:58:24.357Z] Configure a credential helper to remove this warning. See [2022-03-17T07:58:24.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T07:58:24.357Z] [2022-03-17T07:58:24.357Z] Login Succeeded [2022-03-17T07:58:24.357Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T07:58:24.365Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T07:58:24.398Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T07:58:24.426Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-03-17T07:58:24.426Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T07:58:24.426Z] latest [2022-03-17T07:58:24.426Z] 2.2.0-dev.7 [2022-03-17T07:58:24.426Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [2022-03-17T07:58:24.426Z] main [2022-03-17T07:58:24.426Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:24.757Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:25.045Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T07:58:25.045Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-03-17T07:58:25.045Z] bebcdd50710f: Preparing [2022-03-17T07:58:25.045Z] b41a458617ce: Preparing [2022-03-17T07:58:25.045Z] 5de9128443d5: Preparing [2022-03-17T07:58:25.045Z] bec2000e4242: Preparing [2022-03-17T07:58:25.045Z] 132455c670ef: Preparing [2022-03-17T07:58:25.045Z] 1a058d5342cc: Preparing [2022-03-17T07:58:25.045Z] 1a058d5342cc: Waiting [2022-03-17T07:58:25.045Z] 132455c670ef: Pushed [2022-03-17T07:58:25.045Z] 5de9128443d5: Pushed [2022-03-17T07:58:25.045Z] b41a458617ce: Pushed [2022-03-17T07:58:25.045Z] 1a058d5342cc: Layer already exists [2022-03-17T07:58:25.305Z] bec2000e4242: Pushed [2022-03-17T07:58:26.247Z] bebcdd50710f: Pushed [2022-03-17T07:58:26.508Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:26.802Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:27.095Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-03-17T07:58:27.095Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-03-17T07:58:27.095Z] bebcdd50710f: Preparing [2022-03-17T07:58:27.095Z] b41a458617ce: Preparing [2022-03-17T07:58:27.095Z] 5de9128443d5: Preparing [2022-03-17T07:58:27.095Z] bec2000e4242: Preparing [2022-03-17T07:58:27.095Z] 132455c670ef: Preparing [2022-03-17T07:58:27.095Z] 1a058d5342cc: Preparing [2022-03-17T07:58:27.095Z] 1a058d5342cc: Waiting [2022-03-17T07:58:27.095Z] 132455c670ef: Layer already exists [2022-03-17T07:58:27.095Z] bec2000e4242: Layer already exists [2022-03-17T07:58:27.095Z] bebcdd50710f: Layer already exists [2022-03-17T07:58:27.095Z] b41a458617ce: Layer already exists [2022-03-17T07:58:27.095Z] 5de9128443d5: Layer already exists [2022-03-17T07:58:27.095Z] 1a058d5342cc: Layer already exists [2022-03-17T07:58:27.095Z] latest: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:27.396Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:27.689Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.7 [2022-03-17T07:58:27.689Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-03-17T07:58:27.689Z] bebcdd50710f: Preparing [2022-03-17T07:58:27.689Z] b41a458617ce: Preparing [2022-03-17T07:58:27.689Z] 5de9128443d5: Preparing [2022-03-17T07:58:27.689Z] bec2000e4242: Preparing [2022-03-17T07:58:27.689Z] 132455c670ef: Preparing [2022-03-17T07:58:27.689Z] 1a058d5342cc: Preparing [2022-03-17T07:58:27.689Z] 1a058d5342cc: Waiting [2022-03-17T07:58:27.689Z] b41a458617ce: Layer already exists [2022-03-17T07:58:27.689Z] 5de9128443d5: Layer already exists [2022-03-17T07:58:27.689Z] bec2000e4242: Layer already exists [2022-03-17T07:58:27.689Z] bebcdd50710f: Layer already exists [2022-03-17T07:58:27.689Z] 132455c670ef: Layer already exists [2022-03-17T07:58:27.689Z] 1a058d5342cc: Layer already exists [2022-03-17T07:58:27.689Z] 2.2.0-dev.7: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:27.986Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:28.276Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [2022-03-17T07:58:28.276Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-03-17T07:58:28.276Z] bebcdd50710f: Preparing [2022-03-17T07:58:28.276Z] b41a458617ce: Preparing [2022-03-17T07:58:28.276Z] 5de9128443d5: Preparing [2022-03-17T07:58:28.276Z] bec2000e4242: Preparing [2022-03-17T07:58:28.276Z] 132455c670ef: Preparing [2022-03-17T07:58:28.276Z] 1a058d5342cc: Preparing [2022-03-17T07:58:28.276Z] 1a058d5342cc: Waiting [2022-03-17T07:58:28.276Z] bec2000e4242: Layer already exists [2022-03-17T07:58:28.276Z] bebcdd50710f: Layer already exists [2022-03-17T07:58:28.276Z] b41a458617ce: Layer already exists [2022-03-17T07:58:28.276Z] 5de9128443d5: Layer already exists [2022-03-17T07:58:28.276Z] 132455c670ef: Layer already exists [2022-03-17T07:58:28.276Z] 1a058d5342cc: Layer already exists [2022-03-17T07:58:28.276Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:28.572Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:28.863Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-03-17T07:58:28.863Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-03-17T07:58:28.863Z] bebcdd50710f: Preparing [2022-03-17T07:58:28.863Z] b41a458617ce: Preparing [2022-03-17T07:58:28.863Z] 5de9128443d5: Preparing [2022-03-17T07:58:28.863Z] bec2000e4242: Preparing [2022-03-17T07:58:28.863Z] 132455c670ef: Preparing [2022-03-17T07:58:28.863Z] 1a058d5342cc: Preparing [2022-03-17T07:58:28.863Z] 1a058d5342cc: Waiting [2022-03-17T07:58:28.863Z] bebcdd50710f: Layer already exists [2022-03-17T07:58:28.863Z] bec2000e4242: Layer already exists [2022-03-17T07:58:28.863Z] 5de9128443d5: Layer already exists [2022-03-17T07:58:28.863Z] 132455c670ef: Layer already exists [2022-03-17T07:58:28.863Z] b41a458617ce: Layer already exists [2022-03-17T07:58:28.863Z] 1a058d5342cc: Layer already exists [2022-03-17T07:58:28.863Z] main: digest: sha256:f1c4b4fede16042c8efb020b46e9ee4c0587ce3b3086b8bdeb7506ecb3ba5cd2 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T07:58:28.902Z] ===================================================== [Pipeline] echo [2022-03-17T07:58:28.912Z] taggedImages: [2022-03-17T07:58:28.912Z] - nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T07:58:28.912Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-03-17T07:58:28.912Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.7 [2022-03-17T07:58:28.912Z] - nexus3.edgexfoundry.org:10004/device-virtual:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [2022-03-17T07:58:28.912Z] - 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-03-17T07:58:29.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T07:58:29.342Z] [2022-03-17T07:58:29.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T07:58:29.643Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T07:58:29.643Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-17T07:58:29.643Z] 5eb5b503b376: Pulling fs layer [2022-03-17T07:58:29.643Z] 5c69ac0246d0: Pulling fs layer [2022-03-17T07:58:29.643Z] ec43610c2a17: Pulling fs layer [2022-03-17T07:58:29.643Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-17T07:58:29.643Z] 33b1e0a273af: Pulling fs layer [2022-03-17T07:58:29.643Z] 5d3b04190fa2: Pulling fs layer [2022-03-17T07:58:29.643Z] 2f39f015ded8: Pulling fs layer [2022-03-17T07:58:29.643Z] 3a2ae6a8a46f: Waiting [2022-03-17T07:58:29.643Z] 33b1e0a273af: Waiting [2022-03-17T07:58:29.643Z] 5d3b04190fa2: Waiting [2022-03-17T07:58:29.643Z] 2f39f015ded8: Waiting [2022-03-17T07:58:29.643Z] 5c69ac0246d0: Download complete [2022-03-17T07:58:29.643Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-17T07:58:29.643Z] 3a2ae6a8a46f: Download complete [2022-03-17T07:58:29.643Z] 33b1e0a273af: Verifying Checksum [2022-03-17T07:58:29.643Z] 33b1e0a273af: Download complete [2022-03-17T07:58:29.643Z] 5d3b04190fa2: Verifying Checksum [2022-03-17T07:58:29.643Z] ec43610c2a17: Verifying Checksum [2022-03-17T07:58:29.643Z] ec43610c2a17: Download complete [2022-03-17T07:58:29.903Z] 5eb5b503b376: Download complete [2022-03-17T07:58:30.472Z] 2f39f015ded8: Verifying Checksum [2022-03-17T07:58:30.472Z] 2f39f015ded8: Download complete [2022-03-17T07:58:31.042Z] 5eb5b503b376: Pull complete [2022-03-17T07:58:31.042Z] 5c69ac0246d0: Pull complete [2022-03-17T07:58:31.612Z] ec43610c2a17: Pull complete [2022-03-17T07:58:31.612Z] 3a2ae6a8a46f: Pull complete [2022-03-17T07:58:31.871Z] 33b1e0a273af: Pull complete [2022-03-17T07:58:31.871Z] 5d3b04190fa2: Pull complete [2022-03-17T07:58:36.068Z] 2f39f015ded8: Pull complete [2022-03-17T07:58:36.068Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-17T07:58:36.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T07:58:36.068Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-17T07:58:36.178Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T07:58:36.269Z] $ 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-03-17T07:58:38.127Z] $ docker top 286f2423f34bb0f09bdce9444527f24a6d23cdb1845d0e8d9515e4a16f83589a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T07:58:38.522Z] ---> job-cost.sh [2022-03-17T07:58:38.522Z] lf-activate-venv: SKIPPING [2022-03-17T07:58:38.522Z] INFO: No Stack... [2022-03-17T07:58:38.783Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T07:58:39.354Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T07:58:39.649Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-03-17T07:58:39.649Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T07:58:39.666Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [2022-03-17T07:58:39.673Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] did not exist. Created. [2022-03-17T07:58:39.673Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T07:58:39.980Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-17T07:58:40.006Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T07:58:40.012Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T07:58:40.038Z] $ docker stop --time=1 286f2423f34bb0f09bdce9444527f24a6d23cdb1845d0e8d9515e4a16f83589a [2022-03-17T07:58:41.208Z] $ docker rm -f 286f2423f34bb0f09bdce9444527f24a6d23cdb1845d0e8d9515e4a16f83589a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-17T08:00:57.729Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7813 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-03-17T08:00:57.740Z] Running in /w/workspace/device-virtual-go/23 [Pipeline] { [Pipeline] checkout [2022-03-17T08:00:57.950Z] The recommended git tool is: git [2022-03-17T08:01:04.291Z] using credential edgex-jenkins-ssh [2022-03-17T08:01:04.310Z] Cloning the remote Git repository [2022-03-17T08:01:04.412Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-03-17T08:01:04.532Z] > git init /w/workspace/device-virtual-go/23 # timeout=10 [2022-03-17T08:01:04.775Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-03-17T08:01:04.778Z] > git --version # timeout=10 [2022-03-17T08:01:04.838Z] > git --version # 'git version 2.25.1' [2022-03-17T08:01:04.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-17T08:01:05.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T08:01:07.573Z] Avoid second fetch [2022-03-17T08:01:07.574Z] Checking out Revision c03aa7c74cee4c24f0ea21a2b880bc2767aae84f (main) [2022-03-17T08:01:07.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-03-17T08:01:07.559Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-17T08:01:07.603Z] > git config core.sparsecheckout # timeout=10 [2022-03-17T08:01:07.630Z] > git checkout -f c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 [2022-03-17T08:01:12.192Z] Commit message: "Merge pull request #269 from hahattan/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T08:01:13.143Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-17T08:01:13.143Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T08:01:13.143Z] Dload Upload Total Spent Left Speed [2022-03-17T08:01:13.143Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44690 0 --:--:-- --:--:-- --:--:-- 44690 [Pipeline] sh [2022-03-17T08:01:14.003Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-17T08:01:14.361Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-17T08:01:14.361Z] + sudo tee /etc/docker/daemon.new [2022-03-17T08:01:14.361Z] { [2022-03-17T08:01:14.361Z] "registry-mirrors": [ [2022-03-17T08:01:14.361Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-17T08:01:14.361Z] ], [2022-03-17T08:01:14.361Z] "bip": "10.250.0.254/24", [2022-03-17T08:01:14.361Z] "hosts": [ [2022-03-17T08:01:14.361Z] "tcp://0.0.0.0:5555", [2022-03-17T08:01:14.361Z] "unix:///var/run/docker.sock" [2022-03-17T08:01:14.361Z] ], [2022-03-17T08:01:14.361Z] "mtu": 1458, [2022-03-17T08:01:14.361Z] "selinux-enabled": true, [2022-03-17T08:01:14.361Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-17T08:01:14.361Z] } [Pipeline] sh [2022-03-17T08:01:14.737Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-17T08:01:15.095Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T08:01:33.459Z] provisioning config files... [2022-03-17T08:01:33.483Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/23@tmp/config8034870585511390916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:01:33.847Z] ---> docker-login.sh [2022-03-17T08:01:33.847Z] nexus3.edgexfoundry.org:10001 [2022-03-17T08:01:34.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:01:34.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:01:34.728Z] Configure a credential helper to remove this warning. See [2022-03-17T08:01:34.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:01:34.728Z] [2022-03-17T08:01:34.728Z] Login Succeeded [2022-03-17T08:01:34.728Z] nexus3.edgexfoundry.org:10002 [2022-03-17T08:01:35.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:01:35.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:01:35.278Z] Configure a credential helper to remove this warning. See [2022-03-17T08:01:35.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:01:35.278Z] [2022-03-17T08:01:35.278Z] Login Succeeded [2022-03-17T08:01:35.278Z] nexus3.edgexfoundry.org:10003 [2022-03-17T08:01:35.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:01:35.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:01:35.562Z] Configure a credential helper to remove this warning. See [2022-03-17T08:01:35.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:01:35.562Z] [2022-03-17T08:01:35.562Z] Login Succeeded [2022-03-17T08:01:35.562Z] nexus3.edgexfoundry.org:10004 [2022-03-17T08:01:36.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:01:36.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:01:36.174Z] Configure a credential helper to remove this warning. See [2022-03-17T08:01:36.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:01:36.174Z] [2022-03-17T08:01:36.174Z] Login Succeeded [2022-03-17T08:01:36.174Z] docker.io [2022-03-17T08:01:36.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:01:37.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:01:37.122Z] Configure a credential helper to remove this warning. See [2022-03-17T08:01:37.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:01:37.122Z] [2022-03-17T08:01:37.122Z] Login Succeeded [2022-03-17T08:01:37.122Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T08:01:37.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-17T08:01:37.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T08:01:37.563Z] ========================================================= [2022-03-17T08:01:37.563Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-17T08:01:37.563Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:01:37.917Z] + 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-03-17T08:01:38.190Z] Sending build context to Docker daemon 11.56MB [2022-03-17T08:01:38.466Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T08:01:38.466Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-17T08:01:38.466Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-17T08:01:38.466Z] 9b3977197b4f: Pulling fs layer [2022-03-17T08:01:38.466Z] 1a89e8eeedd5: Pulling fs layer [2022-03-17T08:01:38.466Z] 94645a83ff95: Pulling fs layer [2022-03-17T08:01:38.466Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-17T08:01:38.466Z] 0c92f367c5e7: Pulling fs layer [2022-03-17T08:01:38.466Z] f7c0051592d6: Pulling fs layer [2022-03-17T08:01:38.466Z] a227ed2f7395: Pulling fs layer [2022-03-17T08:01:38.466Z] 7b1c46037f91: Pulling fs layer [2022-03-17T08:01:38.466Z] f7c0051592d6: Waiting [2022-03-17T08:01:38.466Z] a227ed2f7395: Waiting [2022-03-17T08:01:38.466Z] 7b1c46037f91: Waiting [2022-03-17T08:01:38.466Z] 3f3a8bcf1eab: Waiting [2022-03-17T08:01:38.466Z] 0c92f367c5e7: Waiting [2022-03-17T08:01:38.466Z] 94645a83ff95: Verifying Checksum [2022-03-17T08:01:38.466Z] 94645a83ff95: Download complete [2022-03-17T08:01:38.466Z] 0c92f367c5e7: Download complete [2022-03-17T08:01:38.466Z] f7c0051592d6: Verifying Checksum [2022-03-17T08:01:38.466Z] f7c0051592d6: Download complete [2022-03-17T08:01:38.743Z] 9b3977197b4f: Verifying Checksum [2022-03-17T08:01:38.743Z] 9b3977197b4f: Download complete [2022-03-17T08:01:38.743Z] a227ed2f7395: Verifying Checksum [2022-03-17T08:01:38.743Z] a227ed2f7395: Download complete [2022-03-17T08:01:39.349Z] 9b3977197b4f: Pull complete [2022-03-17T08:01:39.955Z] 1a89e8eeedd5: Pull complete [2022-03-17T08:01:40.231Z] 94645a83ff95: Pull complete [2022-03-17T08:01:40.504Z] 7b1c46037f91: Verifying Checksum [2022-03-17T08:01:40.504Z] 7b1c46037f91: Download complete [2022-03-17T08:01:41.103Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-17T08:01:41.103Z] 3f3a8bcf1eab: Download complete [2022-03-17T08:01:53.518Z] 3f3a8bcf1eab: Pull complete [2022-03-17T08:01:53.518Z] 0c92f367c5e7: Pull complete [2022-03-17T08:01:53.518Z] f7c0051592d6: Pull complete [2022-03-17T08:01:53.792Z] a227ed2f7395: Pull complete [2022-03-17T08:02:00.509Z] 7b1c46037f91: Pull complete [2022-03-17T08:02:00.509Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-17T08:02:00.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-17T08:02:00.509Z] ---> f79e39bc4007 [2022-03-17T08:02:00.509Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T08:02:01.501Z] ---> Running in 9d59b340aaf0 [2022-03-17T08:02:01.501Z] Removing intermediate container 9d59b340aaf0 [2022-03-17T08:02:01.501Z] ---> 69650ad57129 [2022-03-17T08:02:01.501Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T08:02:01.775Z] ---> Running in 65cea58b1e74 [2022-03-17T08:02:02.054Z] Removing intermediate container 65cea58b1e74 [2022-03-17T08:02:02.054Z] ---> 801be7cfb289 [2022-03-17T08:02:02.054Z] Step 5/12 : WORKDIR /device-virtual-go [2022-03-17T08:02:02.054Z] ---> Running in c574fc24c65c [2022-03-17T08:02:02.330Z] Removing intermediate container c574fc24c65c [2022-03-17T08:02:02.330Z] ---> 9f7534aba978 [2022-03-17T08:02:02.330Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T08:02:02.603Z] ---> Running in 12381c9427bd [2022-03-17T08:02:04.586Z] Removing intermediate container 12381c9427bd [2022-03-17T08:02:04.587Z] ---> 24c0cbcadec8 [2022-03-17T08:02:04.587Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T08:02:04.587Z] ---> Running in d3628b70a8c4 [2022-03-17T08:02:05.180Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T08:02:06.155Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T08:02:07.131Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-17T08:02:07.131Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-17T08:02:07.131Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-17T08:02:07.403Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-17T08:02:07.403Z] Executing busybox-1.34.1-r3.trigger [2022-03-17T08:02:07.677Z] OK: 224 MiB in 56 packages [2022-03-17T08:02:08.674Z] Removing intermediate container d3628b70a8c4 [2022-03-17T08:02:08.674Z] ---> cfc0ccced0b7 [2022-03-17T08:02:08.674Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-17T08:02:08.949Z] ---> 4c777ce04fd7 [2022-03-17T08:02:08.949Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T08:02:09.227Z] ---> Running in 624f83b9fc0d [2022-03-17T08:03:31.036Z] Removing intermediate container 624f83b9fc0d [2022-03-17T08:03:31.037Z] ---> 2b4802c7b707 [2022-03-17T08:03:31.037Z] Step 10/12 : COPY . . [2022-03-17T08:03:31.037Z] ---> df425d247eec [2022-03-17T08:03:31.037Z] Step 11/12 : ARG MAKE='make build' [2022-03-17T08:03:31.037Z] ---> Running in c18c0e9c2918 [2022-03-17T08:03:31.037Z] Removing intermediate container c18c0e9c2918 [2022-03-17T08:03:31.037Z] ---> b13ef40e0415 [2022-03-17T08:03:31.037Z] Step 12/12 : RUN $MAKE [2022-03-17T08:03:31.037Z] ---> Running in dc1ea4cdb6ab [2022-03-17T08:03:31.037Z] noop [2022-03-17T08:03:31.314Z] Removing intermediate container dc1ea4cdb6ab [2022-03-17T08:03:31.314Z] ---> a7a2b4311702 [2022-03-17T08:03:31.314Z] Successfully built a7a2b4311702 [2022-03-17T08:03:31.314Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:03:31.663Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T08:03:31.663Z] . [Pipeline] withDockerContainer [2022-03-17T08:03:31.910Z] prd-ubuntu20.04-docker-arm64-4c-16g-7813 does not seem to be running inside a container [2022-03-17T08:03:31.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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-03-17T08:03:33.315Z] $ docker top f39949066a95283647dd2c4bbffc4ab51bcd23367f5b150af6f426d9a881d982 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T08:03:34.242Z] + go version [2022-03-17T08:03:34.242Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-17T08:03:34.271Z] $ docker stop --time=1 f39949066a95283647dd2c4bbffc4ab51bcd23367f5b150af6f426d9a881d982 [2022-03-17T08:03:35.930Z] $ docker rm -f f39949066a95283647dd2c4bbffc4ab51bcd23367f5b150af6f426d9a881d982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:03:36.546Z] + docker inspect -f . ci-base-image-arm64 [2022-03-17T08:03:36.547Z] . [Pipeline] withDockerContainer [2022-03-17T08:03:36.787Z] prd-ubuntu20.04-docker-arm64-4c-16g-7813 does not seem to be running inside a container [2022-03-17T08:03:36.876Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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-03-17T08:03:38.172Z] $ docker top cff5da5ddd2cf39650ba2e76971ef63787a099f9056dd901ccd6d19d890d8da1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-17T08:03:39.100Z] + make test [2022-03-17T08:03:39.100Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-17T08:03:40.544Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-03-17T08:04:27.573Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-03-17T08:04:27.846Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.7% of statements [2022-03-17T08:04:28.444Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-17T08:04:46.789Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-17T08:04:46.789Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-17T08:04:46.789Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-17T08:04:48.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-17T08:04:48.268Z] $ docker stop --time=1 cff5da5ddd2cf39650ba2e76971ef63787a099f9056dd901ccd6d19d890d8da1 [2022-03-17T08:04:49.986Z] $ docker rm -f cff5da5ddd2cf39650ba2e76971ef63787a099f9056dd901ccd6d19d890d8da1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T08:04:50.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-17T08:04:50.791Z] Warning: overwriting stash ‘coverage-report’ [2022-03-17T08:04:51.252Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-17T08:04:51.661Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-17T08:04:51.999Z] + ls -al . [2022-03-17T08:04:51.999Z] total 192 [2022-03-17T08:04:51.999Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 17 08:04 . [2022-03-17T08:04:51.999Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 08:01 .. [2022-03-17T08:04:51.999Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 08:01 .git [2022-03-17T08:04:51.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 08:01 .github [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 270 Mar 17 08:01 .gitignore [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 6610 Mar 17 08:01 Attribution.txt [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 6349 Mar 17 08:01 CHANGELOG.md [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 1974 Mar 17 08:01 Dockerfile [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 08:01 GOVERNANCE.md [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 08:01 Jenkinsfile [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 08:01 LICENSE [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 1157 Mar 17 08:01 Makefile [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 08:01 OWNERS.md [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 2914 Mar 17 08:01 README.md [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 07:57 VERSION [2022-03-17T08:04:51.999Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 08:01 bin [2022-03-17T08:04:51.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 08:01 cmd [2022-03-17T08:04:51.999Z] -rw-r--r-- 1 jenkins jenkins 44128 Mar 17 08:04 coverage.out [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 2760 Mar 17 08:01 go.mod [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 50411 Mar 17 08:01 go.sum [2022-03-17T08:04:51.999Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 08:01 internal [2022-03-17T08:04:51.999Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 08:01 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:04:52.343Z] + 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=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f --label arch=arm64 --label version=2.2.0-dev.7 . [2022-03-17T08:04:52.937Z] Sending build context to Docker daemon 11.6MB [2022-03-17T08:04:52.937Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-03-17T08:04:52.937Z] Step 2/26 : FROM ${BASE} AS builder [2022-03-17T08:04:52.937Z] ---> a7a2b4311702 [2022-03-17T08:04:52.937Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-17T08:04:52.937Z] ---> Running in f3eeb9e4ea75 [2022-03-17T08:04:53.211Z] Removing intermediate container f3eeb9e4ea75 [2022-03-17T08:04:53.211Z] ---> d24903a6302d [2022-03-17T08:04:53.211Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-03-17T08:04:53.211Z] ---> Running in 474da5a97b5e [2022-03-17T08:04:53.485Z] Removing intermediate container 474da5a97b5e [2022-03-17T08:04:53.485Z] ---> 2ab510306659 [2022-03-17T08:04:53.485Z] Step 5/26 : WORKDIR /device-virtual-go [2022-03-17T08:04:53.758Z] ---> Running in 9575b42d6936 [2022-03-17T08:04:54.033Z] Removing intermediate container 9575b42d6936 [2022-03-17T08:04:54.033Z] ---> 6365cb61f103 [2022-03-17T08:04:54.033Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T08:04:54.033Z] ---> Running in 1939511948d3 [2022-03-17T08:04:56.010Z] Removing intermediate container 1939511948d3 [2022-03-17T08:04:56.010Z] ---> d8e87ab51e94 [2022-03-17T08:04:56.010Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-17T08:04:56.010Z] ---> Running in bbd399068058 [2022-03-17T08:04:56.989Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-17T08:04:57.583Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-17T08:04:58.562Z] OK: 224 MiB in 56 packages [2022-03-17T08:04:59.544Z] Removing intermediate container bbd399068058 [2022-03-17T08:04:59.544Z] ---> 045b1447916a [2022-03-17T08:04:59.544Z] Step 8/26 : COPY go.mod vendor* ./ [2022-03-17T08:04:59.821Z] ---> f6a5f79f5a50 [2022-03-17T08:04:59.821Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-17T08:04:59.821Z] ---> Running in a00791b4d75b [2022-03-17T08:05:02.457Z] Removing intermediate container a00791b4d75b [2022-03-17T08:05:02.457Z] ---> 5a7336aa974c [2022-03-17T08:05:02.457Z] Step 10/26 : COPY . . [2022-03-17T08:05:03.455Z] ---> ee0917a9aa9e [2022-03-17T08:05:03.455Z] Step 11/26 : ARG MAKE='make build' [2022-03-17T08:05:03.455Z] ---> Running in 97256e2ff7a5 [2022-03-17T08:05:03.739Z] Removing intermediate container 97256e2ff7a5 [2022-03-17T08:05:03.739Z] ---> c8da521fabfa [2022-03-17T08:05:03.739Z] Step 12/26 : RUN $MAKE [2022-03-17T08:05:03.739Z] ---> Running in 7e9e367ede83 [2022-03-17T08:05:04.722Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.7" -o cmd/device-virtual ./cmd [2022-03-17T08:05:43.758Z] Removing intermediate container 7e9e367ede83 [2022-03-17T08:05:43.758Z] ---> a301b527108c [2022-03-17T08:05:43.758Z] Step 13/26 : FROM alpine:3.14 [2022-03-17T08:05:44.347Z] 3.14: Pulling from library/alpine [2022-03-17T08:05:44.616Z] be307f383ecc: Pulling fs layer [2022-03-17T08:05:44.887Z] be307f383ecc: Verifying Checksum [2022-03-17T08:05:44.887Z] be307f383ecc: Download complete [2022-03-17T08:05:45.479Z] be307f383ecc: Pull complete [2022-03-17T08:05:45.480Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-03-17T08:05:45.480Z] Status: Downloaded newer image for alpine:3.14 [2022-03-17T08:05:45.480Z] ---> 5b8b7b635229 [2022-03-17T08:05:45.480Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-03-17T08:05:45.480Z] ---> Running in ad03ead7e1e0 [2022-03-17T08:05:45.751Z] Removing intermediate container ad03ead7e1e0 [2022-03-17T08:05:45.751Z] ---> c7efdcec4478 [2022-03-17T08:05:45.751Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-17T08:05:45.751Z] ---> Running in a8f3aeeb742d [2022-03-17T08:05:47.184Z] Removing intermediate container a8f3aeeb742d [2022-03-17T08:05:47.184Z] ---> 523b603979b2 [2022-03-17T08:05:47.184Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-17T08:05:47.462Z] ---> Running in add3ad42461c [2022-03-17T08:05:48.434Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-17T08:05:49.022Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-17T08:05:49.993Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-17T08:05:49.994Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-17T08:05:49.994Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-17T08:05:50.266Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-17T08:05:50.266Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-17T08:05:50.536Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-17T08:05:50.537Z] Executing busybox-1.33.1-r6.trigger [2022-03-17T08:05:50.537Z] OK: 8 MiB in 20 packages [2022-03-17T08:05:51.525Z] Removing intermediate container add3ad42461c [2022-03-17T08:05:51.525Z] ---> 9b1057705768 [2022-03-17T08:05:51.525Z] Step 17/26 : WORKDIR / [2022-03-17T08:05:51.525Z] ---> Running in 81b918483067 [2022-03-17T08:05:51.525Z] Removing intermediate container 81b918483067 [2022-03-17T08:05:51.525Z] ---> df7602bead0d [2022-03-17T08:05:51.525Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-03-17T08:05:52.124Z] ---> f00be688f79f [2022-03-17T08:05:52.124Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-03-17T08:05:52.718Z] ---> 4c21ee2d648a [2022-03-17T08:05:52.718Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-03-17T08:05:53.695Z] ---> 90c540b9238b [2022-03-17T08:05:53.695Z] Step 21/26 : EXPOSE 59900 [2022-03-17T08:05:53.695Z] ---> Running in 393573b0d269 [2022-03-17T08:05:53.695Z] Removing intermediate container 393573b0d269 [2022-03-17T08:05:53.695Z] ---> 5f18a77df62a [2022-03-17T08:05:53.695Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-03-17T08:05:53.969Z] ---> Running in 9e2b4d5ca30e [2022-03-17T08:05:54.243Z] Removing intermediate container 9e2b4d5ca30e [2022-03-17T08:05:54.243Z] ---> 2bd06d99f330 [2022-03-17T08:05:54.243Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-17T08:05:54.243Z] ---> Running in bdb3ad5eeefa [2022-03-17T08:05:54.515Z] Removing intermediate container bdb3ad5eeefa [2022-03-17T08:05:54.515Z] ---> 8334886a8e03 [2022-03-17T08:05:54.515Z] Step 24/26 : LABEL arch=arm64 [2022-03-17T08:05:54.515Z] ---> Running in c17ef6f1b163 [2022-03-17T08:05:54.789Z] Removing intermediate container c17ef6f1b163 [2022-03-17T08:05:54.789Z] ---> 6a6ea7be221f [2022-03-17T08:05:54.789Z] Step 25/26 : LABEL git_sha=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T08:05:54.789Z] ---> Running in 746a0f90acb2 [2022-03-17T08:05:55.062Z] Removing intermediate container 746a0f90acb2 [2022-03-17T08:05:55.062Z] ---> 78aa0e3234a8 [2022-03-17T08:05:55.062Z] Step 26/26 : LABEL version=2.2.0-dev.7 [2022-03-17T08:05:55.336Z] ---> Running in f206071c353a [2022-03-17T08:05:55.608Z] Removing intermediate container f206071c353a [2022-03-17T08:05:55.608Z] ---> c28b35484a96 [2022-03-17T08:05:55.608Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-17T08:05:55.608Z] Successfully built c28b35484a96 [2022-03-17T08:05:55.608Z] 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-03-17T08:05:55.725Z] provisioning config files... [2022-03-17T08:05:55.745Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/23@tmp/config254177301727023531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:05:56.098Z] ---> docker-login.sh [2022-03-17T08:05:56.098Z] nexus3.edgexfoundry.org:10001 [2022-03-17T08:05:56.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:05:56.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:05:56.372Z] Configure a credential helper to remove this warning. See [2022-03-17T08:05:56.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:05:56.372Z] [2022-03-17T08:05:56.372Z] Login Succeeded [2022-03-17T08:05:56.372Z] nexus3.edgexfoundry.org:10002 [2022-03-17T08:05:56.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:05:56.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:05:56.915Z] Configure a credential helper to remove this warning. See [2022-03-17T08:05:56.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:05:56.915Z] [2022-03-17T08:05:56.915Z] Login Succeeded [2022-03-17T08:05:56.915Z] nexus3.edgexfoundry.org:10003 [2022-03-17T08:05:57.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:05:57.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:05:57.188Z] Configure a credential helper to remove this warning. See [2022-03-17T08:05:57.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:05:57.188Z] [2022-03-17T08:05:57.188Z] Login Succeeded [2022-03-17T08:05:57.188Z] nexus3.edgexfoundry.org:10004 [2022-03-17T08:05:57.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:05:57.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:05:57.782Z] Configure a credential helper to remove this warning. See [2022-03-17T08:05:57.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:05:57.782Z] [2022-03-17T08:05:57.782Z] Login Succeeded [2022-03-17T08:05:57.782Z] docker.io [2022-03-17T08:05:58.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-17T08:05:58.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-17T08:05:58.644Z] Configure a credential helper to remove this warning. See [2022-03-17T08:05:58.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-17T08:05:58.644Z] [2022-03-17T08:05:58.644Z] Login Succeeded [2022-03-17T08:05:58.644Z] ---> docker-login.sh ends [Pipeline] } [2022-03-17T08:05:58.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T08:05:58.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-17T08:05:58.719Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-03-17T08:05:58.719Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T08:05:58.719Z] latest [2022-03-17T08:05:58.719Z] 2.2.0-dev.7 [2022-03-17T08:05:58.719Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [2022-03-17T08:05:58.719Z] main [2022-03-17T08:05:58.719Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:05:59.081Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:05:59.419Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T08:05:59.419Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-03-17T08:05:59.419Z] f5724a2b7853: Preparing [2022-03-17T08:05:59.419Z] 32d957db04df: Preparing [2022-03-17T08:05:59.419Z] 79eef7af4bf2: Preparing [2022-03-17T08:05:59.419Z] cd0949f08344: Preparing [2022-03-17T08:05:59.419Z] 6c5381f63790: Preparing [2022-03-17T08:05:59.419Z] 62170e181a92: Preparing [2022-03-17T08:05:59.419Z] 62170e181a92: Waiting [2022-03-17T08:05:59.695Z] 6c5381f63790: Pushed [2022-03-17T08:05:59.695Z] 32d957db04df: Pushed [2022-03-17T08:05:59.695Z] 79eef7af4bf2: Pushed [2022-03-17T08:05:59.695Z] 62170e181a92: Layer already exists [2022-03-17T08:06:00.290Z] cd0949f08344: Pushed [2022-03-17T08:06:02.264Z] f5724a2b7853: Pushed [2022-03-17T08:06:02.537Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:02.888Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:03.235Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-03-17T08:06:03.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-03-17T08:06:03.235Z] f5724a2b7853: Preparing [2022-03-17T08:06:03.235Z] 32d957db04df: Preparing [2022-03-17T08:06:03.235Z] 79eef7af4bf2: Preparing [2022-03-17T08:06:03.235Z] cd0949f08344: Preparing [2022-03-17T08:06:03.235Z] 6c5381f63790: Preparing [2022-03-17T08:06:03.235Z] 62170e181a92: Preparing [2022-03-17T08:06:03.235Z] 62170e181a92: Waiting [2022-03-17T08:06:03.235Z] 79eef7af4bf2: Layer already exists [2022-03-17T08:06:03.235Z] 32d957db04df: Layer already exists [2022-03-17T08:06:03.235Z] 6c5381f63790: Layer already exists [2022-03-17T08:06:03.235Z] cd0949f08344: Layer already exists [2022-03-17T08:06:03.235Z] f5724a2b7853: Layer already exists [2022-03-17T08:06:03.235Z] 62170e181a92: Layer already exists [2022-03-17T08:06:03.508Z] latest: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:03.862Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:04.206Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.7 [2022-03-17T08:06:04.206Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-03-17T08:06:04.206Z] f5724a2b7853: Preparing [2022-03-17T08:06:04.206Z] 32d957db04df: Preparing [2022-03-17T08:06:04.206Z] 79eef7af4bf2: Preparing [2022-03-17T08:06:04.206Z] cd0949f08344: Preparing [2022-03-17T08:06:04.206Z] 6c5381f63790: Preparing [2022-03-17T08:06:04.206Z] 62170e181a92: Preparing [2022-03-17T08:06:04.206Z] 62170e181a92: Waiting [2022-03-17T08:06:04.206Z] 32d957db04df: Layer already exists [2022-03-17T08:06:04.206Z] 6c5381f63790: Layer already exists [2022-03-17T08:06:04.206Z] cd0949f08344: Layer already exists [2022-03-17T08:06:04.206Z] 79eef7af4bf2: Layer already exists [2022-03-17T08:06:04.206Z] f5724a2b7853: Layer already exists [2022-03-17T08:06:04.206Z] 62170e181a92: Layer already exists [2022-03-17T08:06:04.479Z] 2.2.0-dev.7: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:04.829Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:05.172Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [2022-03-17T08:06:05.172Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-03-17T08:06:05.172Z] f5724a2b7853: Preparing [2022-03-17T08:06:05.172Z] 32d957db04df: Preparing [2022-03-17T08:06:05.172Z] 79eef7af4bf2: Preparing [2022-03-17T08:06:05.172Z] cd0949f08344: Preparing [2022-03-17T08:06:05.172Z] 6c5381f63790: Preparing [2022-03-17T08:06:05.172Z] 62170e181a92: Preparing [2022-03-17T08:06:05.172Z] 62170e181a92: Waiting [2022-03-17T08:06:05.172Z] cd0949f08344: Layer already exists [2022-03-17T08:06:05.172Z] 32d957db04df: Layer already exists [2022-03-17T08:06:05.172Z] 79eef7af4bf2: Layer already exists [2022-03-17T08:06:05.172Z] f5724a2b7853: Layer already exists [2022-03-17T08:06:05.172Z] 6c5381f63790: Layer already exists [2022-03-17T08:06:05.172Z] 62170e181a92: Layer already exists [2022-03-17T08:06:05.444Z] c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:05.799Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:06.150Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-03-17T08:06:06.150Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-03-17T08:06:06.150Z] f5724a2b7853: Preparing [2022-03-17T08:06:06.150Z] 32d957db04df: Preparing [2022-03-17T08:06:06.150Z] 79eef7af4bf2: Preparing [2022-03-17T08:06:06.150Z] cd0949f08344: Preparing [2022-03-17T08:06:06.150Z] 6c5381f63790: Preparing [2022-03-17T08:06:06.150Z] 62170e181a92: Preparing [2022-03-17T08:06:06.150Z] 62170e181a92: Waiting [2022-03-17T08:06:06.150Z] 6c5381f63790: Layer already exists [2022-03-17T08:06:06.150Z] cd0949f08344: Layer already exists [2022-03-17T08:06:06.150Z] 32d957db04df: Layer already exists [2022-03-17T08:06:06.150Z] f5724a2b7853: Layer already exists [2022-03-17T08:06:06.150Z] 79eef7af4bf2: Layer already exists [2022-03-17T08:06:06.150Z] 62170e181a92: Layer already exists [2022-03-17T08:06:06.422Z] main: digest: sha256:6e088ead9b328b78a35c436bd2e4d4d8af880359d24be0c7f659893ad3be5fc3 size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-17T08:06:06.471Z] ===================================================== [Pipeline] echo [2022-03-17T08:06:06.484Z] taggedImages: [2022-03-17T08:06:06.484Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [2022-03-17T08:06:06.484Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-03-17T08:06:06.484Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.7 [2022-03-17T08:06:06.484Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:c03aa7c74cee4c24f0ea21a2b880bc2767aae84f-2.2.0-dev.7 [2022-03-17T08:06:06.484Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:06.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T08:06:06.865Z] [2022-03-17T08:06:06.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:07.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T08:06:07.501Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-17T08:06:07.501Z] 8998bd30e6a1: Pulling fs layer [2022-03-17T08:06:07.501Z] 04944245beec: Pulling fs layer [2022-03-17T08:06:07.501Z] 699f458cf7ca: Pulling fs layer [2022-03-17T08:06:07.501Z] 765212b225bb: Pulling fs layer [2022-03-17T08:06:07.501Z] f23df028b6ca: Pulling fs layer [2022-03-17T08:06:07.501Z] d65c8cfc05b1: Pulling fs layer [2022-03-17T08:06:07.501Z] 2437ff75d9bd: Pulling fs layer [2022-03-17T08:06:07.501Z] 765212b225bb: Waiting [2022-03-17T08:06:07.501Z] f23df028b6ca: Waiting [2022-03-17T08:06:07.501Z] d65c8cfc05b1: Waiting [2022-03-17T08:06:07.501Z] 2437ff75d9bd: Waiting [2022-03-17T08:06:07.501Z] 04944245beec: Verifying Checksum [2022-03-17T08:06:07.501Z] 04944245beec: Download complete [2022-03-17T08:06:07.501Z] 765212b225bb: Download complete [2022-03-17T08:06:07.501Z] f23df028b6ca: Verifying Checksum [2022-03-17T08:06:07.501Z] f23df028b6ca: Download complete [2022-03-17T08:06:07.501Z] d65c8cfc05b1: Verifying Checksum [2022-03-17T08:06:07.501Z] d65c8cfc05b1: Download complete [2022-03-17T08:06:07.501Z] 699f458cf7ca: Verifying Checksum [2022-03-17T08:06:07.501Z] 699f458cf7ca: Download complete [2022-03-17T08:06:08.106Z] 8998bd30e6a1: Verifying Checksum [2022-03-17T08:06:08.106Z] 8998bd30e6a1: Download complete [2022-03-17T08:06:10.120Z] 2437ff75d9bd: Verifying Checksum [2022-03-17T08:06:10.120Z] 2437ff75d9bd: Download complete [2022-03-17T08:06:12.748Z] 8998bd30e6a1: Pull complete [2022-03-17T08:06:12.748Z] 04944245beec: Pull complete [2022-03-17T08:06:14.201Z] 699f458cf7ca: Pull complete [2022-03-17T08:06:14.473Z] 765212b225bb: Pull complete [2022-03-17T08:06:15.457Z] f23df028b6ca: Pull complete [2022-03-17T08:06:15.457Z] d65c8cfc05b1: Pull complete [2022-03-17T08:06:30.547Z] 2437ff75d9bd: Pull complete [2022-03-17T08:06:30.547Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-17T08:06:30.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-17T08:06:30.547Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-17T08:06:30.783Z] prd-ubuntu20.04-docker-arm64-4c-16g-7813 does not seem to be running inside a container [2022-03-17T08:06:30.878Z] $ 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/23 -v /w/workspace/device-virtual-go/23:/w/workspace/device-virtual-go/23:rw,z -v /w/workspace/device-virtual-go/23@tmp:/w/workspace/device-virtual-go/23@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-03-17T08:06:33.324Z] $ docker top 7d2ca709cf8adc84ab64421759bd732501684fef6644a15f65b8ab7bc615d547 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:06:34.264Z] ---> job-cost.sh [2022-03-17T08:06:34.264Z] lf-activate-venv: SKIPPING [2022-03-17T08:06:34.264Z] INFO: No Stack... [2022-03-17T08:06:34.535Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-17T08:06:35.511Z] INFO: Archiving Costs [Pipeline] sh [2022-03-17T08:06:36.190Z] + cat /w/workspace/device-virtual-go/23/archives/cost.csv [2022-03-17T08:06:36.190Z] + cut -d, -f6 [Pipeline] lock [2022-03-17T08:06:36.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [2022-03-17T08:06:36.267Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] did not exist. Created. [2022-03-17T08:06:36.267Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-17T08:06:36.947Z] /w/workspace/device-virtual-go/23@tmp/durable-5b0486d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-17T08:06:37.633Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-17T08:06:37.661Z] Warning: overwriting stash ‘stack-cost’ [2022-03-17T08:06:37.700Z] Stashed 1 file(s) [Pipeline] } [2022-03-17T08:06:37.706Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-17T08:06:37.733Z] $ docker stop --time=1 7d2ca709cf8adc84ab64421759bd732501684fef6644a15f65b8ab7bc615d547 [2022-03-17T08:06:39.255Z] $ docker rm -f 7d2ca709cf8adc84ab64421759bd732501684fef6644a15f65b8ab7bc615d547 [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-03-17T08:06:39.708Z] provisioning config files... [2022-03-17T08:06:39.718Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5930550398083706418tmp [Pipeline] { [Pipeline] sh [2022-03-17T08:06:40.021Z] + set +x [2022-03-17T08:06:40.021Z] + curl -s https://codecov.io/bash [2022-03-17T08:06:40.021Z] + bash -s -- [2022-03-17T08:06:40.021Z] [2022-03-17T08:06:40.021Z] _____ _ [2022-03-17T08:06:40.021Z] / ____| | | [2022-03-17T08:06:40.021Z] | | ___ __| | ___ ___ _____ __ [2022-03-17T08:06:40.021Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-17T08:06:40.021Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-17T08:06:40.021Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-17T08:06:40.022Z] Bash-1.0.6 [2022-03-17T08:06:40.022Z] [2022-03-17T08:06:40.022Z] [2022-03-17T08:06:40.022Z] ==> git version 2.25.1 found [2022-03-17T08:06:40.022Z] ==> 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-03-17T08:06:40.022Z] Release-Date: 2020-01-08 [2022-03-17T08:06:40.022Z] 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-03-17T08:06:40.022Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-17T08:06:40.022Z] ==> Jenkins CI detected. [2022-03-17T08:06:40.022Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-03-17T08:06:40.022Z] project root: . [2022-03-17T08:06:40.022Z] --> token set from env [2022-03-17T08:06:40.022Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-17T08:06:40.022Z] ==> Running gcov in . (disable via -X gcov) [2022-03-17T08:06:40.022Z] ==> Python coveragepy not found [2022-03-17T08:06:40.022Z] ==> Searching for coverage reports in: [2022-03-17T08:06:40.022Z] + . [2022-03-17T08:06:40.022Z] -> Found 1 reports [2022-03-17T08:06:40.022Z] ==> Detecting git/mercurial file structure [2022-03-17T08:06:40.022Z] ==> Reading reports [2022-03-17T08:06:40.022Z] + ./coverage.out bytes=44128 [2022-03-17T08:06:40.022Z] ==> Appending adjustments [2022-03-17T08:06:40.022Z] https://docs.codecov.io/docs/fixing-reports [2022-03-17T08:06:40.282Z] + Found adjustments [2022-03-17T08:06:40.282Z] ==> Gzipping contents [2022-03-17T08:06:40.282Z] 8.0K /tmp/codecov.D5dMJh.gz [2022-03-17T08:06:40.282Z] ==> Uploading reports [2022-03-17T08:06:40.282Z] url: https://codecov.io [2022-03-17T08:06:40.282Z] query: branch=main&commit=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T08:06:40.282Z] -> Pinging Codecov [2022-03-17T08:06:40.282Z] 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=c03aa7c74cee4c24f0ea21a2b880bc2767aae84f&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-17T08:06:40.544Z] -> Uploading to [2022-03-17T08:06:40.544Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-17/5E52B4B073DB2E39498172D8E973AA87/c03aa7c74cee4c24f0ea21a2b880bc2767aae84f/18c9d3fe-599b-4b96-bfec-81b453d3be86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T080640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ae88c6aac6e5d5e17d67fdd64026d8d9c1e1264de711882da9749069ec297f5 [2022-03-17T08:06:40.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-17T08:06:40.544Z] Dload Upload Total Spent Left Speed [2022-03-17T08:06:40.804Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5300 0 0 100 5300 0 26237 --:--:-- --:--:-- --:--:-- 26108 100 5300 0 0 100 5300 0 18088 --:--:-- --:--:-- --:--:-- 18027 [2022-03-17T08:06:40.804Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] } [2022-03-17T08:06:40.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-17T08:06:41.071Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-17T08:06:41.079Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:41.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T08:06:41.373Z] [2022-03-17T08:06:41.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:41.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T08:06:41.676Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-17T08:06:41.676Z] 188c0c94c7c5: Pulling fs layer [2022-03-17T08:06:41.676Z] 0ef7d3d256c8: Pulling fs layer [2022-03-17T08:06:41.676Z] de9db76c5a1d: Pulling fs layer [2022-03-17T08:06:41.676Z] 0eba1c9be4d2: Pulling fs layer [2022-03-17T08:06:41.676Z] 0d57e429df01: Pulling fs layer [2022-03-17T08:06:41.676Z] 4e4be7b47b0d: Pulling fs layer [2022-03-17T08:06:41.676Z] e1f770b5df2f: Pulling fs layer [2022-03-17T08:06:41.676Z] 0eba1c9be4d2: Waiting [2022-03-17T08:06:41.676Z] 0d57e429df01: Waiting [2022-03-17T08:06:41.676Z] 4e4be7b47b0d: Waiting [2022-03-17T08:06:41.676Z] e1f770b5df2f: Waiting [2022-03-17T08:06:41.676Z] 85a0685a4137: Pulling fs layer [2022-03-17T08:06:41.676Z] 85a0685a4137: Waiting [2022-03-17T08:06:41.676Z] de9db76c5a1d: Verifying Checksum [2022-03-17T08:06:41.676Z] de9db76c5a1d: Download complete [2022-03-17T08:06:41.676Z] 0ef7d3d256c8: Verifying Checksum [2022-03-17T08:06:41.676Z] 0ef7d3d256c8: Download complete [2022-03-17T08:06:41.676Z] 0d57e429df01: Verifying Checksum [2022-03-17T08:06:41.676Z] 0d57e429df01: Download complete [2022-03-17T08:06:41.676Z] 4e4be7b47b0d: Verifying Checksum [2022-03-17T08:06:41.676Z] 4e4be7b47b0d: Download complete [2022-03-17T08:06:41.676Z] 188c0c94c7c5: Download complete [2022-03-17T08:06:41.936Z] e1f770b5df2f: Verifying Checksum [2022-03-17T08:06:41.936Z] e1f770b5df2f: Download complete [2022-03-17T08:06:41.936Z] 188c0c94c7c5: Pull complete [2022-03-17T08:06:41.936Z] 0ef7d3d256c8: Pull complete [2022-03-17T08:06:42.197Z] de9db76c5a1d: Pull complete [2022-03-17T08:06:42.457Z] 0eba1c9be4d2: Verifying Checksum [2022-03-17T08:06:42.457Z] 0eba1c9be4d2: Download complete [2022-03-17T08:06:42.457Z] 85a0685a4137: Verifying Checksum [2022-03-17T08:06:42.457Z] 85a0685a4137: Download complete [2022-03-17T08:06:46.658Z] 0eba1c9be4d2: Pull complete [2022-03-17T08:06:46.658Z] 0d57e429df01: Pull complete [2022-03-17T08:06:46.658Z] 4e4be7b47b0d: Pull complete [2022-03-17T08:06:46.658Z] e1f770b5df2f: Pull complete [2022-03-17T08:06:49.949Z] 85a0685a4137: Pull complete [2022-03-17T08:06:49.949Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-17T08:06:49.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-17T08:06:50.210Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-17T08:06:50.274Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T08:06:50.329Z] $ 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-03-17T08:06:52.471Z] $ docker top 44aad2310967681855c088f656e3d330f776457a33b4e6ed99de7f978cf5c2ca -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-17T08:06:52.536Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-17T08:06:52.817Z] + set -o pipefail [2022-03-17T08:06:52.817Z] + snyk monitor '--org=edgex-jenkins' [2022-03-17T08:06:57.022Z] [2022-03-17T08:06:57.022Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-03-17T08:06:57.022Z] [2022-03-17T08:06:57.022Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/707fff68-3fa6-4358-a62b-7420d857e69b [2022-03-17T08:06:57.022Z] [2022-03-17T08:06:57.022Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-17T08:06:57.022Z] [2022-03-17T08:06:57.022Z] [Pipeline] } [2022-03-17T08:06:57.041Z] $ docker stop --time=1 44aad2310967681855c088f656e3d330f776457a33b4e6ed99de7f978cf5c2ca [2022-03-17T08:06:58.727Z] $ docker rm -f 44aad2310967681855c088f656e3d330f776457a33b4e6ed99de7f978cf5c2ca [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-03-17T08:06:59.360Z] + git log --format=format:%s -1 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f [Pipeline] sh [2022-03-17T08:06:59.654Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T08:06:59.654Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:06:59.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T08:06:59.961Z] . [Pipeline] withDockerContainer [2022-03-17T08:07:00.023Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T08:07:00.062Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T08:07:00.486Z] $ docker top 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T08:07:00.580Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T08:07:00.580Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T08:07:00.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T08:07:00.722Z] $ docker exec 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 ssh-agent [2022-03-17T08:07:00.838Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOlLPMA/agent.14 [2022-03-17T08:07:00.838Z] SSH_AGENT_PID=21 [2022-03-17T08:07:00.843Z] Running ssh-add (command line suppressed) [2022-03-17T08:07:00.957Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7763649264249151534.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7763649264249151534.key) [2022-03-17T08:07:00.968Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T08:07:01.261Z] + git semver tag [2022-03-17T08:07:01.261Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T08:07:01.261Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-03-17T08:07:01.261Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-03-17T08:07:01.261Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T08:07:01.261Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T08:07:01.261Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T08:07:01.261Z] # $SEMVER_BRANCH = main [2022-03-17T08:07:01.261Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-03-17T08:07:01.261Z] # c03aa7c74cee4c24f0ea21a2b880bc2767aae84f HEAD [2022-03-17T08:07:01.261Z] # -> Force: false [2022-03-17T08:07:01.261Z] # 18e1c76fe1b073ea0cae31053bde17f2f14ca474 refs/tags/v2.2.0-dev.7 [Pipeline] } [2022-03-17T08:07:01.276Z] $ docker exec --env ******** --env ******** 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 ssh-agent -k [2022-03-17T08:07:01.388Z] unset SSH_AUTH_SOCK; [2022-03-17T08:07:01.388Z] unset SSH_AGENT_PID; [2022-03-17T08:07:01.388Z] echo Agent pid 21 killed; [2022-03-17T08:07:01.398Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T08:07:01.713Z] + git semver [Pipeline] } [2022-03-17T08:07:01.731Z] $ docker stop --time=1 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 [2022-03-17T08:07:03.011Z] $ docker rm -f 3a9a1e8a2889f858889bfb3e95d0e3c2db74d5e0708abae1ffac49ffd1c344b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:07:03.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T08:07:03.454Z] [2022-03-17T08:07:03.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:07:03.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T08:07:03.802Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-17T08:07:03.802Z] ab5ef0e58194: Pulling fs layer [2022-03-17T08:07:03.802Z] 9712f1f96733: Pulling fs layer [2022-03-17T08:07:03.802Z] 63f879dbbcfc: Pulling fs layer [2022-03-17T08:07:03.802Z] 0d9ebad4ef96: Pulling fs layer [2022-03-17T08:07:03.802Z] e9a5061849ea: Pulling fs layer [2022-03-17T08:07:03.802Z] d747dcd14b5f: Pulling fs layer [2022-03-17T08:07:03.802Z] 2de7ff778b66: Pulling fs layer [2022-03-17T08:07:03.802Z] d747dcd14b5f: Waiting [2022-03-17T08:07:03.802Z] e9a5061849ea: Waiting [2022-03-17T08:07:03.802Z] 0d9ebad4ef96: Waiting [2022-03-17T08:07:03.802Z] 9712f1f96733: Verifying Checksum [2022-03-17T08:07:03.802Z] 9712f1f96733: Download complete [2022-03-17T08:07:04.092Z] 63f879dbbcfc: Verifying Checksum [2022-03-17T08:07:04.092Z] 63f879dbbcfc: Download complete [2022-03-17T08:07:04.092Z] e9a5061849ea: Verifying Checksum [2022-03-17T08:07:04.092Z] e9a5061849ea: Download complete [2022-03-17T08:07:04.092Z] d747dcd14b5f: Verifying Checksum [2022-03-17T08:07:04.092Z] d747dcd14b5f: Download complete [2022-03-17T08:07:04.350Z] 0d9ebad4ef96: Verifying Checksum [2022-03-17T08:07:04.350Z] 0d9ebad4ef96: Download complete [2022-03-17T08:07:04.350Z] ab5ef0e58194: Download complete [2022-03-17T08:07:04.350Z] 2de7ff778b66: Verifying Checksum [2022-03-17T08:07:04.350Z] 2de7ff778b66: Download complete [2022-03-17T08:07:07.648Z] ab5ef0e58194: Pull complete [2022-03-17T08:07:07.648Z] 9712f1f96733: Pull complete [2022-03-17T08:07:07.905Z] 63f879dbbcfc: Pull complete [2022-03-17T08:07:12.101Z] 0d9ebad4ef96: Pull complete [2022-03-17T08:07:12.102Z] e9a5061849ea: Pull complete [2022-03-17T08:07:12.102Z] d747dcd14b5f: Pull complete [2022-03-17T08:07:13.040Z] 2de7ff778b66: Pull complete [2022-03-17T08:07:13.040Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-17T08:07:13.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-17T08:07:13.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-17T08:07:13.107Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T08:07:13.147Z] $ 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-03-17T08:07:15.309Z] $ docker top b3d91a889e36b00084b10d0ae3793b604a8e039af7f81c8011120581a5c51b00 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-17T08:07:15.393Z] provisioning config files... [2022-03-17T08:07:15.400Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5343258475780132602tmp [2022-03-17T08:07:15.412Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config973737069178060991tmp [2022-03-17T08:07:15.423Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config637413674083179247tmp [Pipeline] { [Pipeline] echo [2022-03-17T08:07:15.440Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:15.724Z] ---> sigul-configuration.sh [2022-03-17T08:07:15.724Z] gpg: directory `/root/.gnupg' created [2022-03-17T08:07:15.724Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-17T08:07:15.724Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-17T08:07:15.724Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-17T08:07:15.724Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-17T08:07:15.724Z] gpg: CAST5 encrypted data [2022-03-17T08:07:15.724Z] gpg: encrypted with 1 passphrase [2022-03-17T08:07:15.724Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-17T08:07:16.015Z] + mkdir /home/jenkins [2022-03-17T08:07:16.015Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-17T08:07:16.304Z] + 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-03-17T08:07:16.315Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:16.602Z] ---> sigul-install.sh [2022-03-17T08:07:16.602Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-17T08:07:16.890Z] + git tag --list [2022-03-17T08:07:16.890Z] v1.0.0 [2022-03-17T08:07:16.890Z] v1.1.0 [2022-03-17T08:07:16.890Z] v1.1.1 [2022-03-17T08:07:16.890Z] v1.2.1 [2022-03-17T08:07:16.890Z] v1.2.2 [2022-03-17T08:07:16.890Z] v1.2.3 [2022-03-17T08:07:16.890Z] v1.3.0 [2022-03-17T08:07:16.890Z] v1.3.1 [2022-03-17T08:07:16.890Z] v2.0.0 [2022-03-17T08:07:16.890Z] v2.0.1-dev.1 [2022-03-17T08:07:16.890Z] v2.0.1-dev.10 [2022-03-17T08:07:16.890Z] v2.0.1-dev.11 [2022-03-17T08:07:16.890Z] v2.0.1-dev.12 [2022-03-17T08:07:16.890Z] v2.0.1-dev.13 [2022-03-17T08:07:16.890Z] v2.0.1-dev.14 [2022-03-17T08:07:16.890Z] v2.0.1-dev.15 [2022-03-17T08:07:16.890Z] v2.0.1-dev.2 [2022-03-17T08:07:16.890Z] v2.0.1-dev.3 [2022-03-17T08:07:16.890Z] v2.0.1-dev.4 [2022-03-17T08:07:16.890Z] v2.0.1-dev.5 [2022-03-17T08:07:16.890Z] v2.0.1-dev.6 [2022-03-17T08:07:16.890Z] v2.0.1-dev.7 [2022-03-17T08:07:16.890Z] v2.0.1-dev.8 [2022-03-17T08:07:16.890Z] v2.0.1-dev.9 [2022-03-17T08:07:16.890Z] v2.1.0 [2022-03-17T08:07:16.890Z] v2.2.0-dev.1 [2022-03-17T08:07:16.890Z] v2.2.0-dev.2 [2022-03-17T08:07:16.890Z] v2.2.0-dev.3 [2022-03-17T08:07:16.890Z] v2.2.0-dev.4 [2022-03-17T08:07:16.890Z] v2.2.0-dev.5 [2022-03-17T08:07:16.890Z] v2.2.0-dev.6 [2022-03-17T08:07:16.890Z] v2.2.0-dev.7 [Pipeline] sh [2022-03-17T08:07:17.182Z] + lftools sign git-tag v2.2.0-dev.7 [2022-03-17T08:07:17.752Z] Signing Git tag with Sigul... [2022-03-17T08:07:17.752Z] Signing v2.2.0-dev.7 [Pipeline] echo [2022-03-17T08:07:18.021Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:18.308Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-17T08:07:18.316Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-17T08:07:18.338Z] $ docker stop --time=1 b3d91a889e36b00084b10d0ae3793b604a8e039af7f81c8011120581a5c51b00 [2022-03-17T08:07:19.646Z] $ docker rm -f b3d91a889e36b00084b10d0ae3793b604a8e039af7f81c8011120581a5c51b00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-17T08:07:20.068Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T08:07:20.069Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:07:20.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T08:07:20.358Z] . [Pipeline] withDockerContainer [2022-03-17T08:07:20.423Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T08:07:20.465Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T08:07:20.817Z] $ docker top 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T08:07:20.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T08:07:20.892Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T08:07:21.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T08:07:21.031Z] $ docker exec 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 ssh-agent [2022-03-17T08:07:21.142Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXneijgc/agent.15 [2022-03-17T08:07:21.142Z] SSH_AGENT_PID=22 [2022-03-17T08:07:21.147Z] Running ssh-add (command line suppressed) [2022-03-17T08:07:21.264Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2634024840811344872.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2634024840811344872.key) [2022-03-17T08:07:21.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T08:07:21.560Z] + git semver bump pre [2022-03-17T08:07:21.560Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T08:07:21.560Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-03-17T08:07:21.560Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-03-17T08:07:21.560Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T08:07:21.560Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T08:07:21.560Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T08:07:21.560Z] # $SEMVER_BRANCH = main [2022-03-17T08:07:21.560Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-03-17T08:07:21.560Z] 2.2.0-dev.8 [Pipeline] } [2022-03-17T08:07:21.576Z] $ docker exec --env ******** --env ******** 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 ssh-agent -k [2022-03-17T08:07:21.687Z] unset SSH_AUTH_SOCK; [2022-03-17T08:07:21.687Z] unset SSH_AGENT_PID; [2022-03-17T08:07:21.687Z] echo Agent pid 22 killed; [2022-03-17T08:07:21.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T08:07:21.992Z] + git semver [Pipeline] } [2022-03-17T08:07:22.014Z] $ docker stop --time=1 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 [2022-03-17T08:07:23.326Z] $ docker rm -f 1e6609b624fce34e02b50a4a7195c9e46a5b2f0009e623d2ec997b64eb292127 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-17T08:07:23.675Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-17T08:07:23.675Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:07:23.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-17T08:07:23.969Z] . [Pipeline] withDockerContainer [2022-03-17T08:07:24.034Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T08:07:24.072Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-03-17T08:07:24.455Z] $ docker top c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-17T08:07:24.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-17T08:07:24.545Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-17T08:07:24.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-17T08:07:24.675Z] $ docker exec c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e ssh-agent [2022-03-17T08:07:24.798Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhMGeKj/agent.13 [2022-03-17T08:07:24.798Z] SSH_AGENT_PID=20 [2022-03-17T08:07:24.804Z] Running ssh-add (command line suppressed) [2022-03-17T08:07:24.917Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4747710849218041192.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4747710849218041192.key) [2022-03-17T08:07:24.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-17T08:07:25.215Z] + git semver push [2022-03-17T08:07:25.215Z] # -> Open(): unable to determine branch for HEAD [2022-03-17T08:07:25.215Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-03-17T08:07:25.215Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-03-17T08:07:25.215Z] # $SEMVER_REMOTE_NAME = origin [2022-03-17T08:07:25.215Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-17T08:07:25.215Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-17T08:07:25.215Z] # $SEMVER_BRANCH = main [2022-03-17T08:07:25.215Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-03-17T08:07:26.613Z] $ docker exec --env ******** --env ******** c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e ssh-agent -k [2022-03-17T08:07:26.731Z] unset SSH_AUTH_SOCK; [2022-03-17T08:07:26.732Z] unset SSH_AGENT_PID; [2022-03-17T08:07:26.732Z] echo Agent pid 20 killed; [2022-03-17T08:07:26.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-17T08:07:27.046Z] + git semver [Pipeline] } [2022-03-17T08:07:27.065Z] $ docker stop --time=1 c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e [2022-03-17T08:07:28.374Z] $ docker rm -f c75c0ddd7cbf826be843b71500ebb4103edda815c927d9b3ca9d989b64a0126e [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-03-17T08:07:28.947Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-03-17T08:07:28.947Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-03-17T08:07:28.947Z] total 16 [2022-03-17T08:07:28.947Z] drwxr-xr-x 3 root root 4096 Mar 17 07:58 . [2022-03-17T08:07:28.947Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 08:07 .. [2022-03-17T08:07:28.947Z] drwxr-xr-x 2 root root 4096 Mar 17 07:58 cost [2022-03-17T08:07:28.947Z] -rw-r--r-- 1 root root 87 Mar 17 07:58 cost.csv [2022-03-17T08:07:28.947Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-03-17T08:07:28.947Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-03-17T08:07:28.947Z] total 16 [2022-03-17T08:07:28.947Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 07:58 . [2022-03-17T08:07:28.947Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 08:07 .. [2022-03-17T08:07:28.947Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 07:58 cost [2022-03-17T08:07:28.947Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 17 07:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:29.273Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:30.177Z] ---> package-listing.sh [2022-03-17T08:07:30.177Z] ++ facter osfamily [2022-03-17T08:07:30.177Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-17T08:07:30.437Z] + OS_FAMILY=debian [2022-03-17T08:07:30.437Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-03-17T08:07:30.437Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-17T08:07:30.437Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-17T08:07:30.437Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-17T08:07:30.437Z] + PACKAGES=/tmp/packages_start.txt [2022-03-17T08:07:30.437Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-03-17T08:07:30.437Z] + PACKAGES=/tmp/packages_end.txt [2022-03-17T08:07:30.437Z] + case "${OS_FAMILY}" in [2022-03-17T08:07:30.437Z] + dpkg -l [2022-03-17T08:07:30.437Z] + grep '^ii' [2022-03-17T08:07:30.437Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-17T08:07:30.437Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-17T08:07:30.437Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-17T08:07:30.437Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-03-17T08:07:30.437Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-03-17T08:07:30.437Z] + 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-03-17T08:07:30.450Z] 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-03-17T08:07:30.730Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-17T08:07:31.288Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-17T08:07:31.288Z] . [Pipeline] withDockerContainer [2022-03-17T08:07:31.355Z] prd-ubuntu20.04-docker-8c-8g-7812 does not seem to be running inside a container [2022-03-17T08:07:31.393Z] $ 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-03-17T08:07:31.611Z] $ docker top b8040f6a618d981f581c41d8813d16c5bab1c16bb2020b3891b0ff32d7f03e04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-17T08:07:31.957Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-17T08:07:32.247Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-17T08:07:32.537Z] + ls /var/log/sa-host [2022-03-17T08:07:32.537Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-17T08:07:32.641Z] provisioning config files... [2022-03-17T08:07:32.651Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3143672463835234526tmp [Pipeline] { [Pipeline] echo [2022-03-17T08:07:32.664Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:32.950Z] ---> create-netrc.sh [Pipeline] } [2022-03-17T08:07:32.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:33.286Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-17T08:07:33.298Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:33.590Z] ---> sudo-logs.sh [2022-03-17T08:07:33.590Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-17T08:07:33.616Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:33.899Z] ---> job-cost.sh [2022-03-17T08:07:33.899Z] lf-activate-venv: SKIPPING [2022-03-17T08:07:33.899Z] DEBUG: total: 0.2199999988079071 [2022-03-17T08:07:33.899Z] INFO: Retrieving Stack Cost... [2022-03-17T08:07:34.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-17T08:07:34.729Z] INFO: Archiving Costs [Pipeline] echo [2022-03-17T08:07:34.743Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-17T08:07:35.025Z] ---> logs-deploy.sh [2022-03-17T08:07:35.025Z] lf-activate-venv: SKIPPING [2022-03-17T08:07:35.025Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/23 [2022-03-17T08:07:35.025Z] INFO: archiving workspace using pattern(s): [2022-03-17T08:07:35.968Z] Archives upload complete. [2022-03-17T08:07:35.968Z] INFO: archiving logs to Nexus