Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a4c5e1680f302981d2a38419928a1399fd8860a9 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-ssh14672533651104705737.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-ssh7464787266668285664.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-ssh7470826599517679339.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-ssh8283649175588121217.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12981007268048418592.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-20410 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 a4c5e1680f302981d2a38419928a1399fd8860a9 (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 a4c5e1680f302981d2a38419928a1399fd8860a9 # timeout=10 Commit message: "Merge pull request #296 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" > git rev-list --no-walk 92de881e1764f9c8787685d99df057aa74012de3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:54:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:54:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:54:26 ========================================================= 13:54:26 EdgeX Global Pipelines Version Info 13:54:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:54:27 ------------------- 13:54:27 stable info: 13:54:27 ------------------- 13:54:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:54:27 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:54:27 Message: update stable to v1.0.238 13:54:28 ------------------- 13:54:28 experimental info: 13:54:28 ------------------- 13:54:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:54:28 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 13:54:28 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a4c5e1680f302981d2a38419928a1399fd8860a9 [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a4c5e16 [Pipeline] echo 13:54:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:54:28 provisioning config files... 13:54:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2526109617437459579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:54:29 ---> docker-login.sh 13:54:29 nexus3.edgexfoundry.org:10001 13:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:30 Configure a credential helper to remove this warning. See 13:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:30 13:54:30 Login Succeeded 13:54:30 nexus3.edgexfoundry.org:10002 13:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:30 Configure a credential helper to remove this warning. See 13:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:30 13:54:30 Login Succeeded 13:54:30 nexus3.edgexfoundry.org:10003 13:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:30 Configure a credential helper to remove this warning. See 13:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:30 13:54:30 Login Succeeded 13:54:30 nexus3.edgexfoundry.org:10004 13:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:30 Configure a credential helper to remove this warning. See 13:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:30 13:54:30 Login Succeeded 13:54:30 docker.io 13:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:30 Configure a credential helper to remove this warning. See 13:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:30 13:54:30 Login Succeeded 13:54:30 ---> docker-login.sh ends [Pipeline] } 13:54:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:54:31 + git rev-list -1 --merges a4c5e1680f302981d2a38419928a1399fd8860a9~1..a4c5e1680f302981d2a38419928a1399fd8860a9 [Pipeline] echo 13:54:31 -----------> git rev-list -1 --merges a4c5e1680f302981d2a38419928a1399fd8860a9~1..a4c5e1680f302981d2a38419928a1399fd8860a9 a4c5e1680f302981d2a38419928a1399fd8860a9 13:54:31 a4c5e1680f302981d2a38419928a1399fd8860a9 [false] [Pipeline] sh 13:54:31 + git log --format=format:%s -1 a4c5e1680f302981d2a38419928a1399fd8860a9 [Pipeline] echo 13:54:31 ========================================================= 13:54:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:54:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:54:32 + git log --format=format:%s -1 a4c5e1680f302981d2a38419928a1399fd8860a9 [Pipeline] echo 13:54:32 [semverPrep] GIT_COMMIT: a4c5e1680f302981d2a38419928a1399fd8860a9, Commit Message: Merge pull request #296 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14 [Pipeline] echo 13:54:32 [semverPrep] This is not a build commit. [Pipeline] sh 13:54:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:54:32 + grep -v github /etc/ssh/ssh_known_hosts 13:54:32 + [ -e /tmp/ssh_known_hosts ] 13:54:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:54:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:54:32 + sudo tee -a /etc/ssh/ssh_known_hosts 13:54:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:32 13:54:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:33 0.1.4: Pulling from edgex-devops/py-git-semver 13:54:33 b85a868b505f: Pulling fs layer 13:54:33 e2be974225ed: Pulling fs layer 13:54:33 339a4e72a1f5: Pulling fs layer 13:54:33 988bab9f4d93: Pulling fs layer 13:54:33 1469e6f7b9e6: Pulling fs layer 13:54:33 eaf3925da568: Pulling fs layer 13:54:33 1469e6f7b9e6: Waiting 13:54:33 988bab9f4d93: Waiting 13:54:33 bab4dde63d76: Pulling fs layer 13:54:33 bde34c3a00c8: Pulling fs layer 13:54:33 b352a97aabf1: Pulling fs layer 13:54:33 bab4dde63d76: Waiting 13:54:33 eaf3925da568: Waiting 13:54:33 bde34c3a00c8: Waiting 13:54:33 4872d77fe225: Pulling fs layer 13:54:33 5851b861e8e6: Pulling fs layer 13:54:33 b352a97aabf1: Waiting 13:54:33 4872d77fe225: Waiting 13:54:33 5851b861e8e6: Waiting 13:54:33 e2be974225ed: Verifying Checksum 13:54:33 e2be974225ed: Download complete 13:54:33 988bab9f4d93: Verifying Checksum 13:54:33 988bab9f4d93: Download complete 13:54:33 1469e6f7b9e6: Verifying Checksum 13:54:33 1469e6f7b9e6: Download complete 13:54:33 eaf3925da568: Download complete 13:54:33 339a4e72a1f5: Verifying Checksum 13:54:33 339a4e72a1f5: Download complete 13:54:33 bde34c3a00c8: Download complete 13:54:33 b352a97aabf1: Verifying Checksum 13:54:33 b352a97aabf1: Download complete 13:54:33 4872d77fe225: Download complete 13:54:33 5851b861e8e6: Verifying Checksum 13:54:33 5851b861e8e6: Download complete 13:54:33 b85a868b505f: Download complete 13:54:33 bab4dde63d76: Verifying Checksum 13:54:33 bab4dde63d76: Download complete 13:54:35 b85a868b505f: Pull complete 13:54:35 e2be974225ed: Pull complete 13:54:35 339a4e72a1f5: Pull complete 13:54:35 988bab9f4d93: Pull complete 13:54:35 1469e6f7b9e6: Pull complete 13:54:35 eaf3925da568: Pull complete 13:54:38 bab4dde63d76: Pull complete 13:54:38 bde34c3a00c8: Pull complete 13:54:38 b352a97aabf1: Pull complete 13:54:38 4872d77fe225: Pull complete 13:54:38 5851b861e8e6: Pull complete 13:54:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:54:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:54:38 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 13:54:38 $ 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 13:54:39 $ docker top 6720b43290c7b5079fb333eafc5279d9e1ec1e2b98d657dc252eee17e8070a1a -eo pid,comm 13:54:39 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:54:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:54:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:54:39 [ssh-agent] Looking for ssh-agent implementation... 13:54:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:54:40 $ docker exec 6720b43290c7b5079fb333eafc5279d9e1ec1e2b98d657dc252eee17e8070a1a ssh-agent 13:54:40 SSH_AUTH_SOCK=/tmp/ssh-NIiOQNQZxXvp/agent.34 13:54:40 SSH_AGENT_PID=41 13:54:40 Running ssh-add (command line suppressed) 13:54:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1899483962585249777.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1899483962585249777.key) 13:54:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:54:40 + git tag --points-at HEAD [Pipeline] } 13:54:40 $ docker exec --env ******** --env ******** 6720b43290c7b5079fb333eafc5279d9e1ec1e2b98d657dc252eee17e8070a1a ssh-agent -k 13:54:40 unset SSH_AUTH_SOCK; 13:54:40 unset SSH_AGENT_PID; 13:54:40 echo Agent pid 41 killed; 13:54:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:54:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:54:40 [ssh-agent] Looking for ssh-agent implementation... 13:54:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:54:40 $ docker exec 6720b43290c7b5079fb333eafc5279d9e1ec1e2b98d657dc252eee17e8070a1a ssh-agent 13:54:41 SSH_AUTH_SOCK=/tmp/ssh-8kkC6R7ya5pu/agent.75 13:54:41 SSH_AGENT_PID=81 13:54:41 Running ssh-add (command line suppressed) 13:54:41 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7960990270790278404.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7960990270790278404.key) 13:54:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:54:41 + git semver init 13:54:41 2022-07-18 13:54:41,767 [run_init] DEBUG init version:0.0.0 force:False 13:54:41 2022-07-18 13:54:41,768 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 13:54:41 2022-07-18 13:54:41,768 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 13:54:41 2022-07-18 13:54:41,768 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:54:43 2022-07-18 13:54:42,772 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 13:54:43 2022-07-18 13:54:42,772 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 13:54:43 2022-07-18 13:54:42,773 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:54:43 2022-07-18 13:54:42,773 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:54:43 2.2.1-dev.8 [Pipeline] } 13:54:43 $ docker exec --env ******** --env ******** 6720b43290c7b5079fb333eafc5279d9e1ec1e2b98d657dc252eee17e8070a1a ssh-agent -k 13:54:43 unset SSH_AUTH_SOCK; 13:54:43 unset SSH_AGENT_PID; 13:54:43 echo Agent pid 81 killed; 13:54:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:54:43 + git semver [Pipeline] } 13:54:43 $ docker stop --time=1 6720b43290c7b5079fb333eafc5279d9e1ec1e2b98d657dc252eee17e8070a1a 13:54:45 $ docker rm -f 6720b43290c7b5079fb333eafc5279d9e1ec1e2b98d657dc252eee17e8070a1a [Pipeline] // withDockerContainer [Pipeline] sh 13:54:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:54:45 Stashed 1 file(s) [Pipeline] echo 13:54:45 [edgeXSemver]: initialized semver on version 2.2.1-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:54:46 provisioning config files... 13:54:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4303135747229479099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:54:46 ---> docker-login.sh 13:54:46 nexus3.edgexfoundry.org:10001 13:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:46 Configure a credential helper to remove this warning. See 13:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:46 13:54:46 Login Succeeded 13:54:46 nexus3.edgexfoundry.org:10002 13:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:46 Configure a credential helper to remove this warning. See 13:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:46 13:54:46 Login Succeeded 13:54:46 nexus3.edgexfoundry.org:10003 13:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:46 Configure a credential helper to remove this warning. See 13:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:46 13:54:46 Login Succeeded 13:54:46 nexus3.edgexfoundry.org:10004 13:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:46 Configure a credential helper to remove this warning. See 13:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:46 13:54:46 Login Succeeded 13:54:46 docker.io 13:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:47 Configure a credential helper to remove this warning. See 13:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:47 13:54:47 Login Succeeded 13:54:47 ---> docker-login.sh ends [Pipeline] } 13:54:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:54:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:54:47 ========================================================= 13:54:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:54:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:47 + 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 . 13:54:47 Sending build context to Docker daemon 23.05MB 13:54:47 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:54:47 Step 2/12 : FROM ${BASE} AS builder 13:54:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:54:48 2408cc74d12b: Pulling fs layer 13:54:48 ea60b727a1ce: Pulling fs layer 13:54:48 30c4a7721957: Pulling fs layer 13:54:48 370296b7ddb6: Pulling fs layer 13:54:48 7c6cee850709: Pulling fs layer 13:54:48 39a5fcdaea64: Pulling fs layer 13:54:48 d94ebbe4e438: Pulling fs layer 13:54:48 bcfd1f05c69d: Pulling fs layer 13:54:48 59ccb84bbe0f: Pulling fs layer 13:54:48 370296b7ddb6: Waiting 13:54:48 7c6cee850709: Waiting 13:54:48 39a5fcdaea64: Waiting 13:54:48 d94ebbe4e438: Waiting 13:54:48 bcfd1f05c69d: Waiting 13:54:48 59ccb84bbe0f: Waiting 13:54:48 30c4a7721957: Verifying Checksum 13:54:48 30c4a7721957: Download complete 13:54:48 ea60b727a1ce: Download complete 13:54:48 7c6cee850709: Download complete 13:54:48 39a5fcdaea64: Verifying Checksum 13:54:48 39a5fcdaea64: Download complete 13:54:48 2408cc74d12b: Verifying Checksum 13:54:48 2408cc74d12b: Download complete 13:54:48 d94ebbe4e438: Verifying Checksum 13:54:48 d94ebbe4e438: Download complete 13:54:48 2408cc74d12b: Pull complete 13:54:48 ea60b727a1ce: Pull complete 13:54:48 30c4a7721957: Pull complete 13:54:48 59ccb84bbe0f: Verifying Checksum 13:54:48 59ccb84bbe0f: Download complete 13:54:48 bcfd1f05c69d: Verifying Checksum 13:54:48 bcfd1f05c69d: Download complete 13:54:48 370296b7ddb6: Verifying Checksum 13:54:48 370296b7ddb6: Download complete 13:54:53 370296b7ddb6: Pull complete 13:54:53 7c6cee850709: Pull complete 13:54:53 39a5fcdaea64: Pull complete 13:54:53 d94ebbe4e438: Pull complete 13:54:55 bcfd1f05c69d: Pull complete 13:54:56 59ccb84bbe0f: Pull complete 13:54:56 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 13:54:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:54:56 ---> a4fb48ad2a94 13:54:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:54:58 ---> Running in 917b163fc37c 13:54:58 Removing intermediate container 917b163fc37c 13:54:58 ---> 9b3ac0f1429e 13:54:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:54:58 ---> Running in ce8822429ceb 13:54:58 Removing intermediate container ce8822429ceb 13:54:58 ---> 4dcd607ad9f5 13:54:58 Step 5/12 : WORKDIR /device-virtual-go 13:54:58 ---> Running in 3bc02e571fed 13:54:58 Removing intermediate container 3bc02e571fed 13:54:58 ---> 60dc53e1bc5e 13:54:58 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:54:58 ---> Running in f7a75ceb1e26 13:54:58 Removing intermediate container f7a75ceb1e26 13:54:58 ---> 1db4c24b0138 13:54:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:54:58 ---> Running in 950076d66a6b 13:54:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:54:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:55:00 (1/4) Installing openssh-keygen (9.0_p1-r1) 13:55:00 (2/4) Installing libedit (20210910.3.1-r0) 13:55:00 (3/4) Installing openssh-client-common (9.0_p1-r1) 13:55:00 (4/4) Installing openssh-client-default (9.0_p1-r1) 13:55:00 Executing busybox-1.35.0-r13.trigger 13:55:00 OK: 216 MiB in 55 packages 13:55:00 Removing intermediate container 950076d66a6b 13:55:00 ---> 8554959f7c6e 13:55:00 Step 8/12 : COPY go.mod vendor* ./ 13:55:01 Still waiting to schedule task 13:55:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:55:01 ---> 4386925a0501 13:55:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:55:01 ---> Running in 5f49d9c72203 13:55:19 Removing intermediate container 5f49d9c72203 13:55:19 ---> e082ceb5f68d 13:55:19 Step 10/12 : COPY . . 13:55:19 ---> 4a1567ff125c 13:55:19 Step 11/12 : ARG MAKE='make build' 13:55:19 ---> Running in 2e834b8e4207 13:55:19 Removing intermediate container 2e834b8e4207 13:55:19 ---> 526723caacd9 13:55:19 Step 12/12 : RUN $MAKE 13:55:19 ---> Running in 837a2a04d7a0 13:55:19 noop 13:55:19 Removing intermediate container 837a2a04d7a0 13:55:19 ---> 090dc3c4a3be 13:55:19 Successfully built 090dc3c4a3be 13:55:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:19 + docker inspect -f . ci-base-image-x86_64 13:55:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:55:19 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 13:55:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:55:20 $ docker top 6c431d48039538b9669247756dac164f9a92ba19d844036e42b8dc90f5afda3e -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:20 + go version 13:55:20 go version go1.18.3 linux/amd64 [Pipeline] } 13:55:20 $ docker stop --time=1 6c431d48039538b9669247756dac164f9a92ba19d844036e42b8dc90f5afda3e 13:55:21 $ docker rm -f 6c431d48039538b9669247756dac164f9a92ba19d844036e42b8dc90f5afda3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:22 + docker inspect -f . ci-base-image-x86_64 13:55:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:55:22 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 13:55:22 $ 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 13:55:22 $ docker top fc81f68d03d0bbac29de04a6df3320973fb7b6446fadd74a9bda1d6880ff32ac -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:23 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 13:55:23 + make test 13:55:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:55:23 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:55:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:55:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 13:55:42 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." 13:55:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:55:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:55:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:55:45 ./bin/test-attribution-txt.sh [Pipeline] echo 13:55:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:55:45 $ docker stop --time=1 fc81f68d03d0bbac29de04a6df3320973fb7b6446fadd74a9bda1d6880ff32ac 13:55:48 $ docker rm -f fc81f68d03d0bbac29de04a6df3320973fb7b6446fadd74a9bda1d6880ff32ac [Pipeline] // withDockerContainer [Pipeline] sh 13:55:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:55:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:55:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:55:49 + ls -al . 13:55:49 total 192 13:55:49 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 13:55 . 13:55:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 13:54 .. 13:55:49 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 13:55 .git 13:55:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 13:54 .github 13:55:49 -rw-rw-r-- 1 jenkins jenkins 337 Jul 18 13:54 .gitignore 13:55:49 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 13:54 .golangci.yml 13:55:49 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 13:54 .semver 13:55:49 -rw-rw-r-- 1 jenkins jenkins 8152 Jul 18 13:54 Attribution.txt 13:55:49 -rw-rw-r-- 1 jenkins jenkins 9649 Jul 18 13:54 CHANGELOG.md 13:55:49 -rw-rw-r-- 1 jenkins jenkins 1978 Jul 18 13:54 Dockerfile 13:55:49 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 13:54 GOVERNANCE.md 13:55:49 -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 13:54 Jenkinsfile 13:55:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 13:54 LICENSE 13:55:49 -rw-rw-r-- 1 jenkins jenkins 2248 Jul 18 13:54 Makefile 13:55:49 -rw-rw-r-- 1 jenkins jenkins 623 Jul 18 13:54 OWNERS.md 13:55:49 -rw-rw-r-- 1 jenkins jenkins 2914 Jul 18 13:54 README.md 13:55:49 -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 13:54 VERSION 13:55:49 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 13:54 bin 13:55:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 13:54 cmd 13:55:49 -rw-r--r-- 1 jenkins jenkins 44128 Jul 18 13:55 coverage.out 13:55:49 -rw-rw-r-- 1 jenkins jenkins 3191 Jul 18 13:54 go.mod 13:55:49 -rw-rw-r-- 1 jenkins jenkins 34839 Jul 18 13:54 go.sum 13:55:49 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 13:54 internal 13:55:49 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 13:54 snap 13:55:49 -rw-rw-r-- 1 jenkins jenkins 235 Jul 18 13:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:49 + 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=a4c5e1680f302981d2a38419928a1399fd8860a9 --label arch=amd64 --label version=2.2.1-dev.8 . 13:55:49 Sending build context to Docker daemon 23.1MB 13:55:49 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 13:55:49 Step 2/26 : FROM ${BASE} AS builder 13:55:49 ---> 090dc3c4a3be 13:55:49 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:55:49 ---> Running in 2da1c961702b 13:55:49 Removing intermediate container 2da1c961702b 13:55:49 ---> ba1167da494d 13:55:49 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:55:49 ---> Running in 3ae633f02e54 13:55:49 Removing intermediate container 3ae633f02e54 13:55:49 ---> b11b18cd19ae 13:55:49 Step 5/26 : WORKDIR /device-virtual-go 13:55:49 ---> Running in f2038435df42 13:55:50 Removing intermediate container f2038435df42 13:55:50 ---> 988762b5f52e 13:55:50 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:55:50 ---> Running in 760531384b3c 13:55:50 Removing intermediate container 760531384b3c 13:55:50 ---> 80844c2dc7bb 13:55:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:55:50 ---> Running in c99529e2d995 13:55:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:55:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:55:52 OK: 216 MiB in 55 packages 13:55:52 Removing intermediate container c99529e2d995 13:55:52 ---> 0170324b3aa5 13:55:52 Step 8/26 : COPY go.mod vendor* ./ 13:55:52 ---> 5e92fc64f315 13:55:52 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:55:52 ---> Running in d953a415dd23 13:55:53 Removing intermediate container d953a415dd23 13:55:53 ---> 7756302cc853 13:55:53 Step 10/26 : COPY . . 13:55:53 ---> c866d1e8a18f 13:55:53 Step 11/26 : ARG MAKE='make build' 13:55:53 ---> Running in 7f340d99a777 13:55:54 Removing intermediate container 7f340d99a777 13:55:54 ---> d6e143e302d7 13:55:54 Step 12/26 : RUN $MAKE 13:55:54 ---> Running in 9846dc592022 13:55:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 13:56:16 Removing intermediate container 9846dc592022 13:56:16 ---> 6be247ea6d17 13:56:16 Step 13/26 : FROM alpine:3.16 13:56:16 3.16: Pulling from library/alpine 13:56:16 2408cc74d12b: Already exists 13:56:16 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 13:56:16 Status: Downloaded newer image for alpine:3.16 13:56:16 ---> e66264b98777 13:56:16 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:56:16 ---> Running in 31778e29d5e9 13:56:16 Removing intermediate container 31778e29d5e9 13:56:16 ---> 19218bfc6c59 13:56:16 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:56:16 ---> Running in 305b9b5404a5 13:56:16 Removing intermediate container 305b9b5404a5 13:56:16 ---> 7f3daa136ed8 13:56:16 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 13:56:16 ---> Running in 446b7673a3a7 13:56:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:56:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:56:18 (1/6) Installing dumb-init (1.2.5-r1) 13:56:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 13:56:18 (3/6) Installing libsodium (1.0.18-r0) 13:56:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 13:56:18 (5/6) Installing libzmq (4.3.4-r0) 13:56:18 (6/6) Installing zeromq (4.3.4-r0) 13:56:18 Executing busybox-1.35.0-r13.trigger 13:56:18 OK: 8 MiB in 20 packages 13:56:19 Removing intermediate container 446b7673a3a7 13:56:19 ---> a501c32731ac 13:56:19 Step 17/26 : WORKDIR / 13:56:19 ---> Running in 40970e4aebab 13:56:19 Removing intermediate container 40970e4aebab 13:56:19 ---> a958aa37efc2 13:56:19 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:56:19 ---> 717dcebda61a 13:56:19 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:56:19 ---> eb29f29ae041 13:56:19 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:56:20 ---> c62c65ad741f 13:56:20 Step 21/26 : EXPOSE 59900 13:56:20 ---> Running in 142e2e1384a3 13:56:20 Removing intermediate container 142e2e1384a3 13:56:20 ---> 83732fb3841b 13:56:20 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:56:20 ---> Running in 58a13a22e376 13:56:20 Removing intermediate container 58a13a22e376 13:56:20 ---> 6ea1d0debe67 13:56:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:56:20 ---> Running in 861fc47925c1 13:56:20 Removing intermediate container 861fc47925c1 13:56:20 ---> 7fe4b4154114 13:56:20 Step 24/26 : LABEL arch=amd64 13:56:20 ---> Running in 1a4c4f921b04 13:56:20 Removing intermediate container 1a4c4f921b04 13:56:20 ---> 02a494758321 13:56:20 Step 25/26 : LABEL git_sha=a4c5e1680f302981d2a38419928a1399fd8860a9 13:56:20 ---> Running in a0f866591bdf 13:56:20 Removing intermediate container a0f866591bdf 13:56:20 ---> bd591d749f09 13:56:20 Step 26/26 : LABEL version=2.2.1-dev.8 13:56:21 ---> Running in c01a4f9857ea 13:56:21 Removing intermediate container c01a4f9857ea 13:56:21 ---> 1f605d853752 13:56:21 [Warning] One or more build-args [ARCH] were not consumed 13:56:21 Successfully built 1f605d853752 13:56:21 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:56:21 provisioning config files... 13:56:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8636325952364049979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:56:21 ---> docker-login.sh 13:56:21 nexus3.edgexfoundry.org:10001 13:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:21 Configure a credential helper to remove this warning. See 13:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:21 13:56:21 Login Succeeded 13:56:21 nexus3.edgexfoundry.org:10002 13:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:21 Configure a credential helper to remove this warning. See 13:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:21 13:56:21 Login Succeeded 13:56:21 nexus3.edgexfoundry.org:10003 13:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:21 Configure a credential helper to remove this warning. See 13:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:21 13:56:21 Login Succeeded 13:56:21 nexus3.edgexfoundry.org:10004 13:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:22 Configure a credential helper to remove this warning. See 13:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:22 13:56:22 Login Succeeded 13:56:22 docker.io 13:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:56:22 Configure a credential helper to remove this warning. See 13:56:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:56:22 13:56:22 Login Succeeded 13:56:22 ---> docker-login.sh ends [Pipeline] } 13:56:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:56:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:56:22 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 13:56:22 a4c5e1680f302981d2a38419928a1399fd8860a9 13:56:22 latest 13:56:22 2.2.1-dev.8 13:56:22 a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8 13:56:22 main 13:56:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:22 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a4c5e1680f302981d2a38419928a1399fd8860a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual:a4c5e1680f302981d2a38419928a1399fd8860a9 13:56:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:56:23 d5edd4722f6a: Preparing 13:56:23 8f085177ccaf: Preparing 13:56:23 9ed68941b59c: Preparing 13:56:23 d9d3dc3c89a4: Preparing 13:56:23 88b292c67e26: Preparing 13:56:23 24302eb7d908: Preparing 13:56:23 24302eb7d908: Waiting 13:56:23 8f085177ccaf: Pushed 13:56:23 88b292c67e26: Pushed 13:56:23 9ed68941b59c: Pushed 13:56:23 24302eb7d908: Layer already exists 13:56:23 d9d3dc3c89a4: Pushed 13:56:25 d5edd4722f6a: Pushed 13:56:26 a4c5e1680f302981d2a38419928a1399fd8860a9: digest: sha256:8b4ad710275cbf01d9381df957600bc506355ce05946c2aa17e0936c44bd32a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 13:56:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:56:26 d5edd4722f6a: Preparing 13:56:26 8f085177ccaf: Preparing 13:56:26 9ed68941b59c: Preparing 13:56:26 d9d3dc3c89a4: Preparing 13:56:26 88b292c67e26: Preparing 13:56:26 24302eb7d908: Preparing 13:56:26 24302eb7d908: Waiting 13:56:26 d5edd4722f6a: Layer already exists 13:56:26 8f085177ccaf: Layer already exists 13:56:26 88b292c67e26: Layer already exists 13:56:26 9ed68941b59c: Layer already exists 13:56:26 d9d3dc3c89a4: Layer already exists 13:56:26 24302eb7d908: Layer already exists 13:56:26 latest: digest: sha256:8b4ad710275cbf01d9381df957600bc506355ce05946c2aa17e0936c44bd32a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.8 13:56:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:56:27 d5edd4722f6a: Preparing 13:56:27 8f085177ccaf: Preparing 13:56:27 9ed68941b59c: Preparing 13:56:27 d9d3dc3c89a4: Preparing 13:56:27 88b292c67e26: Preparing 13:56:27 24302eb7d908: Preparing 13:56:27 24302eb7d908: Waiting 13:56:27 8f085177ccaf: Layer already exists 13:56:27 9ed68941b59c: Layer already exists 13:56:27 88b292c67e26: Layer already exists 13:56:27 d5edd4722f6a: Layer already exists 13:56:27 d9d3dc3c89a4: Layer already exists 13:56:27 24302eb7d908: Layer already exists 13:56:27 2.2.1-dev.8: digest: sha256:8b4ad710275cbf01d9381df957600bc506355ce05946c2aa17e0936c44bd32a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8 13:56:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:56:28 d5edd4722f6a: Preparing 13:56:28 8f085177ccaf: Preparing 13:56:28 9ed68941b59c: Preparing 13:56:28 d9d3dc3c89a4: Preparing 13:56:28 88b292c67e26: Preparing 13:56:28 24302eb7d908: Preparing 13:56:28 24302eb7d908: Waiting 13:56:28 8f085177ccaf: Layer already exists 13:56:28 9ed68941b59c: Layer already exists 13:56:28 d5edd4722f6a: Layer already exists 13:56:28 88b292c67e26: Layer already exists 13:56:28 d9d3dc3c89a4: Layer already exists 13:56:28 24302eb7d908: Layer already exists 13:56:28 a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8: digest: sha256:8b4ad710275cbf01d9381df957600bc506355ce05946c2aa17e0936c44bd32a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:28 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 13:56:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:56:28 d5edd4722f6a: Preparing 13:56:28 8f085177ccaf: Preparing 13:56:28 9ed68941b59c: Preparing 13:56:28 d9d3dc3c89a4: Preparing 13:56:28 88b292c67e26: Preparing 13:56:28 24302eb7d908: Preparing 13:56:28 88b292c67e26: Layer already exists 13:56:28 8f085177ccaf: Layer already exists 13:56:28 d5edd4722f6a: Layer already exists 13:56:28 d9d3dc3c89a4: Layer already exists 13:56:28 9ed68941b59c: Layer already exists 13:56:28 24302eb7d908: Layer already exists 13:56:28 main: digest: sha256:8b4ad710275cbf01d9381df957600bc506355ce05946c2aa17e0936c44bd32a8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:56:28 ===================================================== [Pipeline] echo 13:56:28 taggedImages: 13:56:28 - nexus3.edgexfoundry.org:10004/device-virtual:a4c5e1680f302981d2a38419928a1399fd8860a9 13:56:28 - nexus3.edgexfoundry.org:10004/device-virtual:latest 13:56:28 - nexus3.edgexfoundry.org:10004/device-virtual:2.2.1-dev.8 13:56:28 - nexus3.edgexfoundry.org:10004/device-virtual:a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8 13:56:28 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:29 13:56:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:29 latest: Pulling from edgex-lftools-log-publisher 13:56:29 5eb5b503b376: Pulling fs layer 13:56:29 5c69ac0246d0: Pulling fs layer 13:56:29 ec43610c2a17: Pulling fs layer 13:56:29 3a2ae6a8a46f: Pulling fs layer 13:56:29 33b1e0a273af: Pulling fs layer 13:56:29 5d3b04190fa2: Pulling fs layer 13:56:29 3a2ae6a8a46f: Waiting 13:56:29 33b1e0a273af: Waiting 13:56:29 2f39f015ded8: Pulling fs layer 13:56:29 2f39f015ded8: Waiting 13:56:29 5d3b04190fa2: Waiting 13:56:29 5c69ac0246d0: Verifying Checksum 13:56:29 5c69ac0246d0: Download complete 13:56:29 3a2ae6a8a46f: Verifying Checksum 13:56:29 3a2ae6a8a46f: Download complete 13:56:29 33b1e0a273af: Verifying Checksum 13:56:29 33b1e0a273af: Download complete 13:56:29 ec43610c2a17: Verifying Checksum 13:56:29 ec43610c2a17: Download complete 13:56:29 5d3b04190fa2: Verifying Checksum 13:56:29 5d3b04190fa2: Download complete 13:56:29 5eb5b503b376: Verifying Checksum 13:56:29 5eb5b503b376: Download complete 13:56:30 2f39f015ded8: Download complete 13:56:30 5eb5b503b376: Pull complete 13:56:31 5c69ac0246d0: Pull complete 13:56:31 ec43610c2a17: Pull complete 13:56:31 3a2ae6a8a46f: Pull complete 13:56:31 33b1e0a273af: Pull complete 13:56:31 5d3b04190fa2: Pull complete 13:56:36 2f39f015ded8: Pull complete 13:56:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:56:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:36 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 13:56:36 $ 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 13:56:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20412 in /w/workspace/exfoundry_device-virtual-go_main 13:56:37 $ docker top 9889b04b92514d39337ab015a6051eb3266de083633b25c06c91fd8865dc624f -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 13:56:38 Running in /w/workspace/device-virtual-go/44 [Pipeline] { [Pipeline] checkout 13:56:38 The recommended git tool is: git 13:56:38 ---> job-cost.sh 13:56:38 lf-activate-venv: SKIPPING 13:56:38 INFO: No Stack... 13:56:38 INFO: Retrieving Pricing Info for: v3-standard-8 13:56:39 INFO: Archiving Costs [Pipeline] sh 13:56:39 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 13:56:39 + cut -d, -f6 [Pipeline] lock 13:56:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-44-stack-cost] 13:56:39 Resource [jenkins-edgexfoundry-device-virtual-go-main-44-stack-cost] did not exist. Created. 13:56:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:56:39 + echo total: 0.2199999988079071 [Pipeline] stash 13:56:39 Stashed 1 file(s) [Pipeline] } 13:56:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } 13:56:39 $ docker stop --time=1 9889b04b92514d39337ab015a6051eb3266de083633b25c06c91fd8865dc624f 13:56:41 $ docker rm -f 9889b04b92514d39337ab015a6051eb3266de083633b25c06c91fd8865dc624f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:56:45 using credential edgex-jenkins-ssh 13:56:45 Cloning the remote Git repository 13:56:45 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:56:45 > git init /w/workspace/device-virtual-go/44 # timeout=10 13:56:46 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:56:46 > git --version # timeout=10 13:56:46 > git --version # 'git version 2.25.1' 13:56:46 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:56:48 Avoid second fetch 13:56:48 Checking out Revision a4c5e1680f302981d2a38419928a1399fd8860a9 (main) 13:56:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:56:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:56:48 > git config core.sparsecheckout # timeout=10 13:56:48 > git checkout -f a4c5e1680f302981d2a38419928a1399fd8860a9 # timeout=10 13:56:52 Commit message: "Merge pull request #296 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:56:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:56:53 % Total % Received % Xferd Average Speed Time Time Time Current 13:56:53 Dload Upload Total Spent Left Speed 13:56:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 81131 0 --:--:-- --:--:-- --:--:-- 81131 [Pipeline] sh 13:56:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:56:54 + sudo tee /etc/docker/daemon.new 13:56:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:56:54 { 13:56:54 "registry-mirrors": [ 13:56:54 "https://nexus3.edgexfoundry.org:10001" 13:56:54 ], 13:56:54 "bip": "10.250.0.254/24", 13:56:54 "hosts": [ 13:56:54 "tcp://0.0.0.0:5555", 13:56:54 "unix:///var/run/docker.sock" 13:56:54 ], 13:56:54 "mtu": 1458, 13:56:54 "selinux-enabled": true, 13:56:54 "seccomp-profile": "/etc/docker/seccomp.json" 13:56:54 } [Pipeline] sh 13:56:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:56:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:57:14 provisioning config files... 13:57:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/44@tmp/config3167504579619198363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:57:14 ---> docker-login.sh 13:57:14 nexus3.edgexfoundry.org:10001 13:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:15 Configure a credential helper to remove this warning. See 13:57:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:15 13:57:15 Login Succeeded 13:57:15 nexus3.edgexfoundry.org:10002 13:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:16 Configure a credential helper to remove this warning. See 13:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:16 13:57:16 Login Succeeded 13:57:16 nexus3.edgexfoundry.org:10003 13:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:16 Configure a credential helper to remove this warning. See 13:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:16 13:57:16 Login Succeeded 13:57:16 nexus3.edgexfoundry.org:10004 13:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:16 Configure a credential helper to remove this warning. See 13:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:16 13:57:16 Login Succeeded 13:57:16 docker.io 13:57:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:17 Configure a credential helper to remove this warning. See 13:57:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:17 13:57:17 Login Succeeded 13:57:17 ---> docker-login.sh ends [Pipeline] } 13:57:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:57:18 ========================================================= 13:57:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:57:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:57:18 + 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 . 13:57:18 Sending build context to Docker daemon 11.66MB 13:57:18 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:57:18 Step 2/12 : FROM ${BASE} AS builder 13:57:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:57:19 b3c136eddcbf: Pulling fs layer 13:57:19 c0a3192eca97: Pulling fs layer 13:57:19 a050256f5b6f: Pulling fs layer 13:57:19 656be50a0ddc: Pulling fs layer 13:57:19 2bbca73fdf42: Pulling fs layer 13:57:19 46d945488cbd: Pulling fs layer 13:57:19 8a5474983e97: Pulling fs layer 13:57:19 329c88fbcd65: Pulling fs layer 13:57:19 46d945488cbd: Waiting 13:57:19 8a5474983e97: Waiting 13:57:19 656be50a0ddc: Waiting 13:57:19 329c88fbcd65: Waiting 13:57:19 2bbca73fdf42: Waiting 13:57:19 a050256f5b6f: Verifying Checksum 13:57:19 a050256f5b6f: Download complete 13:57:19 c0a3192eca97: Verifying Checksum 13:57:19 c0a3192eca97: Download complete 13:57:19 2bbca73fdf42: Verifying Checksum 13:57:19 2bbca73fdf42: Download complete 13:57:19 46d945488cbd: Verifying Checksum 13:57:19 46d945488cbd: Download complete 13:57:19 b3c136eddcbf: Verifying Checksum 13:57:20 b3c136eddcbf: Pull complete 13:57:20 329c88fbcd65: Verifying Checksum 13:57:20 329c88fbcd65: Download complete 13:57:20 c0a3192eca97: Pull complete 13:57:20 a050256f5b6f: Pull complete 13:57:21 8a5474983e97: Verifying Checksum 13:57:21 8a5474983e97: Download complete 13:57:22 656be50a0ddc: Verifying Checksum 13:57:22 656be50a0ddc: Download complete 13:57:34 656be50a0ddc: Pull complete 13:57:34 2bbca73fdf42: Pull complete 13:57:34 46d945488cbd: Pull complete 13:57:41 8a5474983e97: Pull complete 13:57:43 329c88fbcd65: Pull complete 13:57:43 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 13:57:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:57:43 ---> ff4287adb874 13:57:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:57:45 ---> Running in 1e45a60db1da 13:57:45 Removing intermediate container 1e45a60db1da 13:57:45 ---> 756017a3312d 13:57:45 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:57:45 ---> Running in 021a48fb40e6 13:57:45 Removing intermediate container 021a48fb40e6 13:57:45 ---> b177f27cb153 13:57:45 Step 5/12 : WORKDIR /device-virtual-go 13:57:45 ---> Running in bd88b3c0838a 13:57:46 Removing intermediate container bd88b3c0838a 13:57:46 ---> 0c78543d1ad7 13:57:46 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:57:46 ---> Running in 9511a43a133a 13:57:48 Removing intermediate container 9511a43a133a 13:57:48 ---> dd461b1bbd57 13:57:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:57:48 ---> Running in 3dea7032e357 13:57:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:57:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:57:51 (1/4) Installing openssh-keygen (9.0_p1-r1) 13:57:51 (2/4) Installing libedit (20210910.3.1-r0) 13:57:51 (3/4) Installing openssh-client-common (9.0_p1-r1) 13:57:51 (4/4) Installing openssh-client-default (9.0_p1-r1) 13:57:51 Executing busybox-1.35.0-r13.trigger 13:57:51 OK: 226 MiB in 55 packages 13:57:53 Removing intermediate container 3dea7032e357 13:57:53 ---> 69f7f01a6569 13:57:53 Step 8/12 : COPY go.mod vendor* ./ 13:57:53 ---> c0f88ef38e55 13:57:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:57:53 ---> Running in bec3a46f7209 13:58:40 Removing intermediate container bec3a46f7209 13:58:40 ---> a817b77b861d 13:58:40 Step 10/12 : COPY . . 13:58:40 ---> c0a9481be5be 13:58:40 Step 11/12 : ARG MAKE='make build' 13:58:40 ---> Running in 0687672e0e6c 13:58:40 Removing intermediate container 0687672e0e6c 13:58:40 ---> 01a4f61b03cc 13:58:40 Step 12/12 : RUN $MAKE 13:58:40 ---> Running in 16336086b8dc 13:58:41 noop 13:58:42 Removing intermediate container 16336086b8dc 13:58:42 ---> 6d01979bccbb 13:58:42 Successfully built 6d01979bccbb 13:58:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:43 + docker inspect -f . ci-base-image-arm64 13:58:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:43 prd-ubuntu20.04-docker-arm64-4c-16g-20412 does not seem to be running inside a container 13:58:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/44 -v /w/workspace/device-virtual-go/44:/w/workspace/device-virtual-go/44:rw,z -v /w/workspace/device-virtual-go/44@tmp:/w/workspace/device-virtual-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:58:44 $ docker top 6ac79dfa50061a1ed8078a7f4c22992563e210f75354a83ba9666d18ae960ff8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:58:45 + go version 13:58:45 go version go1.18.3 linux/arm64 [Pipeline] } 13:58:45 $ docker stop --time=1 6ac79dfa50061a1ed8078a7f4c22992563e210f75354a83ba9666d18ae960ff8 13:58:47 $ docker rm -f 6ac79dfa50061a1ed8078a7f4c22992563e210f75354a83ba9666d18ae960ff8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:48 + docker inspect -f . ci-base-image-arm64 13:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:48 prd-ubuntu20.04-docker-arm64-4c-16g-20412 does not seem to be running inside a container 13:58:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/44 -v /w/workspace/device-virtual-go/44:/w/workspace/device-virtual-go/44:rw,z -v /w/workspace/device-virtual-go/44@tmp:/w/workspace/device-virtual-go/44@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:58:49 $ docker top d04fd695c4b52be21910ce43112e562b80ce35a77122419678ac34fbc5aa9c77 -eo pid,comm [Pipeline] { [Pipeline] sh 13:58:50 + git config --global --add safe.directory /w/workspace/device-virtual-go/44 [Pipeline] fileExists [Pipeline] sh 13:58:51 + make test 13:58:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:58:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:00:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:00:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.147s coverage: 65.7% of statements 14:00:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:00:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:00:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:00:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:00:52 ./bin/test-attribution-txt.sh [Pipeline] echo 14:00:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:00:52 $ docker stop --time=1 d04fd695c4b52be21910ce43112e562b80ce35a77122419678ac34fbc5aa9c77 14:00:54 $ docker rm -f d04fd695c4b52be21910ce43112e562b80ce35a77122419678ac34fbc5aa9c77 [Pipeline] // withDockerContainer [Pipeline] sh 14:00:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:00:55 Warning: overwriting stash ‘coverage-report’ 14:00:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:00:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:00:57 + ls -al . 14:00:57 total 188 14:00:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 13:58 . 14:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 13:56 .. 14:00:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 13:56 .git 14:00:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 13:56 .github 14:00:57 -rw-rw-r-- 1 jenkins jenkins 337 Jul 18 13:56 .gitignore 14:00:57 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 13:56 .golangci.yml 14:00:57 -rw-rw-r-- 1 jenkins jenkins 8152 Jul 18 13:56 Attribution.txt 14:00:57 -rw-rw-r-- 1 jenkins jenkins 9649 Jul 18 13:56 CHANGELOG.md 14:00:57 -rw-rw-r-- 1 jenkins jenkins 1978 Jul 18 13:56 Dockerfile 14:00:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 13:56 GOVERNANCE.md 14:00:57 -rw-rw-r-- 1 jenkins jenkins 660 Jul 18 13:56 Jenkinsfile 14:00:57 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 13:56 LICENSE 14:00:57 -rw-rw-r-- 1 jenkins jenkins 2248 Jul 18 13:56 Makefile 14:00:57 -rw-rw-r-- 1 jenkins jenkins 623 Jul 18 13:56 OWNERS.md 14:00:57 -rw-rw-r-- 1 jenkins jenkins 2914 Jul 18 13:56 README.md 14:00:57 -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 13:54 VERSION 14:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 13:56 bin 14:00:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 13:56 cmd 14:00:57 -rw-r--r-- 1 jenkins jenkins 44128 Jul 18 14:00 coverage.out 14:00:57 -rw-rw-r-- 1 jenkins jenkins 3191 Jul 18 13:56 go.mod 14:00:57 -rw-rw-r-- 1 jenkins jenkins 34839 Jul 18 13:56 go.sum 14:00:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 13:56 internal 14:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 13:56 snap 14:00:57 -rw-rw-r-- 1 jenkins jenkins 235 Jul 18 13:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:00:57 + 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=a4c5e1680f302981d2a38419928a1399fd8860a9 --label arch=arm64 --label version=2.2.1-dev.8 . 14:00:58 Sending build context to Docker daemon 11.7MB 14:00:58 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 14:00:58 Step 2/26 : FROM ${BASE} AS builder 14:00:58 ---> 6d01979bccbb 14:00:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:00:58 ---> Running in 5a140c0a9f27 14:00:58 Removing intermediate container 5a140c0a9f27 14:00:58 ---> abfbb55bd5f3 14:00:58 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 14:00:58 ---> Running in d20a11c588d9 14:00:59 Removing intermediate container d20a11c588d9 14:00:59 ---> c1e5cb2beabe 14:00:59 Step 5/26 : WORKDIR /device-virtual-go 14:00:59 ---> Running in dc2390c3ea48 14:00:59 Removing intermediate container dc2390c3ea48 14:00:59 ---> 7f3709dbee5c 14:00:59 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:00:59 ---> Running in 83724798cb76 14:01:01 Removing intermediate container 83724798cb76 14:01:01 ---> 99e5fe774ebf 14:01:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:01:01 ---> Running in c902ae7c202a 14:01:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:01:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:01:04 OK: 226 MiB in 55 packages 14:01:05 Removing intermediate container c902ae7c202a 14:01:05 ---> dc5b8347abf3 14:01:05 Step 8/26 : COPY go.mod vendor* ./ 14:01:06 ---> 7c60ba972a53 14:01:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:01:06 ---> Running in d3d81c5698e8 14:01:08 Removing intermediate container d3d81c5698e8 14:01:08 ---> 7431e3fc49e6 14:01:08 Step 10/26 : COPY . . 14:01:09 ---> 3a829fcbb7bf 14:01:09 Step 11/26 : ARG MAKE='make build' 14:01:09 ---> Running in 78c6657dc1ff 14:01:10 Removing intermediate container 78c6657dc1ff 14:01:10 ---> eedf6d689944 14:01:10 Step 12/26 : RUN $MAKE 14:01:10 ---> Running in 17db9eaf495a 14:01:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 14:03:33 Removing intermediate container 17db9eaf495a 14:03:33 ---> bcc7ffda361f 14:03:33 Step 13/26 : FROM alpine:3.16 14:03:33 3.16: Pulling from library/alpine 14:03:33 b3c136eddcbf: Already exists 14:03:33 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 14:03:33 Status: Downloaded newer image for alpine:3.16 14:03:33 ---> 6e30ab57aeee 14:03:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:03:33 ---> Running in 3969c4a8e1df 14:03:33 Removing intermediate container 3969c4a8e1df 14:03:33 ---> 50458aeec41f 14:03:33 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:03:33 ---> Running in e089db4fce31 14:03:33 Removing intermediate container e089db4fce31 14:03:33 ---> 56fa790236ff 14:03:33 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 14:03:33 ---> Running in 57fee31e506d 14:03:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:03:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:03:33 (1/6) Installing dumb-init (1.2.5-r1) 14:03:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:03:33 (3/6) Installing libsodium (1.0.18-r0) 14:03:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:03:33 (5/6) Installing libzmq (4.3.4-r0) 14:03:33 (6/6) Installing zeromq (4.3.4-r0) 14:03:33 Executing busybox-1.35.0-r13.trigger 14:03:33 OK: 8 MiB in 20 packages 14:03:33 Removing intermediate container 57fee31e506d 14:03:33 ---> b874e1dc1548 14:03:33 Step 17/26 : WORKDIR / 14:03:33 ---> Running in 1ee2ea5ac2cf 14:03:33 Removing intermediate container 1ee2ea5ac2cf 14:03:33 ---> f06538d534d4 14:03:33 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:03:33 ---> d170a946142e 14:03:33 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 14:03:33 ---> 2a8eee57c9e7 14:03:33 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 14:03:33 ---> 03df9277df8a 14:03:33 Step 21/26 : EXPOSE 59900 14:03:33 ---> Running in 7f51711b021e 14:03:33 Removing intermediate container 7f51711b021e 14:03:33 ---> f10c24146373 14:03:33 Step 22/26 : ENTRYPOINT ["/device-virtual"] 14:03:33 ---> Running in 760292a708ff 14:03:33 Removing intermediate container 760292a708ff 14:03:33 ---> 591258e79f47 14:03:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:03:33 ---> Running in 5ea7d2dc0ca9 14:03:33 Removing intermediate container 5ea7d2dc0ca9 14:03:33 ---> cf45331defac 14:03:33 Step 24/26 : LABEL arch=arm64 14:03:33 ---> Running in 1a92e962f1c3 14:03:33 Removing intermediate container 1a92e962f1c3 14:03:33 ---> 3d5ca8d6c032 14:03:33 Step 25/26 : LABEL git_sha=a4c5e1680f302981d2a38419928a1399fd8860a9 14:03:33 ---> Running in 61ba76908241 14:03:33 Removing intermediate container 61ba76908241 14:03:33 ---> 103af9b342cc 14:03:33 Step 26/26 : LABEL version=2.2.1-dev.8 14:03:33 ---> Running in 8162dfcaf286 14:03:33 Removing intermediate container 8162dfcaf286 14:03:33 ---> 65b7362405ef 14:03:33 [Warning] One or more build-args [ARCH] were not consumed 14:03:33 Successfully built 65b7362405ef 14:03:33 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 14:03:33 provisioning config files... 14:03:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/44@tmp/config2300110722379353234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:03:34 ---> docker-login.sh 14:03:34 nexus3.edgexfoundry.org:10001 14:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:34 Configure a credential helper to remove this warning. See 14:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:34 14:03:34 Login Succeeded 14:03:34 nexus3.edgexfoundry.org:10002 14:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:35 Configure a credential helper to remove this warning. See 14:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:35 14:03:35 Login Succeeded 14:03:35 nexus3.edgexfoundry.org:10003 14:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:35 Configure a credential helper to remove this warning. See 14:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:35 14:03:35 Login Succeeded 14:03:35 nexus3.edgexfoundry.org:10004 14:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:35 Configure a credential helper to remove this warning. See 14:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:35 14:03:35 Login Succeeded 14:03:35 docker.io 14:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:03:36 Configure a credential helper to remove this warning. See 14:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:03:36 14:03:36 Login Succeeded 14:03:36 ---> docker-login.sh ends [Pipeline] } 14:03:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:03:36 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 14:03:36 a4c5e1680f302981d2a38419928a1399fd8860a9 14:03:36 latest 14:03:36 2.2.1-dev.8 14:03:36 a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8 14:03:36 main 14:03:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:36 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4c5e1680f302981d2a38419928a1399fd8860a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4c5e1680f302981d2a38419928a1399fd8860a9 14:03:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:03:37 f64970613db9: Preparing 14:03:37 a7569ed869b8: Preparing 14:03:37 e555ad798a4e: Preparing 14:03:37 f6c56e9437a0: Preparing 14:03:37 02c305d4e20b: Preparing 14:03:37 dd565ff850e7: Preparing 14:03:37 dd565ff850e7: Waiting 14:03:37 e555ad798a4e: Pushed 14:03:37 02c305d4e20b: Pushed 14:03:37 a7569ed869b8: Pushed 14:03:37 dd565ff850e7: Layer already exists 14:03:38 f6c56e9437a0: Pushed 14:03:43 f64970613db9: Pushed 14:03:43 a4c5e1680f302981d2a38419928a1399fd8860a9: digest: sha256:5e769fc025f034ffe17a32330fa4d48ec4bb7d2376fa93bf330c0d18fd6139b1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:03:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:03:44 f64970613db9: Preparing 14:03:44 a7569ed869b8: Preparing 14:03:44 e555ad798a4e: Preparing 14:03:44 f6c56e9437a0: Preparing 14:03:44 02c305d4e20b: Preparing 14:03:44 dd565ff850e7: Preparing 14:03:44 dd565ff850e7: Waiting 14:03:44 02c305d4e20b: Layer already exists 14:03:44 a7569ed869b8: Layer already exists 14:03:44 f6c56e9437a0: Layer already exists 14:03:44 e555ad798a4e: Layer already exists 14:03:44 f64970613db9: Layer already exists 14:03:44 dd565ff850e7: Layer already exists 14:03:44 latest: digest: sha256:5e769fc025f034ffe17a32330fa4d48ec4bb7d2376fa93bf330c0d18fd6139b1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.8 14:03:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:03:45 f64970613db9: Preparing 14:03:45 a7569ed869b8: Preparing 14:03:45 e555ad798a4e: Preparing 14:03:45 f6c56e9437a0: Preparing 14:03:45 02c305d4e20b: Preparing 14:03:45 dd565ff850e7: Preparing 14:03:45 dd565ff850e7: Waiting 14:03:45 a7569ed869b8: Layer already exists 14:03:45 02c305d4e20b: Layer already exists 14:03:45 f64970613db9: Layer already exists 14:03:45 e555ad798a4e: Layer already exists 14:03:45 f6c56e9437a0: Layer already exists 14:03:45 dd565ff850e7: Layer already exists 14:03:45 2.2.1-dev.8: digest: sha256:5e769fc025f034ffe17a32330fa4d48ec4bb7d2376fa93bf330c0d18fd6139b1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8 14:03:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:03:46 f64970613db9: Preparing 14:03:46 a7569ed869b8: Preparing 14:03:46 e555ad798a4e: Preparing 14:03:46 f6c56e9437a0: Preparing 14:03:46 02c305d4e20b: Preparing 14:03:46 dd565ff850e7: Preparing 14:03:46 dd565ff850e7: Waiting 14:03:46 f6c56e9437a0: Layer already exists 14:03:46 02c305d4e20b: Layer already exists 14:03:46 a7569ed869b8: Layer already exists 14:03:46 e555ad798a4e: Layer already exists 14:03:46 f64970613db9: Layer already exists 14:03:46 dd565ff850e7: Layer already exists 14:03:46 a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8: digest: sha256:5e769fc025f034ffe17a32330fa4d48ec4bb7d2376fa93bf330c0d18fd6139b1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 14:03:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:03:47 f64970613db9: Preparing 14:03:47 a7569ed869b8: Preparing 14:03:47 e555ad798a4e: Preparing 14:03:47 f6c56e9437a0: Preparing 14:03:47 02c305d4e20b: Preparing 14:03:47 dd565ff850e7: Preparing 14:03:47 dd565ff850e7: Waiting 14:03:47 f6c56e9437a0: Layer already exists 14:03:47 e555ad798a4e: Layer already exists 14:03:47 a7569ed869b8: Layer already exists 14:03:47 f64970613db9: Layer already exists 14:03:47 02c305d4e20b: Layer already exists 14:03:47 dd565ff850e7: Layer already exists 14:03:47 main: digest: sha256:5e769fc025f034ffe17a32330fa4d48ec4bb7d2376fa93bf330c0d18fd6139b1 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:03:47 ===================================================== [Pipeline] echo 14:03:47 taggedImages: 14:03:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4c5e1680f302981d2a38419928a1399fd8860a9 14:03:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:03:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.1-dev.8 14:03:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:a4c5e1680f302981d2a38419928a1399fd8860a9-2.2.1-dev.8 14:03:47 - 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 14:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:03:47 14:03:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:03:48 arm64: Pulling from edgex-lftools-log-publisher 14:03:48 8998bd30e6a1: Pulling fs layer 14:03:48 04944245beec: Pulling fs layer 14:03:48 699f458cf7ca: Pulling fs layer 14:03:48 765212b225bb: Pulling fs layer 14:03:48 f23df028b6ca: Pulling fs layer 14:03:48 d65c8cfc05b1: Pulling fs layer 14:03:48 2437ff75d9bd: Pulling fs layer 14:03:48 d65c8cfc05b1: Waiting 14:03:48 765212b225bb: Waiting 14:03:48 f23df028b6ca: Waiting 14:03:48 2437ff75d9bd: Waiting 14:03:48 04944245beec: Verifying Checksum 14:03:48 04944245beec: Download complete 14:03:48 765212b225bb: Verifying Checksum 14:03:48 765212b225bb: Download complete 14:03:48 f23df028b6ca: Verifying Checksum 14:03:48 f23df028b6ca: Download complete 14:03:48 d65c8cfc05b1: Verifying Checksum 14:03:48 d65c8cfc05b1: Download complete 14:03:48 699f458cf7ca: Verifying Checksum 14:03:48 699f458cf7ca: Download complete 14:03:49 8998bd30e6a1: Download complete 14:03:51 2437ff75d9bd: Verifying Checksum 14:03:51 2437ff75d9bd: Download complete 14:03:53 8998bd30e6a1: Pull complete 14:03:54 04944245beec: Pull complete 14:03:55 699f458cf7ca: Pull complete 14:03:55 765212b225bb: Pull complete 14:03:56 f23df028b6ca: Pull complete 14:03:56 d65c8cfc05b1: Pull complete 14:04:11 2437ff75d9bd: Pull complete 14:04:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:04:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:12 prd-ubuntu20.04-docker-arm64-4c-16g-20412 does not seem to be running inside a container 14:04:12 $ 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/44 -v /w/workspace/device-virtual-go/44:/w/workspace/device-virtual-go/44:rw,z -v /w/workspace/device-virtual-go/44@tmp:/w/workspace/device-virtual-go/44@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 14:04:14 $ docker top 765fc6dffb9f75a126404d2ce2bdd8cf9b3369a4dd00f462656be284c5488ff6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:04:15 ---> job-cost.sh 14:04:15 lf-activate-venv: SKIPPING 14:04:15 INFO: No Stack... 14:04:16 INFO: Retrieving Pricing Info for: v3-standard-4 14:04:17 INFO: Archiving Costs [Pipeline] sh 14:04:17 + cat /w/workspace/device-virtual-go/44/archives/cost.csv 14:04:17 + cut -d, -f6 [Pipeline] lock 14:04:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-44-stack-cost] 14:04:17 Resource [jenkins-edgexfoundry-device-virtual-go-main-44-stack-cost] did not exist. Created. 14:04:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:04:18 /w/workspace/device-virtual-go/44@tmp/durable-d3de137b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:04:19 + echo total: 0.10999999940395355 [Pipeline] stash 14:04:19 Warning: overwriting stash ‘stack-cost’ 14:04:19 Stashed 1 file(s) [Pipeline] } 14:04:19 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } 14:04:19 $ docker stop --time=1 765fc6dffb9f75a126404d2ce2bdd8cf9b3369a4dd00f462656be284c5488ff6 14:04:20 $ docker rm -f 765fc6dffb9f75a126404d2ce2bdd8cf9b3369a4dd00f462656be284c5488ff6 [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 14:04:21 provisioning config files... 14:04:21 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4872882445957969608tmp [Pipeline] { [Pipeline] sh 14:04:21 + set +x 14:04:21 + curl -s https://codecov.io/bash 14:04:21 + bash -s -- 14:04:21 14:04:21 _____ _ 14:04:21 / ____| | | 14:04:21 | | ___ __| | ___ ___ _____ __ 14:04:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:04:21 | |___| (_) | (_| | __/ (_| (_) \ V / 14:04:21 \_____\___/ \__,_|\___|\___\___/ \_/ 14:04:21 Bash-1.0.6 14:04:21 14:04:21 14:04:21 ==> git version 2.25.1 found 14:04:21 ==> 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 14:04:21 Release-Date: 2020-01-08 14:04:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:04:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:04:21 ==> Jenkins CI detected. 14:04:21 current dir:  /w/workspace/exfoundry_device-virtual-go_main 14:04:21 project root: . 14:04:21 --> token set from env 14:04:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:04:21 ==> Running gcov in . (disable via -X gcov) 14:04:21 ==> Python coveragepy not found 14:04:21 ==> Searching for coverage reports in: 14:04:21 + . 14:04:21 -> Found 1 reports 14:04:21 ==> Detecting git/mercurial file structure 14:04:21 ==> Reading reports 14:04:21 + ./coverage.out bytes=44128 14:04:21 ==> Appending adjustments 14:04:21 https://docs.codecov.io/docs/fixing-reports 14:04:21 + Found adjustments 14:04:21 ==> Gzipping contents 14:04:21 8.0K /tmp/codecov.GwcSQG.gz 14:04:21 ==> Uploading reports 14:04:21 url: https://codecov.io 14:04:21 query: branch=main&commit=a4c5e1680f302981d2a38419928a1399fd8860a9&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:04:21 -> Pinging Codecov 14:04:21 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=a4c5e1680f302981d2a38419928a1399fd8860a9&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:04:21 -> Uploading to 14:04:21 https://storage.googleapis.com/codecov/v4/raw/2022-07-18/5E52B4B073DB2E39498172D8E973AA87/a4c5e1680f302981d2a38419928a1399fd8860a9/fa1e2600-13d4-4bf5-8b6f-5d376ef2246b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T140421Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cee8064a0187656175ca4e6e8773c94d26f3e790bf88d713de83950c27fb99da 14:04:21 % Total % Received % Xferd Average Speed Time Time Time Current 14:04:21 Dload Upload Total Spent Left Speed 14:04:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5500 0 0 100 5500 0 27093 --:--:-- --:--:-- --:--:-- 26960 100 5500 0 0 100 5500 0 24663 --:--:-- --:--:-- --:--:-- 24663 14:04:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/a4c5e1680f302981d2a38419928a1399fd8860a9 [Pipeline] } 14:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:04:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:04:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:04:22 14:04:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:04:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:04:22 df9b9388f04a: Pulling fs layer 14:04:22 52dc419b0ee2: Pulling fs layer 14:04:22 25bc292e5bac: Pulling fs layer 14:04:22 114826534d7a: Pulling fs layer 14:04:22 4657fd5d0bcf: Pulling fs layer 14:04:22 6ad1cebc031e: Pulling fs layer 14:04:22 4657fd5d0bcf: Waiting 14:04:22 114826534d7a: Waiting 14:04:22 6ad1cebc031e: Waiting 14:04:22 8a3aa393b2d8: Pulling fs layer 14:04:22 8a3aa393b2d8: Waiting 14:04:22 25bc292e5bac: Verifying Checksum 14:04:22 25bc292e5bac: Download complete 14:04:22 52dc419b0ee2: Verifying Checksum 14:04:22 52dc419b0ee2: Download complete 14:04:22 4657fd5d0bcf: Download complete 14:04:22 df9b9388f04a: Download complete 14:04:23 df9b9388f04a: Pull complete 14:04:23 6ad1cebc031e: Verifying Checksum 14:04:23 6ad1cebc031e: Download complete 14:04:23 52dc419b0ee2: Pull complete 14:04:23 25bc292e5bac: Pull complete 14:04:23 114826534d7a: Verifying Checksum 14:04:23 114826534d7a: Download complete 14:04:24 8a3aa393b2d8: Verifying Checksum 14:04:24 8a3aa393b2d8: Download complete 14:04:28 114826534d7a: Pull complete 14:04:28 4657fd5d0bcf: Pull complete 14:04:28 6ad1cebc031e: Pull complete 14:04:31 8a3aa393b2d8: Pull complete 14:04:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:04:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:04:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:31 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 14:04:31 $ 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 14:04:35 $ docker top 0f27a84f2f56389d1cfae90ee0131a113894b88a418e61a91758da24ed2eb25f -eo pid,comm [Pipeline] { [Pipeline] echo 14:04:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 14:04:36 + set -o pipefail 14:04:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 14:04:42 14:04:42 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 14:04:42 14:04:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/6913555b-69f3-4909-8533-ac54c8344f73 14:04:42 14:04:42 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:04:42 14:04:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:04:42 14:04:42 [Pipeline] } 14:04:42 $ docker stop --time=1 0f27a84f2f56389d1cfae90ee0131a113894b88a418e61a91758da24ed2eb25f 14:04:45 $ docker rm -f 0f27a84f2f56389d1cfae90ee0131a113894b88a418e61a91758da24ed2eb25f [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 14:04:46 + git log --format=format:%s -1 a4c5e1680f302981d2a38419928a1399fd8860a9 [Pipeline] sh 14:04:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:04:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:04:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:47 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 14:04:47 $ 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 14:04:47 $ docker top dd16106349fecc9ad2880a014dc1a7e01a3b6a91550f3e36f083b5b93a803f46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:04:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:04:47 [ssh-agent] Looking for ssh-agent implementation... 14:04:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:04:47 $ docker exec dd16106349fecc9ad2880a014dc1a7e01a3b6a91550f3e36f083b5b93a803f46 ssh-agent 14:04:48 SSH_AUTH_SOCK=/tmp/ssh-cINx2ix20PsX/agent.33 14:04:48 SSH_AGENT_PID=39 14:04:48 Running ssh-add (command line suppressed) 14:04:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3174515941433816925.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3174515941433816925.key) 14:04:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:04:48 + git semver tag 14:04:48 2022-07-18 14:04:48,754 [run_tag] DEBUG tag force:False 14:04:48 2022-07-18 14:04:48,754 [check_head_tag] DEBUG check head tag 14:04:48 2022-07-18 14:04:48,755 [execute] INFO git cat-file --batch-check 14:04:48 2022-07-18 14:04:48,755 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 14:04:48 2022-07-18 14:04:48,759 [execute] INFO git cat-file --batch 14:04:48 2022-07-18 14:04:48,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 14:04:48 2022-07-18 14:04:48,770 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:04:48 2022-07-18 14:04:48,770 [execute] INFO git tag -a v2.2.1-dev.8 -m v2.2.1-dev.8 14:04:48 2022-07-18 14:04:48,771 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.8', '-m', 'v2.2.1-dev.8'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 14:04:48 2022-07-18 14:04:48,775 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:04:48 2.2.1-dev.8 [Pipeline] } 14:04:48 $ docker exec --env ******** --env ******** dd16106349fecc9ad2880a014dc1a7e01a3b6a91550f3e36f083b5b93a803f46 ssh-agent -k 14:04:48 unset SSH_AUTH_SOCK; 14:04:48 unset SSH_AGENT_PID; 14:04:48 echo Agent pid 39 killed; 14:04:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:04:49 + git semver [Pipeline] } 14:04:49 $ docker stop --time=1 dd16106349fecc9ad2880a014dc1a7e01a3b6a91550f3e36f083b5b93a803f46 14:04:50 $ docker rm -f dd16106349fecc9ad2880a014dc1a7e01a3b6a91550f3e36f083b5b93a803f46 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:04:51 14:04:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:04:51 0.23.1-centos7: Pulling from edgex-lftools 14:04:51 ab5ef0e58194: Pulling fs layer 14:04:51 9712f1f96733: Pulling fs layer 14:04:51 63f879dbbcfc: Pulling fs layer 14:04:51 0d9ebad4ef96: Pulling fs layer 14:04:51 e9a5061849ea: Pulling fs layer 14:04:51 d747dcd14b5f: Pulling fs layer 14:04:51 2de7ff778b66: Pulling fs layer 14:04:51 e9a5061849ea: Waiting 14:04:51 d747dcd14b5f: Waiting 14:04:51 2de7ff778b66: Waiting 14:04:51 0d9ebad4ef96: Waiting 14:04:51 9712f1f96733: Verifying Checksum 14:04:51 9712f1f96733: Download complete 14:04:51 63f879dbbcfc: Verifying Checksum 14:04:51 63f879dbbcfc: Download complete 14:04:52 e9a5061849ea: Verifying Checksum 14:04:52 e9a5061849ea: Download complete 14:04:52 d747dcd14b5f: Verifying Checksum 14:04:52 d747dcd14b5f: Download complete 14:04:52 ab5ef0e58194: Verifying Checksum 14:04:52 ab5ef0e58194: Download complete 14:04:52 2de7ff778b66: Verifying Checksum 14:04:52 2de7ff778b66: Download complete 14:04:52 0d9ebad4ef96: Verifying Checksum 14:04:52 0d9ebad4ef96: Download complete 14:04:55 ab5ef0e58194: Pull complete 14:04:55 9712f1f96733: Pull complete 14:04:55 63f879dbbcfc: Pull complete 14:05:00 0d9ebad4ef96: Pull complete 14:05:00 e9a5061849ea: Pull complete 14:05:00 d747dcd14b5f: Pull complete 14:05:02 2de7ff778b66: Pull complete 14:05:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:05:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:05:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:02 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 14:05:02 $ 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 14:05:06 $ docker top 5ba1669fb99460a1b1f14acb72b915df6b9a8c6c8eef61f47d3a397d1d7864a8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:05:06 provisioning config files... 14:05:06 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4408314772198560648tmp 14:05:06 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4556989509821656481tmp 14:05:06 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4920425344113371675tmp [Pipeline] { [Pipeline] echo 14:05:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:05:07 ---> sigul-configuration.sh 14:05:07 gpg: directory `/root/.gnupg' created 14:05:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:05:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:05:07 gpg: keyring `/root/.gnupg/secring.gpg' created 14:05:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:05:07 gpg: CAST5 encrypted data 14:05:07 gpg: encrypted with 1 passphrase 14:05:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:05:07 + mkdir /home/jenkins 14:05:07 + mkdir /home/jenkins/sigul [Pipeline] sh 14:05:07 + 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 14:05:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:05:08 ---> sigul-install.sh 14:05:08 Sigul already installed; skipping installation. [Pipeline] sh 14:05:08 + git tag --list 14:05:08 v1.0.0 14:05:08 v1.1.0 14:05:08 v1.1.1 14:05:08 v1.2.1 14:05:08 v1.2.2 14:05:08 v1.2.3 14:05:08 v1.3.0 14:05:08 v1.3.1 14:05:08 v2.0.0 14:05:08 v2.1.0 14:05:08 v2.1.1 14:05:08 v2.1.1-dev.1 14:05:08 v2.1.1-dev.2 14:05:08 v2.2.0 14:05:08 v2.2.1-dev.1 14:05:08 v2.2.1-dev.2 14:05:08 v2.2.1-dev.3 14:05:08 v2.2.1-dev.4 14:05:08 v2.2.1-dev.5 14:05:08 v2.2.1-dev.6 14:05:08 v2.2.1-dev.7 14:05:08 v2.2.1-dev.8 [Pipeline] sh 14:05:08 + lftools sign git-tag v2.2.1-dev.8 14:05:09 Signing Git tag with Sigul... 14:05:09 Signing v2.2.1-dev.8 [Pipeline] echo 14:05:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:05:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:05:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:05:09 $ docker stop --time=1 5ba1669fb99460a1b1f14acb72b915df6b9a8c6c8eef61f47d3a397d1d7864a8 14:05:11 $ docker rm -f 5ba1669fb99460a1b1f14acb72b915df6b9a8c6c8eef61f47d3a397d1d7864a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:05:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:05:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:12 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 14:05:12 $ 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 14:05:12 $ docker top 188d0eb341bfb6b56a499437245333312df55960024cc5ccd667f65520bac7bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:05:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:05:12 [ssh-agent] Looking for ssh-agent implementation... 14:05:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:05:12 $ docker exec 188d0eb341bfb6b56a499437245333312df55960024cc5ccd667f65520bac7bf ssh-agent 14:05:12 SSH_AUTH_SOCK=/tmp/ssh-lNV8cLdSieKO/agent.32 14:05:12 SSH_AGENT_PID=38 14:05:12 Running ssh-add (command line suppressed) 14:05:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8248812577690357769.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8248812577690357769.key) 14:05:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:05:13 + git semver bump pre 14:05:13 2022-07-18 14:05:13,516 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:05:13 2022-07-18 14:05:13,516 [bump_version] DEBUG bumping version:2.2.1-dev.8 on axis:pre with prefix:dev 14:05:13 2022-07-18 14:05:13,516 [bump_version] DEBUG bumped version:2.2.1-dev.9 14:05:13 2022-07-18 14:05:13,516 [write_version] DEBUG write version:2.2.1-dev.9 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 14:05:13 2022-07-18 14:05:13,516 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:05:13 2022-07-18 14:05:13,516 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:05:13 2022-07-18 14:05:13,519 [execute] INFO git cat-file --batch-check 14:05:13 2022-07-18 14:05:13,520 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:05:13 2022-07-18 14:05:13,526 [execute] INFO git cat-file --batch 14:05:13 2022-07-18 14:05:13,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:05:13 2022-07-18 14:05:13,535 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:05:13 2.2.1-dev.9 [Pipeline] } 14:05:13 $ docker exec --env ******** --env ******** 188d0eb341bfb6b56a499437245333312df55960024cc5ccd667f65520bac7bf ssh-agent -k 14:05:13 unset SSH_AUTH_SOCK; 14:05:13 unset SSH_AGENT_PID; 14:05:13 echo Agent pid 38 killed; 14:05:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:05:14 + git semver [Pipeline] } 14:05:14 $ docker stop --time=1 188d0eb341bfb6b56a499437245333312df55960024cc5ccd667f65520bac7bf 14:05:16 $ docker rm -f 188d0eb341bfb6b56a499437245333312df55960024cc5ccd667f65520bac7bf [Pipeline] // withDockerContainer [Pipeline] sh 14:05:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:05:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:16 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 14:05:16 $ 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 14:05:17 $ docker top 96dcedd6c01b2bd48ffecb357ada7386631bf20dd57158091f9cc004614ea1be -eo pid,comm 14:05:17 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). 14:05:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:05:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:05:17 [ssh-agent] Looking for ssh-agent implementation... 14:05:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:05:17 $ docker exec 96dcedd6c01b2bd48ffecb357ada7386631bf20dd57158091f9cc004614ea1be ssh-agent 14:05:17 SSH_AUTH_SOCK=/tmp/ssh-YBeTC9ZWAQYg/agent.21 14:05:17 SSH_AGENT_PID=39 14:05:17 Running ssh-add (command line suppressed) 14:05:18 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3549766268263259074.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3549766268263259074.key) 14:05:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:05:18 + git semver push 14:05:18 2022-07-18 14:05:18,543 [run_push] DEBUG push 14:05:18 2022-07-18 14:05:18,544 [execute] INFO git cat-file --batch-check 14:05:18 2022-07-18 14:05:18,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:05:18 2022-07-18 14:05:18,548 [execute] INFO git rev-list a9f6daa9b1e3f93cf11824200c5fbae864d9d177 -- 14:05:18 2022-07-18 14:05:18,548 [execute] DEBUG Popen(['git', 'rev-list', 'a9f6daa9b1e3f93cf11824200c5fbae864d9d177', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:05:18 2022-07-18 14:05:18,556 [execute] INFO git fetch -v origin 14:05:18 2022-07-18 14:05:18,556 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:05:19 2022-07-18 14:05:19,039 [run_push] DEBUG no remote changes detected 14:05:19 2022-07-18 14:05:19,040 [execute] INFO git push origin semver 14:05:19 2022-07-18 14:05:19,040 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:05:20 2022-07-18 14:05:19,802 [run_push] DEBUG push all version tags 14:05:20 2022-07-18 14:05:19,802 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:05:20 2022-07-18 14:05:19,803 [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) 14:05:20 2022-07-18 14:05:20,463 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:05:20 2.2.1-dev.9 [Pipeline] } 14:05:20 $ docker exec --env ******** --env ******** 96dcedd6c01b2bd48ffecb357ada7386631bf20dd57158091f9cc004614ea1be ssh-agent -k 14:05:20 unset SSH_AUTH_SOCK; 14:05:20 unset SSH_AGENT_PID; 14:05:20 echo Agent pid 39 killed; 14:05:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:05:21 + git semver [Pipeline] } 14:05:21 $ docker stop --time=1 96dcedd6c01b2bd48ffecb357ada7386631bf20dd57158091f9cc004614ea1be 14:05:22 $ docker rm -f 96dcedd6c01b2bd48ffecb357ada7386631bf20dd57158091f9cc004614ea1be [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 14:05:23 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 14:05:23 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:05:23 total 16 14:05:23 drwxr-xr-x 3 root root 4096 Jul 18 13:56 . 14:05:23 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 14:05 .. 14:05:23 drwxr-xr-x 2 root root 4096 Jul 18 13:56 cost 14:05:23 -rw-r--r-- 1 root root 87 Jul 18 13:56 cost.csv 14:05:23 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 14:05:23 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:05:23 total 16 14:05:23 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 13:56 . 14:05:23 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 14:05 .. 14:05:23 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 13:56 cost 14:05:23 -rw-r--r-- 1 jenkins jenkins 87 Jul 18 13:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:05:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:05:24 ---> package-listing.sh 14:05:24 ++ facter osfamily 14:05:24 ++ tr '[:upper:]' '[:lower:]' 14:05:24 + OS_FAMILY=debian 14:05:24 + workspace=/w/workspace/exfoundry_device-virtual-go_main 14:05:24 + START_PACKAGES=/tmp/packages_start.txt 14:05:24 + END_PACKAGES=/tmp/packages_end.txt 14:05:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:05:24 + PACKAGES=/tmp/packages_start.txt 14:05:24 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:05:24 + PACKAGES=/tmp/packages_end.txt 14:05:24 + case "${OS_FAMILY}" in 14:05:24 + dpkg -l 14:05:24 + grep '^ii' 14:05:24 + '[' -f /tmp/packages_start.txt ']' 14:05:24 + '[' -f /tmp/packages_end.txt ']' 14:05:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:05:24 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:05:24 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 14:05:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 14:05:24 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 14:05:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:25 prd-ubuntu20.04-docker-8c-8g-20410 does not seem to be running inside a container 14:05:25 $ 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 14:05:26 $ docker top 4fd6c8d17b1148bb234015d1a1e9de193dd749ecddd4e00cda07352f164b7b8a -eo pid,comm [Pipeline] { [Pipeline] sh 14:05:26 + touch /tmp/pre-build-complete [Pipeline] sh 14:05:26 + mkdir -p /var/log/sysstat [Pipeline] sh 14:05:26 + ls /var/log/sa-host 14:05:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:05:27 provisioning config files... 14:05:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5324837515795842680tmp [Pipeline] { [Pipeline] echo 14:05:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:05:27 ---> create-netrc.sh [Pipeline] } 14:05:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:05:27 ---> python-tools-install.sh [Pipeline] echo 14:05:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:05:27 ---> sudo-logs.sh 14:05:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:05:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:05:28 ---> job-cost.sh 14:05:28 lf-activate-venv: SKIPPING 14:05:28 DEBUG: total: 0.2199999988079071 14:05:28 INFO: Retrieving Stack Cost... 14:05:29 INFO: Retrieving Pricing Info for: v3-standard-8 14:05:29 INFO: Archiving Costs [Pipeline] echo 14:05:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:05:29 ---> logs-deploy.sh 14:05:29 lf-activate-venv: SKIPPING 14:05:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/44 14:05:29 INFO: archiving workspace using pattern(s): 14:05:30 Archives upload complete. 14:05:30 INFO: archiving logs to Nexus 14:05:31 ---> uname -a: 14:05:31 Linux prd-ubuntu20-04-docker-8c-8g-20410 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 14:05:31 14:05:31