Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 338b4a6717ad749e6fbb765a40a4439a1a99c0fd 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-ssh2871154654660941397.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5736722816423521320.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh14543713009938073056.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh7404493967902894302.key Verifying host key using known hosts file > 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-ssh5826224541862798307.key Verifying host key using known hosts file > 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-1212’ Running on prd-ubuntu20.04-docker-8c-8g-1214 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 338b4a6717ad749e6fbb765a40a4439a1a99c0fd (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 338b4a6717ad749e6fbb765a40a4439a1a99c0fd # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#306)" > git rev-list --no-walk e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:11:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:11:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:11:00 ========================================================= 21:11:00 EdgeX Global Pipelines Version Info 21:11:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:11:01 ------------------- 21:11:01 stable info: 21:11:01 ------------------- 21:11:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:11:01 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:11:01 Message: update stable to v1.0.239 21:11:02 ------------------- 21:11:02 experimental info: 21:11:02 ------------------- 21:11:02 Commited By: **** collab-it+edgex@linuxfoundation.org 21:11:02 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:11:02 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 338b4a6717ad749e6fbb765a40a4439a1a99c0fd [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 338b4a6 [Pipeline] echo 21:11:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:02 provisioning config files... 21:11:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10505936863912823492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:03 ---> docker-login.sh 21:11:03 nexus3.edgexfoundry.org:10001 21:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:03 Configure a credential helper to remove this warning. See 21:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:03 21:11:03 Login Succeeded 21:11:03 nexus3.edgexfoundry.org:10002 21:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:03 Configure a credential helper to remove this warning. See 21:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:03 21:11:03 Login Succeeded 21:11:03 nexus3.edgexfoundry.org:10003 21:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:03 Configure a credential helper to remove this warning. See 21:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:03 21:11:03 Login Succeeded 21:11:03 nexus3.edgexfoundry.org:10004 21:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:03 Configure a credential helper to remove this warning. See 21:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:03 21:11:03 Login Succeeded 21:11:03 docker.io 21:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:04 Configure a credential helper to remove this warning. See 21:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:04 21:11:04 Login Succeeded 21:11:04 ---> docker-login.sh ends [Pipeline] } 21:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:11:04 + git rev-list -1 --merges 338b4a6717ad749e6fbb765a40a4439a1a99c0fd~1..338b4a6717ad749e6fbb765a40a4439a1a99c0fd [Pipeline] echo 21:11:04 -----------> git rev-list -1 --merges 338b4a6717ad749e6fbb765a40a4439a1a99c0fd~1..338b4a6717ad749e6fbb765a40a4439a1a99c0fd 338b4a6717ad749e6fbb765a40a4439a1a99c0fd [false] [Pipeline] sh 21:11:04 + git log --format=format:%s -1 338b4a6717ad749e6fbb765a40a4439a1a99c0fd [Pipeline] echo 21:11:04 ========================================================= 21:11:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:11:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:05 + git log --format=format:%s -1 338b4a6717ad749e6fbb765a40a4439a1a99c0fd [Pipeline] echo 21:11:05 [semverPrep] GIT_COMMIT: 338b4a6717ad749e6fbb765a40a4439a1a99c0fd, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#306) [Pipeline] echo 21:11:05 [semverPrep] This is not a build commit. [Pipeline] sh 21:11:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:11:05 + grep -v github /etc/ssh/ssh_known_hosts 21:11:05 + [ -e /tmp/ssh_known_hosts ] 21:11:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:11:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:11:05 + sudo tee -a /etc/ssh/ssh_known_hosts 21:11:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:05 21:11:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:06 0.1.4: Pulling from edgex-devops/py-git-semver 21:11:06 b85a868b505f: Pulling fs layer 21:11:06 e2be974225ed: Pulling fs layer 21:11:06 339a4e72a1f5: Pulling fs layer 21:11:06 988bab9f4d93: Pulling fs layer 21:11:06 1469e6f7b9e6: Pulling fs layer 21:11:06 eaf3925da568: Pulling fs layer 21:11:06 bab4dde63d76: Pulling fs layer 21:11:06 bde34c3a00c8: Pulling fs layer 21:11:06 b352a97aabf1: Pulling fs layer 21:11:06 4872d77fe225: Pulling fs layer 21:11:06 5851b861e8e6: Pulling fs layer 21:11:06 988bab9f4d93: Waiting 21:11:06 1469e6f7b9e6: Waiting 21:11:06 eaf3925da568: Waiting 21:11:06 bde34c3a00c8: Waiting 21:11:06 b352a97aabf1: Waiting 21:11:06 5851b861e8e6: Waiting 21:11:06 4872d77fe225: Waiting 21:11:06 bab4dde63d76: Waiting 21:11:06 e2be974225ed: Verifying Checksum 21:11:06 e2be974225ed: Download complete 21:11:06 988bab9f4d93: Download complete 21:11:06 1469e6f7b9e6: Verifying Checksum 21:11:06 1469e6f7b9e6: Download complete 21:11:06 eaf3925da568: Download complete 21:11:06 339a4e72a1f5: Verifying Checksum 21:11:06 339a4e72a1f5: Download complete 21:11:06 bde34c3a00c8: Download complete 21:11:06 b352a97aabf1: Verifying Checksum 21:11:06 b352a97aabf1: Download complete 21:11:06 4872d77fe225: Verifying Checksum 21:11:06 4872d77fe225: Download complete 21:11:06 5851b861e8e6: Download complete 21:11:06 b85a868b505f: Verifying Checksum 21:11:06 b85a868b505f: Download complete 21:11:06 bab4dde63d76: Verifying Checksum 21:11:06 bab4dde63d76: Download complete 21:11:07 b85a868b505f: Pull complete 21:11:07 e2be974225ed: Pull complete 21:11:08 339a4e72a1f5: Pull complete 21:11:08 988bab9f4d93: Pull complete 21:11:08 1469e6f7b9e6: Pull complete 21:11:08 eaf3925da568: Pull complete 21:11:10 bab4dde63d76: Pull complete 21:11:10 bde34c3a00c8: Pull complete 21:11:10 b352a97aabf1: Pull complete 21:11:10 4872d77fe225: Pull complete 21:11:10 5851b861e8e6: Pull complete 21:11:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:11:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:11:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:10 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:11:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:11:12 $ docker top 30908f038e6ec0872e9ac0aa2c565b729b35c4149b82cbeffb4a08b77540e31b -eo pid,comm 21:11:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:11:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:11:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:12 [ssh-agent] Looking for ssh-agent implementation... 21:11:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:12 $ docker exec 30908f038e6ec0872e9ac0aa2c565b729b35c4149b82cbeffb4a08b77540e31b ssh-agent 21:11:12 SSH_AUTH_SOCK=/tmp/ssh-wIiNtY6Gsu0a/agent.32 21:11:12 SSH_AGENT_PID=38 21:11:12 Running ssh-add (command line suppressed) 21:11:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10994214843904794795.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10994214843904794795.key) 21:11:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:12 + git tag --points-at HEAD [Pipeline] } 21:11:12 $ docker exec --env ******** --env ******** 30908f038e6ec0872e9ac0aa2c565b729b35c4149b82cbeffb4a08b77540e31b ssh-agent -k 21:11:13 unset SSH_AUTH_SOCK; 21:11:13 unset SSH_AGENT_PID; 21:11:13 echo Agent pid 38 killed; 21:11:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:11:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:11:13 [ssh-agent] Looking for ssh-agent implementation... 21:11:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:11:13 $ docker exec 30908f038e6ec0872e9ac0aa2c565b729b35c4149b82cbeffb4a08b77540e31b ssh-agent 21:11:13 SSH_AUTH_SOCK=/tmp/ssh-NOnEwOqJZBrJ/agent.70 21:11:13 SSH_AGENT_PID=76 21:11:13 Running ssh-add (command line suppressed) 21:11:13 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15168860483102421438.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15168860483102421438.key) 21:11:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:11:13 + git semver init 21:11:14 2022-09-26 21:11:13,954 [run_init] DEBUG init version:0.0.0 force:False 21:11:14 2022-09-26 21:11:13,955 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 21:11:14 2022-09-26 21:11:13,955 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 21:11:14 2022-09-26 21:11:13,956 [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) 21:11:15 2022-09-26 21:11:15,021 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 21:11:15 2022-09-26 21:11:15,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 21:11:15 2022-09-26 21:11:15,021 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:11:15 2022-09-26 21:11:15,021 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:11:15 2.3.0-dev.17 [Pipeline] } 21:11:15 $ docker exec --env ******** --env ******** 30908f038e6ec0872e9ac0aa2c565b729b35c4149b82cbeffb4a08b77540e31b ssh-agent -k 21:11:15 unset SSH_AUTH_SOCK; 21:11:15 unset SSH_AGENT_PID; 21:11:15 echo Agent pid 76 killed; 21:11:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:11:15 + git semver [Pipeline] } 21:11:16 $ docker stop --time=1 30908f038e6ec0872e9ac0aa2c565b729b35c4149b82cbeffb4a08b77540e31b 21:11:17 $ docker rm -f 30908f038e6ec0872e9ac0aa2c565b729b35c4149b82cbeffb4a08b77540e31b [Pipeline] // withDockerContainer [Pipeline] sh 21:11:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:11:17 Stashed 1 file(s) [Pipeline] echo 21:11:17 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [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 21:11:18 provisioning config files... 21:11:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8374648333160596102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:18 ---> docker-login.sh 21:11:18 nexus3.edgexfoundry.org:10001 21:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:18 Configure a credential helper to remove this warning. See 21:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:18 21:11:18 Login Succeeded 21:11:18 nexus3.edgexfoundry.org:10002 21:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:18 Configure a credential helper to remove this warning. See 21:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:18 21:11:18 Login Succeeded 21:11:18 nexus3.edgexfoundry.org:10003 21:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:18 Configure a credential helper to remove this warning. See 21:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:18 21:11:18 Login Succeeded 21:11:18 nexus3.edgexfoundry.org:10004 21:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:18 Configure a credential helper to remove this warning. See 21:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:18 21:11:18 Login Succeeded 21:11:18 docker.io 21:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:19 Configure a credential helper to remove this warning. See 21:11:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:19 21:11:19 Login Succeeded 21:11:19 ---> docker-login.sh ends [Pipeline] } 21:11:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:11:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:19 ========================================================= 21:11:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:11:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:11:19 Sending build context to Docker daemon 23.13MB 21:11:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:11:19 Step 2/13 : FROM ${BASE} AS builder 21:11:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:11:19 2408cc74d12b: Pulling fs layer 21:11:19 ea60b727a1ce: Pulling fs layer 21:11:19 30c4a7721957: Pulling fs layer 21:11:19 370296b7ddb6: Pulling fs layer 21:11:19 7c6cee850709: Pulling fs layer 21:11:19 39a5fcdaea64: Pulling fs layer 21:11:19 d94ebbe4e438: Pulling fs layer 21:11:19 bcfd1f05c69d: Pulling fs layer 21:11:19 59ccb84bbe0f: Pulling fs layer 21:11:19 7c6cee850709: Waiting 21:11:19 39a5fcdaea64: Waiting 21:11:19 d94ebbe4e438: Waiting 21:11:19 bcfd1f05c69d: Waiting 21:11:19 59ccb84bbe0f: Waiting 21:11:19 370296b7ddb6: Waiting 21:11:19 30c4a7721957: Download complete 21:11:19 ea60b727a1ce: Download complete 21:11:19 7c6cee850709: Verifying Checksum 21:11:19 7c6cee850709: Download complete 21:11:19 39a5fcdaea64: Verifying Checksum 21:11:19 39a5fcdaea64: Download complete 21:11:19 2408cc74d12b: Verifying Checksum 21:11:19 2408cc74d12b: Download complete 21:11:19 d94ebbe4e438: Download complete 21:11:20 2408cc74d12b: Pull complete 21:11:20 ea60b727a1ce: Pull complete 21:11:20 30c4a7721957: Pull complete 21:11:20 59ccb84bbe0f: Verifying Checksum 21:11:20 59ccb84bbe0f: Download complete 21:11:20 bcfd1f05c69d: Verifying Checksum 21:11:20 bcfd1f05c69d: Download complete 21:11:20 370296b7ddb6: Verifying Checksum 21:11:20 370296b7ddb6: Download complete 21:11:25 370296b7ddb6: Pull complete 21:11:25 7c6cee850709: Pull complete 21:11:25 39a5fcdaea64: Pull complete 21:11:25 d94ebbe4e438: Pull complete 21:11:26 bcfd1f05c69d: Pull complete 21:11:27 59ccb84bbe0f: Pull complete 21:11:27 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:11:27 ---> a4fb48ad2a94 21:11:27 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:11:28 ---> Running in 10cf45846ab0 21:11:28 Removing intermediate container 10cf45846ab0 21:11:28 ---> 6fa00712321b 21:11:28 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:11:28 ---> Running in 7c1e4cce4b48 21:11:29 Removing intermediate container 7c1e4cce4b48 21:11:29 ---> 2eefc874a0d9 21:11:29 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:11:29 ---> Running in 3316e0c944e6 21:11:29 Removing intermediate container 3316e0c944e6 21:11:29 ---> eb61240585d0 21:11:29 Step 6/13 : WORKDIR /device-virtual-go 21:11:29 ---> Running in bdac1298b638 21:11:29 Removing intermediate container bdac1298b638 21:11:29 ---> 7d8cd74663db 21:11:29 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:11:29 ---> Running in fb580ee2f07e 21:11:30 Removing intermediate container fb580ee2f07e 21:11:30 ---> ff081f68a4d0 21:11:30 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:11:30 ---> Running in 025718a6f047 21:11:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:11:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:11:31 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:11:31 (2/4) Installing libedit (20210910.3.1-r0) 21:11:31 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:11:31 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:11:31 Executing busybox-1.35.0-r13.trigger 21:11:31 OK: 216 MiB in 55 packages 21:11:32 Removing intermediate container 025718a6f047 21:11:32 ---> 0961c0f6987a 21:11:32 Step 9/13 : COPY go.mod vendor* ./ 21:11:32 ---> 4a359892f28b 21:11:32 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:32 ---> Running in 596f8d759c58 21:11:33 Still waiting to schedule task 21:11:33 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1213’ 21:11:50 Removing intermediate container 596f8d759c58 21:11:50 ---> 857c120caa68 21:11:50 Step 11/13 : COPY . . 21:11:50 ---> 1528ebea5c90 21:11:50 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:11:50 ---> Running in 1d254f35362d 21:11:50 Removing intermediate container 1d254f35362d 21:11:50 ---> 9fcb29ecf69f 21:11:50 Step 13/13 : RUN $MAKE 21:11:50 ---> Running in b755474646f0 21:11:50 noop 21:11:50 Removing intermediate container b755474646f0 21:11:50 ---> 6c6df946d7d8 21:11:50 Successfully built 6c6df946d7d8 21:11:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:50 + docker inspect -f . ci-base-image-x86_64 21:11:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:51 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:11:51 $ docker top 86d9786faf77e1d4efbb05b1a2669e23a62a0ea2383af000f6e1be91c31d6c0c -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:51 + go version 21:11:51 go version go1.18.3 linux/amd64 [Pipeline] } 21:11:51 $ docker stop --time=1 86d9786faf77e1d4efbb05b1a2669e23a62a0ea2383af000f6e1be91c31d6c0c 21:11:53 $ docker rm -f 86d9786faf77e1d4efbb05b1a2669e23a62a0ea2383af000f6e1be91c31d6c0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:53 + docker inspect -f . ci-base-image-x86_64 21:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:53 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:11:53 $ 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 ******** ci-base-image-x86_64 cat 21:11:53 $ docker top 44cece143708c11477a5985fcd141a8f31d66eb4ef772a35d921a8a6c01cf9f3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:11:54 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 21:11:54 + make test 21:11:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:11:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:12:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:12:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 21:12:11 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." 21:12:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:12:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:12:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:12:14 ./bin/test-attribution-txt.sh 21:12:14 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:12:14 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:12:14 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:12:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:12:14 $ docker stop --time=1 44cece143708c11477a5985fcd141a8f31d66eb4ef772a35d921a8a6c01cf9f3 21:12:16 $ docker rm -f 44cece143708c11477a5985fcd141a8f31d66eb4ef772a35d921a8a6c01cf9f3 [Pipeline] // withDockerContainer [Pipeline] sh 21:12:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:12:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:12:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:12:17 + ls -al . 21:12:17 total 196 21:12:17 drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 21:11 . 21:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:10 .. 21:12:17 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:12 .git 21:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:10 .github 21:12:17 -rw-rw-r-- 1 jenkins jenkins 337 Sep 26 21:10 .gitignore 21:12:17 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 21:10 .golangci.yml 21:12:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 21:11 .semver 21:12:17 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 26 21:10 Attribution.txt 21:12:17 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 26 21:10 CHANGELOG.md 21:12:17 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 26 21:10 Dockerfile 21:12:17 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 21:10 GOVERNANCE.md 21:12:17 -rw-rw-r-- 1 jenkins jenkins 660 Sep 26 21:10 Jenkinsfile 21:12:17 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 21:10 LICENSE 21:12:17 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 26 21:10 Makefile 21:12:17 -rw-rw-r-- 1 jenkins jenkins 623 Sep 26 21:10 OWNERS.md 21:12:17 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 26 21:10 README.md 21:12:17 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 21:11 VERSION 21:12:17 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:10 bin 21:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:10 cmd 21:12:17 -rw-r--r-- 1 jenkins jenkins 44128 Sep 26 21:12 coverage.out 21:12:17 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 26 21:10 go.mod 21:12:17 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 26 21:10 go.sum 21:12:17 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:10 internal 21:12:17 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:10 snap 21:12:17 -rw-rw-r-- 1 jenkins jenkins 235 Sep 26 21:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:17 + 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=338b4a6717ad749e6fbb765a40a4439a1a99c0fd --label arch=amd64 --label version=2.3.0-dev.17 . 21:12:17 Sending build context to Docker daemon 23.17MB 21:12:17 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:12:17 Step 2/27 : FROM ${BASE} AS builder 21:12:17 ---> 6c6df946d7d8 21:12:17 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:12:18 ---> Running in 61c7908b1574 21:12:18 Removing intermediate container 61c7908b1574 21:12:18 ---> f65412a342e9 21:12:18 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 21:12:18 ---> Running in 4f7ad2b5812a 21:12:18 Removing intermediate container 4f7ad2b5812a 21:12:18 ---> 9d31fbad17a8 21:12:18 Step 5/27 : ARG ADD_BUILD_TAGS="" 21:12:18 ---> Running in 4b7c686edd9d 21:12:18 Removing intermediate container 4b7c686edd9d 21:12:18 ---> e39dfa7306c7 21:12:18 Step 6/27 : WORKDIR /device-virtual-go 21:12:18 ---> Running in 35e08cefd26f 21:12:18 Removing intermediate container 35e08cefd26f 21:12:18 ---> 33152a4b4d9f 21:12:18 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:12:18 ---> Running in 68a9d46e9aa3 21:12:19 Removing intermediate container 68a9d46e9aa3 21:12:19 ---> 4d069cb4d0a9 21:12:19 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:19 ---> Running in 798a38af1380 21:12:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:12:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:12:20 OK: 216 MiB in 55 packages 21:12:21 Removing intermediate container 798a38af1380 21:12:21 ---> d8f69a1475e9 21:12:21 Step 9/27 : COPY go.mod vendor* ./ 21:12:21 ---> 0654fa986cc4 21:12:21 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:21 ---> Running in 67dcb9b10bdb 21:12:21 Removing intermediate container 67dcb9b10bdb 21:12:21 ---> a9b65565dfb6 21:12:21 Step 11/27 : COPY . . 21:12:22 ---> 9839bfe4e027 21:12:22 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:22 ---> Running in 0101ddecff19 21:12:22 Removing intermediate container 0101ddecff19 21:12:22 ---> 495c5cdd9f3e 21:12:22 Step 13/27 : RUN $MAKE 21:12:22 ---> Running in afff5d90640c 21:12:22 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 21:12:44 Removing intermediate container afff5d90640c 21:12:44 ---> 7b58ae9ef2a4 21:12:44 Step 14/27 : FROM alpine:3.16 21:12:44 3.16: Pulling from library/alpine 21:12:44 213ec9aee27d: Pulling fs layer 21:12:44 213ec9aee27d: Verifying Checksum 21:12:44 213ec9aee27d: Download complete 21:12:44 213ec9aee27d: Pull complete 21:12:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:12:44 Status: Downloaded newer image for alpine:3.16 21:12:44 ---> 9c6f07244728 21:12:44 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:12:44 ---> Running in fd140d4a46ff 21:12:44 Removing intermediate container fd140d4a46ff 21:12:44 ---> 3fb0cb9c7c29 21:12:44 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:12:44 ---> Running in 0960e659c7aa 21:12:44 Removing intermediate container 0960e659c7aa 21:12:44 ---> bc7e40e90d2c 21:12:44 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:12:44 ---> Running in 04318e6212aa 21:12:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:12:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:12:44 (1/6) Installing dumb-init (1.2.5-r1) 21:12:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:12:44 (3/6) Installing libsodium (1.0.18-r0) 21:12:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:12:45 (5/6) Installing libzmq (4.3.4-r0) 21:12:45 (6/6) Installing zeromq (4.3.4-r0) 21:12:45 Executing busybox-1.35.0-r17.trigger 21:12:45 OK: 8 MiB in 20 packages 21:12:45 Removing intermediate container 04318e6212aa 21:12:45 ---> 4ce33f4f1701 21:12:45 Step 18/27 : WORKDIR / 21:12:45 ---> Running in a3e331a297d4 21:12:45 Removing intermediate container a3e331a297d4 21:12:45 ---> 4ca5751c4988 21:12:45 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:12:46 ---> cff3bd7e36f7 21:12:46 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 21:12:46 ---> c746e0ed83df 21:12:46 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 21:12:46 ---> 6873d8d0d498 21:12:46 Step 22/27 : EXPOSE 59900 21:12:46 ---> Running in 35b2cb15e6bb 21:12:46 Removing intermediate container 35b2cb15e6bb 21:12:46 ---> 486fc82ae376 21:12:46 Step 23/27 : ENTRYPOINT ["/device-virtual"] 21:12:46 ---> Running in 2f0dcc8a7c0f 21:12:46 Removing intermediate container 2f0dcc8a7c0f 21:12:46 ---> 37ba8cb65c24 21:12:46 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:12:46 ---> Running in 2653963c5bc7 21:12:47 Removing intermediate container 2653963c5bc7 21:12:47 ---> 2d69f6745e10 21:12:47 Step 25/27 : LABEL arch=amd64 21:12:47 ---> Running in 50086cbd1f7b 21:12:47 Removing intermediate container 50086cbd1f7b 21:12:47 ---> e80a15216a38 21:12:47 Step 26/27 : LABEL git_sha=338b4a6717ad749e6fbb765a40a4439a1a99c0fd 21:12:47 ---> Running in c57dc39a6f81 21:12:47 Removing intermediate container c57dc39a6f81 21:12:47 ---> 838a5f4628dc 21:12:47 Step 27/27 : LABEL version=2.3.0-dev.17 21:12:47 ---> Running in 60534d42568f 21:12:47 Removing intermediate container 60534d42568f 21:12:47 ---> 7b744445a633 21:12:47 [Warning] One or more build-args [ARCH] were not consumed 21:12:47 Successfully built 7b744445a633 21:12:47 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:47 provisioning config files... 21:12:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9405986518060058942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:47 ---> docker-login.sh 21:12:47 nexus3.edgexfoundry.org:10001 21:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:47 Configure a credential helper to remove this warning. See 21:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:47 21:12:47 Login Succeeded 21:12:47 nexus3.edgexfoundry.org:10002 21:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:47 Configure a credential helper to remove this warning. See 21:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:47 21:12:47 Login Succeeded 21:12:47 nexus3.edgexfoundry.org:10003 21:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:48 Configure a credential helper to remove this warning. See 21:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:48 21:12:48 Login Succeeded 21:12:48 nexus3.edgexfoundry.org:10004 21:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:48 Configure a credential helper to remove this warning. See 21:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:48 21:12:48 Login Succeeded 21:12:48 docker.io 21:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:48 Configure a credential helper to remove this warning. See 21:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:48 21:12:48 Login Succeeded 21:12:48 ---> docker-login.sh ends [Pipeline] } 21:12:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:12:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:48 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 21:12:48 338b4a6717ad749e6fbb765a40a4439a1a99c0fd 21:12:48 latest 21:12:48 2.3.0-dev.17 21:12:48 338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17 21:12:48 main 21:12:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:48 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:338b4a6717ad749e6fbb765a40a4439a1a99c0fd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual:338b4a6717ad749e6fbb765a40a4439a1a99c0fd 21:12:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:12:49 c1adef5e7819: Preparing 21:12:49 fbf2e9e0c0d6: Preparing 21:12:49 bebbc725ac25: Preparing 21:12:49 18265bd0f2fe: Preparing 21:12:49 fdcf5e126358: Preparing 21:12:49 994393dc58e7: Preparing 21:12:49 994393dc58e7: Waiting 21:12:49 fdcf5e126358: Pushed 21:12:49 fbf2e9e0c0d6: Pushed 21:12:49 bebbc725ac25: Pushed 21:12:49 994393dc58e7: Layer already exists 21:12:49 18265bd0f2fe: Pushed 21:12:52 c1adef5e7819: Pushed 21:12:52 338b4a6717ad749e6fbb765a40a4439a1a99c0fd: digest: sha256:8a446811932ead90e4a8a961e62254c5b141dc3ac58dd6f1521c18f6d962d3f0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 21:12:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:12:52 c1adef5e7819: Preparing 21:12:52 fbf2e9e0c0d6: Preparing 21:12:52 bebbc725ac25: Preparing 21:12:52 18265bd0f2fe: Preparing 21:12:52 fdcf5e126358: Preparing 21:12:52 994393dc58e7: Preparing 21:12:52 994393dc58e7: Waiting 21:12:52 bebbc725ac25: Layer already exists 21:12:52 18265bd0f2fe: Layer already exists 21:12:52 c1adef5e7819: Layer already exists 21:12:52 fbf2e9e0c0d6: Layer already exists 21:12:52 fdcf5e126358: Layer already exists 21:12:52 994393dc58e7: Layer already exists 21:12:52 latest: digest: sha256:8a446811932ead90e4a8a961e62254c5b141dc3ac58dd6f1521c18f6d962d3f0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.17 21:12:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:12:53 c1adef5e7819: Preparing 21:12:53 fbf2e9e0c0d6: Preparing 21:12:53 bebbc725ac25: Preparing 21:12:53 18265bd0f2fe: Preparing 21:12:53 fdcf5e126358: Preparing 21:12:53 994393dc58e7: Preparing 21:12:53 994393dc58e7: Waiting 21:12:53 18265bd0f2fe: Layer already exists 21:12:53 c1adef5e7819: Layer already exists 21:12:53 fbf2e9e0c0d6: Layer already exists 21:12:53 bebbc725ac25: Layer already exists 21:12:53 fdcf5e126358: Layer already exists 21:12:53 994393dc58e7: Layer already exists 21:12:53 2.3.0-dev.17: digest: sha256:8a446811932ead90e4a8a961e62254c5b141dc3ac58dd6f1521c18f6d962d3f0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual:338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17 21:12:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:12:54 c1adef5e7819: Preparing 21:12:54 fbf2e9e0c0d6: Preparing 21:12:54 bebbc725ac25: Preparing 21:12:54 18265bd0f2fe: Preparing 21:12:54 fdcf5e126358: Preparing 21:12:54 994393dc58e7: Preparing 21:12:54 994393dc58e7: Waiting 21:12:54 c1adef5e7819: Layer already exists 21:12:54 fdcf5e126358: Layer already exists 21:12:54 18265bd0f2fe: Layer already exists 21:12:54 fbf2e9e0c0d6: Layer already exists 21:12:54 bebbc725ac25: Layer already exists 21:12:54 994393dc58e7: Layer already exists 21:12:54 338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17: digest: sha256:8a446811932ead90e4a8a961e62254c5b141dc3ac58dd6f1521c18f6d962d3f0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:54 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 21:12:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:12:54 c1adef5e7819: Preparing 21:12:54 fbf2e9e0c0d6: Preparing 21:12:54 bebbc725ac25: Preparing 21:12:54 18265bd0f2fe: Preparing 21:12:54 fdcf5e126358: Preparing 21:12:54 994393dc58e7: Preparing 21:12:54 994393dc58e7: Waiting 21:12:54 fbf2e9e0c0d6: Layer already exists 21:12:54 fdcf5e126358: Layer already exists 21:12:54 18265bd0f2fe: Layer already exists 21:12:54 c1adef5e7819: Layer already exists 21:12:54 bebbc725ac25: Layer already exists 21:12:54 994393dc58e7: Layer already exists 21:12:54 main: digest: sha256:8a446811932ead90e4a8a961e62254c5b141dc3ac58dd6f1521c18f6d962d3f0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:12:54 ===================================================== [Pipeline] echo 21:12:54 taggedImages: 21:12:54 - nexus3.edgexfoundry.org:10004/device-virtual:338b4a6717ad749e6fbb765a40a4439a1a99c0fd 21:12:54 - nexus3.edgexfoundry.org:10004/device-virtual:latest 21:12:54 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.17 21:12:54 - nexus3.edgexfoundry.org:10004/device-virtual:338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17 21:12:54 - 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 21:12:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:55 21:12:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:55 latest: Pulling from edgex-lftools-log-publisher 21:12:55 5eb5b503b376: Pulling fs layer 21:12:55 5c69ac0246d0: Pulling fs layer 21:12:55 ec43610c2a17: Pulling fs layer 21:12:55 3a2ae6a8a46f: Pulling fs layer 21:12:55 33b1e0a273af: Pulling fs layer 21:12:55 5d3b04190fa2: Pulling fs layer 21:12:55 2f39f015ded8: Pulling fs layer 21:12:55 5d3b04190fa2: Waiting 21:12:55 2f39f015ded8: Waiting 21:12:55 3a2ae6a8a46f: Waiting 21:12:55 33b1e0a273af: Waiting 21:12:55 5c69ac0246d0: Download complete 21:12:55 3a2ae6a8a46f: Verifying Checksum 21:12:55 3a2ae6a8a46f: Download complete 21:12:55 33b1e0a273af: Verifying Checksum 21:12:55 33b1e0a273af: Download complete 21:12:55 5d3b04190fa2: Verifying Checksum 21:12:55 5d3b04190fa2: Download complete 21:12:55 ec43610c2a17: Verifying Checksum 21:12:55 ec43610c2a17: Download complete 21:12:55 5eb5b503b376: Verifying Checksum 21:12:55 5eb5b503b376: Download complete 21:12:56 2f39f015ded8: Verifying Checksum 21:12:56 2f39f015ded8: Download complete 21:12:56 5eb5b503b376: Pull complete 21:12:56 5c69ac0246d0: Pull complete 21:12:57 ec43610c2a17: Pull complete 21:12:57 3a2ae6a8a46f: Pull complete 21:12:57 33b1e0a273af: Pull complete 21:12:57 5d3b04190fa2: Pull complete 21:13:01 2f39f015ded8: Pull complete 21:13:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:13:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:13:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:01 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:13:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:13:03 $ docker top ffb88da35dc103b0250a419187173618a2b1a62647737e00c3056cd6398e3cf2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:13:03 ---> job-cost.sh 21:13:03 lf-activate-venv: SKIPPING 21:13:03 INFO: No Stack... 21:13:03 INFO: Retrieving Pricing Info for: v3-standard-8 21:13:04 INFO: Archiving Costs [Pipeline] sh 21:13:04 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 21:13:04 + cut -d, -f6 [Pipeline] lock 21:13:04 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-53-stack-cost] 21:13:04 Resource [jenkins-edgexfoundry-device-virtual-go-main-53-stack-cost] did not exist. Created. 21:13:04 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:13:05 + echo total: 0.2199999988079071 [Pipeline] stash 21:13:05 Stashed 1 file(s) [Pipeline] } 21:13:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 21:13:05 $ docker stop --time=1 ffb88da35dc103b0250a419187173618a2b1a62647737e00c3056cd6398e3cf2 21:13:06 $ docker rm -f ffb88da35dc103b0250a419187173618a2b1a62647737e00c3056cd6398e3cf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:14:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1217 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 21:14:08 Running in /w/workspace/device-virtual-go/53 [Pipeline] { [Pipeline] checkout 21:14:08 The recommended git tool is: git 21:14:14 using credential edgex-jenkins-ssh 21:14:14 Cloning the remote Git repository 21:14:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:14:14 > git init /w/workspace/device-virtual-go/53 # timeout=10 21:14:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:14:14 > git --version # timeout=10 21:14:14 > git --version # 'git version 2.25.1' 21:14:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:14:14 Verifying host key using known hosts file 21:14:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:14:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:14:18 Avoid second fetch 21:14:18 Checking out Revision 338b4a6717ad749e6fbb765a40a4439a1a99c0fd (main) 21:14:17 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:14:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:14:18 > git config core.sparsecheckout # timeout=10 21:14:18 > git checkout -f 338b4a6717ad749e6fbb765a40a4439a1a99c0fd # timeout=10 21:14:18 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#306)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:14:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:14:19 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:19 Dload Upload Total Spent Left Speed 21:14:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh 21:14:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:14:20 + sudo tee /etc/docker/daemon.new 21:14:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:14:20 { 21:14:20 "registry-mirrors": [ 21:14:20 "https://nexus3.edgexfoundry.org:10001" 21:14:20 ], 21:14:20 "bip": "10.250.0.254/24", 21:14:20 "hosts": [ 21:14:20 "tcp://0.0.0.0:5555", 21:14:20 "unix:///var/run/docker.sock" 21:14:20 ], 21:14:20 "mtu": 1458, 21:14:20 "selinux-enabled": true, 21:14:20 "seccomp-profile": "/etc/docker/seccomp.json" 21:14:20 } [Pipeline] sh 21:14:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:14:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:39 provisioning config files... 21:14:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/53@tmp/config4557076248500147531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:39 ---> docker-login.sh 21:14:39 nexus3.edgexfoundry.org:10001 21:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:40 Configure a credential helper to remove this warning. See 21:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:40 21:14:40 Login Succeeded 21:14:40 nexus3.edgexfoundry.org:10002 21:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:40 Configure a credential helper to remove this warning. See 21:14:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:40 21:14:40 Login Succeeded 21:14:40 nexus3.edgexfoundry.org:10003 21:14:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:41 Configure a credential helper to remove this warning. See 21:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:41 21:14:41 Login Succeeded 21:14:41 nexus3.edgexfoundry.org:10004 21:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:41 Configure a credential helper to remove this warning. See 21:14:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:41 21:14:41 Login Succeeded 21:14:41 docker.io 21:14:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:14:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:14:42 Configure a credential helper to remove this warning. See 21:14:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:14:42 21:14:42 Login Succeeded 21:14:42 ---> docker-login.sh ends [Pipeline] } 21:14:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:14:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:14:42 ========================================================= 21:14:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:14:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:42 + 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 . 21:14:43 Sending build context to Docker daemon 11.7MB 21:14:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:14:43 Step 2/13 : FROM ${BASE} AS builder 21:14:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:14:43 b3c136eddcbf: Pulling fs layer 21:14:43 c0a3192eca97: Pulling fs layer 21:14:43 a050256f5b6f: Pulling fs layer 21:14:43 656be50a0ddc: Pulling fs layer 21:14:43 2bbca73fdf42: Pulling fs layer 21:14:43 46d945488cbd: Pulling fs layer 21:14:43 8a5474983e97: Pulling fs layer 21:14:43 329c88fbcd65: Pulling fs layer 21:14:43 656be50a0ddc: Waiting 21:14:43 2bbca73fdf42: Waiting 21:14:43 46d945488cbd: Waiting 21:14:43 8a5474983e97: Waiting 21:14:43 329c88fbcd65: Waiting 21:14:43 a050256f5b6f: Verifying Checksum 21:14:43 a050256f5b6f: Download complete 21:14:43 c0a3192eca97: Verifying Checksum 21:14:43 c0a3192eca97: Download complete 21:14:43 2bbca73fdf42: Verifying Checksum 21:14:43 2bbca73fdf42: Download complete 21:14:43 b3c136eddcbf: Verifying Checksum 21:14:43 b3c136eddcbf: Download complete 21:14:43 46d945488cbd: Verifying Checksum 21:14:43 46d945488cbd: Download complete 21:14:44 b3c136eddcbf: Pull complete 21:14:44 329c88fbcd65: Verifying Checksum 21:14:44 329c88fbcd65: Download complete 21:14:45 c0a3192eca97: Pull complete 21:14:45 a050256f5b6f: Pull complete 21:14:45 8a5474983e97: Verifying Checksum 21:14:45 8a5474983e97: Download complete 21:14:46 656be50a0ddc: Verifying Checksum 21:14:46 656be50a0ddc: Download complete 21:14:58 656be50a0ddc: Pull complete 21:14:58 2bbca73fdf42: Pull complete 21:14:58 46d945488cbd: Pull complete 21:15:03 8a5474983e97: Pull complete 21:15:05 329c88fbcd65: Pull complete 21:15:05 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:15:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:15:05 ---> ff4287adb874 21:15:05 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:15:07 ---> Running in f86ce0453e88 21:15:07 Removing intermediate container f86ce0453e88 21:15:07 ---> fbbbac2a717f 21:15:07 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:15:07 ---> Running in 8eedccf70057 21:15:07 Removing intermediate container 8eedccf70057 21:15:07 ---> 69201a72d813 21:15:07 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:15:07 ---> Running in 129fcb71580f 21:15:07 Removing intermediate container 129fcb71580f 21:15:07 ---> b40a511f4600 21:15:07 Step 6/13 : WORKDIR /device-virtual-go 21:15:07 ---> Running in 5d36f51b8e5c 21:15:08 Removing intermediate container 5d36f51b8e5c 21:15:08 ---> 20b6a0de4639 21:15:08 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:15:08 ---> Running in c06a84f5c5ef 21:15:10 Removing intermediate container c06a84f5c5ef 21:15:10 ---> c44d8ed7afce 21:15:10 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:15:10 ---> Running in 0cb77b4b1d55 21:15:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:15:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:15:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:15:13 (2/4) Installing libedit (20210910.3.1-r0) 21:15:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:15:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:15:14 Executing busybox-1.35.0-r13.trigger 21:15:14 OK: 226 MiB in 55 packages 21:15:15 Removing intermediate container 0cb77b4b1d55 21:15:15 ---> edf9b3394426 21:15:15 Step 9/13 : COPY go.mod vendor* ./ 21:15:15 ---> a0758ce54058 21:15:15 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:15:15 ---> Running in 72178af31d70 21:16:12 Removing intermediate container 72178af31d70 21:16:12 ---> ea8e74ed0406 21:16:12 Step 11/13 : COPY . . 21:16:12 ---> 8d74b3afb97e 21:16:12 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:16:12 ---> Running in 86ffba92fbdc 21:16:12 Removing intermediate container 86ffba92fbdc 21:16:12 ---> 2cf5ece17a15 21:16:12 Step 13/13 : RUN $MAKE 21:16:12 ---> Running in 4103b3d0c8cb 21:16:12 noop 21:16:12 Removing intermediate container 4103b3d0c8cb 21:16:12 ---> 84625c8774f4 21:16:12 Successfully built 84625c8774f4 21:16:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:12 + docker inspect -f . ci-base-image-arm64 21:16:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:12 prd-ubuntu20.04-docker-arm64-4c-16g-1217 does not seem to be running inside a container 21:16:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/53 -v /w/workspace/device-virtual-go/53:/w/workspace/device-virtual-go/53:rw,z -v /w/workspace/device-virtual-go/53@tmp:/w/workspace/device-virtual-go/53@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 21:16:14 $ docker top bf52c35147183f3109207db6d751b180c506684fbf4ceebea491f63abf0b18f1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:14 + go version 21:16:14 go version go1.18.3 linux/arm64 [Pipeline] } 21:16:14 $ docker stop --time=1 bf52c35147183f3109207db6d751b180c506684fbf4ceebea491f63abf0b18f1 21:16:16 $ docker rm -f bf52c35147183f3109207db6d751b180c506684fbf4ceebea491f63abf0b18f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:17 + docker inspect -f . ci-base-image-arm64 21:16:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:17 prd-ubuntu20.04-docker-arm64-4c-16g-1217 does not seem to be running inside a container 21:16:17 $ 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/53 -v /w/workspace/device-virtual-go/53:/w/workspace/device-virtual-go/53:rw,z -v /w/workspace/device-virtual-go/53@tmp:/w/workspace/device-virtual-go/53@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 21:16:18 $ docker top 1cc917fc1e71bb6e076bbb26131ec7961e27d5bd49356bd6341c5319cb3d31a1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:19 + git config --global --add safe.directory /w/workspace/device-virtual-go/53 [Pipeline] fileExists [Pipeline] sh 21:16:19 + make test 21:16:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:16:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:17:58 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:17:58 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.144s coverage: 65.7% of statements 21:17:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:17:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:18:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:10 ./bin/test-attribution-txt.sh 21:18:10 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:18:10 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:18:10 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:18:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:10 $ docker stop --time=1 1cc917fc1e71bb6e076bbb26131ec7961e27d5bd49356bd6341c5319cb3d31a1 21:18:12 $ docker rm -f 1cc917fc1e71bb6e076bbb26131ec7961e27d5bd49356bd6341c5319cb3d31a1 [Pipeline] // withDockerContainer [Pipeline] sh 21:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:13 Warning: overwriting stash ‘coverage-report’ 21:18:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:14 + ls -al . 21:18:14 total 192 21:18:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:16 . 21:18:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:14 .. 21:18:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 21:14 .git 21:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:14 .github 21:18:14 -rw-rw-r-- 1 jenkins jenkins 337 Sep 26 21:14 .gitignore 21:18:14 -rw-rw-r-- 1 jenkins jenkins 41 Sep 26 21:14 .golangci.yml 21:18:14 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 26 21:14 Attribution.txt 21:18:14 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 26 21:14 CHANGELOG.md 21:18:14 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 26 21:14 Dockerfile 21:18:14 -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 21:14 GOVERNANCE.md 21:18:14 -rw-rw-r-- 1 jenkins jenkins 660 Sep 26 21:14 Jenkinsfile 21:18:14 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 26 21:14 LICENSE 21:18:14 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 26 21:14 Makefile 21:18:14 -rw-rw-r-- 1 jenkins jenkins 623 Sep 26 21:14 OWNERS.md 21:18:14 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 26 21:14 README.md 21:18:14 -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 21:11 VERSION 21:18:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 21:14 bin 21:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:14 cmd 21:18:14 -rw-r--r-- 1 jenkins jenkins 44128 Sep 26 21:17 coverage.out 21:18:14 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 26 21:14 go.mod 21:18:14 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 26 21:14 go.sum 21:18:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 21:14 internal 21:18:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 21:14 snap 21:18:14 -rw-rw-r-- 1 jenkins jenkins 235 Sep 26 21:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:15 + 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=338b4a6717ad749e6fbb765a40a4439a1a99c0fd --label arch=arm64 --label version=2.3.0-dev.17 . 21:18:15 Sending build context to Docker daemon 11.75MB 21:18:15 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:18:15 Step 2/27 : FROM ${BASE} AS builder 21:18:15 ---> 84625c8774f4 21:18:15 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:18:15 ---> Running in 6112dd5bf1da 21:18:15 Removing intermediate container 6112dd5bf1da 21:18:15 ---> abfb52c384c9 21:18:15 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 21:18:15 ---> Running in 97dc58f2962b 21:18:16 Removing intermediate container 97dc58f2962b 21:18:16 ---> bdee5a62b9f5 21:18:16 Step 5/27 : ARG ADD_BUILD_TAGS="" 21:18:16 ---> Running in db7696f1ce9c 21:18:16 Removing intermediate container db7696f1ce9c 21:18:16 ---> d39b32310ff9 21:18:16 Step 6/27 : WORKDIR /device-virtual-go 21:18:16 ---> Running in 575f03de5c9c 21:18:16 Removing intermediate container 575f03de5c9c 21:18:16 ---> 33bb6f9a305c 21:18:16 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:18:17 ---> Running in 5ed86aeee153 21:18:19 Removing intermediate container 5ed86aeee153 21:18:19 ---> 93c8122e0b41 21:18:19 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:19 ---> Running in 12be469ee9e1 21:18:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:18:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:18:22 OK: 226 MiB in 55 packages 21:18:22 Removing intermediate container 12be469ee9e1 21:18:22 ---> 341b2f32ae43 21:18:22 Step 9/27 : COPY go.mod vendor* ./ 21:18:23 ---> 68198fe5d683 21:18:23 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:23 ---> Running in 458803dc7dea 21:18:25 Removing intermediate container 458803dc7dea 21:18:25 ---> fb18c45d5e1e 21:18:25 Step 11/27 : COPY . . 21:18:26 ---> d1e0d7ac5a38 21:18:26 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:26 ---> Running in db25c4f99110 21:18:27 Removing intermediate container db25c4f99110 21:18:27 ---> 3dc3259c36ca 21:18:27 Step 13/27 : RUN $MAKE 21:18:27 ---> Running in 217808884daa 21:18:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 21:21:20 Removing intermediate container 217808884daa 21:21:20 ---> 46ce8f7d9769 21:21:20 Step 14/27 : FROM alpine:3.16 21:21:20 3.16: Pulling from library/alpine 21:21:20 9b18e9b68314: Pulling fs layer 21:21:20 9b18e9b68314: Verifying Checksum 21:21:20 9b18e9b68314: Download complete 21:21:20 9b18e9b68314: Pull complete 21:21:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:21:20 Status: Downloaded newer image for alpine:3.16 21:21:20 ---> a6215f271958 21:21:20 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:21:20 ---> Running in b6ba0ec05f59 21:21:20 Removing intermediate container b6ba0ec05f59 21:21:20 ---> 642b5c2edd3b 21:21:20 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:21:20 ---> Running in 373669d27a55 21:21:22 Removing intermediate container 373669d27a55 21:21:22 ---> aac95da1dfb9 21:21:22 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:21:22 ---> Running in 28e96a2f8314 21:21:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:21:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:21:25 (1/6) Installing dumb-init (1.2.5-r1) 21:21:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:21:25 (3/6) Installing libsodium (1.0.18-r0) 21:21:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:21:26 (5/6) Installing libzmq (4.3.4-r0) 21:21:26 (6/6) Installing zeromq (4.3.4-r0) 21:21:26 Executing busybox-1.35.0-r17.trigger 21:21:26 OK: 8 MiB in 20 packages 21:21:27 Removing intermediate container 28e96a2f8314 21:21:27 ---> d10ef1f4c9ba 21:21:27 Step 18/27 : WORKDIR / 21:21:27 ---> Running in f966ab16c392 21:21:27 Removing intermediate container f966ab16c392 21:21:27 ---> 422c0983f8cf 21:21:27 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:21:28 ---> 519019524349 21:21:28 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 21:21:29 ---> 3edd97e0ba5f 21:21:29 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 21:21:31 ---> a610de2990e5 21:21:31 Step 22/27 : EXPOSE 59900 21:21:31 ---> Running in 52880a60389f 21:21:31 Removing intermediate container 52880a60389f 21:21:31 ---> 142f8d5a4eaa 21:21:31 Step 23/27 : ENTRYPOINT ["/device-virtual"] 21:21:31 ---> Running in a68afc060798 21:21:31 Removing intermediate container a68afc060798 21:21:31 ---> fc4938d2d165 21:21:31 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:21:31 ---> Running in 86146603c9d4 21:21:32 Removing intermediate container 86146603c9d4 21:21:32 ---> a92530112568 21:21:32 Step 25/27 : LABEL arch=arm64 21:21:32 ---> Running in a072f027e20c 21:21:32 Removing intermediate container a072f027e20c 21:21:32 ---> 7704052793f2 21:21:32 Step 26/27 : LABEL git_sha=338b4a6717ad749e6fbb765a40a4439a1a99c0fd 21:21:32 ---> Running in 64ff87271092 21:21:33 Removing intermediate container 64ff87271092 21:21:33 ---> ce6f040c6a02 21:21:33 Step 27/27 : LABEL version=2.3.0-dev.17 21:21:33 ---> Running in 4f469e300bf8 21:21:33 Removing intermediate container 4f469e300bf8 21:21:33 ---> 6ae8ec6c53e3 21:21:33 [Warning] One or more build-args [ARCH] were not consumed 21:21:33 Successfully built 6ae8ec6c53e3 21:21:33 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:33 provisioning config files... 21:21:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/53@tmp/config12542053389349298270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:34 ---> docker-login.sh 21:21:34 nexus3.edgexfoundry.org:10001 21:21:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:34 Configure a credential helper to remove this warning. See 21:21:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:34 21:21:34 Login Succeeded 21:21:34 nexus3.edgexfoundry.org:10002 21:21:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:35 Configure a credential helper to remove this warning. See 21:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:35 21:21:35 Login Succeeded 21:21:35 nexus3.edgexfoundry.org:10003 21:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:35 Configure a credential helper to remove this warning. See 21:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:35 21:21:35 Login Succeeded 21:21:35 nexus3.edgexfoundry.org:10004 21:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:35 Configure a credential helper to remove this warning. See 21:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:35 21:21:35 Login Succeeded 21:21:35 docker.io 21:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:36 Configure a credential helper to remove this warning. See 21:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:36 21:21:36 Login Succeeded 21:21:36 ---> docker-login.sh ends [Pipeline] } 21:21:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:21:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:36 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 21:21:36 338b4a6717ad749e6fbb765a40a4439a1a99c0fd 21:21:36 latest 21:21:36 2.3.0-dev.17 21:21:36 338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17 21:21:36 main 21:21:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:36 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:338b4a6717ad749e6fbb765a40a4439a1a99c0fd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:338b4a6717ad749e6fbb765a40a4439a1a99c0fd 21:21:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:21:37 6949c91baa7a: Preparing 21:21:37 091a62897a19: Preparing 21:21:37 16de2d6290cb: Preparing 21:21:37 98b509e79a8b: Preparing 21:21:37 83877f5e4cef: Preparing 21:21:37 5d3e392a13a0: Preparing 21:21:37 5d3e392a13a0: Waiting 21:21:37 091a62897a19: Pushed 21:21:37 16de2d6290cb: Pushed 21:21:37 83877f5e4cef: Pushed 21:21:37 5d3e392a13a0: Layer already exists 21:21:38 98b509e79a8b: Pushed 21:21:45 6949c91baa7a: Pushed 21:21:45 338b4a6717ad749e6fbb765a40a4439a1a99c0fd: digest: sha256:71fcbef677bef2acf42c4c3b398464c0d37c4d6a25cc577b88604dff4d95e007 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:21:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:21:45 6949c91baa7a: Preparing 21:21:45 091a62897a19: Preparing 21:21:45 16de2d6290cb: Preparing 21:21:45 98b509e79a8b: Preparing 21:21:45 83877f5e4cef: Preparing 21:21:45 5d3e392a13a0: Preparing 21:21:45 5d3e392a13a0: Waiting 21:21:45 091a62897a19: Layer already exists 21:21:45 83877f5e4cef: Layer already exists 21:21:45 98b509e79a8b: Layer already exists 21:21:45 6949c91baa7a: Layer already exists 21:21:45 16de2d6290cb: Layer already exists 21:21:45 5d3e392a13a0: Layer already exists 21:21:46 latest: digest: sha256:71fcbef677bef2acf42c4c3b398464c0d37c4d6a25cc577b88604dff4d95e007 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.17 21:21:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:21:46 6949c91baa7a: Preparing 21:21:46 091a62897a19: Preparing 21:21:46 16de2d6290cb: Preparing 21:21:46 98b509e79a8b: Preparing 21:21:46 83877f5e4cef: Preparing 21:21:46 5d3e392a13a0: Preparing 21:21:46 5d3e392a13a0: Waiting 21:21:46 16de2d6290cb: Layer already exists 21:21:46 83877f5e4cef: Layer already exists 21:21:46 98b509e79a8b: Layer already exists 21:21:46 6949c91baa7a: Layer already exists 21:21:46 091a62897a19: Layer already exists 21:21:46 5d3e392a13a0: Layer already exists 21:21:47 2.3.0-dev.17: digest: sha256:71fcbef677bef2acf42c4c3b398464c0d37c4d6a25cc577b88604dff4d95e007 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17 21:21:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:21:47 6949c91baa7a: Preparing 21:21:47 091a62897a19: Preparing 21:21:47 16de2d6290cb: Preparing 21:21:47 98b509e79a8b: Preparing 21:21:47 83877f5e4cef: Preparing 21:21:47 5d3e392a13a0: Preparing 21:21:47 5d3e392a13a0: Waiting 21:21:47 6949c91baa7a: Layer already exists 21:21:47 83877f5e4cef: Layer already exists 21:21:47 98b509e79a8b: Layer already exists 21:21:47 091a62897a19: Layer already exists 21:21:47 16de2d6290cb: Layer already exists 21:21:47 5d3e392a13a0: Layer already exists 21:21:48 338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17: digest: sha256:71fcbef677bef2acf42c4c3b398464c0d37c4d6a25cc577b88604dff4d95e007 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 21:21:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:21:48 6949c91baa7a: Preparing 21:21:48 091a62897a19: Preparing 21:21:48 16de2d6290cb: Preparing 21:21:48 98b509e79a8b: Preparing 21:21:48 83877f5e4cef: Preparing 21:21:48 5d3e392a13a0: Preparing 21:21:48 5d3e392a13a0: Waiting 21:21:48 6949c91baa7a: Layer already exists 21:21:48 83877f5e4cef: Layer already exists 21:21:48 16de2d6290cb: Layer already exists 21:21:48 98b509e79a8b: Layer already exists 21:21:48 091a62897a19: Layer already exists 21:21:48 5d3e392a13a0: Layer already exists 21:21:49 main: digest: sha256:71fcbef677bef2acf42c4c3b398464c0d37c4d6a25cc577b88604dff4d95e007 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:21:49 ===================================================== [Pipeline] echo 21:21:49 taggedImages: 21:21:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:338b4a6717ad749e6fbb765a40a4439a1a99c0fd 21:21:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:21:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.17 21:21:49 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:338b4a6717ad749e6fbb765a40a4439a1a99c0fd-2.3.0-dev.17 21:21:49 - 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 21:21:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:49 21:21:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:50 arm64: Pulling from edgex-lftools-log-publisher 21:21:50 8998bd30e6a1: Pulling fs layer 21:21:50 04944245beec: Pulling fs layer 21:21:50 699f458cf7ca: Pulling fs layer 21:21:50 765212b225bb: Pulling fs layer 21:21:50 f23df028b6ca: Pulling fs layer 21:21:50 d65c8cfc05b1: Pulling fs layer 21:21:50 2437ff75d9bd: Pulling fs layer 21:21:50 f23df028b6ca: Waiting 21:21:50 765212b225bb: Waiting 21:21:50 d65c8cfc05b1: Waiting 21:21:50 2437ff75d9bd: Waiting 21:21:50 04944245beec: Verifying Checksum 21:21:50 04944245beec: Download complete 21:21:50 765212b225bb: Download complete 21:21:50 f23df028b6ca: Verifying Checksum 21:21:50 f23df028b6ca: Download complete 21:21:50 d65c8cfc05b1: Verifying Checksum 21:21:50 d65c8cfc05b1: Download complete 21:21:50 699f458cf7ca: Verifying Checksum 21:21:50 699f458cf7ca: Download complete 21:21:51 8998bd30e6a1: Verifying Checksum 21:21:51 8998bd30e6a1: Download complete 21:21:53 2437ff75d9bd: Verifying Checksum 21:21:53 2437ff75d9bd: Download complete 21:21:55 8998bd30e6a1: Pull complete 21:21:55 04944245beec: Pull complete 21:21:57 699f458cf7ca: Pull complete 21:21:57 765212b225bb: Pull complete 21:21:57 f23df028b6ca: Pull complete 21:21:58 d65c8cfc05b1: Pull complete 21:22:13 2437ff75d9bd: Pull complete 21:22:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:22:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:22:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:13 prd-ubuntu20.04-docker-arm64-4c-16g-1217 does not seem to be running inside a container 21:22:13 $ 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/53 -v /w/workspace/device-virtual-go/53:/w/workspace/device-virtual-go/53:rw,z -v /w/workspace/device-virtual-go/53@tmp:/w/workspace/device-virtual-go/53@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 21:22:16 $ docker top 7a49e2fd93b2292c08f41337564b3cbb49dca495590cb512dc5a4584121ce8e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:17 ---> job-cost.sh 21:22:17 lf-activate-venv: SKIPPING 21:22:17 INFO: No Stack... 21:22:17 INFO: Retrieving Pricing Info for: v3-standard-4 21:22:18 INFO: Archiving Costs [Pipeline] sh 21:22:19 + cat /w/workspace/device-virtual-go/53/archives/cost.csv 21:22:19 + cut -d, -f6 [Pipeline] lock 21:22:19 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-53-stack-cost] 21:22:19 Resource [jenkins-edgexfoundry-device-virtual-go-main-53-stack-cost] did not exist. Created. 21:22:19 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:22:20 /w/workspace/device-virtual-go/53@tmp/durable-e83dbb88/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:22:20 + echo total: 0.10999999940395355 [Pipeline] stash 21:22:20 Warning: overwriting stash ‘stack-cost’ 21:22:20 Stashed 1 file(s) [Pipeline] } 21:22:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 21:22:20 $ docker stop --time=1 7a49e2fd93b2292c08f41337564b3cbb49dca495590cb512dc5a4584121ce8e3 21:22:22 $ docker rm -f 7a49e2fd93b2292c08f41337564b3cbb49dca495590cb512dc5a4584121ce8e3 [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 21:22:22 provisioning config files... 21:22:22 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3532313366066105847tmp [Pipeline] { [Pipeline] sh 21:22:23 + set +x 21:22:23 + curl -s https://codecov.io/bash 21:22:23 + bash -s -- 21:22:23 21:22:23 _____ _ 21:22:23 / ____| | | 21:22:23 | | ___ __| | ___ ___ _____ __ 21:22:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:22:23 | |___| (_) | (_| | __/ (_| (_) \ V / 21:22:23 \_____\___/ \__,_|\___|\___\___/ \_/ 21:22:23 Bash-1.0.6 21:22:23 21:22:23 21:22:23 ==> git version 2.25.1 found 21:22:23 ==> 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 21:22:23 Release-Date: 2020-01-08 21:22:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:22:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:22:23 ==> Jenkins CI detected. 21:22:23 current dir:  /w/workspace/exfoundry_device-virtual-go_main 21:22:23 project root: . 21:22:23 --> token set from env 21:22:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:22:23 ==> Running gcov in . (disable via -X gcov) 21:22:23 ==> Python coveragepy not found 21:22:23 ==> Searching for coverage reports in: 21:22:23 + . 21:22:23 -> Found 1 reports 21:22:23 ==> Detecting git/mercurial file structure 21:22:23 ==> Reading reports 21:22:23 + ./coverage.out bytes=44128 21:22:23 ==> Appending adjustments 21:22:23 https://docs.codecov.io/docs/fixing-reports 21:22:23 + Found adjustments 21:22:23 ==> Gzipping contents 21:22:23 8.0K /tmp/codecov.BviPkf.gz 21:22:23 ==> Uploading reports 21:22:23 url: https://codecov.io 21:22:23 query: branch=main&commit=338b4a6717ad749e6fbb765a40a4439a1a99c0fd&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:22:23 -> Pinging Codecov 21:22:23 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=338b4a6717ad749e6fbb765a40a4439a1a99c0fd&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:22:23 -> Uploading to 21:22:23 https://storage.googleapis.com/codecov/v4/raw/2022-09-26/5E52B4B073DB2E39498172D8E973AA87/338b4a6717ad749e6fbb765a40a4439a1a99c0fd/dd0f91b3-7f7c-4ebb-8650-0559d63ebb21.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220926%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220926T212223Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b28271d3fa7022749998e1ad6106bc734c9e2c013452cddd4effc5eeb07d2d2 21:22:23 % Total % Received % Xferd Average Speed Time Time Time Current 21:22:23 Dload Upload Total Spent Left Speed 21:22:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5473 0 0 100 5473 0 22995 --:--:-- --:--:-- --:--:-- 22995 21:22:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/338b4a6717ad749e6fbb765a40a4439a1a99c0fd [Pipeline] } 21:22:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:22:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:22:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:22:24 21:22:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:22:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:22:24 df9b9388f04a: Pulling fs layer 21:22:24 52dc419b0ee2: Pulling fs layer 21:22:24 25bc292e5bac: Pulling fs layer 21:22:24 114826534d7a: Pulling fs layer 21:22:24 4657fd5d0bcf: Pulling fs layer 21:22:24 6ad1cebc031e: Pulling fs layer 21:22:24 8a3aa393b2d8: Pulling fs layer 21:22:24 114826534d7a: Waiting 21:22:24 4657fd5d0bcf: Waiting 21:22:24 6ad1cebc031e: Waiting 21:22:24 8a3aa393b2d8: Waiting 21:22:24 25bc292e5bac: Verifying Checksum 21:22:24 25bc292e5bac: Download complete 21:22:24 52dc419b0ee2: Download complete 21:22:24 4657fd5d0bcf: Download complete 21:22:24 df9b9388f04a: Download complete 21:22:24 df9b9388f04a: Pull complete 21:22:24 6ad1cebc031e: Verifying Checksum 21:22:24 6ad1cebc031e: Download complete 21:22:24 52dc419b0ee2: Pull complete 21:22:24 25bc292e5bac: Pull complete 21:22:25 114826534d7a: Verifying Checksum 21:22:25 114826534d7a: Download complete 21:22:25 8a3aa393b2d8: Verifying Checksum 21:22:25 8a3aa393b2d8: Download complete 21:22:28 114826534d7a: Pull complete 21:22:28 4657fd5d0bcf: Pull complete 21:22:28 6ad1cebc031e: Pull complete 21:22:31 8a3aa393b2d8: Pull complete 21:22:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:22:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:22:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:31 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:22:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:22:32 $ docker top e3b181185f097e36d0bb61158800ea50ab7d2a0abd2efcf05d08a2321e73f65f -eo pid,comm [Pipeline] { [Pipeline] echo 21:22:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 21:22:33 + set -o pipefail 21:22:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 21:22:38 21:22:38 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 21:22:38 21:22:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/7b1929eb-f62d-4324-b21e-f2538dc6b527 21:22:38 21:22:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:22:38 21:22:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:22:38 21:22:38 [Pipeline] } 21:22:38 $ docker stop --time=1 e3b181185f097e36d0bb61158800ea50ab7d2a0abd2efcf05d08a2321e73f65f 21:22:40 $ docker rm -f e3b181185f097e36d0bb61158800ea50ab7d2a0abd2efcf05d08a2321e73f65f [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 21:22:41 + git log --format=format:%s -1 338b4a6717ad749e6fbb765a40a4439a1a99c0fd [Pipeline] sh 21:22:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:22:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:22:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:41 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:22:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:22:42 $ docker top 6fc899093b58b9cd1d7bea26121e2cc7fc18b3e62ed81286ae88f2abe361148f -eo pid,comm 21:22:42 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). 21:22:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:22:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:22:42 [ssh-agent] Looking for ssh-agent implementation... 21:22:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:22:42 $ docker exec 6fc899093b58b9cd1d7bea26121e2cc7fc18b3e62ed81286ae88f2abe361148f ssh-agent 21:22:42 SSH_AUTH_SOCK=/tmp/ssh-TNEWgjgE9eQG/agent.32 21:22:42 SSH_AGENT_PID=38 21:22:42 Running ssh-add (command line suppressed) 21:22:42 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16316656108522170549.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16316656108522170549.key) 21:22:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:22:42 + git semver tag 21:22:43 2022-09-26 21:22:43,065 [run_tag] DEBUG tag force:False 21:22:43 2022-09-26 21:22:43,065 [check_head_tag] DEBUG check head tag 21:22:43 2022-09-26 21:22:43,065 [execute] INFO git cat-file --batch-check 21:22:43 2022-09-26 21:22:43,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:22:43 2022-09-26 21:22:43,069 [execute] INFO git cat-file --batch 21:22:43 2022-09-26 21:22:43,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:22:43 2022-09-26 21:22:43,081 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:22:43 2022-09-26 21:22:43,082 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 21:22:43 2022-09-26 21:22:43,082 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 21:22:43 2022-09-26 21:22:43,085 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:22:43 2.3.0-dev.17 [Pipeline] } 21:22:43 $ docker exec --env ******** --env ******** 6fc899093b58b9cd1d7bea26121e2cc7fc18b3e62ed81286ae88f2abe361148f ssh-agent -k 21:22:43 unset SSH_AUTH_SOCK; 21:22:43 unset SSH_AGENT_PID; 21:22:43 echo Agent pid 38 killed; 21:22:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:22:43 + git semver [Pipeline] } 21:22:43 $ docker stop --time=1 6fc899093b58b9cd1d7bea26121e2cc7fc18b3e62ed81286ae88f2abe361148f 21:22:45 $ docker rm -f 6fc899093b58b9cd1d7bea26121e2cc7fc18b3e62ed81286ae88f2abe361148f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:22:45 21:22:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:22:45 0.23.1-centos7: Pulling from edgex-lftools 21:22:45 ab5ef0e58194: Pulling fs layer 21:22:45 9712f1f96733: Pulling fs layer 21:22:45 63f879dbbcfc: Pulling fs layer 21:22:45 0d9ebad4ef96: Pulling fs layer 21:22:45 e9a5061849ea: Pulling fs layer 21:22:45 d747dcd14b5f: Pulling fs layer 21:22:45 2de7ff778b66: Pulling fs layer 21:22:45 0d9ebad4ef96: Waiting 21:22:45 2de7ff778b66: Waiting 21:22:45 d747dcd14b5f: Waiting 21:22:45 e9a5061849ea: Waiting 21:22:45 9712f1f96733: Verifying Checksum 21:22:45 9712f1f96733: Download complete 21:22:46 63f879dbbcfc: Verifying Checksum 21:22:46 63f879dbbcfc: Download complete 21:22:46 ab5ef0e58194: Verifying Checksum 21:22:46 ab5ef0e58194: Download complete 21:22:46 d747dcd14b5f: Download complete 21:22:46 0d9ebad4ef96: Download complete 21:22:46 e9a5061849ea: Verifying Checksum 21:22:46 e9a5061849ea: Download complete 21:22:46 2de7ff778b66: Verifying Checksum 21:22:46 2de7ff778b66: Download complete 21:22:49 ab5ef0e58194: Pull complete 21:22:49 9712f1f96733: Pull complete 21:22:49 63f879dbbcfc: Pull complete 21:22:52 0d9ebad4ef96: Pull complete 21:22:52 e9a5061849ea: Pull complete 21:22:52 d747dcd14b5f: Pull complete 21:22:53 2de7ff778b66: Pull complete 21:22:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:22:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:22:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:53 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:22: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:22:55 $ docker top 3dd0199e344821e45fb2df5184e96a03e0d5f6845ef44b37dcb6599b7171ced2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:22:55 provisioning config files... 21:22:55 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10745324316925968679tmp 21:22:55 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2958025229339763337tmp 21:22:55 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config603090482154663850tmp [Pipeline] { [Pipeline] echo 21:22:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:22:56 ---> sigul-configuration.sh 21:22:56 gpg: directory `/root/.gnupg' created 21:22:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:22:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:22:56 gpg: keyring `/root/.gnupg/secring.gpg' created 21:22:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:22:56 gpg: CAST5 encrypted data 21:22:56 gpg: encrypted with 1 passphrase 21:22:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:22:56 + mkdir /home/jenkins 21:22:56 + mkdir /home/jenkins/sigul [Pipeline] sh 21:22: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 21:22:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:22:56 ---> sigul-install.sh 21:22:56 Sigul already installed; skipping installation. [Pipeline] sh 21:22:57 + git tag --list 21:22:57 v1.0.0 21:22:57 v1.1.0 21:22:57 v1.1.1 21:22:57 v1.2.1 21:22:57 v1.2.2 21:22:57 v1.2.3 21:22:57 v1.3.0 21:22:57 v1.3.1 21:22:57 v2.0.0 21:22:57 v2.1.0 21:22:57 v2.1.1 21:22:57 v2.1.1-dev.1 21:22:57 v2.1.1-dev.2 21:22:57 v2.2.0 21:22:57 v2.2.1-dev.1 21:22:57 v2.2.1-dev.2 21:22:57 v2.2.1-dev.3 21:22:57 v2.2.1-dev.4 21:22:57 v2.2.1-dev.5 21:22:57 v2.2.1-dev.6 21:22:57 v2.2.1-dev.7 21:22:57 v2.2.1-dev.8 21:22:57 v2.3.0-dev.10 21:22:57 v2.3.0-dev.11 21:22:57 v2.3.0-dev.12 21:22:57 v2.3.0-dev.13 21:22:57 v2.3.0-dev.14 21:22:57 v2.3.0-dev.15 21:22:57 v2.3.0-dev.16 21:22:57 v2.3.0-dev.17 21:22:57 v2.3.0-dev.8 21:22:57 v2.3.0-dev.9 [Pipeline] sh 21:22:57 + lftools sign git-tag v2.3.0-dev.17 21:22:58 Signing Git tag with Sigul... 21:22:58 Signing v2.3.0-dev.17 [Pipeline] echo 21:22:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:22:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:22:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:22:58 $ docker stop --time=1 3dd0199e344821e45fb2df5184e96a03e0d5f6845ef44b37dcb6599b7171ced2 21:23:00 $ docker rm -f 3dd0199e344821e45fb2df5184e96a03e0d5f6845ef44b37dcb6599b7171ced2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:23:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:23:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:01 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:23: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:23:01 $ docker top dc64e6a4ff475bd48792fcf9f1436820e031ab4da944176fccd8e2ae41e0b1a7 -eo pid,comm 21:23:01 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). 21:23:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:23:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:01 [ssh-agent] Looking for ssh-agent implementation... 21:23:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:01 $ docker exec dc64e6a4ff475bd48792fcf9f1436820e031ab4da944176fccd8e2ae41e0b1a7 ssh-agent 21:23:01 SSH_AUTH_SOCK=/tmp/ssh-rbtk23fGV8S0/agent.31 21:23:01 SSH_AGENT_PID=37 21:23:01 Running ssh-add (command line suppressed) 21:23:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1821147017748836682.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1821147017748836682.key) 21:23:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:02 + git semver bump pre 21:23:02 2022-09-26 21:23:02,322 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:23:02 2022-09-26 21:23:02,323 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 21:23:02 2022-09-26 21:23:02,323 [bump_version] DEBUG bumped version:2.3.0-dev.18 21:23:02 2022-09-26 21:23:02,323 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 21:23:02 2022-09-26 21:23:02,323 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:23:02 2022-09-26 21:23:02,323 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:23:02 2022-09-26 21:23:02,325 [execute] INFO git cat-file --batch-check 21:23:02 2022-09-26 21:23:02,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:23:02 2022-09-26 21:23:02,331 [execute] INFO git cat-file --batch 21:23:02 2022-09-26 21:23:02,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:23:02 2022-09-26 21:23:02,337 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:23:02 2.3.0-dev.18 [Pipeline] } 21:23:02 $ docker exec --env ******** --env ******** dc64e6a4ff475bd48792fcf9f1436820e031ab4da944176fccd8e2ae41e0b1a7 ssh-agent -k 21:23:02 unset SSH_AUTH_SOCK; 21:23:02 unset SSH_AGENT_PID; 21:23:02 echo Agent pid 37 killed; 21:23:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:02 + git semver [Pipeline] } 21:23:03 $ docker stop --time=1 dc64e6a4ff475bd48792fcf9f1436820e031ab4da944176fccd8e2ae41e0b1a7 21:23:04 $ docker rm -f dc64e6a4ff475bd48792fcf9f1436820e031ab4da944176fccd8e2ae41e0b1a7 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:23:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:05 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:23: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:23:05 $ docker top 93394361457b98fd99d0ed843d99326c56b98fdd0d2b96b47d5243d69eb40a8c -eo pid,comm 21:23: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). 21:23:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:23:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:05 [ssh-agent] Looking for ssh-agent implementation... 21:23:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:05 $ docker exec 93394361457b98fd99d0ed843d99326c56b98fdd0d2b96b47d5243d69eb40a8c ssh-agent 21:23:05 SSH_AUTH_SOCK=/tmp/ssh-hp3smVDsYWCk/agent.32 21:23:05 SSH_AGENT_PID=38 21:23:05 Running ssh-add (command line suppressed) 21:23:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18093835611001121322.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18093835611001121322.key) 21:23:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:06 + git semver push 21:23:06 2022-09-26 21:23:06,370 [run_push] DEBUG push 21:23:06 2022-09-26 21:23:06,371 [execute] INFO git cat-file --batch-check 21:23:06 2022-09-26 21:23:06,371 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:23:06 2022-09-26 21:23:06,376 [execute] INFO git rev-list 723e505c515dd2cc4bbf7f8d56ca3d8642b084b7 -- 21:23:06 2022-09-26 21:23:06,376 [execute] DEBUG Popen(['git', 'rev-list', '723e505c515dd2cc4bbf7f8d56ca3d8642b084b7', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:23:06 2022-09-26 21:23:06,384 [execute] INFO git fetch -v origin 21:23:06 2022-09-26 21:23:06,384 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:23:07 2022-09-26 21:23:06,945 [run_push] DEBUG no remote changes detected 21:23:07 2022-09-26 21:23:06,946 [execute] INFO git push origin semver 21:23:07 2022-09-26 21:23:06,946 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:23:07 2022-09-26 21:23:07,754 [run_push] DEBUG push all version tags 21:23:07 2022-09-26 21:23:07,755 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:23:07 2022-09-26 21:23:07,755 [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) 21:23:08 2022-09-26 21:23:08,583 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:23:08 2.3.0-dev.18 [Pipeline] } 21:23:08 $ docker exec --env ******** --env ******** 93394361457b98fd99d0ed843d99326c56b98fdd0d2b96b47d5243d69eb40a8c ssh-agent -k 21:23:08 unset SSH_AUTH_SOCK; 21:23:08 unset SSH_AGENT_PID; 21:23:08 echo Agent pid 38 killed; 21:23:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:09 + git semver [Pipeline] } 21:23:09 $ docker stop --time=1 93394361457b98fd99d0ed843d99326c56b98fdd0d2b96b47d5243d69eb40a8c 21:23:10 $ docker rm -f 93394361457b98fd99d0ed843d99326c56b98fdd0d2b96b47d5243d69eb40a8c [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 21:23:11 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 21:23:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 21:23:11 total 16 21:23:11 drwxr-xr-x 3 root root 4096 Sep 26 21:13 . 21:23:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 21:22 .. 21:23:11 drwxr-xr-x 2 root root 4096 Sep 26 21:13 cost 21:23:11 -rw-r--r-- 1 root root 88 Sep 26 21:13 cost.csv 21:23:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 21:23:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 21:23:11 total 16 21:23:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 21:13 . 21:23:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 21:22 .. 21:23:11 drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 21:13 cost 21:23:11 -rw-r--r-- 1 jenkins jenkins 88 Sep 26 21:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:23:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:23:12 ---> package-listing.sh 21:23:12 ++ facter osfamily 21:23:12 ++ tr '[:upper:]' '[:lower:]' 21:23:12 + OS_FAMILY=debian 21:23:12 + workspace=/w/workspace/exfoundry_device-virtual-go_main 21:23:12 + START_PACKAGES=/tmp/packages_start.txt 21:23:12 + END_PACKAGES=/tmp/packages_end.txt 21:23:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:23:12 + PACKAGES=/tmp/packages_start.txt 21:23:12 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 21:23:12 + PACKAGES=/tmp/packages_end.txt 21:23:12 + case "${OS_FAMILY}" in 21:23:12 + dpkg -l 21:23:12 + grep '^ii' 21:23:12 + '[' -f /tmp/packages_start.txt ']' 21:23:12 + '[' -f /tmp/packages_end.txt ']' 21:23:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:23:12 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 21:23:12 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 21:23:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 21:23:12 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 21:23:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:13 prd-ubuntu20.04-docker-8c-8g-1214 does not seem to be running inside a container 21:23:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:23:14 $ docker top fab14e31e9a585f3fb642ac46156fa030895f1694aad4490afb4e1f51a20fc36 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:14 + touch /tmp/pre-build-complete [Pipeline] sh 21:23:14 + mkdir -p /var/log/sysstat [Pipeline] sh 21:23:15 + ls /var/log/sa-host 21:23:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:15 provisioning config files... 21:23:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13100480106488486901tmp [Pipeline] { [Pipeline] echo 21:23:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:23:15 ---> create-netrc.sh [Pipeline] } 21:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:23:15 ---> python-tools-install.sh [Pipeline] echo 21:23:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:23:16 ---> sudo-logs.sh 21:23:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:23:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:23:16 ---> job-cost.sh 21:23:16 lf-activate-venv: SKIPPING 21:23:16 DEBUG: total: 0.2199999988079071 21:23:16 INFO: Retrieving Stack Cost... 21:23:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:23:17 INFO: Archiving Costs [Pipeline] echo 21:23:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:23:17 ---> logs-deploy.sh 21:23:17 lf-activate-venv: SKIPPING 21:23:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/53 21:23:17 INFO: archiving workspace using pattern(s): 21:23:18 Archives upload complete. 21:23:18 INFO: archiving logs to Nexus