Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 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-ssh12429260370760804454.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2010006493464825576.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5918137365308653799.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1895842788462417887.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-ssh14994950367131929270.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9877’ Running on prd-ubuntu20.04-docker-8c-8g-9879 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 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 (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 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 Commit message: "Merge pull request #352 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.50" > git rev-list --no-walk 7e250d55bd9fd3c1531c5f5d4db5617982ca4ffd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:35:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:35:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:35:17 ========================================================= 13:35:17 EdgeX Global Pipelines Version Info 13:35:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:35:18 ------------------- 13:35:18 stable info: 13:35:18 ------------------- 13:35:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:35:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:35:18 Message: update stable to v1.0.244 13:35:18 ------------------- 13:35:18 experimental info: 13:35:18 ------------------- 13:35:18 Commited By: **** collab-it+edgex@linuxfoundation.org 13:35:18 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:35:18 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:35:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:35:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:35:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:35:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:35:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:35:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b21fdb [Pipeline] echo 13:35:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:19 provisioning config files... 13:35:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17257931079474541654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:19 ---> docker-login.sh 13:35:19 nexus3.edgexfoundry.org:10001 13:35:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:20 Configure a credential helper to remove this warning. See 13:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:20 13:35:20 Login Succeeded 13:35:20 nexus3.edgexfoundry.org:10002 13:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:20 Configure a credential helper to remove this warning. See 13:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:20 13:35:20 Login Succeeded 13:35:20 nexus3.edgexfoundry.org:10003 13:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:20 Configure a credential helper to remove this warning. See 13:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:20 13:35:20 Login Succeeded 13:35:20 nexus3.edgexfoundry.org:10004 13:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:20 Configure a credential helper to remove this warning. See 13:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:20 13:35:20 Login Succeeded 13:35:20 docker.io 13:35:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:20 Configure a credential helper to remove this warning. See 13:35:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:20 13:35:20 Login Succeeded 13:35:20 ---> docker-login.sh ends [Pipeline] } 13:35:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:35:21 + git rev-list -1 --merges 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195~1..0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [Pipeline] echo 13:35:21 -----------> git rev-list -1 --merges 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195~1..0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:35:21 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [false] [Pipeline] sh 13:35:21 + git log --format=format:%s -1 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [Pipeline] echo 13:35:21 ========================================================= 13:35:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:35:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:21 + git log --format=format:%s -1 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [Pipeline] echo 13:35:21 [semverPrep] GIT_COMMIT: 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195, Commit Message: Merge pull request #352 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.50 [Pipeline] echo 13:35:21 [semverPrep] This is not a build commit. [Pipeline] sh 13:35:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:35:22 + grep -v github /etc/ssh/ssh_known_hosts 13:35:22 + [ -e /tmp/ssh_known_hosts ] 13:35:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:35:22 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:35:22 sudo tee -a /etc/ssh/ssh_known_hosts 13:35:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:35:22 13:35:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:35:22 0.1.4: Pulling from edgex-devops/py-git-semver 13:35:22 b85a868b505f: Pulling fs layer 13:35:22 e2be974225ed: Pulling fs layer 13:35:22 339a4e72a1f5: Pulling fs layer 13:35:22 988bab9f4d93: Pulling fs layer 13:35:22 1469e6f7b9e6: Pulling fs layer 13:35:22 eaf3925da568: Pulling fs layer 13:35:22 bab4dde63d76: Pulling fs layer 13:35:22 bde34c3a00c8: Pulling fs layer 13:35:22 b352a97aabf1: Pulling fs layer 13:35:22 4872d77fe225: Pulling fs layer 13:35:22 5851b861e8e6: Pulling fs layer 13:35:22 b352a97aabf1: Waiting 13:35:22 bab4dde63d76: Waiting 13:35:22 4872d77fe225: Waiting 13:35:22 bde34c3a00c8: Waiting 13:35:22 5851b861e8e6: Waiting 13:35:22 988bab9f4d93: Waiting 13:35:22 1469e6f7b9e6: Waiting 13:35:22 eaf3925da568: Waiting 13:35:22 e2be974225ed: Verifying Checksum 13:35:22 e2be974225ed: Download complete 13:35:22 988bab9f4d93: Verifying Checksum 13:35:22 988bab9f4d93: Download complete 13:35:23 1469e6f7b9e6: Verifying Checksum 13:35:23 1469e6f7b9e6: Download complete 13:35:23 eaf3925da568: Verifying Checksum 13:35:23 eaf3925da568: Download complete 13:35:23 339a4e72a1f5: Verifying Checksum 13:35:23 339a4e72a1f5: Download complete 13:35:23 bde34c3a00c8: Verifying Checksum 13:35:23 bde34c3a00c8: Download complete 13:35:23 b352a97aabf1: Verifying Checksum 13:35:23 b352a97aabf1: Download complete 13:35:23 4872d77fe225: Verifying Checksum 13:35:23 4872d77fe225: Download complete 13:35:23 5851b861e8e6: Verifying Checksum 13:35:23 5851b861e8e6: Download complete 13:35:23 b85a868b505f: Verifying Checksum 13:35:23 b85a868b505f: Download complete 13:35:23 bab4dde63d76: Verifying Checksum 13:35:23 bab4dde63d76: Download complete 13:35:24 b85a868b505f: Pull complete 13:35:24 e2be974225ed: Pull complete 13:35:25 339a4e72a1f5: Pull complete 13:35:25 988bab9f4d93: Pull complete 13:35:25 1469e6f7b9e6: Pull complete 13:35:25 eaf3925da568: Pull complete 13:35:27 bab4dde63d76: Pull complete 13:35:27 bde34c3a00c8: Pull complete 13:35:27 b352a97aabf1: Pull complete 13:35:27 4872d77fe225: Pull complete 13:35:27 5851b861e8e6: Pull complete 13:35:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:35:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:35:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:27 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:35:27 $ 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:35:29 $ docker top fcc52dae771ea4917f15034d6b9dc8cd198d64dc1e743df41c5ca8a5e92c127f -eo pid,comm 13:35:29 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:35:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:35:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:35:29 [ssh-agent] Looking for ssh-agent implementation... 13:35:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:35:29 $ docker exec fcc52dae771ea4917f15034d6b9dc8cd198d64dc1e743df41c5ca8a5e92c127f ssh-agent 13:35:29 SSH_AUTH_SOCK=/tmp/ssh-sgeNPt2GaZyy/agent.32 13:35:29 SSH_AGENT_PID=38 13:35:29 Running ssh-add (command line suppressed) 13:35:29 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6985900733893230282.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6985900733893230282.key) 13:35:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:35:30 + git tag --points-at HEAD [Pipeline] } 13:35:30 $ docker exec --env ******** --env ******** fcc52dae771ea4917f15034d6b9dc8cd198d64dc1e743df41c5ca8a5e92c127f ssh-agent -k 13:35:30 unset SSH_AUTH_SOCK; 13:35:30 unset SSH_AGENT_PID; 13:35:30 echo Agent pid 38 killed; 13:35:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:35:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:35:30 [ssh-agent] Looking for ssh-agent implementation... 13:35:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:35:30 $ docker exec fcc52dae771ea4917f15034d6b9dc8cd198d64dc1e743df41c5ca8a5e92c127f ssh-agent 13:35:30 SSH_AUTH_SOCK=/tmp/ssh-n0HvPZONy1mh/agent.70 13:35:30 SSH_AGENT_PID=76 13:35:30 Running ssh-add (command line suppressed) 13:35:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14298229354237199592.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14298229354237199592.key) 13:35:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:35:30 + git semver init 13:35:31 2023-03-13 13:35:31,194 [run_init] DEBUG init version:0.0.0 force:False 13:35:31 2023-03-13 13:35:31,194 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 13:35:31 2023-03-13 13:35:31,195 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 13:35:31 2023-03-13 13:35:31,195 [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:35:32 2023-03-13 13:35:32,211 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 13:35:32 2023-03-13 13:35:32,212 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 13:35:32 2023-03-13 13:35:32,212 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:35:32 2023-03-13 13:35:32,212 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:35:32 3.0.0-dev.20 [Pipeline] } 13:35:32 $ docker exec --env ******** --env ******** fcc52dae771ea4917f15034d6b9dc8cd198d64dc1e743df41c5ca8a5e92c127f ssh-agent -k 13:35:32 unset SSH_AUTH_SOCK; 13:35:32 unset SSH_AGENT_PID; 13:35:32 echo Agent pid 76 killed; 13:35:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:35:33 + git semver [Pipeline] } 13:35:33 $ docker stop --time=1 fcc52dae771ea4917f15034d6b9dc8cd198d64dc1e743df41c5ca8a5e92c127f 13:35:34 $ docker rm -f --volumes fcc52dae771ea4917f15034d6b9dc8cd198d64dc1e743df41c5ca8a5e92c127f [Pipeline] // withDockerContainer [Pipeline] sh 13:35:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:35:35 Stashed 1 file(s) [Pipeline] echo 13:35:35 [edgeXSemver]: initialized semver on version 3.0.0-dev.20 [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:35:35 provisioning config files... 13:35:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10581734682030166182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:35 ---> docker-login.sh 13:35:35 nexus3.edgexfoundry.org:10001 13:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:35 Configure a credential helper to remove this warning. See 13:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:35 13:35:35 Login Succeeded 13:35:35 nexus3.edgexfoundry.org:10002 13:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:35 Configure a credential helper to remove this warning. See 13:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:35 13:35:35 Login Succeeded 13:35:35 nexus3.edgexfoundry.org:10003 13:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:35 Configure a credential helper to remove this warning. See 13:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:35 13:35:35 Login Succeeded 13:35:35 nexus3.edgexfoundry.org:10004 13:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:35 Configure a credential helper to remove this warning. See 13:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:35 13:35:35 Login Succeeded 13:35:35 docker.io 13:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:36 Configure a credential helper to remove this warning. See 13:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:36 13:35:36 Login Succeeded 13:35:36 ---> docker-login.sh ends [Pipeline] } 13:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:35:36 ========================================================= 13:35:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:35:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:36 + 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:35:36 Sending build context to Docker daemon 23.41MB 13:35:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:35:36 Step 2/12 : FROM ${BASE} AS builder 13:35:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:35:36 213ec9aee27d: Pulling fs layer 13:35:36 4583459ba037: Pulling fs layer 13:35:36 93c1e223e6f2: Pulling fs layer 13:35:36 53926ce57604: Pulling fs layer 13:35:36 21b2b0c7a3f4: Pulling fs layer 13:35:36 22ff95d597cd: Pulling fs layer 13:35:36 12d6caf4c0d1: Pulling fs layer 13:35:36 96b7cbca73a9: Pulling fs layer 13:35:36 a7acece74701: Pulling fs layer 13:35:36 53926ce57604: Waiting 13:35:36 21b2b0c7a3f4: Waiting 13:35:36 22ff95d597cd: Waiting 13:35:36 12d6caf4c0d1: Waiting 13:35:36 96b7cbca73a9: Waiting 13:35:36 a7acece74701: Waiting 13:35:36 93c1e223e6f2: Download complete 13:35:36 4583459ba037: Verifying Checksum 13:35:36 4583459ba037: Download complete 13:35:36 21b2b0c7a3f4: Verifying Checksum 13:35:36 21b2b0c7a3f4: Download complete 13:35:36 22ff95d597cd: Verifying Checksum 13:35:36 22ff95d597cd: Download complete 13:35:36 213ec9aee27d: Verifying Checksum 13:35:36 213ec9aee27d: Download complete 13:35:36 12d6caf4c0d1: Verifying Checksum 13:35:36 12d6caf4c0d1: Download complete 13:35:37 213ec9aee27d: Pull complete 13:35:37 4583459ba037: Pull complete 13:35:37 93c1e223e6f2: Pull complete 13:35:37 a7acece74701: Verifying Checksum 13:35:37 a7acece74701: Download complete 13:35:37 96b7cbca73a9: Verifying Checksum 13:35:37 96b7cbca73a9: Download complete 13:35:37 53926ce57604: Verifying Checksum 13:35:37 53926ce57604: Download complete 13:35:41 53926ce57604: Pull complete 13:35:41 21b2b0c7a3f4: Pull complete 13:35:41 22ff95d597cd: Pull complete 13:35:42 12d6caf4c0d1: Pull complete 13:35:44 96b7cbca73a9: Pull complete 13:35:45 a7acece74701: Pull complete 13:35:45 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 13:35:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:35:45 ---> db6d94c90886 13:35:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:35:47 ---> Running in 713d7d14e43e 13:35:47 Removing intermediate container 713d7d14e43e 13:35:47 ---> f029c862f34a 13:35:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:35:47 ---> Running in 5c092b600ab3 13:35:47 Removing intermediate container 5c092b600ab3 13:35:47 ---> 4be378f4214b 13:35:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:35:47 ---> Running in 9f22effd9dc9 13:35:47 Removing intermediate container 9f22effd9dc9 13:35:47 ---> bf72c1ab60f1 13:35:47 Step 6/12 : WORKDIR /device-virtual-go 13:35:47 ---> Running in c67de40904e8 13:35:47 Removing intermediate container c67de40904e8 13:35:47 ---> d2d3cf0df159 13:35:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:35:47 ---> Running in 0435a49be092 13:35:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:35:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:35:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 13:35:48 (2/4) Installing libedit (20210910.3.1-r0) 13:35:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 13:35:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 13:35:48 Executing busybox-1.35.0-r17.trigger 13:35:48 OK: 216 MiB in 55 packages 13:35:48 Removing intermediate container 0435a49be092 13:35:48 ---> 565a74cc7249 13:35:48 Step 8/12 : COPY go.mod vendor* ./ 13:35:48 ---> 919d457adbbe 13:35:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:35:48 ---> Running in 805bf060fea3 13:35:50 Still waiting to schedule task 13:35:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9878’ 13:36:10 Removing intermediate container 805bf060fea3 13:36:10 ---> 5478a0e6339c 13:36:10 Step 10/12 : COPY . . 13:36:10 ---> c78acef57844 13:36:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:36:10 ---> Running in 8b1c1e2b1ee5 13:36:10 Removing intermediate container 8b1c1e2b1ee5 13:36:10 ---> d13512b8f89b 13:36:10 Step 12/12 : RUN $MAKE 13:36:10 ---> Running in e4349059b712 13:36:10 noop 13:36:10 Removing intermediate container e4349059b712 13:36:10 ---> afc36f370c30 13:36:10 Successfully built afc36f370c30 13:36:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:11 + docker inspect -f . ci-base-image-x86_64 13:36:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:36:11 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:36:11 $ 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:36:11 $ docker top f2af539c54cc0c1f8e013ca70a8dffcf4e7983a9642c4662e743102decd1aeea -eo pid,comm [Pipeline] { [Pipeline] sh 13:36:11 + go version 13:36:11 go version go1.18.7 linux/amd64 [Pipeline] } 13:36:11 $ docker stop --time=1 f2af539c54cc0c1f8e013ca70a8dffcf4e7983a9642c4662e743102decd1aeea 13:36:13 $ docker rm -f --volumes f2af539c54cc0c1f8e013ca70a8dffcf4e7983a9642c4662e743102decd1aeea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:13 + docker inspect -f . ci-base-image-x86_64 13:36:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:36:13 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:36:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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:36:14 $ docker top fb9e576f34f7e7416aaf88204b0546c526901b81c961848b88621caaa56ce2c0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:36:14 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 13:36:14 + make test 13:36:14 go test ./... -coverprofile=coverage.out 13:36:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:36:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:36:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements 13:36:33 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:36:33 go vet ./... 13:36:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:36:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:36:35 ./bin/test-attribution-txt.sh [Pipeline] echo 13:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:36:35 $ docker stop --time=1 fb9e576f34f7e7416aaf88204b0546c526901b81c961848b88621caaa56ce2c0 13:36:37 $ docker rm -f --volumes fb9e576f34f7e7416aaf88204b0546c526901b81c961848b88621caaa56ce2c0 [Pipeline] // withDockerContainer [Pipeline] sh 13:36:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:36:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:36:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:36:38 + ls -al . 13:36:38 total 192 13:36:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 13 13:36 . 13:36:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:35 .. 13:36:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 13:36 .git 13:36:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:35 .github 13:36:38 -rw-rw-r-- 1 jenkins jenkins 337 Mar 13 13:35 .gitignore 13:36:38 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 13:35 .golangci.yml 13:36:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 13:35 .semver 13:36:38 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 13 13:35 Attribution.txt 13:36:38 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 13 13:35 CHANGELOG.md 13:36:38 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 13 13:35 Dockerfile 13:36:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 13:35 GOVERNANCE.md 13:36:38 -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 13:35 Jenkinsfile 13:36:38 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 13:35 LICENSE 13:36:38 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 13 13:35 Makefile 13:36:38 -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 13:35 OWNERS.md 13:36:38 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 13 13:35 README.md 13:36:38 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 13:35 VERSION 13:36:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:35 bin 13:36:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:35 cmd 13:36:38 -rw-r--r-- 1 jenkins jenkins 44127 Mar 13 13:36 coverage.out 13:36:38 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 13 13:35 go.mod 13:36:38 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 13 13:35 go.sum 13:36:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:35 internal 13:36:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:35 snap 13:36:38 -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 13:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:39 + 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=0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 --label arch=amd64 --label version=3.0.0-dev.20 . 13:36:39 Sending build context to Docker daemon 23.45MB 13:36:39 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 13:36:39 Step 2/25 : FROM ${BASE} AS builder 13:36:39 ---> afc36f370c30 13:36:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:36:39 ---> Running in 184a19161320 13:36:39 Removing intermediate container 184a19161320 13:36:39 ---> 7b6eaa0b0174 13:36:39 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:36:39 ---> Running in fe3a92d81a78 13:36:39 Removing intermediate container fe3a92d81a78 13:36:39 ---> 826a9b757c90 13:36:39 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:36:39 ---> Running in 75669203bbc0 13:36:39 Removing intermediate container 75669203bbc0 13:36:39 ---> f74ce272731a 13:36:39 Step 6/25 : WORKDIR /device-virtual-go 13:36:39 ---> Running in af747f319e64 13:36:39 Removing intermediate container af747f319e64 13:36:39 ---> 2b6ca22140d4 13:36:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:36:40 ---> Running in d5f52a0be011 13:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:36:40 OK: 216 MiB in 55 packages 13:36:41 Removing intermediate container d5f52a0be011 13:36:41 ---> 7b5ba83aff8f 13:36:41 Step 8/25 : COPY go.mod vendor* ./ 13:36:41 ---> d4ef7bc89720 13:36:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:36:41 ---> Running in d4a2b0a59384 13:36:42 Removing intermediate container d4a2b0a59384 13:36:42 ---> d99473040d50 13:36:42 Step 10/25 : COPY . . 13:36:42 ---> 276ac3879316 13:36:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:36:42 ---> Running in e4e1497587b0 13:36:42 Removing intermediate container e4e1497587b0 13:36:42 ---> cac73e578a93 13:36:42 Step 12/25 : RUN $MAKE 13:36:42 ---> Running in 2343c3d3e164 13:36:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:37:05 Removing intermediate container 2343c3d3e164 13:37:05 ---> be430fabc689 13:37:05 Step 13/25 : FROM alpine:3.16 13:37:05 3.16: Pulling from library/alpine 13:37:05 ef5531b6e74e: Pulling fs layer 13:37:05 ef5531b6e74e: Verifying Checksum 13:37:05 ef5531b6e74e: Download complete 13:37:05 ef5531b6e74e: Pull complete 13:37:05 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:37:05 Status: Downloaded newer image for alpine:3.16 13:37:05 ---> dfd21b5a31f5 13:37:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:37:05 ---> Running in 3d1d55566c17 13:37:05 Removing intermediate container 3d1d55566c17 13:37:05 ---> 9443b2d98a37 13:37:05 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:37:05 ---> Running in 59afbc1fc603 13:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:37:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:37:05 (1/1) Installing dumb-init (1.2.5-r1) 13:37:05 Executing busybox-1.35.0-r17.trigger 13:37:05 OK: 6 MiB in 15 packages 13:37:05 Removing intermediate container 59afbc1fc603 13:37:05 ---> 01f810c01796 13:37:05 Step 16/25 : WORKDIR / 13:37:05 ---> Running in d15d092c16b2 13:37:05 Removing intermediate container d15d092c16b2 13:37:05 ---> 680ae81bda1d 13:37:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:37:05 ---> 7d5f7ab6df87 13:37:05 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:37:05 ---> 30d0ccb26aaf 13:37:05 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:37:05 ---> a04492a1c520 13:37:05 Step 20/25 : EXPOSE 59900 13:37:05 ---> Running in 9975a8c73784 13:37:05 Removing intermediate container 9975a8c73784 13:37:05 ---> 4bfcb3b4052f 13:37:05 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:37:05 ---> Running in e6cab8554482 13:37:05 Removing intermediate container e6cab8554482 13:37:05 ---> 57f3153a9622 13:37:05 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:37:06 ---> Running in 6751007c983e 13:37:06 Removing intermediate container 6751007c983e 13:37:06 ---> bf4e3aa3307f 13:37:06 Step 23/25 : LABEL arch=amd64 13:37:06 ---> Running in db3e1107c36e 13:37:06 Removing intermediate container db3e1107c36e 13:37:06 ---> b4024b68b4c1 13:37:06 Step 24/25 : LABEL git_sha=0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:37:06 ---> Running in 21c51a11b1b6 13:37:06 Removing intermediate container 21c51a11b1b6 13:37:06 ---> fd52d3019f17 13:37:06 Step 25/25 : LABEL version=3.0.0-dev.20 13:37:06 ---> Running in e5da791d3c7a 13:37:06 Removing intermediate container e5da791d3c7a 13:37:06 ---> 4ec54e0b8de3 13:37:06 [Warning] One or more build-args [ARCH] were not consumed 13:37:06 Successfully built 4ec54e0b8de3 13:37:06 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:37:06 provisioning config files... 13:37:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12354892350202750344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:37:06 ---> docker-login.sh 13:37:06 nexus3.edgexfoundry.org:10001 13:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:06 Configure a credential helper to remove this warning. See 13:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:06 13:37:06 Login Succeeded 13:37:06 nexus3.edgexfoundry.org:10002 13:37:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:06 Configure a credential helper to remove this warning. See 13:37:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:06 13:37:06 Login Succeeded 13:37:06 nexus3.edgexfoundry.org:10003 13:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:07 Configure a credential helper to remove this warning. See 13:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:07 13:37:07 Login Succeeded 13:37:07 nexus3.edgexfoundry.org:10004 13:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:07 Configure a credential helper to remove this warning. See 13:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:07 13:37:07 Login Succeeded 13:37:07 docker.io 13:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:37:07 Configure a credential helper to remove this warning. See 13:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:37:07 13:37:07 Login Succeeded 13:37:07 ---> docker-login.sh ends [Pipeline] } 13:37:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:37:07 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 13:37:07 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:37:07 latest 13:37:07 3.0.0-dev.20 13:37:07 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20 13:37:07 main 13:37:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:07 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:37:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:37:08 c0fc59ca1c18: Preparing 13:37:08 d1dcc93a1dbb: Preparing 13:37:08 2a332847aa68: Preparing 13:37:08 6afd0dc643e7: Preparing 13:37:08 aa5968d388b8: Preparing 13:37:08 aa5968d388b8: Layer already exists 13:37:08 d1dcc93a1dbb: Pushed 13:37:08 6afd0dc643e7: Pushed 13:37:08 2a332847aa68: Pushed 13:37:11 c0fc59ca1c18: Pushed 13:37:11 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195: digest: sha256:37d0123bd810753f595deeeb5f8b66fd99b2585654fc3d60bcae091567959315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:11 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 13:37:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:37:11 c0fc59ca1c18: Preparing 13:37:11 d1dcc93a1dbb: Preparing 13:37:11 2a332847aa68: Preparing 13:37:11 6afd0dc643e7: Preparing 13:37:11 aa5968d388b8: Preparing 13:37:11 d1dcc93a1dbb: Layer already exists 13:37:11 2a332847aa68: Layer already exists 13:37:11 c0fc59ca1c18: Layer already exists 13:37:11 aa5968d388b8: Layer already exists 13:37:11 6afd0dc643e7: Layer already exists 13:37:11 latest: digest: sha256:37d0123bd810753f595deeeb5f8b66fd99b2585654fc3d60bcae091567959315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.20 13:37:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:37:12 c0fc59ca1c18: Preparing 13:37:12 d1dcc93a1dbb: Preparing 13:37:12 2a332847aa68: Preparing 13:37:12 6afd0dc643e7: Preparing 13:37:12 aa5968d388b8: Preparing 13:37:12 6afd0dc643e7: Layer already exists 13:37:12 aa5968d388b8: Layer already exists 13:37:12 d1dcc93a1dbb: Layer already exists 13:37:12 2a332847aa68: Layer already exists 13:37:12 c0fc59ca1c18: Layer already exists 13:37:12 3.0.0-dev.20: digest: sha256:37d0123bd810753f595deeeb5f8b66fd99b2585654fc3d60bcae091567959315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:12 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20 13:37:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:37:13 c0fc59ca1c18: Preparing 13:37:13 d1dcc93a1dbb: Preparing 13:37:13 2a332847aa68: Preparing 13:37:13 6afd0dc643e7: Preparing 13:37:13 aa5968d388b8: Preparing 13:37:13 aa5968d388b8: Layer already exists 13:37:13 2a332847aa68: Layer already exists 13:37:13 d1dcc93a1dbb: Layer already exists 13:37:13 c0fc59ca1c18: Layer already exists 13:37:13 6afd0dc643e7: Layer already exists 13:37:13 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20: digest: sha256:37d0123bd810753f595deeeb5f8b66fd99b2585654fc3d60bcae091567959315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 13:37:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:37:13 c0fc59ca1c18: Preparing 13:37:13 d1dcc93a1dbb: Preparing 13:37:13 2a332847aa68: Preparing 13:37:13 6afd0dc643e7: Preparing 13:37:13 aa5968d388b8: Preparing 13:37:13 aa5968d388b8: Layer already exists 13:37:13 c0fc59ca1c18: Layer already exists 13:37:13 6afd0dc643e7: Layer already exists 13:37:13 d1dcc93a1dbb: Layer already exists 13:37:13 2a332847aa68: Layer already exists 13:37:13 main: digest: sha256:37d0123bd810753f595deeeb5f8b66fd99b2585654fc3d60bcae091567959315 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:37:13 ===================================================== [Pipeline] echo 13:37:13 taggedImages: 13:37:13 - nexus3.edgexfoundry.org:10004/device-virtual:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:37:13 - nexus3.edgexfoundry.org:10004/device-virtual:latest 13:37:13 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.20 13:37:13 - nexus3.edgexfoundry.org:10004/device-virtual:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20 13:37:13 - 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:37:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:37:14 13:37:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:37:14 latest: Pulling from edgex-lftools-log-publisher 13:37:14 5eb5b503b376: Pulling fs layer 13:37:14 5c69ac0246d0: Pulling fs layer 13:37:14 ec43610c2a17: Pulling fs layer 13:37:14 3a2ae6a8a46f: Pulling fs layer 13:37:14 33b1e0a273af: Pulling fs layer 13:37:14 5d3b04190fa2: Pulling fs layer 13:37:14 2f39f015ded8: Pulling fs layer 13:37:14 5d3b04190fa2: Waiting 13:37:14 3a2ae6a8a46f: Waiting 13:37:14 2f39f015ded8: Waiting 13:37:14 33b1e0a273af: Waiting 13:37:14 5c69ac0246d0: Download complete 13:37:14 3a2ae6a8a46f: Verifying Checksum 13:37:14 3a2ae6a8a46f: Download complete 13:37:14 33b1e0a273af: Verifying Checksum 13:37:14 33b1e0a273af: Download complete 13:37:14 5d3b04190fa2: Verifying Checksum 13:37:14 5d3b04190fa2: Download complete 13:37:14 ec43610c2a17: Verifying Checksum 13:37:14 ec43610c2a17: Download complete 13:37:14 5eb5b503b376: Verifying Checksum 13:37:14 5eb5b503b376: Download complete 13:37:15 2f39f015ded8: Download complete 13:37:16 5eb5b503b376: Pull complete 13:37:16 5c69ac0246d0: Pull complete 13:37:16 ec43610c2a17: Pull complete 13:37:16 3a2ae6a8a46f: Pull complete 13:37:17 33b1e0a273af: Pull complete 13:37:17 5d3b04190fa2: Pull complete 13:37:22 2f39f015ded8: Pull complete 13:37:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:37:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:37:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:37:22 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:37:22 $ 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:37:24 $ docker top 2d112c4aa805c1d7f8069a35e87bb65317108a68bf4f72b75210d6734330a264 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:37:24 ---> job-cost.sh 13:37:24 lf-activate-venv: SKIPPING 13:37:24 INFO: No Stack... 13:37:24 INFO: Retrieving Pricing Info for: v3-standard-8 13:37:25 INFO: Archiving Costs [Pipeline] sh 13:37:25 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 13:37:25 + cut -d, -f6 [Pipeline] lock 13:37:25 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-91-stack-cost] 13:37:25 Resource [jenkins-edgexfoundry-device-virtual-go-main-91-stack-cost] did not exist. Created. 13:37:25 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:37:25 + echo total: 0.2199999988079071 [Pipeline] stash 13:37:25 Stashed 1 file(s) [Pipeline] } 13:37:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-91-stack-cost] [Pipeline] // lock [Pipeline] } 13:37:25 $ docker stop --time=1 2d112c4aa805c1d7f8069a35e87bb65317108a68bf4f72b75210d6734330a264 13:37:26 $ docker rm -f --volumes 2d112c4aa805c1d7f8069a35e87bb65317108a68bf4f72b75210d6734330a264 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:38:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9881 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 13:38:28 Running in /w/workspace/device-virtual-go/91 [Pipeline] { [Pipeline] checkout 13:38:28 The recommended git tool is: git 13:38:34 using credential edgex-jenkins-ssh 13:38:34 Cloning the remote Git repository 13:38:34 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:38:34 > git init /w/workspace/device-virtual-go/91 # timeout=10 13:38:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:38:34 > git --version # timeout=10 13:38:34 > git --version # 'git version 2.25.1' 13:38:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:38:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:38:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:38:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:38:38 Avoid second fetch 13:38:38 Checking out Revision 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 (main) 13:38:38 Commit message: "Merge pull request #352 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.50" 13:38:38 > git config core.sparsecheckout # timeout=10 13:38:38 > git checkout -f 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:38:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:38:39 % Total % Received % Xferd Average Speed Time Time Time Current 13:38:39 Dload Upload Total Spent Left Speed 13:38:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 13:38:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:38:40 + sudo tee /etc/docker/daemon.new 13:38:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:38:40 { 13:38:40 "registry-mirrors": [ 13:38:40 "https://nexus3.edgexfoundry.org:10001" 13:38:40 ], 13:38:40 "bip": "10.250.0.254/24", 13:38:40 "hosts": [ 13:38:40 "tcp://0.0.0.0:5555", 13:38:40 "unix:///var/run/docker.sock" 13:38:40 ], 13:38:40 "mtu": 1458, 13:38:40 "selinux-enabled": true, 13:38:40 "seccomp-profile": "/etc/docker/seccomp.json" 13:38:40 } [Pipeline] sh 13:38:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:38:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:39:03 provisioning config files... 13:39:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/91@tmp/config272284628703156595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:39:03 ---> docker-login.sh 13:39:03 nexus3.edgexfoundry.org:10001 13:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:04 Configure a credential helper to remove this warning. See 13:39:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:04 13:39:04 Login Succeeded 13:39:04 nexus3.edgexfoundry.org:10002 13:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:05 Configure a credential helper to remove this warning. See 13:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:05 13:39:05 Login Succeeded 13:39:05 nexus3.edgexfoundry.org:10003 13:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:05 Configure a credential helper to remove this warning. See 13:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:05 13:39:05 Login Succeeded 13:39:05 nexus3.edgexfoundry.org:10004 13:39:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:05 Configure a credential helper to remove this warning. See 13:39:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:05 13:39:05 Login Succeeded 13:39:05 docker.io 13:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:39:06 Configure a credential helper to remove this warning. See 13:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:39:06 13:39:06 Login Succeeded 13:39:06 ---> docker-login.sh ends [Pipeline] } 13:39:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:39:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:39:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:39:06 ========================================================= 13:39:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:39:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:07 + 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:39:07 Sending build context to Docker daemon 11.86MB 13:39:07 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 13:39:07 Step 2/12 : FROM ${BASE} AS builder 13:39:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:39:07 9b18e9b68314: Pulling fs layer 13:39:07 35d82f9e3411: Pulling fs layer 13:39:07 e16973657156: Pulling fs layer 13:39:07 fc693d55d65f: Pulling fs layer 13:39:07 7e9fc2657dce: Pulling fs layer 13:39:07 dda99020689f: Pulling fs layer 13:39:07 db1c61fa0a46: Pulling fs layer 13:39:07 891c053d2c06: Pulling fs layer 13:39:07 dda99020689f: Waiting 13:39:07 db1c61fa0a46: Waiting 13:39:07 891c053d2c06: Waiting 13:39:07 7e9fc2657dce: Waiting 13:39:07 fc693d55d65f: Waiting 13:39:07 e16973657156: Verifying Checksum 13:39:07 e16973657156: Download complete 13:39:07 35d82f9e3411: Verifying Checksum 13:39:07 35d82f9e3411: Download complete 13:39:07 7e9fc2657dce: Verifying Checksum 13:39:07 7e9fc2657dce: Download complete 13:39:07 dda99020689f: Verifying Checksum 13:39:07 dda99020689f: Download complete 13:39:07 9b18e9b68314: Verifying Checksum 13:39:07 9b18e9b68314: Download complete 13:39:08 9b18e9b68314: Pull complete 13:39:09 891c053d2c06: Verifying Checksum 13:39:09 891c053d2c06: Download complete 13:39:09 35d82f9e3411: Pull complete 13:39:09 e16973657156: Pull complete 13:39:10 db1c61fa0a46: Verifying Checksum 13:39:10 db1c61fa0a46: Download complete 13:39:10 fc693d55d65f: Verifying Checksum 13:39:10 fc693d55d65f: Download complete 13:39:23 fc693d55d65f: Pull complete 13:39:23 7e9fc2657dce: Pull complete 13:39:23 dda99020689f: Pull complete 13:39:30 db1c61fa0a46: Pull complete 13:39:32 891c053d2c06: Pull complete 13:39:32 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 13:39:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:39:32 ---> f96f9c87975a 13:39:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:39:33 ---> Running in 0901119aea64 13:39:33 Removing intermediate container 0901119aea64 13:39:33 ---> 5e60c4d63ff6 13:39:33 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:39:33 ---> Running in 7aeccd85b201 13:39:34 Removing intermediate container 7aeccd85b201 13:39:34 ---> 936270e3943d 13:39:34 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:39:34 ---> Running in fc89ec26166b 13:39:34 Removing intermediate container fc89ec26166b 13:39:34 ---> 9fdd4b52feff 13:39:34 Step 6/12 : WORKDIR /device-virtual-go 13:39:34 ---> Running in 4abc400334c5 13:39:34 Removing intermediate container 4abc400334c5 13:39:34 ---> c0cd137269bb 13:39:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:39:35 ---> Running in 1710f471de71 13:39:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:39:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:39:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 13:39:37 (2/4) Installing libedit (20210910.3.1-r0) 13:39:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 13:39:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 13:39:37 Executing busybox-1.35.0-r17.trigger 13:39:37 OK: 226 MiB in 55 packages 13:39:39 Removing intermediate container 1710f471de71 13:39:39 ---> ff47a22e1153 13:39:39 Step 8/12 : COPY go.mod vendor* ./ 13:39:39 ---> 39ab90e9349f 13:39:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:39:40 ---> Running in fe92aa33d375 13:40:48 Removing intermediate container fe92aa33d375 13:40:48 ---> 49eb607864db 13:40:48 Step 10/12 : COPY . . 13:40:48 ---> 00ab5106b68c 13:40:48 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:40:48 ---> Running in a60eec47e3c5 13:40:48 Removing intermediate container a60eec47e3c5 13:40:48 ---> b31cbbce967c 13:40:48 Step 12/12 : RUN $MAKE 13:40:48 ---> Running in d433925ce893 13:40:48 noop 13:40:48 Removing intermediate container d433925ce893 13:40:48 ---> c981441eb3ff 13:40:48 Successfully built c981441eb3ff 13:40:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:48 + docker inspect -f . ci-base-image-arm64 13:40:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:48 prd-ubuntu20.04-docker-arm64-4c-16g-9881 does not seem to be running inside a container 13:40:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/91 -v /w/workspace/device-virtual-go/91:/w/workspace/device-virtual-go/91:rw,z -v /w/workspace/device-virtual-go/91@tmp:/w/workspace/device-virtual-go/91@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:40:50 $ docker top 0af24d8dd314b65a7dc1e61ba6e7e35b491970b65662f288e369768b5ff2d643 -eo pid,comm [Pipeline] { [Pipeline] sh 13:40:50 + go version 13:40:50 go version go1.18.7 linux/arm64 [Pipeline] } 13:40:50 $ docker stop --time=1 0af24d8dd314b65a7dc1e61ba6e7e35b491970b65662f288e369768b5ff2d643 13:40:52 $ docker rm -f --volumes 0af24d8dd314b65a7dc1e61ba6e7e35b491970b65662f288e369768b5ff2d643 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:53 + docker inspect -f . ci-base-image-arm64 13:40:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:53 prd-ubuntu20.04-docker-arm64-4c-16g-9881 does not seem to be running inside a container 13:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/91 -v /w/workspace/device-virtual-go/91:/w/workspace/device-virtual-go/91:rw,z -v /w/workspace/device-virtual-go/91@tmp:/w/workspace/device-virtual-go/91@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:40:54 $ docker top 1d95167e079445f3b0887fe48fcca06bf9163f532b229bc1ec9496b8c5740b65 -eo pid,comm [Pipeline] { [Pipeline] sh 13:40:55 + git config --global --add safe.directory /w/workspace/device-virtual-go/91 [Pipeline] fileExists [Pipeline] sh 13:40:56 + make test 13:40:56 go test ./... -coverprofile=coverage.out 13:40:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:42:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:42:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.121s coverage: 65.7% of statements 13:42:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:42:34 go vet ./... 13:42:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:42:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:42:47 ./bin/test-attribution-txt.sh [Pipeline] echo 13:42:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:42:47 $ docker stop --time=1 1d95167e079445f3b0887fe48fcca06bf9163f532b229bc1ec9496b8c5740b65 13:42:49 $ docker rm -f --volumes 1d95167e079445f3b0887fe48fcca06bf9163f532b229bc1ec9496b8c5740b65 [Pipeline] // withDockerContainer [Pipeline] sh 13:42:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:42:50 Warning: overwriting stash ‘coverage-report’ 13:42:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:42:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:42:51 + ls -al . 13:42:51 total 188 13:42:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 13:40 . 13:42:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:38 .. 13:42:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 13:38 .git 13:42:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:38 .github 13:42:51 -rw-rw-r-- 1 jenkins jenkins 337 Mar 13 13:38 .gitignore 13:42:51 -rw-rw-r-- 1 jenkins jenkins 41 Mar 13 13:38 .golangci.yml 13:42:51 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 13 13:38 Attribution.txt 13:42:51 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 13 13:38 CHANGELOG.md 13:42:51 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 13 13:38 Dockerfile 13:42:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 13:38 GOVERNANCE.md 13:42:51 -rw-rw-r-- 1 jenkins jenkins 660 Mar 13 13:38 Jenkinsfile 13:42:51 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 13 13:38 LICENSE 13:42:51 -rw-rw-r-- 1 jenkins jenkins 1661 Mar 13 13:38 Makefile 13:42:51 -rw-rw-r-- 1 jenkins jenkins 623 Mar 13 13:38 OWNERS.md 13:42:51 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 13 13:38 README.md 13:42:51 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 13:35 VERSION 13:42:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:38 bin 13:42:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:38 cmd 13:42:51 -rw-r--r-- 1 jenkins jenkins 44127 Mar 13 13:42 coverage.out 13:42:51 -rw-rw-r-- 1 jenkins jenkins 3253 Mar 13 13:38 go.mod 13:42:51 -rw-rw-r-- 1 jenkins jenkins 30608 Mar 13 13:38 go.sum 13:42:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:38 internal 13:42:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:38 snap 13:42:51 -rw-rw-r-- 1 jenkins jenkins 235 Mar 13 13:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:51 + 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=0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 --label arch=arm64 --label version=3.0.0-dev.20 . 13:42:52 Sending build context to Docker daemon 11.91MB 13:42:52 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 13:42:52 Step 2/25 : FROM ${BASE} AS builder 13:42:52 ---> c981441eb3ff 13:42:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:42:52 ---> Running in 253e9b5c69f9 13:42:53 Removing intermediate container 253e9b5c69f9 13:42:53 ---> 8950f538141f 13:42:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 13:42:53 ---> Running in 15073548db78 13:42:53 Removing intermediate container 15073548db78 13:42:53 ---> 538e44aa2eef 13:42:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 13:42:53 ---> Running in 902a0bccc614 13:42:54 Removing intermediate container 902a0bccc614 13:42:54 ---> a8584d4450c3 13:42:54 Step 6/25 : WORKDIR /device-virtual-go 13:42:54 ---> Running in 8e6131316898 13:42:54 Removing intermediate container 8e6131316898 13:42:54 ---> 0c4d98542ad2 13:42:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:42:54 ---> Running in c2113f14100d 13:42:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:42:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:42:57 OK: 226 MiB in 55 packages 13:42:58 Removing intermediate container c2113f14100d 13:42:58 ---> 03f400954e52 13:42:58 Step 8/25 : COPY go.mod vendor* ./ 13:42:58 ---> 3374c43e236e 13:42:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:42:58 ---> Running in e3308f1625d0 13:43:01 Removing intermediate container e3308f1625d0 13:43:01 ---> 4879528f51e0 13:43:01 Step 10/25 : COPY . . 13:43:02 ---> 2a26d1c2914d 13:43:02 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:43:02 ---> Running in b01319f490ee 13:43:03 Removing intermediate container b01319f490ee 13:43:03 ---> 47b4fd6f1a8b 13:43:03 Step 12/25 : RUN $MAKE 13:43:03 ---> Running in 7c6307cff50a 13:43:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:45:26 Removing intermediate container 7c6307cff50a 13:45:26 ---> 8da78aaf731e 13:45:26 Step 13/25 : FROM alpine:3.16 13:45:26 3.16: Pulling from library/alpine 13:45:26 3760b48202b3: Pulling fs layer 13:45:26 3760b48202b3: Verifying Checksum 13:45:26 3760b48202b3: Pull complete 13:45:26 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:45:26 Status: Downloaded newer image for alpine:3.16 13:45:26 ---> 4c81e5bf8899 13:45:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:45:26 ---> Running in f73448ef26db 13:45:26 Removing intermediate container f73448ef26db 13:45:26 ---> fb8657aeba61 13:45:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:45:26 ---> Running in b58c4af57331 13:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:45:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:45:27 (1/1) Installing dumb-init (1.2.5-r1) 13:45:27 Executing busybox-1.35.0-r17.trigger 13:45:27 OK: 5 MiB in 15 packages 13:45:28 Removing intermediate container b58c4af57331 13:45:28 ---> 14b11a251f6a 13:45:28 Step 16/25 : WORKDIR / 13:45:28 ---> Running in f5809d5acbdd 13:45:28 Removing intermediate container f5809d5acbdd 13:45:28 ---> b5a3bebcc456 13:45:28 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:45:29 ---> 737873b87337 13:45:29 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 13:45:29 ---> f0b21b160884 13:45:29 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 13:45:30 ---> 74829f7cd146 13:45:30 Step 20/25 : EXPOSE 59900 13:45:30 ---> Running in 0e7a81a30351 13:45:31 Removing intermediate container 0e7a81a30351 13:45:31 ---> 22d843624c9a 13:45:31 Step 21/25 : ENTRYPOINT ["/device-virtual"] 13:45:31 ---> Running in 4bcc33ce6b5f 13:45:34 Removing intermediate container 4bcc33ce6b5f 13:45:34 ---> 99c57fba0402 13:45:34 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:45:34 ---> Running in 56d0929880b9 13:45:34 Removing intermediate container 56d0929880b9 13:45:34 ---> 616ceb15d3dd 13:45:34 Step 23/25 : LABEL arch=arm64 13:45:34 ---> Running in aafd9b33b7ea 13:45:34 Removing intermediate container aafd9b33b7ea 13:45:34 ---> 79148b31ed9b 13:45:34 Step 24/25 : LABEL git_sha=0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:45:34 ---> Running in 2e0bc66392b2 13:45:34 Removing intermediate container 2e0bc66392b2 13:45:34 ---> edee75b46488 13:45:34 Step 25/25 : LABEL version=3.0.0-dev.20 13:45:34 ---> Running in 141fe62277c5 13:45:34 Removing intermediate container 141fe62277c5 13:45:34 ---> dd8e3cb19a88 13:45:34 [Warning] One or more build-args [ARCH] were not consumed 13:45:34 Successfully built dd8e3cb19a88 13:45:34 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:45:34 provisioning config files... 13:45:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/91@tmp/config2938699112786791372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:45:34 ---> docker-login.sh 13:45:34 nexus3.edgexfoundry.org:10001 13:45:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:45:35 Configure a credential helper to remove this warning. See 13:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:45:35 13:45:35 Login Succeeded 13:45:35 nexus3.edgexfoundry.org:10002 13:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:45:35 Configure a credential helper to remove this warning. See 13:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:45:35 13:45:35 Login Succeeded 13:45:35 nexus3.edgexfoundry.org:10003 13:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:45:35 Configure a credential helper to remove this warning. See 13:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:45:35 13:45:35 Login Succeeded 13:45:35 nexus3.edgexfoundry.org:10004 13:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:45:36 Configure a credential helper to remove this warning. See 13:45:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:45:36 13:45:36 Login Succeeded 13:45:36 docker.io 13:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:45:36 Configure a credential helper to remove this warning. See 13:45:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:45:36 13:45:36 Login Succeeded 13:45:36 ---> docker-login.sh ends [Pipeline] } 13:45:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:45:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:45:36 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 13:45:36 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:45:36 latest 13:45:36 3.0.0-dev.20 13:45:36 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20 13:45:36 main 13:45:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:45:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:45:37 5e781166c733: Preparing 13:45:37 e85e612a8c2b: Preparing 13:45:37 32bd5f6c5505: Preparing 13:45:37 206d289217d9: Preparing 13:45:37 f70ee36035b9: Preparing 13:45:37 f70ee36035b9: Layer already exists 13:45:37 206d289217d9: Pushed 13:45:37 32bd5f6c5505: Pushed 13:45:37 e85e612a8c2b: Pushed 13:45:43 5e781166c733: Pushed 13:45:43 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195: digest: sha256:e6671de6e1a435b3a6af9de4ba111b75fb6ab35480110d577cd4dd0aa5abb278 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:45:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:45:43 5e781166c733: Preparing 13:45:43 e85e612a8c2b: Preparing 13:45:43 32bd5f6c5505: Preparing 13:45:43 206d289217d9: Preparing 13:45:43 f70ee36035b9: Preparing 13:45:43 5e781166c733: Layer already exists 13:45:43 f70ee36035b9: Layer already exists 13:45:43 32bd5f6c5505: Layer already exists 13:45:43 e85e612a8c2b: Layer already exists 13:45:43 206d289217d9: Layer already exists 13:45:43 latest: digest: sha256:e6671de6e1a435b3a6af9de4ba111b75fb6ab35480110d577cd4dd0aa5abb278 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.20 13:45:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:45:44 5e781166c733: Preparing 13:45:44 e85e612a8c2b: Preparing 13:45:44 32bd5f6c5505: Preparing 13:45:44 206d289217d9: Preparing 13:45:44 f70ee36035b9: Preparing 13:45:44 f70ee36035b9: Layer already exists 13:45:44 e85e612a8c2b: Layer already exists 13:45:44 5e781166c733: Layer already exists 13:45:44 32bd5f6c5505: Layer already exists 13:45:44 206d289217d9: Layer already exists 13:45:44 3.0.0-dev.20: digest: sha256:e6671de6e1a435b3a6af9de4ba111b75fb6ab35480110d577cd4dd0aa5abb278 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20 13:45:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:45:45 5e781166c733: Preparing 13:45:45 e85e612a8c2b: Preparing 13:45:45 32bd5f6c5505: Preparing 13:45:45 206d289217d9: Preparing 13:45:45 f70ee36035b9: Preparing 13:45:45 32bd5f6c5505: Layer already exists 13:45:45 5e781166c733: Layer already exists 13:45:45 f70ee36035b9: Layer already exists 13:45:45 206d289217d9: Layer already exists 13:45:45 e85e612a8c2b: Layer already exists 13:45:45 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20: digest: sha256:e6671de6e1a435b3a6af9de4ba111b75fb6ab35480110d577cd4dd0aa5abb278 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 13:45:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:45:45 5e781166c733: Preparing 13:45:45 e85e612a8c2b: Preparing 13:45:45 32bd5f6c5505: Preparing 13:45:45 206d289217d9: Preparing 13:45:45 f70ee36035b9: Preparing 13:45:45 206d289217d9: Layer already exists 13:45:45 e85e612a8c2b: Layer already exists 13:45:45 5e781166c733: Layer already exists 13:45:45 f70ee36035b9: Layer already exists 13:45:45 32bd5f6c5505: Layer already exists 13:45:46 main: digest: sha256:e6671de6e1a435b3a6af9de4ba111b75fb6ab35480110d577cd4dd0aa5abb278 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:45:46 ===================================================== [Pipeline] echo 13:45:46 taggedImages: 13:45:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 13:45:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:45:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.20 13:45:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195-3.0.0-dev.20 13:45:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:45:46 13:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:45:46 arm64: Pulling from edgex-lftools-log-publisher 13:45:46 8998bd30e6a1: Pulling fs layer 13:45:46 04944245beec: Pulling fs layer 13:45:46 699f458cf7ca: Pulling fs layer 13:45:46 765212b225bb: Pulling fs layer 13:45:46 f23df028b6ca: Pulling fs layer 13:45:46 d65c8cfc05b1: Pulling fs layer 13:45:46 2437ff75d9bd: Pulling fs layer 13:45:46 765212b225bb: Waiting 13:45:46 f23df028b6ca: Waiting 13:45:46 d65c8cfc05b1: Waiting 13:45:46 2437ff75d9bd: Waiting 13:45:47 04944245beec: Verifying Checksum 13:45:47 04944245beec: Download complete 13:45:47 765212b225bb: Download complete 13:45:47 f23df028b6ca: Verifying Checksum 13:45:47 f23df028b6ca: Download complete 13:45:47 d65c8cfc05b1: Verifying Checksum 13:45:47 d65c8cfc05b1: Download complete 13:45:47 699f458cf7ca: Verifying Checksum 13:45:47 699f458cf7ca: Download complete 13:45:47 8998bd30e6a1: Verifying Checksum 13:45:47 8998bd30e6a1: Download complete 13:45:50 2437ff75d9bd: Verifying Checksum 13:45:50 2437ff75d9bd: Download complete 13:45:51 8998bd30e6a1: Pull complete 13:45:52 04944245beec: Pull complete 13:45:53 699f458cf7ca: Pull complete 13:45:53 765212b225bb: Pull complete 13:45:54 f23df028b6ca: Pull complete 13:45:54 d65c8cfc05b1: Pull complete 13:46:09 2437ff75d9bd: Pull complete 13:46:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:46:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:46:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:09 prd-ubuntu20.04-docker-arm64-4c-16g-9881 does not seem to be running inside a container 13:46:09 $ 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/91 -v /w/workspace/device-virtual-go/91:/w/workspace/device-virtual-go/91:rw,z -v /w/workspace/device-virtual-go/91@tmp:/w/workspace/device-virtual-go/91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:46:12 $ docker top 9e01708567fafb270c354fd65a33bd9c1551d7eec91e9c254008f97e12c17f15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:46:13 ---> job-cost.sh 13:46:13 lf-activate-venv: SKIPPING 13:46:13 INFO: No Stack... 13:46:13 INFO: Retrieving Pricing Info for: v3-standard-4 13:46:14 INFO: Archiving Costs [Pipeline] sh 13:46:15 + + cat /w/workspace/device-virtual-go/91/archives/cost.csv 13:46:15 cut -d, -f6 [Pipeline] lock 13:46:15 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-91-stack-cost] 13:46:15 Resource [jenkins-edgexfoundry-device-virtual-go-main-91-stack-cost] did not exist. Created. 13:46:15 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-91-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:46:15 /w/workspace/device-virtual-go/91@tmp/durable-7a6e462b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:46:16 + echo total: 0.10999999940395355 [Pipeline] stash 13:46:16 Warning: overwriting stash ‘stack-cost’ 13:46:16 Stashed 1 file(s) [Pipeline] } 13:46:16 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-91-stack-cost] [Pipeline] // lock [Pipeline] } 13:46:16 $ docker stop --time=1 9e01708567fafb270c354fd65a33bd9c1551d7eec91e9c254008f97e12c17f15 13:46:18 $ docker rm -f --volumes 9e01708567fafb270c354fd65a33bd9c1551d7eec91e9c254008f97e12c17f15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:46:18 provisioning config files... 13:46:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8504719917056176683tmp [Pipeline] { [Pipeline] sh 13:46:18 + set +x 13:46:18 + curl -s https://codecov.io/bash 13:46:18 + bash -s -- 13:46:18 13:46:18 _____ _ 13:46:18 / ____| | | 13:46:18 | | ___ __| | ___ ___ _____ __ 13:46:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:46:18 | |___| (_) | (_| | __/ (_| (_) \ V / 13:46:18 \_____\___/ \__,_|\___|\___\___/ \_/ 13:46:18 Bash-1.0.6 13:46:18 13:46:18 13:46:18 ==> git version 2.25.1 found 13:46:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:46:18 Release-Date: 2020-01-08 13:46:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:46:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:46:18 ==> Jenkins CI detected. 13:46:18 current dir:  /w/workspace/exfoundry_device-virtual-go_main 13:46:18 project root: . 13:46:18 --> token set from env 13:46:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:46:18 ==> Running gcov in . (disable via -X gcov) 13:46:18 ==> Python coveragepy not found 13:46:18 ==> Searching for coverage reports in: 13:46:18 + . 13:46:18 -> Found 1 reports 13:46:18 ==> Detecting git/mercurial file structure 13:46:18 ==> Reading reports 13:46:18 + ./coverage.out bytes=44127 13:46:18 ==> Appending adjustments 13:46:18 https://docs.codecov.io/docs/fixing-reports 13:46:19 + Found adjustments 13:46:19 ==> Gzipping contents 13:46:19 8.0K /tmp/codecov.xwXUmi.gz 13:46:19 ==> Uploading reports 13:46:19 url: https://codecov.io 13:46:19 query: branch=main&commit=0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:46:19 -> Pinging Codecov 13:46:19 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=0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195&build=91&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F91%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:46:19 -> Uploading to 13:46:19 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/5E52B4B073DB2E39498172D8E973AA87/0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195/6c0ea743-c722-4c1b-933a-0203afeb934f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T134619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c27d3a02f700e5b0b38fef14ffa559b4dbcb4dc318e90d4c68804f92e63a5f91 13:46:19 % Total % Received % Xferd Average Speed Time Time Time Current 13:46:19 Dload Upload Total Spent Left Speed 13:46:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5493 0 0 100 5493 0 18371 --:--:-- --:--:-- --:--:-- 18371 13:46:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [Pipeline] } 13:46:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:46:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:46:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:46:20 13:46:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:46:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:46:20 df9b9388f04a: Pulling fs layer 13:46:20 52dc419b0ee2: Pulling fs layer 13:46:20 25bc292e5bac: Pulling fs layer 13:46:20 114826534d7a: Pulling fs layer 13:46:20 4657fd5d0bcf: Pulling fs layer 13:46:20 6ad1cebc031e: Pulling fs layer 13:46:20 8a3aa393b2d8: Pulling fs layer 13:46:20 4657fd5d0bcf: Waiting 13:46:20 6ad1cebc031e: Waiting 13:46:20 8a3aa393b2d8: Waiting 13:46:20 114826534d7a: Waiting 13:46:20 25bc292e5bac: Verifying Checksum 13:46:20 25bc292e5bac: Download complete 13:46:20 52dc419b0ee2: Verifying Checksum 13:46:20 52dc419b0ee2: Download complete 13:46:20 4657fd5d0bcf: Verifying Checksum 13:46:20 4657fd5d0bcf: Download complete 13:46:20 df9b9388f04a: Download complete 13:46:20 df9b9388f04a: Pull complete 13:46:20 6ad1cebc031e: Verifying Checksum 13:46:20 6ad1cebc031e: Download complete 13:46:20 52dc419b0ee2: Pull complete 13:46:20 25bc292e5bac: Pull complete 13:46:21 114826534d7a: Verifying Checksum 13:46:21 114826534d7a: Download complete 13:46:21 8a3aa393b2d8: Verifying Checksum 13:46:21 8a3aa393b2d8: Download complete 13:46:25 114826534d7a: Pull complete 13:46:25 4657fd5d0bcf: Pull complete 13:46:25 6ad1cebc031e: Pull complete 13:46:28 8a3aa393b2d8: Pull complete 13:46:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 13:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:46:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:29 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:46:29 $ 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 13:46:31 $ docker top 95254b31ef74233f1ae88a0eeee3af9e6752c973db70ae8b88c7139588db5cb2 -eo pid,comm [Pipeline] { [Pipeline] echo 13:46:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 13:46:31 + set -o pipefail 13:46:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 13:46:35 13:46:35 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 13:46:35 13:46:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/30a8c2be-2ee5-4d57-97bb-95360d54e0be 13:46:35 13:46:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 13:46:35 13:46:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:46:35 13:46:35 13:46:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 13:46:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 13:46:35 More details here: https://snyk.co/ue1NS 13:46:35 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 13:46:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 13:46:35 $ docker stop --time=1 95254b31ef74233f1ae88a0eeee3af9e6752c973db70ae8b88c7139588db5cb2 13:46:37 $ docker rm -f --volumes 95254b31ef74233f1ae88a0eeee3af9e6752c973db70ae8b88c7139588db5cb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:46:38 + git log --format=format:%s -1 0b21fdb78f52bb8ae4c8515c35f4ddb7a8305195 [Pipeline] sh 13:46:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:46:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:46:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:39 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:46:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:46:39 $ docker top 848f9153270cb9e8fc80ac83c493831297e7c24b8f369cbc6628ae701bd50a68 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:46:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:46:39 [ssh-agent] Looking for ssh-agent implementation... 13:46:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:46:40 $ docker exec 848f9153270cb9e8fc80ac83c493831297e7c24b8f369cbc6628ae701bd50a68 ssh-agent 13:46:40 SSH_AUTH_SOCK=/tmp/ssh-8ZYqkYbdn8fA/agent.33 13:46:40 SSH_AGENT_PID=39 13:46:40 Running ssh-add (command line suppressed) 13:46:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17467640553837863369.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17467640553837863369.key) 13:46:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:46:40 + git semver tag 13:46:40 2023-03-13 13:46:40,739 [run_tag] DEBUG tag force:False 13:46:40 2023-03-13 13:46:40,739 [check_head_tag] DEBUG check head tag 13:46:40 2023-03-13 13:46:40,740 [execute] INFO git cat-file --batch-check 13:46:40 2023-03-13 13:46:40,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:46:40 2023-03-13 13:46:40,744 [execute] INFO git cat-file --batch 13:46:40 2023-03-13 13:46:40,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:46:40 2023-03-13 13:46:40,769 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:46:40 2023-03-13 13:46:40,769 [execute] INFO git tag -a v3.0.0-dev.20 -m v3.0.0-dev.20 13:46:40 2023-03-13 13:46:40,769 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.20', '-m', 'v3.0.0-dev.20'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:46:40 2023-03-13 13:46:40,774 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:46:40 3.0.0-dev.20 [Pipeline] } 13:46:40 $ docker exec --env ******** --env ******** 848f9153270cb9e8fc80ac83c493831297e7c24b8f369cbc6628ae701bd50a68 ssh-agent -k 13:46:40 unset SSH_AUTH_SOCK; 13:46:40 unset SSH_AGENT_PID; 13:46:40 echo Agent pid 39 killed; 13:46:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:46:41 + git semver [Pipeline] } 13:46:41 $ docker stop --time=1 848f9153270cb9e8fc80ac83c493831297e7c24b8f369cbc6628ae701bd50a68 13:46:43 $ docker rm -f --volumes 848f9153270cb9e8fc80ac83c493831297e7c24b8f369cbc6628ae701bd50a68 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:46:43 13:46:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:46:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:46:43 0.23.1-centos7: Pulling from edgex-lftools 13:46:43 ab5ef0e58194: Pulling fs layer 13:46:43 9712f1f96733: Pulling fs layer 13:46:43 63f879dbbcfc: Pulling fs layer 13:46:43 0d9ebad4ef96: Pulling fs layer 13:46:43 e9a5061849ea: Pulling fs layer 13:46:43 d747dcd14b5f: Pulling fs layer 13:46:43 2de7ff778b66: Pulling fs layer 13:46:43 e9a5061849ea: Waiting 13:46:43 d747dcd14b5f: Waiting 13:46:43 2de7ff778b66: Waiting 13:46:43 0d9ebad4ef96: Waiting 13:46:43 9712f1f96733: Verifying Checksum 13:46:43 9712f1f96733: Download complete 13:46:44 63f879dbbcfc: Verifying Checksum 13:46:44 63f879dbbcfc: Download complete 13:46:44 e9a5061849ea: Verifying Checksum 13:46:44 e9a5061849ea: Download complete 13:46:44 d747dcd14b5f: Verifying Checksum 13:46:44 d747dcd14b5f: Download complete 13:46:44 0d9ebad4ef96: Verifying Checksum 13:46:44 0d9ebad4ef96: Download complete 13:46:44 ab5ef0e58194: Verifying Checksum 13:46:44 ab5ef0e58194: Download complete 13:46:44 2de7ff778b66: Verifying Checksum 13:46:44 2de7ff778b66: Download complete 13:46:47 ab5ef0e58194: Pull complete 13:46:47 9712f1f96733: Pull complete 13:46:48 63f879dbbcfc: Pull complete 13:46:52 0d9ebad4ef96: Pull complete 13:46:52 e9a5061849ea: Pull complete 13:46:52 d747dcd14b5f: Pull complete 13:46:53 2de7ff778b66: Pull complete 13:46:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:46:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:46:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:46:53 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:46:53 $ 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 13:46:55 $ docker top 8b25cbfbecf1e60af46e90e7725510b6ecbb7edf55dff7631ab2a529a2166fa5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:46:55 provisioning config files... 13:46:55 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11355431158823947550tmp 13:46:55 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5000861893752479813tmp 13:46:55 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5896837350215625022tmp [Pipeline] { [Pipeline] echo 13:46:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:46:56 ---> sigul-configuration.sh 13:46:56 gpg: directory `/root/.gnupg' created 13:46:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:46:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:46:56 gpg: keyring `/root/.gnupg/secring.gpg' created 13:46:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:46:56 gpg: CAST5 encrypted data 13:46:56 gpg: encrypted with 1 passphrase 13:46:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:46:56 + mkdir /home/jenkins 13:46:56 + mkdir /home/jenkins/sigul [Pipeline] sh 13:46:56 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 13:46:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:46:57 ---> sigul-install.sh 13:46:57 Sigul already installed; skipping installation. [Pipeline] sh 13:46:57 + git tag --list 13:46:57 v1.0.0 13:46:57 v1.1.0 13:46:57 v1.1.1 13:46:57 v1.2.1 13:46:57 v1.2.2 13:46:57 v1.2.3 13:46:57 v1.3.0 13:46:57 v1.3.1 13:46:57 v2.0.0 13:46:57 v2.1.0 13:46:57 v2.1.1 13:46:57 v2.1.1-dev.1 13:46:57 v2.1.1-dev.2 13:46:57 v2.2.0 13:46:57 v2.2.1-dev.1 13:46:57 v2.2.1-dev.2 13:46:57 v2.2.1-dev.3 13:46:57 v2.2.1-dev.4 13:46:57 v2.2.1-dev.5 13:46:57 v2.2.1-dev.6 13:46:57 v2.2.1-dev.7 13:46:57 v2.2.1-dev.8 13:46:57 v2.3.0 13:46:57 v2.3.0-dev.10 13:46:57 v2.3.0-dev.11 13:46:57 v2.3.0-dev.12 13:46:57 v2.3.0-dev.13 13:46:57 v2.3.0-dev.14 13:46:57 v2.3.0-dev.15 13:46:57 v2.3.0-dev.16 13:46:57 v2.3.0-dev.17 13:46:57 v2.3.0-dev.18 13:46:57 v2.3.0-dev.19 13:46:57 v2.3.0-dev.20 13:46:57 v2.3.0-dev.21 13:46:57 v2.3.0-dev.22 13:46:57 v2.3.0-dev.23 13:46:57 v2.3.0-dev.24 13:46:57 v2.3.0-dev.25 13:46:57 v2.3.0-dev.26 13:46:57 v2.3.0-dev.27 13:46:57 v2.3.0-dev.28 13:46:57 v2.3.0-dev.29 13:46:57 v2.3.0-dev.30 13:46:57 v2.3.0-dev.8 13:46:57 v2.3.0-dev.9 13:46:57 v3.0.0-dev.1 13:46:57 v3.0.0-dev.10 13:46:57 v3.0.0-dev.11 13:46:57 v3.0.0-dev.12 13:46:57 v3.0.0-dev.13 13:46:57 v3.0.0-dev.14 13:46:57 v3.0.0-dev.15 13:46:57 v3.0.0-dev.16 13:46:57 v3.0.0-dev.17 13:46:57 v3.0.0-dev.18 13:46:57 v3.0.0-dev.19 13:46:57 v3.0.0-dev.2 13:46:57 v3.0.0-dev.20 13:46:57 v3.0.0-dev.3 13:46:57 v3.0.0-dev.4 13:46:57 v3.0.0-dev.5 13:46:57 v3.0.0-dev.6 13:46:57 v3.0.0-dev.7 13:46:57 v3.0.0-dev.8 13:46:57 v3.0.0-dev.9 [Pipeline] sh 13:46:57 + lftools sign git-tag v3.0.0-dev.20 13:46:58 Signing Git tag with Sigul... 13:46:58 Signing v3.0.0-dev.20 [Pipeline] echo 13:46:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:46:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:46:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:46:59 $ docker stop --time=1 8b25cbfbecf1e60af46e90e7725510b6ecbb7edf55dff7631ab2a529a2166fa5 13:47:00 $ docker rm -f --volumes 8b25cbfbecf1e60af46e90e7725510b6ecbb7edf55dff7631ab2a529a2166fa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:47:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:47:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:47:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:01 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:47:01 $ 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 13:47:01 $ docker top 42c5f498771bff057a7c3b1077ea69cd952133fbc12de49d07e74e98299d9984 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:47:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:47:01 [ssh-agent] Looking for ssh-agent implementation... 13:47:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:47:01 $ docker exec 42c5f498771bff057a7c3b1077ea69cd952133fbc12de49d07e74e98299d9984 ssh-agent 13:47:01 SSH_AUTH_SOCK=/tmp/ssh-XJR7xrKBq46f/agent.32 13:47:01 SSH_AGENT_PID=38 13:47:01 Running ssh-add (command line suppressed) 13:47:02 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7519289092528898212.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7519289092528898212.key) 13:47:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:47:02 + git semver bump pre 13:47:02 2023-03-13 13:47:02,578 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:47:02 2023-03-13 13:47:02,578 [bump_version] DEBUG bumping version:3.0.0-dev.20 on axis:pre with prefix:dev 13:47:02 2023-03-13 13:47:02,578 [bump_version] DEBUG bumped version:3.0.0-dev.21 13:47:02 2023-03-13 13:47:02,578 [write_version] DEBUG write version:3.0.0-dev.21 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 13:47:02 2023-03-13 13:47:02,578 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:47:02 2023-03-13 13:47:02,579 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:47:02 2023-03-13 13:47:02,581 [execute] INFO git cat-file --batch-check 13:47:02 2023-03-13 13:47:02,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:47:02 2023-03-13 13:47:02,587 [execute] INFO git cat-file --batch 13:47:02 2023-03-13 13:47:02,587 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:47:02 2023-03-13 13:47:02,592 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:47:02 3.0.0-dev.21 [Pipeline] } 13:47:02 $ docker exec --env ******** --env ******** 42c5f498771bff057a7c3b1077ea69cd952133fbc12de49d07e74e98299d9984 ssh-agent -k 13:47:02 unset SSH_AUTH_SOCK; 13:47:02 unset SSH_AGENT_PID; 13:47:02 echo Agent pid 38 killed; 13:47:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:47:03 + git semver [Pipeline] } 13:47:03 $ docker stop --time=1 42c5f498771bff057a7c3b1077ea69cd952133fbc12de49d07e74e98299d9984 13:47:04 $ docker rm -f --volumes 42c5f498771bff057a7c3b1077ea69cd952133fbc12de49d07e74e98299d9984 [Pipeline] // withDockerContainer [Pipeline] sh 13:47:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:47:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:47:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:05 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:47:05 $ 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 13:47:05 $ docker top ca781a4fb510a24210f16d6699dd2a842af0abf11d6ddae37b7390eb9b183b9c -eo pid,comm 13:47:05 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:47:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:47:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:47:05 [ssh-agent] Looking for ssh-agent implementation... 13:47:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:47:06 $ docker exec ca781a4fb510a24210f16d6699dd2a842af0abf11d6ddae37b7390eb9b183b9c ssh-agent 13:47:06 SSH_AUTH_SOCK=/tmp/ssh-Pzq9bIB6K99T/agent.32 13:47:06 SSH_AGENT_PID=38 13:47:06 Running ssh-add (command line suppressed) 13:47:06 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12570818745219783922.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12570818745219783922.key) 13:47:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:47:06 + git semver push 13:47:06 2023-03-13 13:47:06,771 [run_push] DEBUG push 13:47:06 2023-03-13 13:47:06,771 [execute] INFO git cat-file --batch-check 13:47:06 2023-03-13 13:47:06,772 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:47:06 2023-03-13 13:47:06,776 [execute] INFO git rev-list 5b26f3cee93e450f64ca326f6f7c799067cdbe6a -- 13:47:06 2023-03-13 13:47:06,777 [execute] DEBUG Popen(['git', 'rev-list', '5b26f3cee93e450f64ca326f6f7c799067cdbe6a', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:47:06 2023-03-13 13:47:06,786 [execute] INFO git fetch -v origin 13:47:06 2023-03-13 13:47:06,786 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 13:47:07 2023-03-13 13:47:07,328 [run_push] DEBUG no remote changes detected 13:47:07 2023-03-13 13:47:07,329 [execute] INFO git push origin semver 13:47:07 2023-03-13 13:47:07,329 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:47:08 2023-03-13 13:47:08,187 [run_push] DEBUG push all version tags 13:47:08 2023-03-13 13:47:08,188 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:47:08 2023-03-13 13:47:08,188 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:47:09 2023-03-13 13:47:08,919 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:47:09 3.0.0-dev.21 [Pipeline] } 13:47:09 $ docker exec --env ******** --env ******** ca781a4fb510a24210f16d6699dd2a842af0abf11d6ddae37b7390eb9b183b9c ssh-agent -k 13:47:09 unset SSH_AUTH_SOCK; 13:47:09 unset SSH_AGENT_PID; 13:47:09 echo Agent pid 38 killed; 13:47:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:47:09 + git semver [Pipeline] } 13:47:09 $ docker stop --time=1 ca781a4fb510a24210f16d6699dd2a842af0abf11d6ddae37b7390eb9b183b9c 13:47:11 $ docker rm -f --volumes ca781a4fb510a24210f16d6699dd2a842af0abf11d6ddae37b7390eb9b183b9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:47:11 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 13:47:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:47:11 total 16 13:47:11 drwxr-xr-x 3 root root 4096 Mar 13 13:37 . 13:47:11 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 13:46 .. 13:47:11 drwxr-xr-x 2 root root 4096 Mar 13 13:37 cost 13:47:11 -rw-r--r-- 1 root root 88 Mar 13 13:37 cost.csv 13:47:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 13:47:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:47:11 total 16 13:47:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 13:37 . 13:47:11 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 13:46 .. 13:47:11 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 13:37 cost 13:47:11 -rw-r--r-- 1 jenkins jenkins 88 Mar 13 13:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:47:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:47:12 ---> package-listing.sh 13:47:12 ++ facter osfamily 13:47:12 ++ tr '[:upper:]' '[:lower:]' 13:47:13 + OS_FAMILY=debian 13:47:13 + workspace=/w/workspace/exfoundry_device-virtual-go_main 13:47:13 + START_PACKAGES=/tmp/packages_start.txt 13:47:13 + END_PACKAGES=/tmp/packages_end.txt 13:47:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:47:13 + PACKAGES=/tmp/packages_start.txt 13:47:13 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:47:13 + PACKAGES=/tmp/packages_end.txt 13:47:13 + case "${OS_FAMILY}" in 13:47:13 + dpkg -l 13:47:13 + grep '^ii' 13:47:13 + '[' -f /tmp/packages_start.txt ']' 13:47:13 + '[' -f /tmp/packages_end.txt ']' 13:47:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:47:13 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:47:13 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 13:47:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 13:47:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:47:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:47:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:14 prd-ubuntu20.04-docker-8c-8g-9879 does not seem to be running inside a container 13:47:14 $ 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 13:47:14 $ docker top a12e5aa398acea177238f4759d18d8794a04dcfd0bb5dfce51f4b0966ce15d84 -eo pid,comm [Pipeline] { [Pipeline] sh 13:47:14 + touch /tmp/pre-build-complete [Pipeline] sh 13:47:14 + mkdir -p /var/log/sysstat [Pipeline] sh 13:47:15 + ls /var/log/sa-host 13:47:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:47:15 provisioning config files... 13:47:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17988352188971211670tmp [Pipeline] { [Pipeline] echo 13:47:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:47:15 ---> create-netrc.sh [Pipeline] } 13:47:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:47:15 ---> python-tools-install.sh [Pipeline] echo 13:47:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:47:16 ---> sudo-logs.sh 13:47:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:47:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:47:16 ---> job-cost.sh 13:47:16 lf-activate-venv: SKIPPING 13:47:16 DEBUG: total: 0.2199999988079071 13:47:16 INFO: Retrieving Stack Cost... 13:47:16 INFO: Retrieving Pricing Info for: v3-standard-8 13:47:17 INFO: Archiving Costs [Pipeline] echo 13:47:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:47:17 ---> logs-deploy.sh 13:47:17 lf-activate-venv: SKIPPING 13:47:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/91 13:47:17 INFO: archiving workspace using pattern(s): 13:47:18 Archives upload complete. 13:47:19 INFO: archiving logs to Nexus