Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 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-ssh11909322572457894676.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh3958935119361425548.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh6433575314318833229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh6592909762392141346.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-ssh14408525777096921831.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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.18 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21758’ Running on prd-ubuntu20.04-docker-8c-8g-21760 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 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 (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 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 Commit message: "Merge pull request #297 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18" > git rev-list --no-walk a4c5e1680f302981d2a38419928a1399fd8860a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:16:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:16:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:16:58 ========================================================= 10:16:58 EdgeX Global Pipelines Version Info 10:16:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:16:59 ------------------- 10:16:59 stable info: 10:16:59 ------------------- 10:16:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:16:59 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:16:59 Message: update stable to v1.0.238 10:17:00 ------------------- 10:17:00 experimental info: 10:17:00 ------------------- 10:17:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:17:00 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 10:17:00 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [Pipeline] echo 10:17:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70ed2cb [Pipeline] echo 10:17:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:01 provisioning config files... 10:17:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5581904005496972597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:01 ---> docker-login.sh 10:17:01 nexus3.edgexfoundry.org:10001 10:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:01 Configure a credential helper to remove this warning. See 10:17:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:01 10:17:01 Login Succeeded 10:17:01 nexus3.edgexfoundry.org:10002 10:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:01 Configure a credential helper to remove this warning. See 10:17:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:01 10:17:01 Login Succeeded 10:17:01 nexus3.edgexfoundry.org:10003 10:17:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:02 Configure a credential helper to remove this warning. See 10:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:02 10:17:02 Login Succeeded 10:17:02 nexus3.edgexfoundry.org:10004 10:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:02 Configure a credential helper to remove this warning. See 10:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:02 10:17:02 Login Succeeded 10:17:02 docker.io 10:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:02 Configure a credential helper to remove this warning. See 10:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:02 10:17:02 Login Succeeded 10:17:02 ---> docker-login.sh ends [Pipeline] } 10:17:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:17:03 + git rev-list -1 --merges 70ed2cbc20e9aaf34c9bbafa882aad4cea533748~1..70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [Pipeline] echo 10:17:03 -----------> git rev-list -1 --merges 70ed2cbc20e9aaf34c9bbafa882aad4cea533748~1..70ed2cbc20e9aaf34c9bbafa882aad4cea533748 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:17:03 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [false] [Pipeline] sh 10:17:03 + git log --format=format:%s -1 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [Pipeline] echo 10:17:03 ========================================================= 10:17:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:17:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:17:03 + git log --format=format:%s -1 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [Pipeline] echo 10:17:03 [semverPrep] GIT_COMMIT: 70ed2cbc20e9aaf34c9bbafa882aad4cea533748, Commit Message: Merge pull request #297 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18 [Pipeline] echo 10:17:03 [semverPrep] This is not a build commit. [Pipeline] sh 10:17:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:17:04 + grep -v github /etc/ssh/ssh_known_hosts 10:17:04 + [ -e /tmp/ssh_known_hosts ] 10:17:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:17:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:17:04 + sudo tee -a /etc/ssh/ssh_known_hosts 10:17:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:17:04 10:17:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:17:04 0.1.4: Pulling from edgex-devops/py-git-semver 10:17:04 b85a868b505f: Pulling fs layer 10:17:04 e2be974225ed: Pulling fs layer 10:17:04 339a4e72a1f5: Pulling fs layer 10:17:04 988bab9f4d93: Pulling fs layer 10:17:04 1469e6f7b9e6: Pulling fs layer 10:17:04 988bab9f4d93: Waiting 10:17:04 1469e6f7b9e6: Waiting 10:17:04 eaf3925da568: Pulling fs layer 10:17:04 bab4dde63d76: Pulling fs layer 10:17:04 bde34c3a00c8: Pulling fs layer 10:17:04 bab4dde63d76: Waiting 10:17:04 eaf3925da568: Waiting 10:17:04 b352a97aabf1: Pulling fs layer 10:17:04 bde34c3a00c8: Waiting 10:17:04 4872d77fe225: Pulling fs layer 10:17:04 5851b861e8e6: Pulling fs layer 10:17:04 b352a97aabf1: Waiting 10:17:04 5851b861e8e6: Waiting 10:17:04 4872d77fe225: Waiting 10:17:04 e2be974225ed: Download complete 10:17:04 988bab9f4d93: Download complete 10:17:05 1469e6f7b9e6: Verifying Checksum 10:17:05 1469e6f7b9e6: Download complete 10:17:05 eaf3925da568: Verifying Checksum 10:17:05 eaf3925da568: Download complete 10:17:05 339a4e72a1f5: Verifying Checksum 10:17:05 339a4e72a1f5: Download complete 10:17:05 bde34c3a00c8: Download complete 10:17:05 b352a97aabf1: Verifying Checksum 10:17:05 b352a97aabf1: Download complete 10:17:05 4872d77fe225: Verifying Checksum 10:17:05 5851b861e8e6: Verifying Checksum 10:17:05 5851b861e8e6: Download complete 10:17:05 b85a868b505f: Verifying Checksum 10:17:05 b85a868b505f: Download complete 10:17:05 bab4dde63d76: Download complete 10:17:06 b85a868b505f: Pull complete 10:17:06 e2be974225ed: Pull complete 10:17:07 339a4e72a1f5: Pull complete 10:17:07 988bab9f4d93: Pull complete 10:17:07 1469e6f7b9e6: Pull complete 10:17:07 eaf3925da568: Pull complete 10:17:09 bab4dde63d76: Pull complete 10:17:10 bde34c3a00c8: Pull complete 10:17:10 b352a97aabf1: Pull complete 10:17:10 4872d77fe225: Pull complete 10:17:10 5851b861e8e6: Pull complete 10:17:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:17:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:17:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:10 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:17:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:17:12 $ docker top 8eb40e5d91e6309f921faf707b61fda7291997b727420e799fbc1af4f4c15881 -eo pid,comm 10:17:12 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). 10:17:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:17:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:17:12 [ssh-agent] Looking for ssh-agent implementation... 10:17:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:17:12 $ docker exec 8eb40e5d91e6309f921faf707b61fda7291997b727420e799fbc1af4f4c15881 ssh-agent 10:17:12 SSH_AUTH_SOCK=/tmp/ssh-cjDgZEAtCN5C/agent.34 10:17:12 SSH_AGENT_PID=40 10:17:12 Running ssh-add (command line suppressed) 10:17:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5715397405381835167.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5715397405381835167.key) 10:17:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:17:12 + git tag --points-at HEAD [Pipeline] } 10:17:12 $ docker exec --env ******** --env ******** 8eb40e5d91e6309f921faf707b61fda7291997b727420e799fbc1af4f4c15881 ssh-agent -k 10:17:13 unset SSH_AUTH_SOCK; 10:17:13 unset SSH_AGENT_PID; 10:17:13 echo Agent pid 40 killed; 10:17:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:17:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:17:13 [ssh-agent] Looking for ssh-agent implementation... 10:17:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:17:13 $ docker exec 8eb40e5d91e6309f921faf707b61fda7291997b727420e799fbc1af4f4c15881 ssh-agent 10:17:13 SSH_AUTH_SOCK=/tmp/ssh-yrZ8LbaNXWXW/agent.73 10:17:13 SSH_AGENT_PID=79 10:17:13 Running ssh-add (command line suppressed) 10:17:13 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3027446602263549025.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3027446602263549025.key) 10:17:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:17:13 + git semver init 10:17:14 2022-08-02 10:17:14,029 [run_init] DEBUG init version:0.0.0 force:False 10:17:14 2022-08-02 10:17:14,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 10:17:14 2022-08-02 10:17:14,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 10:17:14 2022-08-02 10:17:14,030 [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) 10:17:15 2022-08-02 10:17:15,015 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 10:17:15 2022-08-02 10:17:15,015 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 10:17:15 2022-08-02 10:17:15,015 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:17:15 2022-08-02 10:17:15,016 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:17:15 2.3.0-dev.9 [Pipeline] } 10:17:15 $ docker exec --env ******** --env ******** 8eb40e5d91e6309f921faf707b61fda7291997b727420e799fbc1af4f4c15881 ssh-agent -k 10:17:15 unset SSH_AUTH_SOCK; 10:17:15 unset SSH_AGENT_PID; 10:17:15 echo Agent pid 79 killed; 10:17:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:17:15 + git semver [Pipeline] } 10:17:16 $ docker stop --time=1 8eb40e5d91e6309f921faf707b61fda7291997b727420e799fbc1af4f4c15881 10:17:17 $ docker rm -f 8eb40e5d91e6309f921faf707b61fda7291997b727420e799fbc1af4f4c15881 [Pipeline] // withDockerContainer [Pipeline] sh 10:17:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:17:17 Stashed 1 file(s) [Pipeline] echo 10:17:17 [edgeXSemver]: initialized semver on version 2.3.0-dev.9 [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 10:17:18 provisioning config files... 10:17:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4546071052817509596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:18 ---> docker-login.sh 10:17:18 nexus3.edgexfoundry.org:10001 10:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:18 Configure a credential helper to remove this warning. See 10:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:18 10:17:18 Login Succeeded 10:17:18 nexus3.edgexfoundry.org:10002 10:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:18 Configure a credential helper to remove this warning. See 10:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:18 10:17:18 Login Succeeded 10:17:18 nexus3.edgexfoundry.org:10003 10:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:18 Configure a credential helper to remove this warning. See 10:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:18 10:17:18 Login Succeeded 10:17:18 nexus3.edgexfoundry.org:10004 10:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:18 Configure a credential helper to remove this warning. See 10:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:18 10:17:18 Login Succeeded 10:17:18 docker.io 10:17:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:17:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:17:19 Configure a credential helper to remove this warning. See 10:17:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:17:19 10:17:19 Login Succeeded 10:17:19 ---> docker-login.sh ends [Pipeline] } 10:17:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:17:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:17:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:17:19 ========================================================= 10:17:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:17:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:17:19 Sending build context to Docker daemon 23.07MB 10:17:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 10:17:19 Step 2/12 : FROM ${BASE} AS builder 10:17:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:17:20 2408cc74d12b: Pulling fs layer 10:17:20 ea60b727a1ce: Pulling fs layer 10:17:20 30c4a7721957: Pulling fs layer 10:17:20 370296b7ddb6: Pulling fs layer 10:17:20 7c6cee850709: Pulling fs layer 10:17:20 39a5fcdaea64: Pulling fs layer 10:17:20 d94ebbe4e438: Pulling fs layer 10:17:20 bcfd1f05c69d: Pulling fs layer 10:17:20 59ccb84bbe0f: Pulling fs layer 10:17:20 7c6cee850709: Waiting 10:17:20 370296b7ddb6: Waiting 10:17:20 39a5fcdaea64: Waiting 10:17:20 bcfd1f05c69d: Waiting 10:17:20 d94ebbe4e438: Waiting 10:17:20 59ccb84bbe0f: Waiting 10:17:20 30c4a7721957: Verifying Checksum 10:17:20 30c4a7721957: Download complete 10:17:20 ea60b727a1ce: Verifying Checksum 10:17:20 ea60b727a1ce: Download complete 10:17:20 7c6cee850709: Download complete 10:17:20 39a5fcdaea64: Download complete 10:17:20 2408cc74d12b: Verifying Checksum 10:17:20 2408cc74d12b: Download complete 10:17:20 d94ebbe4e438: Download complete 10:17:20 2408cc74d12b: Pull complete 10:17:20 ea60b727a1ce: Pull complete 10:17:20 30c4a7721957: Pull complete 10:17:20 59ccb84bbe0f: Verifying Checksum 10:17:20 59ccb84bbe0f: Download complete 10:17:20 bcfd1f05c69d: Verifying Checksum 10:17:20 bcfd1f05c69d: Download complete 10:17:20 370296b7ddb6: Verifying Checksum 10:17:20 370296b7ddb6: Download complete 10:17:26 370296b7ddb6: Pull complete 10:17:26 7c6cee850709: Pull complete 10:17:26 39a5fcdaea64: Pull complete 10:17:26 d94ebbe4e438: Pull complete 10:17:28 bcfd1f05c69d: Pull complete 10:17:28 59ccb84bbe0f: Pull complete 10:17:28 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 10:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:17:28 ---> a4fb48ad2a94 10:17:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:17:30 ---> Running in 2db5fc751c4e 10:17:30 Removing intermediate container 2db5fc751c4e 10:17:30 ---> 9c0cbd9e2daa 10:17:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:17:30 ---> Running in 81feabdbf204 10:17:30 Removing intermediate container 81feabdbf204 10:17:30 ---> 453b752c0099 10:17:30 Step 5/12 : WORKDIR /device-virtual-go 10:17:30 ---> Running in 962d19435566 10:17:30 Removing intermediate container 962d19435566 10:17:30 ---> 40facb9491a2 10:17:30 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:30 ---> Running in 05bd7cd60f8e 10:17:31 Removing intermediate container 05bd7cd60f8e 10:17:31 ---> d861e79ae351 10:17:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:17:31 ---> Running in 56e1684c62ec 10:17:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:17:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:17:32 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:17:32 (2/4) Installing libedit (20210910.3.1-r0) 10:17:32 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:17:33 Still waiting to schedule task 10:17:33 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21759’ 10:17:33 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:17:33 Executing busybox-1.35.0-r13.trigger 10:17:33 OK: 216 MiB in 55 packages 10:17:33 Removing intermediate container 56e1684c62ec 10:17:33 ---> bc650c29fc19 10:17:33 Step 8/12 : COPY go.mod vendor* ./ 10:17:34 ---> 5c33a4cb4ec4 10:17:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:17:34 ---> Running in 563a9f35ca38 10:17:56 Removing intermediate container 563a9f35ca38 10:17:56 ---> 024b45bf92cf 10:17:56 Step 10/12 : COPY . . 10:17:56 ---> 5f50bada250a 10:17:56 Step 11/12 : ARG MAKE='make build' 10:17:56 ---> Running in e3fe85d7f8f0 10:17:56 Removing intermediate container e3fe85d7f8f0 10:17:56 ---> 67d2724ef9ed 10:17:56 Step 12/12 : RUN $MAKE 10:17:56 ---> Running in b2190a5ee1ef 10:17:56 noop 10:17:56 Removing intermediate container b2190a5ee1ef 10:17:56 ---> 4e26f89cc3da 10:17:56 Successfully built 4e26f89cc3da 10:17:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:56 + docker inspect -f . ci-base-image-x86_64 10:17:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:56 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:17:57 $ docker top 735aaaa47687251f0f0209c52c854f9666b824223d27405e60ffc2c50c5f2e60 -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:57 + go version 10:17:57 go version go1.18.3 linux/amd64 [Pipeline] } 10:17:57 $ docker stop --time=1 735aaaa47687251f0f0209c52c854f9666b824223d27405e60ffc2c50c5f2e60 10:17:58 $ docker rm -f 735aaaa47687251f0f0209c52c854f9666b824223d27405e60ffc2c50c5f2e60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:59 + docker inspect -f . ci-base-image-x86_64 10:17:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:59 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:17:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:17:59 $ docker top 3f66992adaaf72ee00d9bcd5cdc4bf3cca5488d3f972ee8ee136f5ebab772314 -eo pid,comm [Pipeline] { [Pipeline] sh 10:18:00 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 10:18:00 + make test 10:18:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:18:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:18:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:18:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements 10:18:19 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 10:18:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:18:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:18:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:18:22 ./bin/test-attribution-txt.sh 10:18:22 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 10:18:22 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 10:18:22 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 10:18:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:18:22 $ docker stop --time=1 3f66992adaaf72ee00d9bcd5cdc4bf3cca5488d3f972ee8ee136f5ebab772314 10:18:24 $ docker rm -f 3f66992adaaf72ee00d9bcd5cdc4bf3cca5488d3f972ee8ee136f5ebab772314 [Pipeline] // withDockerContainer [Pipeline] sh 10:18:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:18:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:18:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:18:25 + ls -al . 10:18:25 total 192 10:18:25 drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 10:18 . 10:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 10:16 .. 10:18:25 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 10:18 .git 10:18:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:16 .github 10:18:25 -rw-rw-r-- 1 jenkins jenkins 337 Aug 2 10:16 .gitignore 10:18:25 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 10:16 .golangci.yml 10:18:25 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 10:17 .semver 10:18:25 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 2 10:16 Attribution.txt 10:18:25 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 2 10:16 CHANGELOG.md 10:18:25 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 2 10:16 Dockerfile 10:18:25 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 10:16 GOVERNANCE.md 10:18:25 -rw-rw-r-- 1 jenkins jenkins 660 Aug 2 10:16 Jenkinsfile 10:18:25 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 10:16 LICENSE 10:18:25 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 2 10:16 Makefile 10:18:25 -rw-rw-r-- 1 jenkins jenkins 623 Aug 2 10:16 OWNERS.md 10:18:25 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 2 10:16 README.md 10:18:25 -rw-rw-r-- 1 jenkins jenkins 11 Aug 2 10:17 VERSION 10:18:25 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 10:16 bin 10:18:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:16 cmd 10:18:25 -rw-r--r-- 1 jenkins jenkins 44128 Aug 2 10:18 coverage.out 10:18:25 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 2 10:16 go.mod 10:18:25 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 2 10:16 go.sum 10:18:25 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:16 internal 10:18:25 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 10:16 snap 10:18:25 -rw-rw-r-- 1 jenkins jenkins 235 Aug 2 10:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:25 + 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=70ed2cbc20e9aaf34c9bbafa882aad4cea533748 --label arch=amd64 --label version=2.3.0-dev.9 . 10:18:25 Sending build context to Docker daemon 23.11MB 10:18:25 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:18:25 Step 2/26 : FROM ${BASE} AS builder 10:18:25 ---> 4e26f89cc3da 10:18:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:18:26 ---> Running in 2942d1ae9428 10:18:26 Removing intermediate container 2942d1ae9428 10:18:26 ---> f2b3fd893b9a 10:18:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:18:26 ---> Running in 37ae84b00225 10:18:26 Removing intermediate container 37ae84b00225 10:18:26 ---> f6fde25e8b00 10:18:26 Step 5/26 : WORKDIR /device-virtual-go 10:18:26 ---> Running in 7942d779bf4b 10:18:26 Removing intermediate container 7942d779bf4b 10:18:26 ---> 921e5cb05734 10:18:26 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:18:26 ---> Running in bce332530317 10:18:27 Removing intermediate container bce332530317 10:18:27 ---> bd3a82c48bea 10:18:27 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:18:27 ---> Running in 3bdc1c5424c2 10:18:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:18:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:18:28 OK: 216 MiB in 55 packages 10:18:29 Removing intermediate container 3bdc1c5424c2 10:18:29 ---> a640d99bc400 10:18:29 Step 8/26 : COPY go.mod vendor* ./ 10:18:29 ---> fe8f2077d143 10:18:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:18:29 ---> Running in 7bcca30ce85e 10:18:29 Removing intermediate container 7bcca30ce85e 10:18:29 ---> 46e0617d12fc 10:18:29 Step 10/26 : COPY . . 10:18:30 ---> 70f0c608462a 10:18:30 Step 11/26 : ARG MAKE='make build' 10:18:30 ---> Running in 799679dab72d 10:18:30 Removing intermediate container 799679dab72d 10:18:30 ---> 0f0f7d8ca6f1 10:18:30 Step 12/26 : RUN $MAKE 10:18:30 ---> Running in a61a801f28b2 10:18:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 10:18:52 Removing intermediate container a61a801f28b2 10:18:52 ---> 69433644b1a5 10:18:52 Step 13/26 : FROM alpine:3.16 10:18:52 3.16: Pulling from library/alpine 10:18:52 530afca65e2e: Pulling fs layer 10:18:52 530afca65e2e: Verifying Checksum 10:18:52 530afca65e2e: Download complete 10:18:52 530afca65e2e: Pull complete 10:18:52 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 10:18:52 Status: Downloaded newer image for alpine:3.16 10:18:52 ---> d7d3d98c851f 10:18:52 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:18:52 ---> Running in 3c7a29188645 10:18:52 Removing intermediate container 3c7a29188645 10:18:52 ---> a715ff1c93d5 10:18:52 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:18:53 ---> Running in bd9dfa92ee9e 10:18:53 Removing intermediate container bd9dfa92ee9e 10:18:53 ---> adf1739c8f69 10:18:53 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:18:53 ---> Running in fc5c55385cf7 10:18:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:18:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:18:55 (1/6) Installing dumb-init (1.2.5-r1) 10:18:55 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:18:55 (3/6) Installing libsodium (1.0.18-r0) 10:18:55 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:18:55 (5/6) Installing libzmq (4.3.4-r0) 10:18:55 (6/6) Installing zeromq (4.3.4-r0) 10:18:55 Executing busybox-1.35.0-r15.trigger 10:18:55 OK: 8 MiB in 20 packages 10:18:56 Removing intermediate container fc5c55385cf7 10:18:56 ---> 861dbf7ed36a 10:18:56 Step 17/26 : WORKDIR / 10:18:56 ---> Running in 9ecd8a1722d5 10:18:56 Removing intermediate container 9ecd8a1722d5 10:18:56 ---> 52fa57642ab4 10:18:56 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:18:56 ---> 0f15cfa610b9 10:18:56 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 10:18:56 ---> 0fad32502fcd 10:18:56 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 10:18:57 ---> 85c571889c01 10:18:57 Step 21/26 : EXPOSE 59900 10:18:57 ---> Running in 4e6c2abed941 10:18:57 Removing intermediate container 4e6c2abed941 10:18:57 ---> dc4494891e9f 10:18:57 Step 22/26 : ENTRYPOINT ["/device-virtual"] 10:18:57 ---> Running in 20770248759f 10:18:57 Removing intermediate container 20770248759f 10:18:57 ---> f0b4ffa9da11 10:18:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:18:57 ---> Running in bd5480b89adb 10:18:57 Removing intermediate container bd5480b89adb 10:18:57 ---> 98161e86fdad 10:18:57 Step 24/26 : LABEL arch=amd64 10:18:57 ---> Running in a363631d679a 10:18:57 Removing intermediate container a363631d679a 10:18:57 ---> 292fe95d45bb 10:18:57 Step 25/26 : LABEL git_sha=70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:18:57 ---> Running in db5031377bcc 10:18:57 Removing intermediate container db5031377bcc 10:18:57 ---> 49eebdc24d8f 10:18:57 Step 26/26 : LABEL version=2.3.0-dev.9 10:18:58 ---> Running in 44d7651887f6 10:18:58 Removing intermediate container 44d7651887f6 10:18:58 ---> 3a6709f93989 10:18:58 [Warning] One or more build-args [ARCH] were not consumed 10:18:58 Successfully built 3a6709f93989 10:18:58 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:58 provisioning config files... 10:18:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config908470540259319387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:58 ---> docker-login.sh 10:18:58 nexus3.edgexfoundry.org:10001 10:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:58 Configure a credential helper to remove this warning. See 10:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:58 10:18:58 Login Succeeded 10:18:58 nexus3.edgexfoundry.org:10002 10:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:58 Configure a credential helper to remove this warning. See 10:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:58 10:18:58 Login Succeeded 10:18:58 nexus3.edgexfoundry.org:10003 10:18:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:58 Configure a credential helper to remove this warning. See 10:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:58 10:18:58 Login Succeeded 10:18:58 nexus3.edgexfoundry.org:10004 10:18:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:59 Configure a credential helper to remove this warning. See 10:18:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:59 10:18:59 Login Succeeded 10:18:59 docker.io 10:18:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:18:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:18:59 Configure a credential helper to remove this warning. See 10:18:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:18:59 10:18:59 Login Succeeded 10:18:59 ---> docker-login.sh ends [Pipeline] } 10:18:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:18:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:18:59 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 10:18:59 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:18:59 latest 10:18:59 2.3.0-dev.9 10:18:59 70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9 10:18:59 main 10:18:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:18:59 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual:70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:19:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:19:00 54110f35bd6a: Preparing 10:19:00 49cc21c1a14c: Preparing 10:19:00 9cd58bbce408: Preparing 10:19:00 f0922a4783b8: Preparing 10:19:00 ce4c261cb29f: Preparing 10:19:00 ec34fcc1d526: Preparing 10:19:00 ec34fcc1d526: Waiting 10:19:00 ce4c261cb29f: Pushed 10:19:00 9cd58bbce408: Pushed 10:19:00 49cc21c1a14c: Pushed 10:19:00 ec34fcc1d526: Layer already exists 10:19:00 f0922a4783b8: Pushed 10:19:02 54110f35bd6a: Pushed 10:19:02 70ed2cbc20e9aaf34c9bbafa882aad4cea533748: digest: sha256:0177a382d7eda0859ad100542e29b3c055a549b46c681df9004f8c4a04143655 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:03 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 10:19:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:19:03 54110f35bd6a: Preparing 10:19:03 49cc21c1a14c: Preparing 10:19:03 9cd58bbce408: Preparing 10:19:03 f0922a4783b8: Preparing 10:19:03 ce4c261cb29f: Preparing 10:19:03 ec34fcc1d526: Preparing 10:19:03 ec34fcc1d526: Waiting 10:19:03 f0922a4783b8: Layer already exists 10:19:03 ce4c261cb29f: Layer already exists 10:19:03 9cd58bbce408: Layer already exists 10:19:03 49cc21c1a14c: Layer already exists 10:19:03 54110f35bd6a: Layer already exists 10:19:03 ec34fcc1d526: Layer already exists 10:19:03 latest: digest: sha256:0177a382d7eda0859ad100542e29b3c055a549b46c681df9004f8c4a04143655 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:03 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.9 10:19:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:19:04 54110f35bd6a: Preparing 10:19:04 49cc21c1a14c: Preparing 10:19:04 9cd58bbce408: Preparing 10:19:04 f0922a4783b8: Preparing 10:19:04 ce4c261cb29f: Preparing 10:19:04 ec34fcc1d526: Preparing 10:19:04 ec34fcc1d526: Waiting 10:19:04 49cc21c1a14c: Layer already exists 10:19:04 9cd58bbce408: Layer already exists 10:19:04 54110f35bd6a: Layer already exists 10:19:04 ce4c261cb29f: Layer already exists 10:19:04 f0922a4783b8: Layer already exists 10:19:04 ec34fcc1d526: Layer already exists 10:19:04 2.3.0-dev.9: digest: sha256:0177a382d7eda0859ad100542e29b3c055a549b46c681df9004f8c4a04143655 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:04 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual:70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9 10:19:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:19:04 54110f35bd6a: Preparing 10:19:04 49cc21c1a14c: Preparing 10:19:04 9cd58bbce408: Preparing 10:19:04 f0922a4783b8: Preparing 10:19:04 ce4c261cb29f: Preparing 10:19:04 ec34fcc1d526: Preparing 10:19:04 ec34fcc1d526: Waiting 10:19:04 54110f35bd6a: Layer already exists 10:19:04 49cc21c1a14c: Layer already exists 10:19:04 ce4c261cb29f: Layer already exists 10:19:04 f0922a4783b8: Layer already exists 10:19:04 9cd58bbce408: Layer already exists 10:19:04 ec34fcc1d526: Layer already exists 10:19:04 70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9: digest: sha256:0177a382d7eda0859ad100542e29b3c055a549b46c681df9004f8c4a04143655 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:05 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 10:19:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 10:19:05 54110f35bd6a: Preparing 10:19:05 49cc21c1a14c: Preparing 10:19:05 9cd58bbce408: Preparing 10:19:05 f0922a4783b8: Preparing 10:19:05 ce4c261cb29f: Preparing 10:19:05 ec34fcc1d526: Preparing 10:19:05 ec34fcc1d526: Waiting 10:19:05 9cd58bbce408: Layer already exists 10:19:05 49cc21c1a14c: Layer already exists 10:19:05 54110f35bd6a: Layer already exists 10:19:05 f0922a4783b8: Layer already exists 10:19:05 ce4c261cb29f: Layer already exists 10:19:05 ec34fcc1d526: Layer already exists 10:19:05 main: digest: sha256:0177a382d7eda0859ad100542e29b3c055a549b46c681df9004f8c4a04143655 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:05 ===================================================== [Pipeline] echo 10:19:05 taggedImages: 10:19:05 - nexus3.edgexfoundry.org:10004/device-virtual:70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:19:05 - nexus3.edgexfoundry.org:10004/device-virtual:latest 10:19:05 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.9 10:19:05 - nexus3.edgexfoundry.org:10004/device-virtual:70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9 10:19:05 - 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 10:19:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:19:05 10:19:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:19:06 latest: Pulling from edgex-lftools-log-publisher 10:19:06 5eb5b503b376: Pulling fs layer 10:19:06 5c69ac0246d0: Pulling fs layer 10:19:06 ec43610c2a17: Pulling fs layer 10:19:06 3a2ae6a8a46f: Pulling fs layer 10:19:06 33b1e0a273af: Pulling fs layer 10:19:06 5d3b04190fa2: Pulling fs layer 10:19:06 2f39f015ded8: Pulling fs layer 10:19:06 3a2ae6a8a46f: Waiting 10:19:06 33b1e0a273af: Waiting 10:19:06 5d3b04190fa2: Waiting 10:19:06 2f39f015ded8: Waiting 10:19:06 5c69ac0246d0: Download complete 10:19:06 3a2ae6a8a46f: Verifying Checksum 10:19:06 3a2ae6a8a46f: Download complete 10:19:06 33b1e0a273af: Verifying Checksum 10:19:06 33b1e0a273af: Download complete 10:19:06 5d3b04190fa2: Verifying Checksum 10:19:06 5d3b04190fa2: Download complete 10:19:06 ec43610c2a17: Verifying Checksum 10:19:06 ec43610c2a17: Download complete 10:19:06 5eb5b503b376: Verifying Checksum 10:19:06 5eb5b503b376: Download complete 10:19:07 2f39f015ded8: Download complete 10:19:08 5eb5b503b376: Pull complete 10:19:08 5c69ac0246d0: Pull complete 10:19:08 ec43610c2a17: Pull complete 10:19:08 3a2ae6a8a46f: Pull complete 10:19:08 33b1e0a273af: Pull complete 10:19:08 5d3b04190fa2: Pull complete 10:19:14 2f39f015ded8: Pull complete 10:19:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:19:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:19:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:14 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:19:16 $ docker top 2c4f28b22daac0fdc2f099e1af477f8471683ad67250deb737c2cefbdce8cbda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:16 ---> job-cost.sh 10:19:16 lf-activate-venv: SKIPPING 10:19:16 INFO: No Stack... 10:19:16 INFO: Retrieving Pricing Info for: v3-standard-8 10:19:17 INFO: Archiving Costs [Pipeline] sh 10:19:17 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 10:19:17 + cut -d, -f6 [Pipeline] lock 10:19:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-45-stack-cost] 10:19:17 Resource [jenkins-edgexfoundry-device-virtual-go-main-45-stack-cost] did not exist. Created. 10:19:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:19:18 + echo total: 0.2199999988079071 [Pipeline] stash 10:19:18 Stashed 1 file(s) [Pipeline] } 10:19:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 10:19:18 $ docker stop --time=1 2c4f28b22daac0fdc2f099e1af477f8471683ad67250deb737c2cefbdce8cbda 10:19:19 $ docker rm -f 2c4f28b22daac0fdc2f099e1af477f8471683ad67250deb737c2cefbdce8cbda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:19:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21761 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 10:19:27 Running in /w/workspace/device-virtual-go/45 [Pipeline] { [Pipeline] checkout 10:19:27 The recommended git tool is: git 10:19:33 using credential edgex-jenkins-ssh 10:19:33 Cloning the remote Git repository 10:19:33 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 10:19:33 > git init /w/workspace/device-virtual-go/45 # timeout=10 10:19:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 10:19:34 > git --version # timeout=10 10:19:34 > git --version # 'git version 2.25.1' 10:19:34 using GIT_SSH to set credentials SSH Credentials for GitHub 10:19:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:19:36 Avoid second fetch 10:19:36 Checking out Revision 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 (main) 10:19:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 10:19:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:19:36 > git config core.sparsecheckout # timeout=10 10:19:36 > git checkout -f 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 # timeout=10 10:19:40 Commit message: "Merge pull request #297 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:19:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:19:41 % Total % Received % Xferd Average Speed Time Time Time Current 10:19:41 Dload Upload Total Spent Left Speed 10:19:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 10:19:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:19:42 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:19:42 sudo tee /etc/docker/daemon.new 10:19:42 { 10:19:42 "registry-mirrors": [ 10:19:42 "https://nexus3.edgexfoundry.org:10001" 10:19:42 ], 10:19:42 "bip": "10.250.0.254/24", 10:19:42 "hosts": [ 10:19:42 "tcp://0.0.0.0:5555", 10:19:42 "unix:///var/run/docker.sock" 10:19:42 ], 10:19:42 "mtu": 1458, 10:19:42 "selinux-enabled": true, 10:19:42 "seccomp-profile": "/etc/docker/seccomp.json" 10:19:42 } [Pipeline] sh 10:19:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:19:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:01 provisioning config files... 10:20:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/45@tmp/config8690423750593022684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:01 ---> docker-login.sh 10:20:01 nexus3.edgexfoundry.org:10001 10:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:02 Configure a credential helper to remove this warning. See 10:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:02 10:20:02 Login Succeeded 10:20:02 nexus3.edgexfoundry.org:10002 10:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:02 Configure a credential helper to remove this warning. See 10:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:02 10:20:02 Login Succeeded 10:20:02 nexus3.edgexfoundry.org:10003 10:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:03 Configure a credential helper to remove this warning. See 10:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:03 10:20:03 Login Succeeded 10:20:03 nexus3.edgexfoundry.org:10004 10:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:03 Configure a credential helper to remove this warning. See 10:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:03 10:20:03 Login Succeeded 10:20:03 docker.io 10:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:20:04 Configure a credential helper to remove this warning. See 10:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:20:04 10:20:04 Login Succeeded 10:20:04 ---> docker-login.sh ends [Pipeline] } 10:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:20:05 ========================================================= 10:20:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:20:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 10:20:05 Sending build context to Docker daemon 11.67MB 10:20:05 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 10:20:05 Step 2/12 : FROM ${BASE} AS builder 10:20:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:20:06 b3c136eddcbf: Pulling fs layer 10:20:06 c0a3192eca97: Pulling fs layer 10:20:06 a050256f5b6f: Pulling fs layer 10:20:06 656be50a0ddc: Pulling fs layer 10:20:06 2bbca73fdf42: Pulling fs layer 10:20:06 46d945488cbd: Pulling fs layer 10:20:06 8a5474983e97: Pulling fs layer 10:20:06 329c88fbcd65: Pulling fs layer 10:20:06 46d945488cbd: Waiting 10:20:06 656be50a0ddc: Waiting 10:20:06 2bbca73fdf42: Waiting 10:20:06 8a5474983e97: Waiting 10:20:06 329c88fbcd65: Waiting 10:20:06 a050256f5b6f: Verifying Checksum 10:20:06 a050256f5b6f: Download complete 10:20:06 c0a3192eca97: Verifying Checksum 10:20:06 c0a3192eca97: Download complete 10:20:06 2bbca73fdf42: Download complete 10:20:06 46d945488cbd: Verifying Checksum 10:20:06 46d945488cbd: Download complete 10:20:06 b3c136eddcbf: Verifying Checksum 10:20:06 b3c136eddcbf: Download complete 10:20:07 b3c136eddcbf: Pull complete 10:20:07 329c88fbcd65: Verifying Checksum 10:20:07 329c88fbcd65: Download complete 10:20:07 c0a3192eca97: Pull complete 10:20:08 a050256f5b6f: Pull complete 10:20:08 8a5474983e97: Verifying Checksum 10:20:08 8a5474983e97: Download complete 10:20:09 656be50a0ddc: Verifying Checksum 10:20:09 656be50a0ddc: Download complete 10:20:21 656be50a0ddc: Pull complete 10:20:21 2bbca73fdf42: Pull complete 10:20:22 46d945488cbd: Pull complete 10:20:28 8a5474983e97: Pull complete 10:20:30 329c88fbcd65: Pull complete 10:20:30 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 10:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:20:30 ---> ff4287adb874 10:20:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:20:31 ---> Running in bf815a892182 10:20:31 Removing intermediate container bf815a892182 10:20:31 ---> a7f07d89c6c2 10:20:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:20:31 ---> Running in 72a69a07c6c2 10:20:32 Removing intermediate container 72a69a07c6c2 10:20:32 ---> 81ab70a2ef82 10:20:32 Step 5/12 : WORKDIR /device-virtual-go 10:20:32 ---> Running in ccf1a800d7e7 10:20:32 Removing intermediate container ccf1a800d7e7 10:20:32 ---> 5ad371e32d2f 10:20:32 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:20:32 ---> Running in d99413775b10 10:20:36 Removing intermediate container d99413775b10 10:20:36 ---> 25076d562a75 10:20:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:20:36 ---> Running in 8149f64df813 10:20:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:20:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:20:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:20:38 (2/4) Installing libedit (20210910.3.1-r0) 10:20:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:20:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:20:38 Executing busybox-1.35.0-r13.trigger 10:20:38 OK: 226 MiB in 55 packages 10:20:39 Removing intermediate container 8149f64df813 10:20:39 ---> 7c3e06156131 10:20:39 Step 8/12 : COPY go.mod vendor* ./ 10:20:40 ---> 71c385f153ca 10:20:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:20:40 ---> Running in c4c3b1cece6e 10:21:27 Removing intermediate container c4c3b1cece6e 10:21:27 ---> 9b936f09713d 10:21:27 Step 10/12 : COPY . . 10:21:27 ---> c41e40f50bde 10:21:27 Step 11/12 : ARG MAKE='make build' 10:21:27 ---> Running in 226a401d2d75 10:21:28 Removing intermediate container 226a401d2d75 10:21:28 ---> 70f232ec6e02 10:21:28 Step 12/12 : RUN $MAKE 10:21:28 ---> Running in f8fa817bbf6e 10:21:29 noop 10:21:29 Removing intermediate container f8fa817bbf6e 10:21:29 ---> 6c93104d3b53 10:21:29 Successfully built 6c93104d3b53 10:21:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:30 + docker inspect -f . ci-base-image-arm64 10:21:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:30 prd-ubuntu20.04-docker-arm64-4c-16g-21761 does not seem to be running inside a container 10:21:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/45 -v /w/workspace/device-virtual-go/45:/w/workspace/device-virtual-go/45:rw,z -v /w/workspace/device-virtual-go/45@tmp:/w/workspace/device-virtual-go/45@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 10:21:31 $ docker top 114d5c99f01b59f0831328249d82eec069dfe814085a1a3b30f89da43dbaf3a9 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:32 + go version 10:21:32 go version go1.18.3 linux/arm64 [Pipeline] } 10:21:32 $ docker stop --time=1 114d5c99f01b59f0831328249d82eec069dfe814085a1a3b30f89da43dbaf3a9 10:21:34 $ docker rm -f 114d5c99f01b59f0831328249d82eec069dfe814085a1a3b30f89da43dbaf3a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:34 + docker inspect -f . ci-base-image-arm64 10:21:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:35 prd-ubuntu20.04-docker-arm64-4c-16g-21761 does not seem to be running inside a container 10:21:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/45 -v /w/workspace/device-virtual-go/45:/w/workspace/device-virtual-go/45:rw,z -v /w/workspace/device-virtual-go/45@tmp:/w/workspace/device-virtual-go/45@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 10:21:36 $ docker top fd55c3928dc639e3898fd47cb368c8c026e67fbb6ca34e3799a23c96b612f131 -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/45 [Pipeline] fileExists [Pipeline] sh 10:21:38 + make test 10:21:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:21:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:23:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:23:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements 10:23:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:23:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:23:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:23:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:23:16 ./bin/test-attribution-txt.sh 10:23:16 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 10:23:16 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 10:23:16 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 10:23:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:23:16 $ docker stop --time=1 fd55c3928dc639e3898fd47cb368c8c026e67fbb6ca34e3799a23c96b612f131 10:23:18 $ docker rm -f fd55c3928dc639e3898fd47cb368c8c026e67fbb6ca34e3799a23c96b612f131 [Pipeline] // withDockerContainer [Pipeline] sh 10:23:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:23:19 Warning: overwriting stash ‘coverage-report’ 10:23:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:23:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:23:20 + ls -al . 10:23:20 total 188 10:23:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 10:21 . 10:23:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 10:19 .. 10:23:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 10:19 .git 10:23:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:19 .github 10:23:20 -rw-rw-r-- 1 jenkins jenkins 337 Aug 2 10:19 .gitignore 10:23:20 -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 10:19 .golangci.yml 10:23:20 -rw-rw-r-- 1 jenkins jenkins 8152 Aug 2 10:19 Attribution.txt 10:23:20 -rw-rw-r-- 1 jenkins jenkins 9649 Aug 2 10:19 CHANGELOG.md 10:23:20 -rw-rw-r-- 1 jenkins jenkins 1978 Aug 2 10:19 Dockerfile 10:23:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 10:19 GOVERNANCE.md 10:23:20 -rw-rw-r-- 1 jenkins jenkins 660 Aug 2 10:19 Jenkinsfile 10:23:20 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 10:19 LICENSE 10:23:20 -rw-rw-r-- 1 jenkins jenkins 2248 Aug 2 10:19 Makefile 10:23:20 -rw-rw-r-- 1 jenkins jenkins 623 Aug 2 10:19 OWNERS.md 10:23:20 -rw-rw-r-- 1 jenkins jenkins 2914 Aug 2 10:19 README.md 10:23:20 -rw-rw-r-- 1 jenkins jenkins 11 Aug 2 10:17 VERSION 10:23:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 10:19 bin 10:23:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:19 cmd 10:23:20 -rw-r--r-- 1 jenkins jenkins 44128 Aug 2 10:22 coverage.out 10:23:20 -rw-rw-r-- 1 jenkins jenkins 3328 Aug 2 10:19 go.mod 10:23:20 -rw-rw-r-- 1 jenkins jenkins 36202 Aug 2 10:19 go.sum 10:23:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:19 internal 10:23:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 10:19 snap 10:23:20 -rw-rw-r-- 1 jenkins jenkins 235 Aug 2 10:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:23:21 + 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=70ed2cbc20e9aaf34c9bbafa882aad4cea533748 --label arch=arm64 --label version=2.3.0-dev.9 . 10:23:21 Sending build context to Docker daemon 11.71MB 10:23:21 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 10:23:21 Step 2/26 : FROM ${BASE} AS builder 10:23:21 ---> 6c93104d3b53 10:23:21 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:23:21 ---> Running in 529cd45385dd 10:23:21 Removing intermediate container 529cd45385dd 10:23:21 ---> 07546375f3f1 10:23:21 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 10:23:22 ---> Running in 42b374a0fb9a 10:23:22 Removing intermediate container 42b374a0fb9a 10:23:22 ---> b8d8ae16796f 10:23:22 Step 5/26 : WORKDIR /device-virtual-go 10:23:22 ---> Running in dda7490b1a82 10:23:22 Removing intermediate container dda7490b1a82 10:23:22 ---> a72040a053b7 10:23:22 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:23:22 ---> Running in 59564d257f8f 10:23:24 Removing intermediate container 59564d257f8f 10:23:24 ---> 2783c4843799 10:23:24 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:23:24 ---> Running in c2813b341341 10:23:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:23:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:23:27 OK: 226 MiB in 55 packages 10:23:28 Removing intermediate container c2813b341341 10:23:28 ---> 5699144a86a7 10:23:28 Step 8/26 : COPY go.mod vendor* ./ 10:23:28 ---> 04b3de27c360 10:23:28 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:23:28 ---> Running in 255a0663a53e 10:23:30 Removing intermediate container 255a0663a53e 10:23:30 ---> 7247ca75201f 10:23:30 Step 10/26 : COPY . . 10:23:31 ---> 0567baed6439 10:23:31 Step 11/26 : ARG MAKE='make build' 10:23:32 ---> Running in 2895fefd64aa 10:23:32 Removing intermediate container 2895fefd64aa 10:23:32 ---> e9fc42e49f51 10:23:32 Step 12/26 : RUN $MAKE 10:23:32 ---> Running in 5549a26f1567 10:23:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 10:25:40 Removing intermediate container 5549a26f1567 10:25:40 ---> d4b6591ea33d 10:25:40 Step 13/26 : FROM alpine:3.16 10:25:40 3.16: Pulling from library/alpine 10:25:40 f97344484467: Pulling fs layer 10:25:40 f97344484467: Download complete 10:25:40 f97344484467: Pull complete 10:25:40 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 10:25:40 Status: Downloaded newer image for alpine:3.16 10:25:40 ---> 3d81c46cd875 10:25:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 10:25:40 ---> Running in 05f84490e930 10:25:40 Removing intermediate container 05f84490e930 10:25:40 ---> f6c40905b262 10:25:40 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:25:40 ---> Running in 46eab3cd7dcc 10:25:40 Removing intermediate container 46eab3cd7dcc 10:25:40 ---> c4e094d7c410 10:25:40 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 10:25:40 ---> Running in 05cf32077797 10:25:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:25:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:25:43 (1/6) Installing dumb-init (1.2.5-r1) 10:25:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:25:43 (3/6) Installing libsodium (1.0.18-r0) 10:25:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:25:43 (5/6) Installing libzmq (4.3.4-r0) 10:25:43 (6/6) Installing zeromq (4.3.4-r0) 10:25:43 Executing busybox-1.35.0-r15.trigger 10:25:43 OK: 8 MiB in 20 packages 10:25:44 Removing intermediate container 05cf32077797 10:25:44 ---> cd4c6858e376 10:25:44 Step 17/26 : WORKDIR / 10:25:44 ---> Running in 937ac40931c7 10:25:45 Removing intermediate container 937ac40931c7 10:25:45 ---> f8c80e303583 10:25:45 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 10:25:45 ---> 62da552d9999 10:25:45 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 10:25:45 ---> 387a258facbc 10:25:45 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 10:25:47 ---> 124b0d612e9a 10:25:47 Step 21/26 : EXPOSE 59900 10:25:47 ---> Running in 0591798d6140 10:25:47 Removing intermediate container 0591798d6140 10:25:47 ---> e83f47e84371 10:25:47 Step 22/26 : ENTRYPOINT ["/device-virtual"] 10:25:47 ---> Running in a9685e073aa6 10:25:48 Removing intermediate container a9685e073aa6 10:25:48 ---> 4991111231e5 10:25:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:25:48 ---> Running in 3385e03f36f3 10:25:48 Removing intermediate container 3385e03f36f3 10:25:48 ---> 307013bbbd75 10:25:48 Step 24/26 : LABEL arch=arm64 10:25:48 ---> Running in c7deab7083d1 10:25:49 Removing intermediate container c7deab7083d1 10:25:49 ---> bd4147c356a7 10:25:49 Step 25/26 : LABEL git_sha=70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:25:49 ---> Running in 8ed2a44e4848 10:25:49 Removing intermediate container 8ed2a44e4848 10:25:49 ---> cc507d6e22fc 10:25:49 Step 26/26 : LABEL version=2.3.0-dev.9 10:25:49 ---> Running in 23ec06208888 10:25:49 Removing intermediate container 23ec06208888 10:25:49 ---> 376469a838db 10:25:49 [Warning] One or more build-args [ARCH] were not consumed 10:25:49 Successfully built 376469a838db 10:25:49 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 10:25:50 provisioning config files... 10:25:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/45@tmp/config7006992760121503165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:50 ---> docker-login.sh 10:25:50 nexus3.edgexfoundry.org:10001 10:25:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:50 Configure a credential helper to remove this warning. See 10:25:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:50 10:25:50 Login Succeeded 10:25:50 nexus3.edgexfoundry.org:10002 10:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:51 Configure a credential helper to remove this warning. See 10:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:51 10:25:51 Login Succeeded 10:25:51 nexus3.edgexfoundry.org:10003 10:25:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:51 Configure a credential helper to remove this warning. See 10:25:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:51 10:25:51 Login Succeeded 10:25:51 nexus3.edgexfoundry.org:10004 10:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:52 Configure a credential helper to remove this warning. See 10:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:52 10:25:52 Login Succeeded 10:25:52 docker.io 10:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:52 Configure a credential helper to remove this warning. See 10:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:52 10:25:52 Login Succeeded 10:25:52 ---> docker-login.sh ends [Pipeline] } 10:25:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:53 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 10:25:53 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:25:53 latest 10:25:53 2.3.0-dev.9 10:25:53 70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9 10:25:53 main 10:25:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:53 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:25:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:25:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:25:53 53c7dab4b1a9: Preparing 10:25:53 6fc792da7f97: Preparing 10:25:53 64f63b354a44: Preparing 10:25:53 792ab96e6e06: Preparing 10:25:53 985bf26c3afb: Preparing 10:25:53 5b7df235d876: Preparing 10:25:53 5b7df235d876: Waiting 10:25:54 64f63b354a44: Pushed 10:25:54 6fc792da7f97: Pushed 10:25:54 985bf26c3afb: Pushed 10:25:54 5b7df235d876: Layer already exists 10:25:54 792ab96e6e06: Pushed 10:26:00 53c7dab4b1a9: Pushed 10:26:00 70ed2cbc20e9aaf34c9bbafa882aad4cea533748: digest: sha256:57e8eed3eea61594f62416b2af5c2c4e92d4747922114ef97244a5b549239ec0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 10:26:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:26:00 53c7dab4b1a9: Preparing 10:26:00 6fc792da7f97: Preparing 10:26:00 64f63b354a44: Preparing 10:26:00 792ab96e6e06: Preparing 10:26:00 985bf26c3afb: Preparing 10:26:00 5b7df235d876: Preparing 10:26:00 5b7df235d876: Waiting 10:26:00 64f63b354a44: Layer already exists 10:26:00 985bf26c3afb: Layer already exists 10:26:00 6fc792da7f97: Layer already exists 10:26:00 53c7dab4b1a9: Layer already exists 10:26:00 792ab96e6e06: Layer already exists 10:26:00 5b7df235d876: Layer already exists 10:26:01 latest: digest: sha256:57e8eed3eea61594f62416b2af5c2c4e92d4747922114ef97244a5b549239ec0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:01 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.9 10:26:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:26:01 53c7dab4b1a9: Preparing 10:26:01 6fc792da7f97: Preparing 10:26:01 64f63b354a44: Preparing 10:26:01 792ab96e6e06: Preparing 10:26:01 985bf26c3afb: Preparing 10:26:01 5b7df235d876: Preparing 10:26:01 5b7df235d876: Waiting 10:26:01 53c7dab4b1a9: Layer already exists 10:26:01 6fc792da7f97: Layer already exists 10:26:01 64f63b354a44: Layer already exists 10:26:01 792ab96e6e06: Layer already exists 10:26:01 985bf26c3afb: Layer already exists 10:26:01 5b7df235d876: Layer already exists 10:26:02 2.3.0-dev.9: digest: sha256:57e8eed3eea61594f62416b2af5c2c4e92d4747922114ef97244a5b549239ec0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9 10:26:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:26:02 53c7dab4b1a9: Preparing 10:26:02 6fc792da7f97: Preparing 10:26:02 64f63b354a44: Preparing 10:26:02 792ab96e6e06: Preparing 10:26:02 985bf26c3afb: Preparing 10:26:02 5b7df235d876: Preparing 10:26:02 5b7df235d876: Waiting 10:26:02 792ab96e6e06: Layer already exists 10:26:02 64f63b354a44: Layer already exists 10:26:02 985bf26c3afb: Layer already exists 10:26:02 6fc792da7f97: Layer already exists 10:26:02 53c7dab4b1a9: Layer already exists 10:26:03 5b7df235d876: Layer already exists 10:26:03 70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9: digest: sha256:57e8eed3eea61594f62416b2af5c2c4e92d4747922114ef97244a5b549239ec0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:03 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 10:26:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 10:26:03 53c7dab4b1a9: Preparing 10:26:03 6fc792da7f97: Preparing 10:26:03 64f63b354a44: Preparing 10:26:03 792ab96e6e06: Preparing 10:26:03 985bf26c3afb: Preparing 10:26:03 5b7df235d876: Preparing 10:26:03 5b7df235d876: Waiting 10:26:03 985bf26c3afb: Layer already exists 10:26:03 64f63b354a44: Layer already exists 10:26:03 53c7dab4b1a9: Layer already exists 10:26:03 6fc792da7f97: Layer already exists 10:26:03 792ab96e6e06: Layer already exists 10:26:03 5b7df235d876: Layer already exists 10:26:04 main: digest: sha256:57e8eed3eea61594f62416b2af5c2c4e92d4747922114ef97244a5b549239ec0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:26:04 ===================================================== [Pipeline] echo 10:26:04 taggedImages: 10:26:04 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:70ed2cbc20e9aaf34c9bbafa882aad4cea533748 10:26:04 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 10:26:04 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.9 10:26:04 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:70ed2cbc20e9aaf34c9bbafa882aad4cea533748-2.3.0-dev.9 10:26:04 - 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 10:26:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:04 10:26:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:05 arm64: Pulling from edgex-lftools-log-publisher 10:26:05 8998bd30e6a1: Pulling fs layer 10:26:05 04944245beec: Pulling fs layer 10:26:05 699f458cf7ca: Pulling fs layer 10:26:05 765212b225bb: Pulling fs layer 10:26:05 f23df028b6ca: Pulling fs layer 10:26:05 d65c8cfc05b1: Pulling fs layer 10:26:05 765212b225bb: Waiting 10:26:05 f23df028b6ca: Waiting 10:26:05 2437ff75d9bd: Pulling fs layer 10:26:05 d65c8cfc05b1: Waiting 10:26:05 2437ff75d9bd: Waiting 10:26:05 04944245beec: Verifying Checksum 10:26:05 04944245beec: Download complete 10:26:05 765212b225bb: Verifying Checksum 10:26:05 765212b225bb: Download complete 10:26:05 f23df028b6ca: Verifying Checksum 10:26:05 f23df028b6ca: Download complete 10:26:05 d65c8cfc05b1: Verifying Checksum 10:26:05 d65c8cfc05b1: Download complete 10:26:05 699f458cf7ca: Verifying Checksum 10:26:05 699f458cf7ca: Download complete 10:26:05 8998bd30e6a1: Verifying Checksum 10:26:05 8998bd30e6a1: Download complete 10:26:08 2437ff75d9bd: Download complete 10:26:10 8998bd30e6a1: Pull complete 10:26:10 04944245beec: Pull complete 10:26:12 699f458cf7ca: Pull complete 10:26:12 765212b225bb: Pull complete 10:26:13 f23df028b6ca: Pull complete 10:26:13 d65c8cfc05b1: Pull complete 10:26:28 2437ff75d9bd: Pull complete 10:26:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:26:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:26:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:28 prd-ubuntu20.04-docker-arm64-4c-16g-21761 does not seem to be running inside a container 10:26: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/45 -v /w/workspace/device-virtual-go/45:/w/workspace/device-virtual-go/45:rw,z -v /w/workspace/device-virtual-go/45@tmp:/w/workspace/device-virtual-go/45@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 10:26:31 $ docker top 79d54e58fc5f56efe7008a53091c8f04b6cf873541ec1e2d44bb7602a8c2f382 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:32 ---> job-cost.sh 10:26:32 lf-activate-venv: SKIPPING 10:26:32 INFO: No Stack... 10:26:32 INFO: Retrieving Pricing Info for: v3-standard-4 10:26:33 INFO: Archiving Costs [Pipeline] sh 10:26:34 + + cut -d, -f6 10:26:34 cat /w/workspace/device-virtual-go/45/archives/cost.csv [Pipeline] lock 10:26:34 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-45-stack-cost] 10:26:34 Resource [jenkins-edgexfoundry-device-virtual-go-main-45-stack-cost] did not exist. Created. 10:26:34 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-45-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:26:34 /w/workspace/device-virtual-go/45@tmp/durable-4220ddc0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:26:35 + echo total: 0.10999999940395355 [Pipeline] stash 10:26:35 Warning: overwriting stash ‘stack-cost’ 10:26:35 Stashed 1 file(s) [Pipeline] } 10:26:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-45-stack-cost] [Pipeline] // lock [Pipeline] } 10:26:35 $ docker stop --time=1 79d54e58fc5f56efe7008a53091c8f04b6cf873541ec1e2d44bb7602a8c2f382 10:26:37 $ docker rm -f 79d54e58fc5f56efe7008a53091c8f04b6cf873541ec1e2d44bb7602a8c2f382 [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 10:26:37 provisioning config files... 10:26:37 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3611089030277010048tmp [Pipeline] { [Pipeline] sh 10:26:37 + set +x 10:26:37 + curl -s https://codecov.io/bash 10:26:37 + bash -s -- 10:26:37 10:26:37 _____ _ 10:26:37 / ____| | | 10:26:37 | | ___ __| | ___ ___ _____ __ 10:26:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:26:37 | |___| (_) | (_| | __/ (_| (_) \ V / 10:26:37 \_____\___/ \__,_|\___|\___\___/ \_/ 10:26:37 Bash-1.0.6 10:26:37 10:26:37 10:26:37 ==> git version 2.25.1 found 10:26: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 10:26:37 Release-Date: 2020-01-08 10:26: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 10:26:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:26:37 ==> Jenkins CI detected. 10:26:37 current dir:  /w/workspace/exfoundry_device-virtual-go_main 10:26:37 project root: . 10:26:37 --> token set from env 10:26:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:26:37 ==> Running gcov in . (disable via -X gcov) 10:26:37 ==> Python coveragepy not found 10:26:37 ==> Searching for coverage reports in: 10:26:37 + . 10:26:37 -> Found 1 reports 10:26:37 ==> Detecting git/mercurial file structure 10:26:37 ==> Reading reports 10:26:37 + ./coverage.out bytes=44128 10:26:37 ==> Appending adjustments 10:26:37 https://docs.codecov.io/docs/fixing-reports 10:26:38 + Found adjustments 10:26:38 ==> Gzipping contents 10:26:38 8.0K /tmp/codecov.74rz06.gz 10:26:38 ==> Uploading reports 10:26:38 url: https://codecov.io 10:26:38 query: branch=main&commit=70ed2cbc20e9aaf34c9bbafa882aad4cea533748&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:26:38 -> Pinging Codecov 10:26:38 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=70ed2cbc20e9aaf34c9bbafa882aad4cea533748&build=45&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F45%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:26:38 -> Uploading to 10:26:38 https://storage.googleapis.com/codecov/v4/raw/2022-08-02/5E52B4B073DB2E39498172D8E973AA87/70ed2cbc20e9aaf34c9bbafa882aad4cea533748/f8bdba80-dc38-4669-ae77-ecfd09519c8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220802T102638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c04cb887daba654cf586e8a5795f14073bc18fe8dc3ba9f7400a04cf6821d63a 10:26:38 % Total % Received % Xferd Average Speed Time Time Time Current 10:26:38 Dload Upload Total Spent Left Speed 10:26:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5515 0 0 100 5515 0 24954 --:--:-- --:--:-- --:--:-- 24842 100 5515 0 0 100 5515 0 19017 --:--:-- --:--:-- --:--:-- 19017 10:26:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [Pipeline] } 10:26:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:26:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:26:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:26:39 10:26:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:26:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:26:39 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:26:39 df9b9388f04a: Pulling fs layer 10:26:39 52dc419b0ee2: Pulling fs layer 10:26:39 25bc292e5bac: Pulling fs layer 10:26:39 114826534d7a: Pulling fs layer 10:26:39 4657fd5d0bcf: Pulling fs layer 10:26:39 6ad1cebc031e: Pulling fs layer 10:26:39 8a3aa393b2d8: Pulling fs layer 10:26:39 4657fd5d0bcf: Waiting 10:26:39 6ad1cebc031e: Waiting 10:26:39 114826534d7a: Waiting 10:26:39 8a3aa393b2d8: Waiting 10:26:39 25bc292e5bac: Verifying Checksum 10:26:39 25bc292e5bac: Download complete 10:26:39 52dc419b0ee2: Download complete 10:26:39 4657fd5d0bcf: Verifying Checksum 10:26:39 4657fd5d0bcf: Download complete 10:26:39 df9b9388f04a: Download complete 10:26:39 6ad1cebc031e: Verifying Checksum 10:26:39 6ad1cebc031e: Download complete 10:26:39 df9b9388f04a: Pull complete 10:26:40 52dc419b0ee2: Pull complete 10:26:40 25bc292e5bac: Pull complete 10:26:40 114826534d7a: Verifying Checksum 10:26:40 114826534d7a: Download complete 10:26:40 8a3aa393b2d8: Verifying Checksum 10:26:40 8a3aa393b2d8: Download complete 10:26:44 114826534d7a: Pull complete 10:26:44 4657fd5d0bcf: Pull complete 10:26:44 6ad1cebc031e: Pull complete 10:26:48 8a3aa393b2d8: Pull complete 10:26:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:26:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:26:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:26:48 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:26:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:26:49 $ docker top 8439e0560abff1188a51491c62fbf51cf72b08fd4c0500b49b8be6ce9e80fc65 -eo pid,comm [Pipeline] { [Pipeline] echo 10:26:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 10:26:50 + set -o pipefail 10:26:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 10:26:56 10:26:56 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 10:26:56 10:26:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/a8b9ae74-7a92-46ee-9df4-91a7fd796bc6 10:26:56 10:26:56 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:26:56 10:26:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:26:56 10:26:56 [Pipeline] } 10:26:56 $ docker stop --time=1 8439e0560abff1188a51491c62fbf51cf72b08fd4c0500b49b8be6ce9e80fc65 10:26:58 $ docker rm -f 8439e0560abff1188a51491c62fbf51cf72b08fd4c0500b49b8be6ce9e80fc65 [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 10:26:59 + git log --format=format:%s -1 70ed2cbc20e9aaf34c9bbafa882aad4cea533748 [Pipeline] sh 10:26:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:26:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:00 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:27:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:27:00 $ docker top d974771bfb769f0e2016e093cac31986ac5cab6437f644c235deb21170a64dfc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:00 [ssh-agent] Looking for ssh-agent implementation... 10:27:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:01 $ docker exec d974771bfb769f0e2016e093cac31986ac5cab6437f644c235deb21170a64dfc ssh-agent 10:27:01 SSH_AUTH_SOCK=/tmp/ssh-lNVwP1ojdQ2a/agent.32 10:27:01 SSH_AGENT_PID=39 10:27:01 Running ssh-add (command line suppressed) 10:27:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_651478494034417324.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_651478494034417324.key) 10:27:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:01 + git semver tag 10:27:01 2022-08-02 10:27:01,760 [run_tag] DEBUG tag force:False 10:27:01 2022-08-02 10:27:01,760 [check_head_tag] DEBUG check head tag 10:27:01 2022-08-02 10:27:01,760 [execute] INFO git cat-file --batch-check 10:27:01 2022-08-02 10:27:01,760 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 10:27:01 2022-08-02 10:27:01,765 [execute] INFO git cat-file --batch 10:27:01 2022-08-02 10:27:01,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 10:27:01 2022-08-02 10:27:01,778 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:01 2022-08-02 10:27:01,779 [execute] INFO git tag -a v2.3.0-dev.9 -m v2.3.0-dev.9 10:27:01 2022-08-02 10:27:01,779 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.9', '-m', 'v2.3.0-dev.9'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 10:27:01 2022-08-02 10:27:01,784 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:01 2.3.0-dev.9 [Pipeline] } 10:27:01 $ docker exec --env ******** --env ******** d974771bfb769f0e2016e093cac31986ac5cab6437f644c235deb21170a64dfc ssh-agent -k 10:27:01 unset SSH_AUTH_SOCK; 10:27:01 unset SSH_AGENT_PID; 10:27:01 echo Agent pid 39 killed; 10:27:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:02 + git semver [Pipeline] } 10:27:02 $ docker stop --time=1 d974771bfb769f0e2016e093cac31986ac5cab6437f644c235deb21170a64dfc 10:27:03 $ docker rm -f d974771bfb769f0e2016e093cac31986ac5cab6437f644c235deb21170a64dfc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:04 10:27:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:04 0.23.1-centos7: Pulling from edgex-lftools 10:27:04 ab5ef0e58194: Pulling fs layer 10:27:04 9712f1f96733: Pulling fs layer 10:27:04 63f879dbbcfc: Pulling fs layer 10:27:04 0d9ebad4ef96: Pulling fs layer 10:27:04 e9a5061849ea: Pulling fs layer 10:27:04 d747dcd14b5f: Pulling fs layer 10:27:04 2de7ff778b66: Pulling fs layer 10:27:04 d747dcd14b5f: Waiting 10:27:04 e9a5061849ea: Waiting 10:27:04 0d9ebad4ef96: Waiting 10:27:04 2de7ff778b66: Waiting 10:27:04 9712f1f96733: Verifying Checksum 10:27:04 9712f1f96733: Download complete 10:27:04 63f879dbbcfc: Verifying Checksum 10:27:04 63f879dbbcfc: Download complete 10:27:05 e9a5061849ea: Verifying Checksum 10:27:05 e9a5061849ea: Download complete 10:27:05 d747dcd14b5f: Verifying Checksum 10:27:05 d747dcd14b5f: Download complete 10:27:05 0d9ebad4ef96: Verifying Checksum 10:27:05 0d9ebad4ef96: Download complete 10:27:05 ab5ef0e58194: Verifying Checksum 10:27:05 ab5ef0e58194: Download complete 10:27:05 2de7ff778b66: Verifying Checksum 10:27:05 2de7ff778b66: Download complete 10:27:08 ab5ef0e58194: Pull complete 10:27:08 9712f1f96733: Pull complete 10:27:09 63f879dbbcfc: Pull complete 10:27:13 0d9ebad4ef96: Pull complete 10:27:13 e9a5061849ea: Pull complete 10:27:13 d747dcd14b5f: Pull complete 10:27:15 2de7ff778b66: Pull complete 10:27:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:27:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:27:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:15 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:27:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:27:16 $ docker top c3518f923da4cde772082c80e083a716bccf6c41b3b65c7c6bebc70cea6f7458 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:27:17 provisioning config files... 10:27:17 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9177283950267316168tmp 10:27:17 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6350929411511760170tmp 10:27:17 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9218015241009548662tmp [Pipeline] { [Pipeline] echo 10:27:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:27:17 ---> sigul-configuration.sh 10:27:17 gpg: directory `/root/.gnupg' created 10:27:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:27:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:27:17 gpg: keyring `/root/.gnupg/secring.gpg' created 10:27:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:27:17 gpg: CAST5 encrypted data 10:27:17 gpg: encrypted with 1 passphrase 10:27:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:27:17 + mkdir /home/jenkins 10:27:17 + mkdir /home/jenkins/sigul [Pipeline] sh 10:27:17 + 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 10:27:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:27:18 ---> sigul-install.sh 10:27:18 Sigul already installed; skipping installation. [Pipeline] sh 10:27:18 + git tag --list 10:27:18 v1.0.0 10:27:18 v1.1.0 10:27:18 v1.1.1 10:27:18 v1.2.1 10:27:18 v1.2.2 10:27:18 v1.2.3 10:27:18 v1.3.0 10:27:18 v1.3.1 10:27:18 v2.0.0 10:27:18 v2.1.0 10:27:18 v2.1.1 10:27:18 v2.1.1-dev.1 10:27:18 v2.1.1-dev.2 10:27:18 v2.2.0 10:27:18 v2.2.1-dev.1 10:27:18 v2.2.1-dev.2 10:27:18 v2.2.1-dev.3 10:27:18 v2.2.1-dev.4 10:27:18 v2.2.1-dev.5 10:27:18 v2.2.1-dev.6 10:27:18 v2.2.1-dev.7 10:27:18 v2.2.1-dev.8 10:27:18 v2.3.0-dev.8 10:27:18 v2.3.0-dev.9 [Pipeline] sh 10:27:18 + lftools sign git-tag v2.3.0-dev.9 10:27:19 Signing Git tag with Sigul... 10:27:19 Signing v2.3.0-dev.9 [Pipeline] echo 10:27:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:27:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:27:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:27:20 $ docker stop --time=1 c3518f923da4cde772082c80e083a716bccf6c41b3b65c7c6bebc70cea6f7458 10:27:21 $ docker rm -f c3518f923da4cde772082c80e083a716bccf6c41b3b65c7c6bebc70cea6f7458 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:27:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:22 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:27: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:27:22 $ docker top df76dbf413f69006bf9f964d291adee35a8e86b86aff51ccafd2b80a09765954 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:22 [ssh-agent] Looking for ssh-agent implementation... 10:27:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:22 $ docker exec df76dbf413f69006bf9f964d291adee35a8e86b86aff51ccafd2b80a09765954 ssh-agent 10:27:22 SSH_AUTH_SOCK=/tmp/ssh-GKzRqNCoNiUc/agent.33 10:27:22 SSH_AGENT_PID=39 10:27:22 Running ssh-add (command line suppressed) 10:27:23 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_921820703331384762.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_921820703331384762.key) 10:27:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:23 + git semver bump pre 10:27:23 2022-08-02 10:27:23,509 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:23 2022-08-02 10:27:23,509 [bump_version] DEBUG bumping version:2.3.0-dev.9 on axis:pre with prefix:dev 10:27:23 2022-08-02 10:27:23,509 [bump_version] DEBUG bumped version:2.3.0-dev.10 10:27:23 2022-08-02 10:27:23,509 [write_version] DEBUG write version:2.3.0-dev.10 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 10:27:23 2022-08-02 10:27:23,509 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:23 2022-08-02 10:27:23,509 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:23 2022-08-02 10:27:23,511 [execute] INFO git cat-file --batch-check 10:27:23 2022-08-02 10:27:23,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:27:23 2022-08-02 10:27:23,516 [execute] INFO git cat-file --batch 10:27:23 2022-08-02 10:27:23,517 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:27:23 2022-08-02 10:27:23,522 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:23 2.3.0-dev.10 [Pipeline] } 10:27:23 $ docker exec --env ******** --env ******** df76dbf413f69006bf9f964d291adee35a8e86b86aff51ccafd2b80a09765954 ssh-agent -k 10:27:23 unset SSH_AUTH_SOCK; 10:27:23 unset SSH_AGENT_PID; 10:27:23 echo Agent pid 39 killed; 10:27:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:23 + git semver [Pipeline] } 10:27:24 $ docker stop --time=1 df76dbf413f69006bf9f964d291adee35a8e86b86aff51ccafd2b80a09765954 10:27:25 $ docker rm -f df76dbf413f69006bf9f964d291adee35a8e86b86aff51ccafd2b80a09765954 [Pipeline] // withDockerContainer [Pipeline] sh 10:27:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:27:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:27:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:26 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:27:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:27:26 $ docker top 601a0bb7e45752597f9000ecdb9511efb1aa9d41079e2efc75884314291f921d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:27:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:27:26 [ssh-agent] Looking for ssh-agent implementation... 10:27:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:27:26 $ docker exec 601a0bb7e45752597f9000ecdb9511efb1aa9d41079e2efc75884314291f921d ssh-agent 10:27:27 SSH_AUTH_SOCK=/tmp/ssh-sJmP0AKqG5GZ/agent.32 10:27:27 SSH_AGENT_PID=39 10:27:27 Running ssh-add (command line suppressed) 10:27:27 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4252571415489801440.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4252571415489801440.key) 10:27:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:27:27 + git semver push 10:27:27 2022-08-02 10:27:27,753 [run_push] DEBUG push 10:27:27 2022-08-02 10:27:27,754 [execute] INFO git cat-file --batch-check 10:27:27 2022-08-02 10:27:27,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:27:27 2022-08-02 10:27:27,758 [execute] INFO git rev-list 6fdcadeeb038da33ee3ecf2bdd4957cb62ee54a4 -- 10:27:27 2022-08-02 10:27:27,758 [execute] DEBUG Popen(['git', 'rev-list', '6fdcadeeb038da33ee3ecf2bdd4957cb62ee54a4', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:27:27 2022-08-02 10:27:27,766 [execute] INFO git fetch -v origin 10:27:27 2022-08-02 10:27:27,766 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:27:28 2022-08-02 10:27:28,247 [run_push] DEBUG no remote changes detected 10:27:28 2022-08-02 10:27:28,248 [execute] INFO git push origin semver 10:27:28 2022-08-02 10:27:28,248 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:27:29 2022-08-02 10:27:29,027 [run_push] DEBUG push all version tags 10:27:29 2022-08-02 10:27:29,027 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:27:29 2022-08-02 10:27:29,028 [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) 10:27:29 2022-08-02 10:27:29,817 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:27:29 2.3.0-dev.10 [Pipeline] } 10:27:29 $ docker exec --env ******** --env ******** 601a0bb7e45752597f9000ecdb9511efb1aa9d41079e2efc75884314291f921d ssh-agent -k 10:27:30 unset SSH_AUTH_SOCK; 10:27:30 unset SSH_AGENT_PID; 10:27:30 echo Agent pid 39 killed; 10:27:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:27:30 + git semver [Pipeline] } 10:27:30 $ docker stop --time=1 601a0bb7e45752597f9000ecdb9511efb1aa9d41079e2efc75884314291f921d 10:27:31 $ docker rm -f 601a0bb7e45752597f9000ecdb9511efb1aa9d41079e2efc75884314291f921d [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 10:27:32 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 10:27:32 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 10:27:32 total 16 10:27:32 drwxr-xr-x 3 root root 4096 Aug 2 10:19 . 10:27:32 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 10:27 .. 10:27:32 drwxr-xr-x 2 root root 4096 Aug 2 10:19 cost 10:27:32 -rw-r--r-- 1 root root 88 Aug 2 10:19 cost.csv 10:27:32 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 10:27:32 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 10:27:32 total 16 10:27:32 drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 10:19 . 10:27:32 drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 10:27 .. 10:27:32 drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 10:19 cost 10:27:32 -rw-r--r-- 1 jenkins jenkins 88 Aug 2 10:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:27:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:27:33 ---> package-listing.sh 10:27:33 ++ facter osfamily 10:27:33 ++ tr '[:upper:]' '[:lower:]' 10:27:33 + OS_FAMILY=debian 10:27:33 + workspace=/w/workspace/exfoundry_device-virtual-go_main 10:27:33 + START_PACKAGES=/tmp/packages_start.txt 10:27:33 + END_PACKAGES=/tmp/packages_end.txt 10:27:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:27:33 + PACKAGES=/tmp/packages_start.txt 10:27:33 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 10:27:33 + PACKAGES=/tmp/packages_end.txt 10:27:33 + case "${OS_FAMILY}" in 10:27:33 + dpkg -l 10:27:33 + grep '^ii' 10:27:33 + '[' -f /tmp/packages_start.txt ']' 10:27:33 + '[' -f /tmp/packages_end.txt ']' 10:27:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:27:33 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 10:27:33 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 10:27:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 10:27:33 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 10:27:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:27:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:27:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:27:34 prd-ubuntu20.04-docker-8c-8g-21760 does not seem to be running inside a container 10:27:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:27:35 $ docker top c3ca56ad7846bf45a8701ff7eb6969a5d770de56449990ce1ac91a483783fa46 -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:35 + touch /tmp/pre-build-complete [Pipeline] sh 10:27:35 + mkdir -p /var/log/sysstat [Pipeline] sh 10:27:36 + ls /var/log/sa-host 10:27:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:36 provisioning config files... 10:27:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3151788083394174798tmp [Pipeline] { [Pipeline] echo 10:27:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:27:36 ---> create-netrc.sh [Pipeline] } 10:27:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:27:36 ---> python-tools-install.sh [Pipeline] echo 10:27:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:27:37 ---> sudo-logs.sh 10:27:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:27:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:27:37 ---> job-cost.sh 10:27:37 lf-activate-venv: SKIPPING 10:27:37 DEBUG: total: 0.2199999988079071 10:27:37 INFO: Retrieving Stack Cost... 10:27:37 INFO: Retrieving Pricing Info for: v3-standard-8 10:27:38 INFO: Archiving Costs [Pipeline] echo 10:27:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:27:38 ---> logs-deploy.sh 10:27:38 lf-activate-venv: SKIPPING 10:27:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/45 10:27:38 INFO: archiving workspace using pattern(s): 10:27:39 Archives upload complete. 10:27:39 INFO: archiving logs to Nexus 10:27:40 ---> uname -a: 10:27:40 Linux prd-ubuntu20-04-docker-8c-8g-21760 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 10:27:40 10:27:40 10:27:40 ---> lscpu: 10:27:40 Architecture: x86_64 10:27:40 CPU op-mode(s): 32-bit, 64-bit 10:27:40 Byte Order: Little Endian 10:27:40 Address sizes: 40 bits physical, 48 bits virtual 10:27:40 CPU(s): 8 10:27:40 On-line CPU(s) list: 0-7 10:27:40 Thread(s) per core: 1 10:27:40 Core(s) per socket: 1 10:27:40 Socket(s): 8 10:27:40 NUMA node(s): 1 10:27:40 Vendor ID: AuthenticAMD 10:27:40 CPU family: 23 10:27:40 Model: 49 10:27:40 Model name: AMD EPYC-Rome Processor 10:27:40 Stepping: 0 10:27:40 CPU MHz: 2799.998 10:27:40 BogoMIPS: 5599.99 10:27:40 Virtualization: AMD-V 10:27:40 Hypervisor vendor: KVM 10:27:40 Virtualization type: full 10:27:40 L1d cache: 256 KiB 10:27:40 L1i cache: 256 KiB 10:27:40 L2 cache: 4 MiB 10:27:40 L3 cache: 128 MiB 10:27:40 NUMA node0 CPU(s): 0-7 10:27:40 Vulnerability Itlb multihit: Not affected 10:27:40 Vulnerability L1tf: Not affected 10:27:40 Vulnerability Mds: Not affected 10:27:40 Vulnerability Meltdown: Not affected 10:27:40 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:27:40 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 10:27:40 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 10:27:40 Vulnerability Srbds: Not affected 10:27:40 Vulnerability Tsx async abort: Not affected 10:27:40 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 10:27:40 10:27:40 10:27:40 ---> nproc: 10:27:40 8 10:27:40 10:27:40 10:27:40 ---> df -h: 10:27:40 Filesystem Size Used Avail Use% Mounted on 10:27:40 overlay 155G 13G 143G 8% / 10:27:40 tmpfs 64M 0 64M 0% /dev 10:27:40 tmpfs 16G 0 16G 0% /sys/fs/cgroup 10:27:40 shm 64M 0 64M 0% /dev/shm 10:27:40 /dev/vda1 155G 13G 143G 8% /facter-os 10:27:40 10:27:40