Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c956091e39ebf418aab18435948f90fcdb39d95 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-ssh373805984737688753.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh11372535947170438085.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1319951448657035289.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1379571948472073012.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh161307660079113745.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-15159’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15162 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 6c956091e39ebf418aab18435948f90fcdb39d95 (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 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 Commit message: "Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.7" > git rev-list --no-walk 36f1c9105c586ba8e2014e0f524de26550782ad6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:29:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:29:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:29:28 ========================================================= 13:29:28 EdgeX Global Pipelines Version Info 13:29:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:29:29 ------------------- 13:29:29 stable info: 13:29:29 ------------------- 13:29:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:29:29 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 13:29:29 Message: update stable to v1.0.234 13:29:30 ------------------- 13:29:30 experimental info: 13:29:30 ------------------- 13:29:30 Commited By: **** collab-it+edgex@linuxfoundation.org 13:29:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 13:29:30 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c956091e39ebf418aab18435948f90fcdb39d95 [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c95609 [Pipeline] echo 13:29:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:29:30 provisioning config files... 13:29:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5934181518300898675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:31 ---> docker-login.sh 13:29:31 nexus3.edgexfoundry.org:10001 13:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:31 Configure a credential helper to remove this warning. See 13:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:31 13:29:31 Login Succeeded 13:29:31 nexus3.edgexfoundry.org:10002 13:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:31 Configure a credential helper to remove this warning. See 13:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:31 13:29:31 Login Succeeded 13:29:31 nexus3.edgexfoundry.org:10003 13:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:31 Configure a credential helper to remove this warning. See 13:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:31 13:29:31 Login Succeeded 13:29:31 nexus3.edgexfoundry.org:10004 13:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:31 Configure a credential helper to remove this warning. See 13:29:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:31 13:29:31 Login Succeeded 13:29:31 docker.io 13:29:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:32 Configure a credential helper to remove this warning. See 13:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:32 13:29:32 Login Succeeded 13:29:32 ---> docker-login.sh ends [Pipeline] } 13:29:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:29:32 + git rev-list -1 --merges 6c956091e39ebf418aab18435948f90fcdb39d95~1..6c956091e39ebf418aab18435948f90fcdb39d95 [Pipeline] echo 13:29:32 -----------> git rev-list -1 --merges 6c956091e39ebf418aab18435948f90fcdb39d95~1..6c956091e39ebf418aab18435948f90fcdb39d95 6c956091e39ebf418aab18435948f90fcdb39d95 13:29:32 6c956091e39ebf418aab18435948f90fcdb39d95 [false] [Pipeline] sh 13:29:33 + git log --format=format:%s -1 6c956091e39ebf418aab18435948f90fcdb39d95 [Pipeline] echo 13:29:33 ========================================================= 13:29:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:29:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:29:33 + git log --format=format:%s -1 6c956091e39ebf418aab18435948f90fcdb39d95 [Pipeline] echo 13:29:33 [semverPrep] GIT_COMMIT: 6c956091e39ebf418aab18435948f90fcdb39d95, Commit Message: Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.7 [Pipeline] echo 13:29:33 [semverPrep] This is not a build commit. [Pipeline] sh 13:29:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:29:34 + grep -v github /etc/ssh/ssh_known_hosts 13:29:34 + [ -e /tmp/ssh_known_hosts ] 13:29:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:29:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:29:34 + sudo tee -a /etc/ssh/ssh_known_hosts 13:29:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:29:34 13:29:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:29:34 0.1.4: Pulling from edgex-devops/py-git-semver 13:29:34 42c077c10790: Pulling fs layer 13:29:34 f63e77b7563a: Pulling fs layer 13:29:34 bd5fdadae976: Pulling fs layer 13:29:34 205491f53016: Pulling fs layer 13:29:34 df18705c85c3: Pulling fs layer 13:29:34 bdb3f477010e: Pulling fs layer 13:29:34 c8a8fc8e1c8f: Pulling fs layer 13:29:34 2c6e9b1d212d: Pulling fs layer 13:29:34 bdb8f0575790: Pulling fs layer 13:29:34 386e3cb2ff24: Pulling fs layer 13:29:34 2343380bae48: Pulling fs layer 13:29:34 c8a8fc8e1c8f: Waiting 13:29:34 bdb8f0575790: Waiting 13:29:34 2c6e9b1d212d: Waiting 13:29:34 205491f53016: Waiting 13:29:34 386e3cb2ff24: Waiting 13:29:34 2343380bae48: Waiting 13:29:34 bdb3f477010e: Waiting 13:29:34 df18705c85c3: Waiting 13:29:34 f63e77b7563a: Download complete 13:29:34 205491f53016: Verifying Checksum 13:29:34 205491f53016: Download complete 13:29:35 df18705c85c3: Verifying Checksum 13:29:35 df18705c85c3: Download complete 13:29:35 bdb3f477010e: Verifying Checksum 13:29:35 bdb3f477010e: Download complete 13:29:35 bd5fdadae976: Verifying Checksum 13:29:35 bd5fdadae976: Download complete 13:29:35 2c6e9b1d212d: Download complete 13:29:35 bdb8f0575790: Verifying Checksum 13:29:35 386e3cb2ff24: Verifying Checksum 13:29:35 386e3cb2ff24: Download complete 13:29:35 2343380bae48: Download complete 13:29:35 42c077c10790: Verifying Checksum 13:29:35 42c077c10790: Download complete 13:29:36 42c077c10790: Pull complete 13:29:36 f63e77b7563a: Pull complete 13:29:36 bd5fdadae976: Pull complete 13:29:36 205491f53016: Pull complete 13:29:37 df18705c85c3: Pull complete 13:29:37 bdb3f477010e: Pull complete 13:29:39 c8a8fc8e1c8f: Pull complete 13:29:39 2c6e9b1d212d: Pull complete 13:29:39 bdb8f0575790: Pull complete 13:29:39 386e3cb2ff24: Pull complete 13:29:39 2343380bae48: Pull complete 13:29:39 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 13:29:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:29:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:39 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:29:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:29:40 $ docker top 7ed079a860582469f34379d1c25c22cebc1ceeb8ee6bab05404a1e3062da795d -eo pid,comm 13:29:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:29:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:29:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:29:41 [ssh-agent] Looking for ssh-agent implementation... 13:29:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:29:41 $ docker exec 7ed079a860582469f34379d1c25c22cebc1ceeb8ee6bab05404a1e3062da795d ssh-agent 13:29:41 SSH_AUTH_SOCK=/tmp/ssh-vwt7Sw8tiqAg/agent.33 13:29:41 SSH_AGENT_PID=39 13:29:41 Running ssh-add (command line suppressed) 13:29:41 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7681180564838664570.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7681180564838664570.key) 13:29:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:29:41 + git tag --points-at HEAD [Pipeline] } 13:29:41 $ docker exec --env ******** --env ******** 7ed079a860582469f34379d1c25c22cebc1ceeb8ee6bab05404a1e3062da795d ssh-agent -k 13:29:41 unset SSH_AUTH_SOCK; 13:29:41 unset SSH_AGENT_PID; 13:29:41 echo Agent pid 39 killed; 13:29:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:29:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:29:41 [ssh-agent] Looking for ssh-agent implementation... 13:29:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:29:41 $ docker exec 7ed079a860582469f34379d1c25c22cebc1ceeb8ee6bab05404a1e3062da795d ssh-agent 13:29:42 SSH_AUTH_SOCK=/tmp/ssh-S5NeLKcQtKcU/agent.71 13:29:42 SSH_AGENT_PID=77 13:29:42 Running ssh-add (command line suppressed) 13:29:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2496750417747683390.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2496750417747683390.key) 13:29:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:29:42 + git semver init 13:29:42 2022-06-20 13:29:42,720 [run_init] DEBUG init version:0.0.0 force:False 13:29:42 2022-06-20 13:29:42,720 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 13:29:42 2022-06-20 13:29:42,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 13:29:42 2022-06-20 13:29:42,721 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:29:43 2022-06-20 13:29:43,628 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 13:29:43 2022-06-20 13:29:43,628 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 13:29:43 2022-06-20 13:29:43,628 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:29:43 2022-06-20 13:29:43,628 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:29:43 2.2.1-dev.4 [Pipeline] } 13:29:43 $ docker exec --env ******** --env ******** 7ed079a860582469f34379d1c25c22cebc1ceeb8ee6bab05404a1e3062da795d ssh-agent -k 13:29:43 unset SSH_AUTH_SOCK; 13:29:43 unset SSH_AGENT_PID; 13:29:43 echo Agent pid 77 killed; 13:29:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:29:44 + git semver [Pipeline] } 13:29:44 $ docker stop --time=1 7ed079a860582469f34379d1c25c22cebc1ceeb8ee6bab05404a1e3062da795d 13:29:45 $ docker rm -f 7ed079a860582469f34379d1c25c22cebc1ceeb8ee6bab05404a1e3062da795d [Pipeline] // withDockerContainer [Pipeline] sh 13:29:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:29:46 Stashed 1 file(s) [Pipeline] echo 13:29:46 [edgeXSemver]: initialized semver on version 2.2.1-dev.4 [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 13:29:46 provisioning config files... 13:29:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7914382435058453620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:46 ---> docker-login.sh 13:29:46 nexus3.edgexfoundry.org:10001 13:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:46 Configure a credential helper to remove this warning. See 13:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:46 13:29:46 Login Succeeded 13:29:46 nexus3.edgexfoundry.org:10002 13:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:47 Configure a credential helper to remove this warning. See 13:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:47 13:29:47 Login Succeeded 13:29:47 nexus3.edgexfoundry.org:10003 13:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:47 Configure a credential helper to remove this warning. See 13:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:47 13:29:47 Login Succeeded 13:29:47 nexus3.edgexfoundry.org:10004 13:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:47 Configure a credential helper to remove this warning. See 13:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:47 13:29:47 Login Succeeded 13:29:47 docker.io 13:29:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:29:47 Configure a credential helper to remove this warning. See 13:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:29:47 13:29:47 Login Succeeded 13:29:47 ---> docker-login.sh ends [Pipeline] } 13:29:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:29:47 ========================================================= 13:29:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:29:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:48 + 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 . 13:29:48 Sending build context to Docker daemon 23MB 13:29:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:29:48 Step 2/12 : FROM ${BASE} AS builder 13:29:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:29:48 59bf1c3509f3: Pulling fs layer 13:29:48 666ba61612fd: Pulling fs layer 13:29:48 8ed8ca486205: Pulling fs layer 13:29:48 cc1cd167ecdc: Pulling fs layer 13:29:48 c516ae0d96e1: Pulling fs layer 13:29:48 cc1cd167ecdc: Waiting 13:29:48 c516ae0d96e1: Waiting 13:29:48 684cea983483: Pulling fs layer 13:29:48 dd3240ac7de5: Pulling fs layer 13:29:48 b1e948a4e11c: Pulling fs layer 13:29:48 684cea983483: Waiting 13:29:48 dd3240ac7de5: Waiting 13:29:48 b1e948a4e11c: Waiting 13:29:48 a8fd76ee1af6: Pulling fs layer 13:29:48 646ad004c059: Pulling fs layer 13:29:48 646ad004c059: Waiting 13:29:48 a8fd76ee1af6: Waiting 13:29:48 8ed8ca486205: Verifying Checksum 13:29:48 8ed8ca486205: Download complete 13:29:48 666ba61612fd: Verifying Checksum 13:29:48 666ba61612fd: Download complete 13:29:48 c516ae0d96e1: Download complete 13:29:48 684cea983483: Verifying Checksum 13:29:48 684cea983483: Download complete 13:29:48 dd3240ac7de5: Verifying Checksum 13:29:48 dd3240ac7de5: Download complete 13:29:48 59bf1c3509f3: Verifying Checksum 13:29:48 59bf1c3509f3: Download complete 13:29:48 b1e948a4e11c: Verifying Checksum 13:29:48 b1e948a4e11c: Download complete 13:29:48 59bf1c3509f3: Pull complete 13:29:48 666ba61612fd: Pull complete 13:29:48 8ed8ca486205: Pull complete 13:29:49 a8fd76ee1af6: Verifying Checksum 13:29:49 a8fd76ee1af6: Download complete 13:29:49 cc1cd167ecdc: Verifying Checksum 13:29:49 cc1cd167ecdc: Download complete 13:29:49 646ad004c059: Download complete 13:29:52 cc1cd167ecdc: Pull complete 13:29:52 c516ae0d96e1: Pull complete 13:29:52 684cea983483: Pull complete 13:29:52 dd3240ac7de5: Pull complete 13:29:52 b1e948a4e11c: Pull complete 13:29:54 a8fd76ee1af6: Pull complete 13:29:55 646ad004c059: Pull complete 13:29:55 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 13:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:29:55 ---> 8f69c11f6b0c 13:29:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:29:58 ---> Running in afa93234e72c 13:29:58 Removing intermediate container afa93234e72c 13:29:58 ---> 1dbbc87b9f46 13:29:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:29:58 ---> Running in 517b364d3696 13:29:58 Removing intermediate container 517b364d3696 13:29:58 ---> b5bfa648725e 13:29:58 Step 5/12 : WORKDIR /device-virtual-go 13:29:58 ---> Running in 4e8e56a34b03 13:29:58 Removing intermediate container 4e8e56a34b03 13:29:58 ---> 6143a42539b6 13:29:58 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:29:58 ---> Running in 8ddf20d3e09b 13:29:58 Removing intermediate container 8ddf20d3e09b 13:29:58 ---> c8ec1318f428 13:29:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:29:58 ---> Running in 02e3f9434689 13:29:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:29:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:30:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:30:00 (2/4) Installing libedit (20210910.3.1-r0) 13:30:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:30:00 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:30:00 Executing busybox-1.34.1-r3.trigger 13:30:00 OK: 224 MiB in 56 packages 13:30:01 Removing intermediate container 02e3f9434689 13:30:01 ---> a32b3066ea59 13:30:01 Step 8/12 : COPY go.mod vendor* ./ 13:30:01 ---> f9218d61d5ed 13:30:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:30:01 ---> Running in 805f6002dab8 13:30:01 Still waiting to schedule task 13:30:01 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15161’ is offline 13:30:16 Removing intermediate container 805f6002dab8 13:30:16 ---> 5276407535b1 13:30:16 Step 10/12 : COPY . . 13:30:16 ---> 6a497cea0fb8 13:30:16 Step 11/12 : ARG MAKE='make build' 13:30:16 ---> Running in 8c1349637410 13:30:16 Removing intermediate container 8c1349637410 13:30:16 ---> bc97f94cc071 13:30:16 Step 12/12 : RUN $MAKE 13:30:16 ---> Running in f6bf58171b76 13:30:16 noop 13:30:16 Removing intermediate container f6bf58171b76 13:30:16 ---> 2128e26e9dd3 13:30:16 Successfully built 2128e26e9dd3 13:30:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:17 + docker inspect -f . ci-base-image-x86_64 13:30:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:30:17 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:30:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:30:17 $ docker top e0c75ef0d13d38406b1417c4ab3dd1d10617c9bd4edd32a0ef3f5a6ae3b4da6c -eo pid,comm [Pipeline] { [Pipeline] sh 13:30:18 + go version 13:30:18 go version go1.17.7 linux/amd64 [Pipeline] } 13:30:18 $ docker stop --time=1 e0c75ef0d13d38406b1417c4ab3dd1d10617c9bd4edd32a0ef3f5a6ae3b4da6c 13:30:19 $ docker rm -f e0c75ef0d13d38406b1417c4ab3dd1d10617c9bd4edd32a0ef3f5a6ae3b4da6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:19 + docker inspect -f . ci-base-image-x86_64 13:30:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:30:19 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:30:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:30:20 $ docker top 6b22bf54bb491885718c1fa95ecf0637e05cfdf2beaddd09962373bfdbddfcb1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:30:20 + make test 13:30:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:30:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:30:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:30:29 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 13:30:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:30:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:30:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:30:39 ./bin/test-attribution-txt.sh [Pipeline] echo 13:30:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:30:39 $ docker stop --time=1 6b22bf54bb491885718c1fa95ecf0637e05cfdf2beaddd09962373bfdbddfcb1 13:30:41 $ docker rm -f 6b22bf54bb491885718c1fa95ecf0637e05cfdf2beaddd09962373bfdbddfcb1 [Pipeline] // withDockerContainer [Pipeline] sh 13:30:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:30:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:30:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:30:42 + ls -al . 13:30:42 total 192 13:30:42 drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 13:30 . 13:30:42 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 13:29 .. 13:30:42 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 13:29 .git 13:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:29 .github 13:30:42 -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 13:29 .gitignore 13:30:42 -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 13:29 .golangci.yml 13:30:42 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 13:29 .semver 13:30:42 -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 13:29 Attribution.txt 13:30:42 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 13:29 CHANGELOG.md 13:30:42 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 13:29 Dockerfile 13:30:42 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 13:29 GOVERNANCE.md 13:30:42 -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 13:29 Jenkinsfile 13:30:42 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 13:29 LICENSE 13:30:42 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 13:29 Makefile 13:30:42 -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 13:29 OWNERS.md 13:30:42 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 13:29 README.md 13:30:42 -rw-rw-r-- 1 jenkins jenkins 11 Jun 20 13:29 VERSION 13:30:42 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 13:29 bin 13:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:29 cmd 13:30:42 -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 13:30 coverage.out 13:30:42 -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 13:29 go.mod 13:30:42 -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 13:29 go.sum 13:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:29 internal 13:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:29 snap 13:30:42 -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 13:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:43 + 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=6c956091e39ebf418aab18435948f90fcdb39d95 --label arch=amd64 --label version=2.2.1-dev.4 . 13:30:43 Sending build context to Docker daemon 23.05MB 13:30:43 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:30:43 Step 2/26 : FROM ${BASE} AS builder 13:30:43 ---> 2128e26e9dd3 13:30:43 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:30:43 ---> Running in 1f01cb1c7718 13:30:43 Removing intermediate container 1f01cb1c7718 13:30:43 ---> cf6d57d809e2 13:30:43 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:30:43 ---> Running in 7bbd0bdeb359 13:30:43 Removing intermediate container 7bbd0bdeb359 13:30:43 ---> ca33c0e03f62 13:30:43 Step 5/26 : WORKDIR /device-virtual-go 13:30:43 ---> Running in 79473dde96ca 13:30:43 Removing intermediate container 79473dde96ca 13:30:43 ---> 719b519264a5 13:30:43 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:30:43 ---> Running in ebaf17611618 13:30:44 Removing intermediate container ebaf17611618 13:30:44 ---> 30e2a6b94d98 13:30:44 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:30:44 ---> Running in 4f9593c303b4 13:30:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:30:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:30:45 OK: 224 MiB in 56 packages 13:30:46 Removing intermediate container 4f9593c303b4 13:30:46 ---> 6f18582a1243 13:30:46 Step 8/26 : COPY go.mod vendor* ./ 13:30:46 ---> 3f36a931ffce 13:30:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:30:46 ---> Running in b62b45e3eee7 13:30:46 Removing intermediate container b62b45e3eee7 13:30:46 ---> 079bbe6e925d 13:30:46 Step 10/26 : COPY . . 13:30:47 ---> b69198b8436b 13:30:47 Step 11/26 : ARG MAKE='make build' 13:30:47 ---> Running in a18e138aa6d5 13:30:47 Removing intermediate container a18e138aa6d5 13:30:47 ---> e5f641f97a9c 13:30:47 Step 12/26 : RUN $MAKE 13:30:47 ---> Running in 83f5affd025c 13:30:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 13:31:09 Removing intermediate container 83f5affd025c 13:31:09 ---> 71fde0978b0a 13:31:09 Step 13/26 : FROM alpine:3.14 13:31:09 3.14: Pulling from library/alpine 13:31:09 8663204ce13b: Pulling fs layer 13:31:09 8663204ce13b: Verifying Checksum 13:31:09 8663204ce13b: Download complete 13:31:09 8663204ce13b: Pull complete 13:31:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:31:09 Status: Downloaded newer image for alpine:3.14 13:31:09 ---> e04c818066af 13:31:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:31:09 ---> Running in 992c0b386310 13:31:09 Removing intermediate container 992c0b386310 13:31:09 ---> af4a23019704 13:31:09 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:31:09 ---> Running in c0c2a058ef7b 13:31:09 Removing intermediate container c0c2a058ef7b 13:31:09 ---> 73aad1362654 13:31:09 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:31:09 ---> Running in c4fe7c4aa093 13:31:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:31:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:31:09 (1/6) Installing dumb-init (1.2.5-r1) 13:31:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:31:10 (3/6) Installing libsodium (1.0.18-r0) 13:31:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:31:10 (5/6) Installing libzmq (4.3.4-r0) 13:31:10 (6/6) Installing zeromq (4.3.4-r0) 13:31:10 Executing busybox-1.33.1-r7.trigger 13:31:10 OK: 8 MiB in 20 packages 13:31:11 Removing intermediate container c4fe7c4aa093 13:31:11 ---> 2b5120329aaf 13:31:11 Step 17/26 : WORKDIR / 13:31:11 ---> Running in 7689b2ffdbfb 13:31:11 Removing intermediate container 7689b2ffdbfb 13:31:11 ---> 518ae9527afd 13:31:11 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:31:11 ---> 9d27de6f92b5 13:31:11 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:31:11 ---> b438e5dd0c6b 13:31:11 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:31:11 ---> e5f284dbcfd3 13:31:11 Step 21/26 : EXPOSE 59900 13:31:12 ---> Running in 2686fb1c2f63 13:31:12 Removing intermediate container 2686fb1c2f63 13:31:12 ---> 585337f641c5 13:31:12 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:31:12 ---> Running in a7239dc55d03 13:31:12 Removing intermediate container a7239dc55d03 13:31:12 ---> d0038c6d2e66 13:31:12 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:31:12 ---> Running in dd711686a851 13:31:12 Removing intermediate container dd711686a851 13:31:12 ---> a959a4021847 13:31:12 Step 24/26 : LABEL arch=amd64 13:31:12 ---> Running in c1abe3848164 13:31:12 Removing intermediate container c1abe3848164 13:31:12 ---> 31f2961c582f 13:31:12 Step 25/26 : LABEL git_sha=6c956091e39ebf418aab18435948f90fcdb39d95 13:31:12 ---> Running in ba97b0e99cc3 13:31:12 Removing intermediate container ba97b0e99cc3 13:31:12 ---> 6b36fa9764dc 13:31:12 Step 26/26 : LABEL version=2.2.1-dev.4 13:31:12 ---> Running in 71715357f50a 13:31:12 Removing intermediate container 71715357f50a 13:31:12 ---> 131207e9682a 13:31:12 [Warning] One or more build-args [ARCH] were not consumed 13:31:12 Successfully built 131207e9682a 13:31:12 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:31:12 provisioning config files... 13:31:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config189205742355919732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:31:13 ---> docker-login.sh 13:31:13 nexus3.edgexfoundry.org:10001 13:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:13 Configure a credential helper to remove this warning. See 13:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:13 13:31:13 Login Succeeded 13:31:13 nexus3.edgexfoundry.org:10002 13:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:13 Configure a credential helper to remove this warning. See 13:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:13 13:31:13 Login Succeeded 13:31:13 nexus3.edgexfoundry.org:10003 13:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:13 Configure a credential helper to remove this warning. See 13:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:13 13:31:13 Login Succeeded 13:31:13 nexus3.edgexfoundry.org:10004 13:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:13 Configure a credential helper to remove this warning. See 13:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:13 13:31:13 Login Succeeded 13:31:13 docker.io 13:31:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:31:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:31:13 Configure a credential helper to remove this warning. See 13:31:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:31:13 13:31:13 Login Succeeded 13:31:13 ---> docker-login.sh ends [Pipeline] } 13:31:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:31:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:31:13 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 13:31:13 6c956091e39ebf418aab18435948f90fcdb39d95 13:31:13 latest 13:31:13 2.2.1-dev.4 13:31:13 6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4 13:31:13 main 13:31:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6c956091e39ebf418aab18435948f90fcdb39d95 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:6c956091e39ebf418aab18435948f90fcdb39d95 13:31:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:31:14 8b2d56208876: Preparing 13:31:14 dd86fdff6eb1: Preparing 13:31:14 a4dbf8ee23ea: Preparing 13:31:14 eb03005fbbd5: Preparing 13:31:14 bb66f9d77bdf: Preparing 13:31:14 b541d28bf3b4: Preparing 13:31:14 b541d28bf3b4: Waiting 13:31:14 a4dbf8ee23ea: Pushed 13:31:14 dd86fdff6eb1: Pushed 13:31:14 bb66f9d77bdf: Pushed 13:31:14 b541d28bf3b4: Layer already exists 13:31:14 eb03005fbbd5: Pushed 13:31:17 8b2d56208876: Pushed 13:31:17 6c956091e39ebf418aab18435948f90fcdb39d95: digest: sha256:078d97269874b5a6fbe7309f000e4dcb9748fa6cbb42092e0ecfe6a2395b9ec8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 13:31:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:31:17 8b2d56208876: Preparing 13:31:17 dd86fdff6eb1: Preparing 13:31:17 a4dbf8ee23ea: Preparing 13:31:17 eb03005fbbd5: Preparing 13:31:17 bb66f9d77bdf: Preparing 13:31:17 b541d28bf3b4: Preparing 13:31:17 b541d28bf3b4: Waiting 13:31:17 bb66f9d77bdf: Layer already exists 13:31:18 8b2d56208876: Layer already exists 13:31:18 a4dbf8ee23ea: Layer already exists 13:31:18 dd86fdff6eb1: Layer already exists 13:31:18 eb03005fbbd5: Layer already exists 13:31:18 b541d28bf3b4: Layer already exists 13:31:18 latest: digest: sha256:078d97269874b5a6fbe7309f000e4dcb9748fa6cbb42092e0ecfe6a2395b9ec8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.4 13:31:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:31:18 8b2d56208876: Preparing 13:31:18 dd86fdff6eb1: Preparing 13:31:18 a4dbf8ee23ea: Preparing 13:31:18 eb03005fbbd5: Preparing 13:31:18 bb66f9d77bdf: Preparing 13:31:18 b541d28bf3b4: Preparing 13:31:18 b541d28bf3b4: Waiting 13:31:18 bb66f9d77bdf: Layer already exists 13:31:18 a4dbf8ee23ea: Layer already exists 13:31:18 8b2d56208876: Layer already exists 13:31:18 eb03005fbbd5: Layer already exists 13:31:18 dd86fdff6eb1: Layer already exists 13:31:18 b541d28bf3b4: Layer already exists 13:31:18 2.2.1-dev.4: digest: sha256:078d97269874b5a6fbe7309f000e4dcb9748fa6cbb42092e0ecfe6a2395b9ec8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4 13:31:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:31:19 8b2d56208876: Preparing 13:31:19 dd86fdff6eb1: Preparing 13:31:19 a4dbf8ee23ea: Preparing 13:31:19 eb03005fbbd5: Preparing 13:31:19 bb66f9d77bdf: Preparing 13:31:19 b541d28bf3b4: Preparing 13:31:19 b541d28bf3b4: Waiting 13:31:19 dd86fdff6eb1: Layer already exists 13:31:19 8b2d56208876: Layer already exists 13:31:19 a4dbf8ee23ea: Layer already exists 13:31:19 bb66f9d77bdf: Layer already exists 13:31:19 eb03005fbbd5: Layer already exists 13:31:19 b541d28bf3b4: Layer already exists 13:31:19 6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4: digest: sha256:078d97269874b5a6fbe7309f000e4dcb9748fa6cbb42092e0ecfe6a2395b9ec8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:19 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:19 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 13:31:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:31:19 8b2d56208876: Preparing 13:31:19 dd86fdff6eb1: Preparing 13:31:19 a4dbf8ee23ea: Preparing 13:31:19 eb03005fbbd5: Preparing 13:31:19 bb66f9d77bdf: Preparing 13:31:19 b541d28bf3b4: Preparing 13:31:19 b541d28bf3b4: Waiting 13:31:19 a4dbf8ee23ea: Layer already exists 13:31:19 eb03005fbbd5: Layer already exists 13:31:19 dd86fdff6eb1: Layer already exists 13:31:19 8b2d56208876: Layer already exists 13:31:19 bb66f9d77bdf: Layer already exists 13:31:19 b541d28bf3b4: Layer already exists 13:31:19 main: digest: sha256:078d97269874b5a6fbe7309f000e4dcb9748fa6cbb42092e0ecfe6a2395b9ec8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:31:19 ===================================================== [Pipeline] echo 13:31:19 taggedImages: 13:31:19 - nexus3.edgexfoundry.org:10004/device-virtual:6c956091e39ebf418aab18435948f90fcdb39d95 13:31:19 - nexus3.edgexfoundry.org:10004/device-virtual:latest 13:31:19 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.4 13:31:19 - nexus3.edgexfoundry.org:10004/device-virtual:6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4 13:31:19 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:31:20 13:31:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:31:20 latest: Pulling from edgex-lftools-log-publisher 13:31:20 5eb5b503b376: Pulling fs layer 13:31:20 5c69ac0246d0: Pulling fs layer 13:31:20 ec43610c2a17: Pulling fs layer 13:31:20 3a2ae6a8a46f: Pulling fs layer 13:31:20 33b1e0a273af: Pulling fs layer 13:31:20 3a2ae6a8a46f: Waiting 13:31:20 5d3b04190fa2: Pulling fs layer 13:31:20 2f39f015ded8: Pulling fs layer 13:31:20 5d3b04190fa2: Waiting 13:31:20 2f39f015ded8: Waiting 13:31:20 5c69ac0246d0: Download complete 13:31:20 3a2ae6a8a46f: Verifying Checksum 13:31:20 3a2ae6a8a46f: Download complete 13:31:20 33b1e0a273af: Download complete 13:31:20 5d3b04190fa2: Verifying Checksum 13:31:20 5d3b04190fa2: Download complete 13:31:20 ec43610c2a17: Download complete 13:31:20 5eb5b503b376: Verifying Checksum 13:31:20 5eb5b503b376: Download complete 13:31:21 2f39f015ded8: Download complete 13:31:22 5eb5b503b376: Pull complete 13:31:22 5c69ac0246d0: Pull complete 13:31:22 ec43610c2a17: Pull complete 13:31:22 3a2ae6a8a46f: Pull complete 13:31:22 33b1e0a273af: Pull complete 13:31:23 5d3b04190fa2: Pull complete 13:31:27 2f39f015ded8: Pull complete 13:31:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:31:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:31:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:31:27 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:31:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:31:29 $ docker top 2d620aa974c4021ca9986206c7965da72f35df22bb702bab44f879c03309a4ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:31:30 ---> job-cost.sh 13:31:30 lf-activate-venv: SKIPPING 13:31:30 INFO: No Stack... 13:31:30 INFO: Retrieving Pricing Info for: v3-standard-8 13:31:31 INFO: Archiving Costs [Pipeline] sh 13:31:31 + + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 13:31:31 cut -d, -f6 [Pipeline] lock 13:31:31 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-40-stack-cost] 13:31:31 Resource [jenkins-edgexfoundry-device-virtual-go-main-40-stack-cost] did not exist. Created. 13:31:31 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:31:31 + echo total: 0.2199999988079071 [Pipeline] stash 13:31:31 Stashed 1 file(s) [Pipeline] } 13:31:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 13:31:31 $ docker stop --time=1 2d620aa974c4021ca9986206c7965da72f35df22bb702bab44f879c03309a4ef 13:31:33 $ docker rm -f 2d620aa974c4021ca9986206c7965da72f35df22bb702bab44f879c03309a4ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:31:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15163 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 13:31:33 Running in /w/workspace/device-virtual-go/40 [Pipeline] { [Pipeline] checkout 13:31:33 The recommended git tool is: git 13:31:38 using credential edgex-jenkins-ssh 13:31:38 Cloning the remote Git repository 13:31:38 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:31:38 > git init /w/workspace/device-virtual-go/40 # timeout=10 13:31:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:31:39 > git --version # timeout=10 13:31:39 > git --version # 'git version 2.25.1' 13:31:39 using GIT_SSH to set credentials SSH Credentials for GitHub 13:31:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:31:41 Avoid second fetch 13:31:41 Checking out Revision 6c956091e39ebf418aab18435948f90fcdb39d95 (main) 13:31:41 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:31:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:31:41 > git config core.sparsecheckout # timeout=10 13:31:41 > git checkout -f 6c956091e39ebf418aab18435948f90fcdb39d95 # timeout=10 13:31:46 Commit message: "Merge pull request #292 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.7" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:31:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:31:47 % Total % Received % Xferd Average Speed Time Time Time Current 13:31:47 Dload Upload Total Spent Left Speed 13:31:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 66232 0 --:--:-- --:--:-- --:--:-- 66592 [Pipeline] sh 13:31:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:31:48 + sudo tee /etc/docker/daemon.new 13:31:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:31:48 { 13:31:48 "registry-mirrors": [ 13:31:48 "https://nexus3.edgexfoundry.org:10001" 13:31:48 ], 13:31:48 "bip": "10.250.0.254/24", 13:31:48 "hosts": [ 13:31:48 "tcp://0.0.0.0:5555", 13:31:48 "unix:///var/run/docker.sock" 13:31:48 ], 13:31:48 "mtu": 1458, 13:31:48 "selinux-enabled": true, 13:31:48 "seccomp-profile": "/etc/docker/seccomp.json" 13:31:48 } [Pipeline] sh 13:31:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:31:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:32:07 provisioning config files... 13:32:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/40@tmp/config3876998955624368702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:32:07 ---> docker-login.sh 13:32:07 nexus3.edgexfoundry.org:10001 13:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:32:08 Configure a credential helper to remove this warning. See 13:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:32:08 13:32:08 Login Succeeded 13:32:08 nexus3.edgexfoundry.org:10002 13:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:32:08 Configure a credential helper to remove this warning. See 13:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:32:08 13:32:08 Login Succeeded 13:32:08 nexus3.edgexfoundry.org:10003 13:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:32:09 Configure a credential helper to remove this warning. See 13:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:32:09 13:32:09 Login Succeeded 13:32:09 nexus3.edgexfoundry.org:10004 13:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:32:09 Configure a credential helper to remove this warning. See 13:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:32:09 13:32:09 Login Succeeded 13:32:09 docker.io 13:32:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:32:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:32:10 Configure a credential helper to remove this warning. See 13:32:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:32:10 13:32:10 Login Succeeded 13:32:10 ---> docker-login.sh ends [Pipeline] } 13:32:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:32:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:32:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:32:11 ========================================================= 13:32:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:32:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:11 + 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 . 13:32:11 Sending build context to Docker daemon 11.63MB 13:32:11 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:32:11 Step 2/12 : FROM ${BASE} AS builder 13:32:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:32:12 9b3977197b4f: Pulling fs layer 13:32:12 1a89e8eeedd5: Pulling fs layer 13:32:12 94645a83ff95: Pulling fs layer 13:32:12 e6fb740bc735: Pulling fs layer 13:32:12 3a77bd46dcc9: Pulling fs layer 13:32:12 355e64cbe906: Pulling fs layer 13:32:12 63ab81a10011: Pulling fs layer 13:32:12 555d1d1c4555: Pulling fs layer 13:32:12 7d9057610161: Pulling fs layer 13:32:12 355e64cbe906: Waiting 13:32:12 e6fb740bc735: Waiting 13:32:12 63ab81a10011: Waiting 13:32:12 3a77bd46dcc9: Waiting 13:32:12 7d9057610161: Waiting 13:32:12 555d1d1c4555: Waiting 13:32:12 94645a83ff95: Verifying Checksum 13:32:12 94645a83ff95: Download complete 13:32:12 1a89e8eeedd5: Download complete 13:32:12 3a77bd46dcc9: Verifying Checksum 13:32:12 3a77bd46dcc9: Download complete 13:32:12 355e64cbe906: Download complete 13:32:12 9b3977197b4f: Verifying Checksum 13:32:12 9b3977197b4f: Download complete 13:32:12 63ab81a10011: Verifying Checksum 13:32:12 63ab81a10011: Download complete 13:32:13 9b3977197b4f: Pull complete 13:32:13 7d9057610161: Verifying Checksum 13:32:13 7d9057610161: Download complete 13:32:13 1a89e8eeedd5: Pull complete 13:32:14 94645a83ff95: Pull complete 13:32:14 555d1d1c4555: Verifying Checksum 13:32:14 555d1d1c4555: Download complete 13:32:14 e6fb740bc735: Verifying Checksum 13:32:14 e6fb740bc735: Download complete 13:32:27 e6fb740bc735: Pull complete 13:32:27 3a77bd46dcc9: Pull complete 13:32:27 355e64cbe906: Pull complete 13:32:27 63ab81a10011: Pull complete 13:32:34 555d1d1c4555: Pull complete 13:32:36 7d9057610161: Pull complete 13:32:36 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 13:32:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:32:36 ---> 819e984ddca1 13:32:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:32:37 ---> Running in 1819a9e79742 13:32:37 Removing intermediate container 1819a9e79742 13:32:37 ---> 3a133f5c62b7 13:32:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:32:37 ---> Running in 1d5b7d8cb37d 13:32:37 Removing intermediate container 1d5b7d8cb37d 13:32:37 ---> 6ea9664e68a2 13:32:37 Step 5/12 : WORKDIR /device-virtual-go 13:32:37 ---> Running in 42e0fece80a5 13:32:38 Removing intermediate container 42e0fece80a5 13:32:38 ---> aca543278a43 13:32:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:32:38 ---> Running in 08e38c819904 13:32:40 Removing intermediate container 08e38c819904 13:32:40 ---> 831bc462c771 13:32:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:32:40 ---> Running in d9cbc592ce54 13:32:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:32:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:32:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:32:42 (2/4) Installing libedit (20210910.3.1-r0) 13:32:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:32:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:32:43 Executing busybox-1.34.1-r3.trigger 13:32:43 OK: 224 MiB in 56 packages 13:32:44 Removing intermediate container d9cbc592ce54 13:32:44 ---> 71d1f581e1b2 13:32:44 Step 8/12 : COPY go.mod vendor* ./ 13:32:44 ---> cfb9736bb7b4 13:32:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:32:44 ---> Running in 1d2a7d668ff5 13:33:31 Removing intermediate container 1d2a7d668ff5 13:33:31 ---> 9d917319cd02 13:33:31 Step 10/12 : COPY . . 13:33:31 ---> 28e5f2ba20b6 13:33:31 Step 11/12 : ARG MAKE='make build' 13:33:31 ---> Running in da3487527151 13:33:31 Removing intermediate container da3487527151 13:33:31 ---> 35685519e1c8 13:33:31 Step 12/12 : RUN $MAKE 13:33:31 ---> Running in 78feffa763ef 13:33:31 noop 13:33:32 Removing intermediate container 78feffa763ef 13:33:32 ---> 95a09af850dd 13:33:32 Successfully built 95a09af850dd 13:33:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:32 + docker inspect -f . ci-base-image-arm64 13:33:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:33:32 prd-ubuntu20.04-docker-arm64-4c-16g-15163 does not seem to be running inside a container 13:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/40 -v /w/workspace/device-virtual-go/40:/w/workspace/device-virtual-go/40:rw,z -v /w/workspace/device-virtual-go/40@tmp:/w/workspace/device-virtual-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:33:34 $ docker top 3c297344bea2e1bd29b8e0a5584670858e1cb2d79070f8b1ccb91b83994efecb -eo pid,comm [Pipeline] { [Pipeline] sh 13:33:34 + go version 13:33:34 go version go1.17.7 linux/arm64 [Pipeline] } 13:33:35 $ docker stop --time=1 3c297344bea2e1bd29b8e0a5584670858e1cb2d79070f8b1ccb91b83994efecb 13:33:36 $ docker rm -f 3c297344bea2e1bd29b8e0a5584670858e1cb2d79070f8b1ccb91b83994efecb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:37 + docker inspect -f . ci-base-image-arm64 13:33:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:33:37 prd-ubuntu20.04-docker-arm64-4c-16g-15163 does not seem to be running inside a container 13:33:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/40 -v /w/workspace/device-virtual-go/40:/w/workspace/device-virtual-go/40:rw,z -v /w/workspace/device-virtual-go/40@tmp:/w/workspace/device-virtual-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:33:38 $ docker top 1e5a28aafa77048ecaeebb61accc38d6d21b3afd51f9c37bd9e85809b3b7ac16 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:33:39 + make test 13:33:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:33:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:35:02 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:35:02 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements 13:35:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:35:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:35:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:35:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:35:21 ./bin/test-attribution-txt.sh [Pipeline] echo 13:35:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:35:24 $ docker stop --time=1 1e5a28aafa77048ecaeebb61accc38d6d21b3afd51f9c37bd9e85809b3b7ac16 13:35:25 $ docker rm -f 1e5a28aafa77048ecaeebb61accc38d6d21b3afd51f9c37bd9e85809b3b7ac16 [Pipeline] // withDockerContainer [Pipeline] sh 13:35:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:35:26 Warning: overwriting stash ‘coverage-report’ 13:35:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:35:27 + ls -al . 13:35:27 total 188 13:35:27 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 13:35 . 13:35:27 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 13:31 .. 13:35:27 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 13:31 .git 13:35:27 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:31 .github 13:35:27 -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 13:31 .gitignore 13:35:27 -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 13:31 .golangci.yml 13:35:27 -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 13:31 Attribution.txt 13:35:27 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 13:31 CHANGELOG.md 13:35:27 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 13:31 Dockerfile 13:35:27 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 13:31 GOVERNANCE.md 13:35:27 -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 13:31 Jenkinsfile 13:35:27 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 13:31 LICENSE 13:35:27 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 13:31 Makefile 13:35:27 -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 13:31 OWNERS.md 13:35:27 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 13:31 README.md 13:35:27 -rw-rw-r-- 1 jenkins jenkins 11 Jun 20 13:29 VERSION 13:35:27 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 13:31 bin 13:35:27 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:31 cmd 13:35:27 -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 13:34 coverage.out 13:35:27 -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 13:31 go.mod 13:35:27 -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 13:31 go.sum 13:35:27 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:31 internal 13:35:27 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:31 snap 13:35:27 -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 13:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:28 + 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=6c956091e39ebf418aab18435948f90fcdb39d95 --label arch=arm64 --label version=2.2.1-dev.4 . 13:35:28 Sending build context to Docker daemon 11.67MB 13:35:28 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 13:35:28 Step 2/26 : FROM ${BASE} AS builder 13:35:28 ---> 95a09af850dd 13:35:28 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:35:28 ---> Running in 918734c6971a 13:35:29 Removing intermediate container 918734c6971a 13:35:29 ---> 405535ec6e59 13:35:29 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:35:29 ---> Running in 7afe6c16fc3a 13:35:29 Removing intermediate container 7afe6c16fc3a 13:35:29 ---> 4fadafee288e 13:35:29 Step 5/26 : WORKDIR /device-virtual-go 13:35:29 ---> Running in 7b72dd8ebfab 13:35:30 Removing intermediate container 7b72dd8ebfab 13:35:30 ---> d6a7c2aaa10d 13:35:30 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:35:30 ---> Running in 66344ba4d957 13:35:31 Removing intermediate container 66344ba4d957 13:35:31 ---> 618746a0e08b 13:35:31 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:35:32 ---> Running in 4b130785329e 13:35:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:35:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:35:34 OK: 224 MiB in 56 packages 13:35:35 Removing intermediate container 4b130785329e 13:35:35 ---> 05f87e9b29cd 13:35:35 Step 8/26 : COPY go.mod vendor* ./ 13:35:35 ---> a1668387d2f7 13:35:35 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:35:36 ---> Running in 1c5e329e0c6f 13:35:38 Removing intermediate container 1c5e329e0c6f 13:35:38 ---> ef2d06bdcda8 13:35:38 Step 10/26 : COPY . . 13:35:39 ---> 9f6704ede565 13:35:39 Step 11/26 : ARG MAKE='make build' 13:35:39 ---> Running in 82dd51cee07f 13:35:39 Removing intermediate container 82dd51cee07f 13:35:39 ---> 3e0d5f0ead91 13:35:39 Step 12/26 : RUN $MAKE 13:35:39 ---> Running in ec64c75e2f43 13:35:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 13:37:47 Removing intermediate container ec64c75e2f43 13:37:47 ---> f90c614a674d 13:37:47 Step 13/26 : FROM alpine:3.14 13:37:47 3.14: Pulling from library/alpine 13:37:47 455c02918c45: Pulling fs layer 13:37:47 455c02918c45: Verifying Checksum 13:37:47 455c02918c45: Download complete 13:37:47 455c02918c45: Pull complete 13:37:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:37:47 Status: Downloaded newer image for alpine:3.14 13:37:47 ---> ac73e934f311 13:37:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:37:47 ---> Running in 6b342f3ccb15 13:37:47 Removing intermediate container 6b342f3ccb15 13:37:47 ---> bcddb380b1b9 13:37:47 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:37:47 ---> Running in 6e2f6bf81bb6 13:37:47 Removing intermediate container 6e2f6bf81bb6 13:37:47 ---> 71210ed5e315 13:37:47 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:37:47 ---> Running in 626dcbeb4668 13:37:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:37:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:37:47 (1/6) Installing dumb-init (1.2.5-r1) 13:37:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:37:47 (3/6) Installing libsodium (1.0.18-r0) 13:37:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:37:47 (5/6) Installing libzmq (4.3.4-r0) 13:37:47 (6/6) Installing zeromq (4.3.4-r0) 13:37:47 Executing busybox-1.33.1-r7.trigger 13:37:47 OK: 8 MiB in 20 packages 13:37:47 Removing intermediate container 626dcbeb4668 13:37:47 ---> aabf027f1095 13:37:47 Step 17/26 : WORKDIR / 13:37:47 ---> Running in a729984fd831 13:37:47 Removing intermediate container a729984fd831 13:37:47 ---> 1ab1b56aedc4 13:37:47 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:37:47 ---> f14c4b838cd0 13:37:47 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:37:47 ---> d46b760babe7 13:37:47 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:37:47 ---> 3fce28856130 13:37:47 Step 21/26 : EXPOSE 59900 13:37:47 ---> Running in 8b76af304d96 13:37:47 Removing intermediate container 8b76af304d96 13:37:47 ---> 2adbe3a72f0a 13:37:47 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:37:47 ---> Running in 40ffc2a12123 13:37:47 Removing intermediate container 40ffc2a12123 13:37:47 ---> 88e8e406c16e 13:37:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:37:47 ---> Running in fec76b88595d 13:37:47 Removing intermediate container fec76b88595d 13:37:47 ---> 865d4aaf733f 13:37:47 Step 24/26 : LABEL arch=arm64 13:37:47 ---> Running in 88bb84d1a84f 13:37:47 Removing intermediate container 88bb84d1a84f 13:37:47 ---> cb59a2f77301 13:37:47 Step 25/26 : LABEL git_sha=6c956091e39ebf418aab18435948f90fcdb39d95 13:37:47 ---> Running in d822e84b04bd 13:37:47 Removing intermediate container d822e84b04bd 13:37:47 ---> 156ebd5ad83f 13:37:47 Step 26/26 : LABEL version=2.2.1-dev.4 13:37:47 ---> Running in 0a26b839880d 13:37:48 Removing intermediate container 0a26b839880d 13:37:48 ---> 73b86c3691b0 13:37:48 [Warning] One or more build-args [ARCH] were not consumed 13:37:48 Successfully built 73b86c3691b0 13:37:48 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:37:48 provisioning config files... 13:37:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/40@tmp/config4601602864258333968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:37:48 ---> docker-login.sh 13:37:48 nexus3.edgexfoundry.org:10001 13:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:49 Configure a credential helper to remove this warning. See 13:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:49 13:37:49 Login Succeeded 13:37:49 nexus3.edgexfoundry.org:10002 13:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:49 Configure a credential helper to remove this warning. See 13:37:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:49 13:37:49 Login Succeeded 13:37:49 nexus3.edgexfoundry.org:10003 13:37:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:50 Configure a credential helper to remove this warning. See 13:37:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:50 13:37:50 Login Succeeded 13:37:50 nexus3.edgexfoundry.org:10004 13:37:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:50 Configure a credential helper to remove this warning. See 13:37:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:50 13:37:50 Login Succeeded 13:37:50 docker.io 13:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:51 Configure a credential helper to remove this warning. See 13:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:51 13:37:51 Login Succeeded 13:37:51 ---> docker-login.sh ends [Pipeline] } 13:37:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:37:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:37:51 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 13:37:51 6c956091e39ebf418aab18435948f90fcdb39d95 13:37:51 latest 13:37:51 2.2.1-dev.4 13:37:51 6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4 13:37:51 main 13:37:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c956091e39ebf418aab18435948f90fcdb39d95 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c956091e39ebf418aab18435948f90fcdb39d95 13:37:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:37:52 86ab72672721: Preparing 13:37:52 dd9edec33178: Preparing 13:37:52 105671a95ea2: Preparing 13:37:52 f88b8511e822: Preparing 13:37:52 57edd668cc6e: Preparing 13:37:52 f73e7dbfee58: Preparing 13:37:52 f73e7dbfee58: Waiting 13:37:52 105671a95ea2: Pushed 13:37:52 dd9edec33178: Pushed 13:37:52 57edd668cc6e: Pushed 13:37:52 f73e7dbfee58: Layer already exists 13:37:53 f88b8511e822: Pushed 13:37:59 86ab72672721: Pushed 13:37:59 6c956091e39ebf418aab18435948f90fcdb39d95: digest: sha256:eca1509dad903d8c69815c6a671f23d2ce86e953c614d15e42a14a82eceb9e24 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:38:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:00 86ab72672721: Preparing 13:38:00 dd9edec33178: Preparing 13:38:00 105671a95ea2: Preparing 13:38:00 f88b8511e822: Preparing 13:38:00 57edd668cc6e: Preparing 13:38:00 f73e7dbfee58: Preparing 13:38:00 f73e7dbfee58: Waiting 13:38:00 57edd668cc6e: Layer already exists 13:38:00 dd9edec33178: Layer already exists 13:38:00 105671a95ea2: Layer already exists 13:38:00 86ab72672721: Layer already exists 13:38:00 f88b8511e822: Layer already exists 13:38:00 f73e7dbfee58: Layer already exists 13:38:00 latest: digest: sha256:eca1509dad903d8c69815c6a671f23d2ce86e953c614d15e42a14a82eceb9e24 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:01 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.4 13:38:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:01 86ab72672721: Preparing 13:38:01 dd9edec33178: Preparing 13:38:01 105671a95ea2: Preparing 13:38:01 f88b8511e822: Preparing 13:38:01 57edd668cc6e: Preparing 13:38:01 f73e7dbfee58: Preparing 13:38:01 f73e7dbfee58: Waiting 13:38:01 f88b8511e822: Layer already exists 13:38:01 105671a95ea2: Layer already exists 13:38:01 dd9edec33178: Layer already exists 13:38:01 57edd668cc6e: Layer already exists 13:38:01 86ab72672721: Layer already exists 13:38:01 f73e7dbfee58: Layer already exists 13:38:01 2.2.1-dev.4: digest: sha256:eca1509dad903d8c69815c6a671f23d2ce86e953c614d15e42a14a82eceb9e24 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4 13:38:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:02 86ab72672721: Preparing 13:38:02 dd9edec33178: Preparing 13:38:02 105671a95ea2: Preparing 13:38:02 f88b8511e822: Preparing 13:38:02 57edd668cc6e: Preparing 13:38:02 f73e7dbfee58: Preparing 13:38:02 dd9edec33178: Layer already exists 13:38:02 57edd668cc6e: Layer already exists 13:38:02 86ab72672721: Layer already exists 13:38:02 f88b8511e822: Layer already exists 13:38:02 105671a95ea2: Layer already exists 13:38:02 f73e7dbfee58: Layer already exists 13:38:02 6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4: digest: sha256:eca1509dad903d8c69815c6a671f23d2ce86e953c614d15e42a14a82eceb9e24 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:03 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 13:38:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:03 86ab72672721: Preparing 13:38:03 dd9edec33178: Preparing 13:38:03 105671a95ea2: Preparing 13:38:03 f88b8511e822: Preparing 13:38:03 57edd668cc6e: Preparing 13:38:03 f73e7dbfee58: Preparing 13:38:03 f73e7dbfee58: Waiting 13:38:03 f88b8511e822: Layer already exists 13:38:03 dd9edec33178: Layer already exists 13:38:03 105671a95ea2: Layer already exists 13:38:03 57edd668cc6e: Layer already exists 13:38:03 86ab72672721: Layer already exists 13:38:03 f73e7dbfee58: Layer already exists 13:38:03 main: digest: sha256:eca1509dad903d8c69815c6a671f23d2ce86e953c614d15e42a14a82eceb9e24 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:38:03 ===================================================== [Pipeline] echo 13:38:03 taggedImages: 13:38:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c956091e39ebf418aab18435948f90fcdb39d95 13:38:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:38:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.4 13:38:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c956091e39ebf418aab18435948f90fcdb39d95-2.2.1-dev.4 13:38:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:04 13:38:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:04 arm64: Pulling from edgex-lftools-log-publisher 13:38:04 8998bd30e6a1: Pulling fs layer 13:38:04 04944245beec: Pulling fs layer 13:38:04 699f458cf7ca: Pulling fs layer 13:38:04 765212b225bb: Pulling fs layer 13:38:04 f23df028b6ca: Pulling fs layer 13:38:04 d65c8cfc05b1: Pulling fs layer 13:38:04 2437ff75d9bd: Pulling fs layer 13:38:04 765212b225bb: Waiting 13:38:04 d65c8cfc05b1: Waiting 13:38:04 2437ff75d9bd: Waiting 13:38:04 f23df028b6ca: Waiting 13:38:04 04944245beec: Verifying Checksum 13:38:04 04944245beec: Download complete 13:38:04 765212b225bb: Verifying Checksum 13:38:04 765212b225bb: Download complete 13:38:04 f23df028b6ca: Download complete 13:38:04 d65c8cfc05b1: Verifying Checksum 13:38:04 d65c8cfc05b1: Download complete 13:38:05 699f458cf7ca: Verifying Checksum 13:38:05 699f458cf7ca: Download complete 13:38:05 8998bd30e6a1: Verifying Checksum 13:38:05 8998bd30e6a1: Download complete 13:38:07 2437ff75d9bd: Verifying Checksum 13:38:07 2437ff75d9bd: Download complete 13:38:09 8998bd30e6a1: Pull complete 13:38:10 04944245beec: Pull complete 13:38:11 699f458cf7ca: Pull complete 13:38:11 765212b225bb: Pull complete 13:38:12 f23df028b6ca: Pull complete 13:38:13 d65c8cfc05b1: Pull complete 13:38:28 2437ff75d9bd: Pull complete 13:38:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:38:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:28 prd-ubuntu20.04-docker-arm64-4c-16g-15163 does not seem to be running inside a container 13:38:28 $ 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/40 -v /w/workspace/device-virtual-go/40:/w/workspace/device-virtual-go/40:rw,z -v /w/workspace/device-virtual-go/40@tmp:/w/workspace/device-virtual-go/40@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:38:31 $ docker top a21c3a74f06294b067f6114a0b09fc705a10dccdb41d6f982accbc9da9d84010 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:38:31 ---> job-cost.sh 13:38:31 lf-activate-venv: SKIPPING 13:38:31 INFO: No Stack... 13:38:32 INFO: Retrieving Pricing Info for: v3-standard-4 13:38:33 INFO: Archiving Costs [Pipeline] sh 13:38:33 + cut -d, -f6 13:38:33 + cat /w/workspace/device-virtual-go/40/archives/cost.csv [Pipeline] lock 13:38:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-40-stack-cost] 13:38:33 Resource [jenkins-edgexfoundry-device-virtual-go-main-40-stack-cost] did not exist. Created. 13:38:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:38:34 /w/workspace/device-virtual-go/40@tmp/durable-413e3d92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:38:35 + echo total: 0.10999999940395355 [Pipeline] stash 13:38:35 Warning: overwriting stash ‘stack-cost’ 13:38:35 Stashed 1 file(s) [Pipeline] } 13:38:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 13:38:35 $ docker stop --time=1 a21c3a74f06294b067f6114a0b09fc705a10dccdb41d6f982accbc9da9d84010 13:38:36 $ docker rm -f a21c3a74f06294b067f6114a0b09fc705a10dccdb41d6f982accbc9da9d84010 [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 13:38:37 provisioning config files... 13:38:37 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4790743254131897040tmp [Pipeline] { [Pipeline] sh 13:38:37 + set +x 13:38:37 + curl -s https://codecov.io/bash 13:38:37 + bash -s -- 13:38:37 13:38:37 _____ _ 13:38:37 / ____| | | 13:38:37 | | ___ __| | ___ ___ _____ __ 13:38:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:38:37 | |___| (_) | (_| | __/ (_| (_) \ V / 13:38:37 \_____\___/ \__,_|\___|\___\___/ \_/ 13:38:37 Bash-1.0.6 13:38:37 13:38:37 13:38:37 ==> git version 2.25.1 found 13:38:37 ==> 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 13:38:37 Release-Date: 2020-01-08 13:38:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:38:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:38:37 ==> Jenkins CI detected. 13:38:37 current dir:  /w/workspace/exfoundry_device-virtual-go_main 13:38:37 project root: . 13:38:37 --> token set from env 13:38:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:38:37 ==> Running gcov in . (disable via -X gcov) 13:38:37 ==> Python coveragepy not found 13:38:37 ==> Searching for coverage reports in: 13:38:37 + . 13:38:37 -> Found 1 reports 13:38:37 ==> Detecting git/mercurial file structure 13:38:37 ==> Reading reports 13:38:37 + ./coverage.out bytes=44128 13:38:37 ==> Appending adjustments 13:38:37 https://docs.codecov.io/docs/fixing-reports 13:38:37 + Found adjustments 13:38:37 ==> Gzipping contents 13:38:37 8.0K /tmp/codecov.sJL8Hm.gz 13:38:37 ==> Uploading reports 13:38:37 url: https://codecov.io 13:38:37 query: branch=main&commit=6c956091e39ebf418aab18435948f90fcdb39d95&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:38:37 -> Pinging Codecov 13:38:37 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=6c956091e39ebf418aab18435948f90fcdb39d95&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:38:38 -> Uploading to 13:38:38 https://storage.googleapis.com/codecov/v4/raw/2022-06-20/5E52B4B073DB2E39498172D8E973AA87/6c956091e39ebf418aab18435948f90fcdb39d95/3649de80-c709-4e5d-9682-def007c516f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T133837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=867bd9dc2f55383e477db0a9ab789d5cc269ddcd96662c09896e6adce8ad1f38 13:38:38 % Total % Received % Xferd Average Speed Time Time Time Current 13:38:38 Dload Upload Total Spent Left Speed 13:38:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5496 0 0 100 5496 0 23487 --:--:-- --:--:-- --:--:-- 23487 13:38:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/6c956091e39ebf418aab18435948f90fcdb39d95 [Pipeline] } 13:38:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:38:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:38:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:38:38 13:38:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:38:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:38:39 df9b9388f04a: Pulling fs layer 13:38:39 52dc419b0ee2: Pulling fs layer 13:38:39 25bc292e5bac: Pulling fs layer 13:38:39 114826534d7a: Pulling fs layer 13:38:39 4657fd5d0bcf: Pulling fs layer 13:38:39 6ad1cebc031e: Pulling fs layer 13:38:39 8a3aa393b2d8: Pulling fs layer 13:38:39 8a3aa393b2d8: Waiting 13:38:39 6ad1cebc031e: Waiting 13:38:39 114826534d7a: Waiting 13:38:39 4657fd5d0bcf: Waiting 13:38:39 25bc292e5bac: Verifying Checksum 13:38:39 25bc292e5bac: Download complete 13:38:39 52dc419b0ee2: Verifying Checksum 13:38:39 52dc419b0ee2: Download complete 13:38:39 4657fd5d0bcf: Verifying Checksum 13:38:39 4657fd5d0bcf: Download complete 13:38:39 df9b9388f04a: Download complete 13:38:39 6ad1cebc031e: Verifying Checksum 13:38:39 6ad1cebc031e: Download complete 13:38:39 df9b9388f04a: Pull complete 13:38:39 52dc419b0ee2: Pull complete 13:38:39 25bc292e5bac: Pull complete 13:38:39 114826534d7a: Download complete 13:38:39 8a3aa393b2d8: Verifying Checksum 13:38:39 8a3aa393b2d8: Download complete 13:38:44 114826534d7a: Pull complete 13:38:44 4657fd5d0bcf: Pull complete 13:38:44 6ad1cebc031e: Pull complete 13:38:46 8a3aa393b2d8: Pull complete 13:38:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 13:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:38:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:46 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:38:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 13:38:49 $ docker top 2a5b240a9cd41c8d046c0fb971b868d49c3e99bc9fed81d3d28e51a324cff720 -eo pid,comm [Pipeline] { [Pipeline] echo 13:38:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 13:38:49 + set -o pipefail 13:38:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 13:38:53 13:38:53 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 13:38:53 13:38:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/5453a1af-c169-4b0f-ba73-d80274263f68 13:38:53 13:38:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 13:38:53 13:38:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:38:53 13:38:53 [Pipeline] } 13:38:53 $ docker stop --time=1 2a5b240a9cd41c8d046c0fb971b868d49c3e99bc9fed81d3d28e51a324cff720 13:38:56 $ docker rm -f 2a5b240a9cd41c8d046c0fb971b868d49c3e99bc9fed81d3d28e51a324cff720 [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 13:38:56 + git log --format=format:%s -1 6c956091e39ebf418aab18435948f90fcdb39d95 [Pipeline] sh 13:38:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:38:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:38:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:57 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:38:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:38:57 $ docker top 8cce765cbd5b7037429b3c49a5a2560e97c3d743110902fd1ffb216d158d14e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:38:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:38:58 [ssh-agent] Looking for ssh-agent implementation... 13:38:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:38:58 $ docker exec 8cce765cbd5b7037429b3c49a5a2560e97c3d743110902fd1ffb216d158d14e3 ssh-agent 13:38:58 SSH_AUTH_SOCK=/tmp/ssh-EGf4sP47RaSs/agent.32 13:38:58 SSH_AGENT_PID=39 13:38:58 Running ssh-add (command line suppressed) 13:38:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7475256685573809580.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7475256685573809580.key) 13:38:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:38:58 + git semver tag 13:38:58 2022-06-20 13:38:58,843 [run_tag] DEBUG tag force:False 13:38:58 2022-06-20 13:38:58,843 [check_head_tag] DEBUG check head tag 13:38:58 2022-06-20 13:38:58,843 [execute] INFO git cat-file --batch-check 13:38:58 2022-06-20 13:38:58,843 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:38:58 2022-06-20 13:38:58,847 [execute] INFO git cat-file --batch 13:38:58 2022-06-20 13:38:58,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:38:58 2022-06-20 13:38:58,852 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:38:58 2022-06-20 13:38:58,852 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 13:38:58 2022-06-20 13:38:58,852 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.4', '-m', 'v2.2.1-dev.4'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:38:58 2022-06-20 13:38:58,858 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:38:58 2.2.1-dev.4 [Pipeline] } 13:38:58 $ docker exec --env ******** --env ******** 8cce765cbd5b7037429b3c49a5a2560e97c3d743110902fd1ffb216d158d14e3 ssh-agent -k 13:38:59 unset SSH_AUTH_SOCK; 13:38:59 unset SSH_AGENT_PID; 13:38:59 echo Agent pid 39 killed; 13:38:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:38:59 + git semver [Pipeline] } 13:38:59 $ docker stop --time=1 8cce765cbd5b7037429b3c49a5a2560e97c3d743110902fd1ffb216d158d14e3 13:39:00 $ docker rm -f 8cce765cbd5b7037429b3c49a5a2560e97c3d743110902fd1ffb216d158d14e3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:39:01 13:39:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:39:01 0.23.1-centos7: Pulling from edgex-lftools 13:39:01 ab5ef0e58194: Pulling fs layer 13:39:01 9712f1f96733: Pulling fs layer 13:39:01 63f879dbbcfc: Pulling fs layer 13:39:01 0d9ebad4ef96: Pulling fs layer 13:39:01 e9a5061849ea: Pulling fs layer 13:39:01 d747dcd14b5f: Pulling fs layer 13:39:01 2de7ff778b66: Pulling fs layer 13:39:01 e9a5061849ea: Waiting 13:39:01 d747dcd14b5f: Waiting 13:39:01 2de7ff778b66: Waiting 13:39:01 0d9ebad4ef96: Waiting 13:39:01 9712f1f96733: Download complete 13:39:01 63f879dbbcfc: Verifying Checksum 13:39:02 63f879dbbcfc: Download complete 13:39:02 e9a5061849ea: Verifying Checksum 13:39:02 e9a5061849ea: Download complete 13:39:02 d747dcd14b5f: Verifying Checksum 13:39:02 d747dcd14b5f: Download complete 13:39:02 0d9ebad4ef96: Verifying Checksum 13:39:02 0d9ebad4ef96: Download complete 13:39:02 ab5ef0e58194: Verifying Checksum 13:39:02 ab5ef0e58194: Download complete 13:39:02 2de7ff778b66: Verifying Checksum 13:39:02 2de7ff778b66: Download complete 13:39:04 ab5ef0e58194: Pull complete 13:39:04 9712f1f96733: Pull complete 13:39:05 63f879dbbcfc: Pull complete 13:39:08 0d9ebad4ef96: Pull complete 13:39:09 e9a5061849ea: Pull complete 13:39:09 d747dcd14b5f: Pull complete 13:39:10 2de7ff778b66: Pull complete 13:39:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:39:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:10 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:39:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:39:13 $ docker top 3edd2c59d43e3926cc9dc0fbf4704e8113e18ef5cd4e202e9f44965ef984a1e8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:39:13 provisioning config files... 13:39:13 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5160857985079197080tmp 13:39:13 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7125057790730267657tmp 13:39:13 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config700632127050364019tmp [Pipeline] { [Pipeline] echo 13:39:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:39:13 ---> sigul-configuration.sh 13:39:13 gpg: directory `/root/.gnupg' created 13:39:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:39:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:39:13 gpg: keyring `/root/.gnupg/secring.gpg' created 13:39:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:39:13 gpg: CAST5 encrypted data 13:39:13 gpg: encrypted with 1 passphrase 13:39:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:39:13 + mkdir /home/jenkins 13:39:13 + mkdir /home/jenkins/sigul [Pipeline] sh 13:39:14 + 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 13:39:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:39:14 ---> sigul-install.sh 13:39:14 Sigul already installed; skipping installation. [Pipeline] sh 13:39:14 + git tag --list 13:39:14 v1.0.0 13:39:14 v1.1.0 13:39:14 v1.1.1 13:39:14 v1.2.1 13:39:14 v1.2.2 13:39:14 v1.2.3 13:39:14 v1.3.0 13:39:14 v1.3.1 13:39:14 v2.0.0 13:39:14 v2.1.0 13:39:14 v2.1.1 13:39:14 v2.1.1-dev.1 13:39:14 v2.1.1-dev.2 13:39:14 v2.2.0 13:39:14 v2.2.1-dev.1 13:39:14 v2.2.1-dev.2 13:39:14 v2.2.1-dev.3 13:39:14 v2.2.1-dev.4 [Pipeline] sh 13:39:14 + lftools sign git-tag v2.2.1-dev.4 13:39:15 Signing Git tag with Sigul... 13:39:15 Signing v2.2.1-dev.4 [Pipeline] echo 13:39:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:39:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:39:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:39:16 $ docker stop --time=1 3edd2c59d43e3926cc9dc0fbf4704e8113e18ef5cd4e202e9f44965ef984a1e8 13:39:17 $ docker rm -f 3edd2c59d43e3926cc9dc0fbf4704e8113e18ef5cd4e202e9f44965ef984a1e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:39:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:39:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:39:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:18 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:39:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:39:18 $ docker top 7480607edfef2c10a01bf163937852dc034c954a2dad3c26e41b5d672b917daa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:39:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:39:19 [ssh-agent] Looking for ssh-agent implementation... 13:39:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:39:19 $ docker exec 7480607edfef2c10a01bf163937852dc034c954a2dad3c26e41b5d672b917daa ssh-agent 13:39:19 SSH_AUTH_SOCK=/tmp/ssh-D8dNOWYm6dWL/agent.32 13:39:19 SSH_AGENT_PID=38 13:39:19 Running ssh-add (command line suppressed) 13:39:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7665975514320753460.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7665975514320753460.key) 13:39:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:39:19 + git semver bump pre 13:39:19 2022-06-20 13:39:19,934 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:39:19 2022-06-20 13:39:19,934 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev 13:39:19 2022-06-20 13:39:19,934 [bump_version] DEBUG bumped version:2.2.1-dev.5 13:39:19 2022-06-20 13:39:19,934 [write_version] DEBUG write version:2.2.1-dev.5 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 13:39:19 2022-06-20 13:39:19,934 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:39:19 2022-06-20 13:39:19,934 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:39:19 2022-06-20 13:39:19,936 [execute] INFO git cat-file --batch-check 13:39:19 2022-06-20 13:39:19,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:39:19 2022-06-20 13:39:19,941 [execute] INFO git cat-file --batch 13:39:19 2022-06-20 13:39:19,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:39:19 2022-06-20 13:39:19,946 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:39:19 2.2.1-dev.5 [Pipeline] } 13:39:20 $ docker exec --env ******** --env ******** 7480607edfef2c10a01bf163937852dc034c954a2dad3c26e41b5d672b917daa ssh-agent -k 13:39:20 unset SSH_AUTH_SOCK; 13:39:20 unset SSH_AGENT_PID; 13:39:20 echo Agent pid 38 killed; 13:39:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:39:20 + git semver [Pipeline] } 13:39:20 $ docker stop --time=1 7480607edfef2c10a01bf163937852dc034c954a2dad3c26e41b5d672b917daa 13:39:21 $ docker rm -f 7480607edfef2c10a01bf163937852dc034c954a2dad3c26e41b5d672b917daa [Pipeline] // withDockerContainer [Pipeline] sh 13:39:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:39:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:39:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:22 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:39:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:39:23 $ docker top 7ef5cb9f5b57b0f3898162c1dc83d880014bd7a2ac102b9631a57ad0d772b43f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:39:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:39:23 [ssh-agent] Looking for ssh-agent implementation... 13:39:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:39:23 $ docker exec 7ef5cb9f5b57b0f3898162c1dc83d880014bd7a2ac102b9631a57ad0d772b43f ssh-agent 13:39:23 SSH_AUTH_SOCK=/tmp/ssh-pVZezVlNlloj/agent.32 13:39:23 SSH_AGENT_PID=38 13:39:23 Running ssh-add (command line suppressed) 13:39:23 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8079851210903400051.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8079851210903400051.key) 13:39:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:39:23 + git semver push 13:39:24 2022-06-20 13:39:24,105 [run_push] DEBUG push 13:39:24 2022-06-20 13:39:24,106 [execute] INFO git cat-file --batch-check 13:39:24 2022-06-20 13:39:24,106 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:39:24 2022-06-20 13:39:24,109 [execute] INFO git rev-list 8847b4430f4d6ab75e3d05682ab6ed66dd7740fc -- 13:39:24 2022-06-20 13:39:24,109 [execute] DEBUG Popen(['git', 'rev-list', '8847b4430f4d6ab75e3d05682ab6ed66dd7740fc', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:39:24 2022-06-20 13:39:24,116 [execute] INFO git fetch -v origin 13:39:24 2022-06-20 13:39:24,116 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 13:39:24 2022-06-20 13:39:24,591 [run_push] DEBUG no remote changes detected 13:39:24 2022-06-20 13:39:24,591 [execute] INFO git push origin semver 13:39:24 2022-06-20 13:39:24,592 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:39:25 2022-06-20 13:39:25,434 [run_push] DEBUG push all version tags 13:39:25 2022-06-20 13:39:25,435 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:39:25 2022-06-20 13:39:25,435 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:39:26 2022-06-20 13:39:26,130 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:39:26 2.2.1-dev.5 [Pipeline] } 13:39:26 $ docker exec --env ******** --env ******** 7ef5cb9f5b57b0f3898162c1dc83d880014bd7a2ac102b9631a57ad0d772b43f ssh-agent -k 13:39:26 unset SSH_AUTH_SOCK; 13:39:26 unset SSH_AGENT_PID; 13:39:26 echo Agent pid 38 killed; 13:39:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:39:26 + git semver [Pipeline] } 13:39:27 $ docker stop --time=1 7ef5cb9f5b57b0f3898162c1dc83d880014bd7a2ac102b9631a57ad0d772b43f 13:39:28 $ docker rm -f 7ef5cb9f5b57b0f3898162c1dc83d880014bd7a2ac102b9631a57ad0d772b43f [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 13:39:28 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 13:39:28 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:39:28 total 16 13:39:28 drwxr-xr-x 3 root root 4096 Jun 20 13:31 . 13:39:28 drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 13:39 .. 13:39:28 drwxr-xr-x 2 root root 4096 Jun 20 13:31 cost 13:39:28 -rw-r--r-- 1 root root 87 Jun 20 13:31 cost.csv 13:39:28 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 13:39:28 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:39:28 total 16 13:39:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 13:31 . 13:39:28 drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 13:39 .. 13:39:28 drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 13:31 cost 13:39:28 -rw-r--r-- 1 jenkins jenkins 87 Jun 20 13:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:39:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:39:30 ---> package-listing.sh 13:39:30 ++ facter osfamily 13:39:30 ++ tr '[:upper:]' '[:lower:]' 13:39:30 + OS_FAMILY=debian 13:39:30 + workspace=/w/workspace/exfoundry_device-virtual-go_main 13:39:30 + START_PACKAGES=/tmp/packages_start.txt 13:39:30 + END_PACKAGES=/tmp/packages_end.txt 13:39:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:39:30 + PACKAGES=/tmp/packages_start.txt 13:39:30 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:39:30 + PACKAGES=/tmp/packages_end.txt 13:39:30 + case "${OS_FAMILY}" in 13:39:30 + dpkg -l 13:39:30 + grep '^ii' 13:39:30 + '[' -f /tmp/packages_start.txt ']' 13:39:30 + '[' -f /tmp/packages_end.txt ']' 13:39:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:39:30 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:39:30 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 13:39:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 13:39:30 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 13:39:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:39:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:31 prd-ubuntu20.04-docker-8c-8g-15162 does not seem to be running inside a container 13:39:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:39:31 $ docker top fd69acbf39233461d7b6d6820fa41f5403e45f2980ab1bb3e5dc185a357a74a6 -eo pid,comm [Pipeline] { [Pipeline] sh 13:39:31 + touch /tmp/pre-build-complete [Pipeline] sh 13:39:32 + mkdir -p /var/log/sysstat [Pipeline] sh 13:39:32 + ls /var/log/sa-host 13:39:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:39:32 provisioning config files... 13:39:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8401321376414850560tmp [Pipeline] { [Pipeline] echo 13:39:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:39:32 ---> create-netrc.sh [Pipeline] } 13:39:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:39:33 ---> python-tools-install.sh [Pipeline] echo 13:39:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:39:33 ---> sudo-logs.sh 13:39:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:39:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:39:33 ---> job-cost.sh 13:39:33 lf-activate-venv: SKIPPING 13:39:33 DEBUG: total: 0.2199999988079071 13:39:33 INFO: Retrieving Stack Cost... 13:39:34 INFO: Retrieving Pricing Info for: v3-standard-8 13:39:34 INFO: Archiving Costs [Pipeline] echo 13:39:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:39:34 ---> logs-deploy.sh 13:39:34 lf-activate-venv: SKIPPING 13:39:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/40 13:39:34 INFO: archiving workspace using pattern(s): 13:39:35 Archives upload complete. 13:39:35 INFO: archiving logs to Nexus