Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 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-ssh651263452409459608.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-ssh7677449374427351874.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-ssh554645066448428881.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-ssh9165935137963347742.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-ssh8843286048859069895.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1432 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 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae (main) Commit message: "feat: Add NATS Subject configuration (#305)" > 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 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae # timeout=10 > git rev-list --no-walk 266afac79739f3db6a467d2e291baff0c6e168aa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:30:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:30:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:30:49 ========================================================= 21:30:49 EdgeX Global Pipelines Version Info 21:30:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:30:50 ------------------- 21:30:50 stable info: 21:30:50 ------------------- 21:30:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:30:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:30:50 Message: update stable to v1.0.239 21:30:50 ------------------- 21:30:50 experimental info: 21:30:50 ------------------- 21:30:50 Commited By: **** collab-it+edgex@linuxfoundation.org 21:30:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:30:50 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48c3520 [Pipeline] echo 21:30:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:51 provisioning config files... 21:30:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config715237469489438868tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:51 ---> docker-login.sh 21:30:51 nexus3.edgexfoundry.org:10001 21:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:52 Configure a credential helper to remove this warning. See 21:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:52 21:30:52 Login Succeeded 21:30:52 nexus3.edgexfoundry.org:10002 21:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:52 Configure a credential helper to remove this warning. See 21:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:52 21:30:52 Login Succeeded 21:30:52 nexus3.edgexfoundry.org:10003 21:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:52 Configure a credential helper to remove this warning. See 21:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:52 21:30:52 Login Succeeded 21:30:52 nexus3.edgexfoundry.org:10004 21:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:52 Configure a credential helper to remove this warning. See 21:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:52 21:30:52 Login Succeeded 21:30:52 docker.io 21:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:52 Configure a credential helper to remove this warning. See 21:30:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:52 21:30:52 Login Succeeded 21:30:52 ---> docker-login.sh ends [Pipeline] } 21:30:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:30:53 + git rev-list -1 --merges 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae~1..48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [Pipeline] echo 21:30:53 -----------> git rev-list -1 --merges 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae~1..48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [false] [Pipeline] sh 21:30:53 + git log --format=format:%s -1 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [Pipeline] echo 21:30:53 ========================================================= 21:30:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:30:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:53 + git log --format=format:%s -1 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [Pipeline] echo 21:30:53 [semverPrep] GIT_COMMIT: 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae, Commit Message: feat: Add NATS Subject configuration (#305) [Pipeline] echo 21:30:53 [semverPrep] This is not a build commit. [Pipeline] sh 21:30:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:30:54 + grep -v github /etc/ssh/ssh_known_hosts 21:30:54 + [ -e /tmp/ssh_known_hosts ] 21:30:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:30:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:30:54 + sudo tee -a /etc/ssh/ssh_known_hosts 21:30:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:54 21:30:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:30:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:30:55 0.1.4: Pulling from edgex-devops/py-git-semver 21:30:55 b85a868b505f: Pulling fs layer 21:30:55 e2be974225ed: Pulling fs layer 21:30:55 339a4e72a1f5: Pulling fs layer 21:30:55 988bab9f4d93: Pulling fs layer 21:30:55 1469e6f7b9e6: Pulling fs layer 21:30:55 eaf3925da568: Pulling fs layer 21:30:55 bab4dde63d76: Pulling fs layer 21:30:55 bde34c3a00c8: Pulling fs layer 21:30:55 b352a97aabf1: Pulling fs layer 21:30:55 4872d77fe225: Pulling fs layer 21:30:55 5851b861e8e6: Pulling fs layer 21:30:55 bde34c3a00c8: Waiting 21:30:55 b352a97aabf1: Waiting 21:30:55 4872d77fe225: Waiting 21:30:55 eaf3925da568: Waiting 21:30:55 5851b861e8e6: Waiting 21:30:55 bab4dde63d76: Waiting 21:30:55 988bab9f4d93: Waiting 21:30:55 e2be974225ed: Download complete 21:30:55 988bab9f4d93: Verifying Checksum 21:30:55 988bab9f4d93: Download complete 21:30:55 339a4e72a1f5: Verifying Checksum 21:30:55 339a4e72a1f5: Download complete 21:30:55 1469e6f7b9e6: Verifying Checksum 21:30:55 1469e6f7b9e6: Download complete 21:30:55 eaf3925da568: Download complete 21:30:55 bde34c3a00c8: Verifying Checksum 21:30:55 bde34c3a00c8: Download complete 21:30:55 b352a97aabf1: Verifying Checksum 21:30:55 b352a97aabf1: Download complete 21:30:55 4872d77fe225: Download complete 21:30:55 5851b861e8e6: Verifying Checksum 21:30:55 5851b861e8e6: Download complete 21:30:55 b85a868b505f: Verifying Checksum 21:30:55 b85a868b505f: Download complete 21:30:55 bab4dde63d76: Verifying Checksum 21:30:55 bab4dde63d76: Download complete 21:30:56 b85a868b505f: Pull complete 21:30:56 e2be974225ed: Pull complete 21:30:57 339a4e72a1f5: Pull complete 21:30:57 988bab9f4d93: Pull complete 21:30:57 1469e6f7b9e6: Pull complete 21:30:57 eaf3925da568: Pull complete 21:30:59 bab4dde63d76: Pull complete 21:30:59 bde34c3a00c8: Pull complete 21:30:59 b352a97aabf1: Pull complete 21:30:59 4872d77fe225: Pull complete 21:30:59 5851b861e8e6: Pull complete 21:31:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:31:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:00 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:31:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:31:02 $ docker top 50d4e9327c7450c63a06ba7a2ef62ab8179857834167ca9264065364aaabd5b0 -eo pid,comm 21:31:02 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:31:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:31:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:02 [ssh-agent] Looking for ssh-agent implementation... 21:31:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:03 $ docker exec 50d4e9327c7450c63a06ba7a2ef62ab8179857834167ca9264065364aaabd5b0 ssh-agent 21:31:03 SSH_AUTH_SOCK=/tmp/ssh-KIdxA9DenCkM/agent.33 21:31:03 SSH_AGENT_PID=39 21:31:03 Running ssh-add (command line suppressed) 21:31:03 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17449306694579040215.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17449306694579040215.key) 21:31:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:03 + git tag --points-at HEAD [Pipeline] } 21:31:03 $ docker exec --env ******** --env ******** 50d4e9327c7450c63a06ba7a2ef62ab8179857834167ca9264065364aaabd5b0 ssh-agent -k 21:31:03 unset SSH_AUTH_SOCK; 21:31:03 unset SSH_AGENT_PID; 21:31:03 echo Agent pid 39 killed; 21:31:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:31:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:03 [ssh-agent] Looking for ssh-agent implementation... 21:31:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:03 $ docker exec 50d4e9327c7450c63a06ba7a2ef62ab8179857834167ca9264065364aaabd5b0 ssh-agent 21:31:03 SSH_AUTH_SOCK=/tmp/ssh-QMTtbzn8calS/agent.71 21:31:03 SSH_AGENT_PID=77 21:31:03 Running ssh-add (command line suppressed) 21:31:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3021584987698991004.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3021584987698991004.key) 21:31:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:04 + git semver init 21:31:04 2022-09-27 21:31:04,604 [run_init] DEBUG init version:0.0.0 force:False 21:31:04 2022-09-27 21:31:04,605 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 21:31:04 2022-09-27 21:31:04,606 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 21:31:04 2022-09-27 21:31:04,607 [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:31:06 2022-09-27 21:31:05,964 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 21:31:06 2022-09-27 21:31:05,965 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 21:31:06 2022-09-27 21:31:05,965 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:31:06 2022-09-27 21:31:05,965 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:31:06 2.3.0-dev.20 [Pipeline] } 21:31:06 $ docker exec --env ******** --env ******** 50d4e9327c7450c63a06ba7a2ef62ab8179857834167ca9264065364aaabd5b0 ssh-agent -k 21:31:06 unset SSH_AUTH_SOCK; 21:31:06 unset SSH_AGENT_PID; 21:31:06 echo Agent pid 77 killed; 21:31:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:31:06 + git semver [Pipeline] } 21:31:06 $ docker stop --time=1 50d4e9327c7450c63a06ba7a2ef62ab8179857834167ca9264065364aaabd5b0 21:31:08 $ docker rm -f 50d4e9327c7450c63a06ba7a2ef62ab8179857834167ca9264065364aaabd5b0 [Pipeline] // withDockerContainer [Pipeline] sh 21:31:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:31:08 Stashed 1 file(s) [Pipeline] echo 21:31:08 [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:08 provisioning config files... 21:31:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2964233807012283715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:09 ---> docker-login.sh 21:31:09 nexus3.edgexfoundry.org:10001 21:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:09 Configure a credential helper to remove this warning. See 21:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:09 21:31:09 Login Succeeded 21:31:09 nexus3.edgexfoundry.org:10002 21:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:09 Configure a credential helper to remove this warning. See 21:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:09 21:31:09 Login Succeeded 21:31:09 nexus3.edgexfoundry.org:10003 21:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:09 Configure a credential helper to remove this warning. See 21:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:09 21:31:09 Login Succeeded 21:31:09 nexus3.edgexfoundry.org:10004 21:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:09 Configure a credential helper to remove this warning. See 21:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:09 21:31:09 Login Succeeded 21:31:09 docker.io 21:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:10 Configure a credential helper to remove this warning. See 21:31:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:10 21:31:10 Login Succeeded 21:31:10 ---> docker-login.sh ends [Pipeline] } 21:31:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:31:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:10 ========================================================= 21:31:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:31:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:10 + 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:31:10 Sending build context to Docker daemon 23.16MB 21:31:10 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:31:10 Step 2/13 : FROM ${BASE} AS builder 21:31:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:31:10 2408cc74d12b: Pulling fs layer 21:31:10 ea60b727a1ce: Pulling fs layer 21:31:10 30c4a7721957: Pulling fs layer 21:31:10 370296b7ddb6: Pulling fs layer 21:31:10 7c6cee850709: Pulling fs layer 21:31:10 39a5fcdaea64: Pulling fs layer 21:31:10 d94ebbe4e438: Pulling fs layer 21:31:10 bcfd1f05c69d: Pulling fs layer 21:31:10 59ccb84bbe0f: Pulling fs layer 21:31:10 370296b7ddb6: Waiting 21:31:10 7c6cee850709: Waiting 21:31:10 39a5fcdaea64: Waiting 21:31:10 d94ebbe4e438: Waiting 21:31:10 bcfd1f05c69d: Waiting 21:31:10 59ccb84bbe0f: Waiting 21:31:10 30c4a7721957: Verifying Checksum 21:31:10 ea60b727a1ce: Verifying Checksum 21:31:10 ea60b727a1ce: Download complete 21:31:10 7c6cee850709: Verifying Checksum 21:31:10 7c6cee850709: Download complete 21:31:10 39a5fcdaea64: Download complete 21:31:10 2408cc74d12b: Verifying Checksum 21:31:10 2408cc74d12b: Download complete 21:31:10 d94ebbe4e438: Download complete 21:31:10 2408cc74d12b: Pull complete 21:31:10 ea60b727a1ce: Pull complete 21:31:10 30c4a7721957: Pull complete 21:31:11 59ccb84bbe0f: Verifying Checksum 21:31:11 59ccb84bbe0f: Download complete 21:31:11 370296b7ddb6: Verifying Checksum 21:31:11 370296b7ddb6: Download complete 21:31:11 bcfd1f05c69d: Verifying Checksum 21:31:11 bcfd1f05c69d: Download complete 21:31:16 370296b7ddb6: Pull complete 21:31:16 7c6cee850709: Pull complete 21:31:16 39a5fcdaea64: Pull complete 21:31:16 d94ebbe4e438: Pull complete 21:31:17 bcfd1f05c69d: Pull complete 21:31:18 59ccb84bbe0f: Pull complete 21:31:18 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:31:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:31:18 ---> a4fb48ad2a94 21:31:18 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:31:22 ---> Running in ee55055d68a1 21:31:22 Removing intermediate container ee55055d68a1 21:31:22 ---> 58588d59103f 21:31:22 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:31:22 ---> Running in d6934b5462a8 21:31:22 Removing intermediate container d6934b5462a8 21:31:22 ---> d66d9e2a0af1 21:31:22 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:31:22 ---> Running in 9407f4b2d8e1 21:31:22 Removing intermediate container 9407f4b2d8e1 21:31:22 ---> 9e5ba38b8cee 21:31:22 Step 6/13 : WORKDIR /device-virtual-go 21:31:22 ---> Running in 980f662ae4c1 21:31:22 Removing intermediate container 980f662ae4c1 21:31:22 ---> 031d1cabaca0 21:31:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:31:22 ---> Running in 92ecf6e1288b 21:31:23 Removing intermediate container 92ecf6e1288b 21:31:23 ---> 57021605d92a 21:31:23 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:23 ---> Running in 1023f3c0ef61 21:31:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:31:23 Still waiting to schedule task 21:31:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:31:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:31:27 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:31:27 (2/4) Installing libedit (20210910.3.1-r0) 21:31:27 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:31:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:31:29 Executing busybox-1.35.0-r13.trigger 21:31:29 OK: 216 MiB in 55 packages 21:31:29 Removing intermediate container 1023f3c0ef61 21:31:29 ---> ec5d93b5f46e 21:31:29 Step 9/13 : COPY go.mod vendor* ./ 21:31:29 ---> ac22651571e9 21:31:29 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:29 ---> Running in 1ed39f8ea271 21:31:48 Removing intermediate container 1ed39f8ea271 21:31:48 ---> 137ecb9cb2e3 21:31:48 Step 11/13 : COPY . . 21:31:48 ---> b24fedd735c9 21:31:48 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:31:48 ---> Running in 7e53c39aee2f 21:31:48 Removing intermediate container 7e53c39aee2f 21:31:48 ---> fb549bc91e2f 21:31:48 Step 13/13 : RUN $MAKE 21:31:48 ---> Running in 20d90989b0f3 21:31:48 noop 21:31:48 Removing intermediate container 20d90989b0f3 21:31:48 ---> 9c2f8fc2177c 21:31:48 Successfully built 9c2f8fc2177c 21:31:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:48 + docker inspect -f . ci-base-image-x86_64 21:31:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:48 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:31:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:31:49 $ docker top 1c10e4babe8afeff6f1f363f7a1760b678cbc9e77ecc2a7f8b12602e348f1579 -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:49 + go version 21:31:49 go version go1.18.3 linux/amd64 [Pipeline] } 21:31:49 $ docker stop --time=1 1c10e4babe8afeff6f1f363f7a1760b678cbc9e77ecc2a7f8b12602e348f1579 21:31:50 $ docker rm -f 1c10e4babe8afeff6f1f363f7a1760b678cbc9e77ecc2a7f8b12602e348f1579 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:51 + docker inspect -f . ci-base-image-x86_64 21:31:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:51 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:31:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:31:51 $ docker top 6f9d24e0901a06dd54c2c3f617edff960ca4bb32eebc1531bd341dedbee9a7e4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:52 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 21:31:52 + make test 21:31:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:31:52 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:32:02 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:32:02 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 21:32:10 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:32:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:32:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:32:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:32:13 ./bin/test-attribution-txt.sh [Pipeline] echo 21:32:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:32:13 $ docker stop --time=1 6f9d24e0901a06dd54c2c3f617edff960ca4bb32eebc1531bd341dedbee9a7e4 21:32:15 $ docker rm -f 6f9d24e0901a06dd54c2c3f617edff960ca4bb32eebc1531bd341dedbee9a7e4 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:32:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:32:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:32:16 + ls -al . 21:32:16 total 200 21:32:16 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:31 . 21:32:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:30 .. 21:32:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:32 .git 21:32:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:30 .github 21:32:16 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 21:30 .gitignore 21:32:16 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:30 .golangci.yml 21:32:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:31 .semver 21:32:16 -rw-rw-r-- 1 jenkins jenkins 8527 Sep 27 21:30 Attribution.txt 21:32:16 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 21:30 CHANGELOG.md 21:32:16 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 21:30 Dockerfile 21:32:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:30 GOVERNANCE.md 21:32:16 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 21:30 Jenkinsfile 21:32:16 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:30 LICENSE 21:32:16 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 21:30 Makefile 21:32:16 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 21:30 OWNERS.md 21:32:16 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 21:30 README.md 21:32:16 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:31 VERSION 21:32:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:30 bin 21:32:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:30 cmd 21:32:16 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 21:32 coverage.out 21:32:16 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 21:30 go.mod 21:32:16 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 21:30 go.sum 21:32:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:30 internal 21:32:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:30 snap 21:32:16 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 21:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32: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=48c3520914e7ddb9ffda7de700a6b80bd4b3dbae --label arch=amd64 --label version=2.3.0-dev.20 . 21:32:17 Sending build context to Docker daemon 23.2MB 21:32:17 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:32:17 Step 2/27 : FROM ${BASE} AS builder 21:32:17 ---> 9c2f8fc2177c 21:32:17 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:32:17 ---> Running in 98da8f9d22af 21:32:17 Removing intermediate container 98da8f9d22af 21:32:17 ---> 01d00790e73a 21:32:17 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 21:32:17 ---> Running in 29bf50d1325c 21:32:17 Removing intermediate container 29bf50d1325c 21:32:17 ---> 2749a92e3f66 21:32:17 Step 5/27 : ARG ADD_BUILD_TAGS="" 21:32:17 ---> Running in 198ef0b620e9 21:32:17 Removing intermediate container 198ef0b620e9 21:32:17 ---> d36120b1be1e 21:32:17 Step 6/27 : WORKDIR /device-virtual-go 21:32:17 ---> Running in 53b7b2b95e2c 21:32:17 Removing intermediate container 53b7b2b95e2c 21:32:17 ---> 22f6d74bc103 21:32:17 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:32:17 ---> Running in 6554db5eb2eb 21:32:18 Removing intermediate container 6554db5eb2eb 21:32:18 ---> 09bf767d9164 21:32:18 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:18 ---> Running in e6c15eefeec1 21:32:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:32:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:32:19 OK: 216 MiB in 55 packages 21:32:20 Removing intermediate container e6c15eefeec1 21:32:20 ---> 4332ad450d28 21:32:20 Step 9/27 : COPY go.mod vendor* ./ 21:32:20 ---> 1e248f7d65c7 21:32:20 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:20 ---> Running in 195e90933d51 21:32:20 Removing intermediate container 195e90933d51 21:32:20 ---> 979cc7f22b01 21:32:20 Step 11/27 : COPY . . 21:32:21 ---> 2236dbb78d5e 21:32:21 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:32:21 ---> Running in 93b362ca596f 21:32:21 Removing intermediate container 93b362ca596f 21:32:21 ---> 60fb44282aa6 21:32:21 Step 13/27 : RUN $MAKE 21:32:21 ---> Running in 1d733f521ba3 21:32:22 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 21:32:44 Removing intermediate container 1d733f521ba3 21:32:44 ---> 26bd4056ab0a 21:32:44 Step 14/27 : FROM alpine:3.16 21:32:44 3.16: Pulling from library/alpine 21:32:44 213ec9aee27d: Pulling fs layer 21:32:44 213ec9aee27d: Verifying Checksum 21:32:44 213ec9aee27d: Download complete 21:32:44 213ec9aee27d: Pull complete 21:32:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:32:44 Status: Downloaded newer image for alpine:3.16 21:32:44 ---> 9c6f07244728 21:32:44 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:32:44 ---> Running in 704fc71bbdba 21:32:44 Removing intermediate container 704fc71bbdba 21:32:44 ---> b6500607dc29 21:32:44 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:32:44 ---> Running in a3d07ec3cf81 21:32:44 Removing intermediate container a3d07ec3cf81 21:32:44 ---> 275a21ebb7d6 21:32:44 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:32:44 ---> Running in e914127c584d 21:32:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:32:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:32:45 (1/6) Installing dumb-init (1.2.5-r1) 21:32:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:32:45 (3/6) Installing libsodium (1.0.18-r0) 21:32:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:32:45 (5/6) Installing libzmq (4.3.4-r0) 21:32:45 (6/6) Installing zeromq (4.3.4-r0) 21:32:45 Executing busybox-1.35.0-r17.trigger 21:32:45 OK: 8 MiB in 20 packages 21:32:46 Removing intermediate container e914127c584d 21:32:46 ---> 6834796e551e 21:32:46 Step 18/27 : WORKDIR / 21:32:46 ---> Running in 84a20348da45 21:32:46 Removing intermediate container 84a20348da45 21:32:46 ---> 8021d1cc1a2d 21:32:46 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:32:46 ---> 89d7c314afb1 21:32:46 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 21:32:46 ---> b0ecd6441f96 21:32:46 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 21:32:47 ---> c64db0b30c67 21:32:47 Step 22/27 : EXPOSE 59900 21:32:47 ---> Running in 2753e58e5412 21:32:47 Removing intermediate container 2753e58e5412 21:32:47 ---> 2151259787e1 21:32:47 Step 23/27 : ENTRYPOINT ["/device-virtual"] 21:32:47 ---> Running in ae471b93c629 21:32:47 Removing intermediate container ae471b93c629 21:32:47 ---> b954a559e990 21:32:47 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:32:47 ---> Running in d0511660d58e 21:32:47 Removing intermediate container d0511660d58e 21:32:47 ---> 7b27249f23fa 21:32:47 Step 25/27 : LABEL arch=amd64 21:32:47 ---> Running in 3f0b52d1225f 21:32:47 Removing intermediate container 3f0b52d1225f 21:32:47 ---> 4ff1ab83b6e6 21:32:47 Step 26/27 : LABEL git_sha=48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 21:32:47 ---> Running in d620244b0131 21:32:47 Removing intermediate container d620244b0131 21:32:47 ---> 4d164c948882 21:32:47 Step 27/27 : LABEL version=2.3.0-dev.20 21:32:48 ---> Running in 4f43704d1d85 21:32:48 Removing intermediate container 4f43704d1d85 21:32:48 ---> 473524b04d63 21:32:48 [Warning] One or more build-args [ARCH] were not consumed 21:32:48 Successfully built 473524b04d63 21:32:48 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:32:48 provisioning config files... 21:32:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5381634121647295695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:48 ---> docker-login.sh 21:32:48 nexus3.edgexfoundry.org:10001 21:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:48 Configure a credential helper to remove this warning. See 21:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:48 21:32:48 Login Succeeded 21:32:48 nexus3.edgexfoundry.org:10002 21:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:48 Configure a credential helper to remove this warning. See 21:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:48 21:32:48 Login Succeeded 21:32:48 nexus3.edgexfoundry.org:10003 21:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:48 Configure a credential helper to remove this warning. See 21:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:48 21:32:48 Login Succeeded 21:32:48 nexus3.edgexfoundry.org:10004 21:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:48 Configure a credential helper to remove this warning. See 21:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:48 21:32:48 Login Succeeded 21:32:48 docker.io 21:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:49 Configure a credential helper to remove this warning. See 21:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:49 21:32:49 Login Succeeded 21:32:49 ---> docker-login.sh ends [Pipeline] } 21:32:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:32:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:49 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 21:32:49 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 21:32:49 latest 21:32:49 2.3.0-dev.20 21:32:49 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20 21:32:49 main 21:32:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:49 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 21:32:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:32:49 c69295a19e3a: Preparing 21:32:49 b46b1377fdcf: Preparing 21:32:49 8bd70bd358ea: Preparing 21:32:49 135413db5cdb: Preparing 21:32:49 17e4b1c7ed73: Preparing 21:32:49 994393dc58e7: Preparing 21:32:49 994393dc58e7: Waiting 21:32:49 8bd70bd358ea: Pushed 21:32:49 17e4b1c7ed73: Pushed 21:32:49 b46b1377fdcf: Pushed 21:32:49 994393dc58e7: Layer already exists 21:32:50 135413db5cdb: Pushed 21:32:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1433 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 21:32:51 Running in /w/workspace/device-virtual-go/56 [Pipeline] { [Pipeline] checkout 21:32:51 The recommended git tool is: git 21:32:52 c69295a19e3a: Pushed 21:32:52 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae: digest: sha256:8468e463bb4b93eab49f78d75e5f43ffbe75f87a0ade310484b66cac99c4dc4a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 21:32:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:32:53 c69295a19e3a: Preparing 21:32:53 b46b1377fdcf: Preparing 21:32:53 8bd70bd358ea: Preparing 21:32:53 135413db5cdb: Preparing 21:32:53 17e4b1c7ed73: Preparing 21:32:53 994393dc58e7: Preparing 21:32:53 994393dc58e7: Waiting 21:32:53 8bd70bd358ea: Layer already exists 21:32:53 135413db5cdb: Layer already exists 21:32:53 17e4b1c7ed73: Layer already exists 21:32:53 c69295a19e3a: Layer already exists 21:32:53 b46b1377fdcf: Layer already exists 21:32:53 994393dc58e7: Layer already exists 21:32:53 latest: digest: sha256:8468e463bb4b93eab49f78d75e5f43ffbe75f87a0ade310484b66cac99c4dc4a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.20 21:32:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:32:53 c69295a19e3a: Preparing 21:32:53 b46b1377fdcf: Preparing 21:32:53 8bd70bd358ea: Preparing 21:32:53 135413db5cdb: Preparing 21:32:53 17e4b1c7ed73: Preparing 21:32:53 994393dc58e7: Preparing 21:32:53 994393dc58e7: Waiting 21:32:53 135413db5cdb: Layer already exists 21:32:53 17e4b1c7ed73: Layer already exists 21:32:53 c69295a19e3a: Layer already exists 21:32:53 b46b1377fdcf: Layer already exists 21:32:53 8bd70bd358ea: Layer already exists 21:32:53 994393dc58e7: Layer already exists 21:32:53 2.3.0-dev.20: digest: sha256:8468e463bb4b93eab49f78d75e5f43ffbe75f87a0ade310484b66cac99c4dc4a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:54 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20 21:32:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:32:54 c69295a19e3a: Preparing 21:32:54 b46b1377fdcf: Preparing 21:32:54 8bd70bd358ea: Preparing 21:32:54 135413db5cdb: Preparing 21:32:54 17e4b1c7ed73: Preparing 21:32:54 994393dc58e7: Preparing 21:32:54 994393dc58e7: Waiting 21:32:54 135413db5cdb: Layer already exists 21:32:54 c69295a19e3a: Layer already exists 21:32:54 8bd70bd358ea: Layer already exists 21:32:54 17e4b1c7ed73: Layer already exists 21:32:54 b46b1377fdcf: Layer already exists 21:32:54 994393dc58e7: Layer already exists 21:32:54 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20: digest: sha256:8468e463bb4b93eab49f78d75e5f43ffbe75f87a0ade310484b66cac99c4dc4a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:54 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 21:32:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:32:55 c69295a19e3a: Preparing 21:32:55 b46b1377fdcf: Preparing 21:32:55 8bd70bd358ea: Preparing 21:32:55 135413db5cdb: Preparing 21:32:55 17e4b1c7ed73: Preparing 21:32:55 994393dc58e7: Preparing 21:32:55 994393dc58e7: Waiting 21:32:55 17e4b1c7ed73: Layer already exists 21:32:55 8bd70bd358ea: Layer already exists 21:32:55 135413db5cdb: Layer already exists 21:32:55 b46b1377fdcf: Layer already exists 21:32:55 c69295a19e3a: Layer already exists 21:32:55 994393dc58e7: Layer already exists 21:32:55 main: digest: sha256:8468e463bb4b93eab49f78d75e5f43ffbe75f87a0ade310484b66cac99c4dc4a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:32:55 ===================================================== [Pipeline] echo 21:32:55 taggedImages: 21:32:55 - nexus3.edgexfoundry.org:10004/device-virtual:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 21:32:55 - nexus3.edgexfoundry.org:10004/device-virtual:latest 21:32:55 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.20 21:32:55 - nexus3.edgexfoundry.org:10004/device-virtual:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20 21:32:55 - 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:32:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:55 21:32:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:55 latest: Pulling from edgex-lftools-log-publisher 21:32:55 5eb5b503b376: Pulling fs layer 21:32:55 5c69ac0246d0: Pulling fs layer 21:32:55 ec43610c2a17: Pulling fs layer 21:32:55 3a2ae6a8a46f: Pulling fs layer 21:32:55 33b1e0a273af: Pulling fs layer 21:32:55 5d3b04190fa2: Pulling fs layer 21:32:55 3a2ae6a8a46f: Waiting 21:32:55 33b1e0a273af: Waiting 21:32:55 5d3b04190fa2: Waiting 21:32:55 2f39f015ded8: Pulling fs layer 21:32:55 2f39f015ded8: Waiting 21:32:55 5c69ac0246d0: Verifying Checksum 21:32:55 5c69ac0246d0: Download complete 21:32:55 3a2ae6a8a46f: Verifying Checksum 21:32:55 3a2ae6a8a46f: Download complete 21:32:55 33b1e0a273af: Verifying Checksum 21:32:55 33b1e0a273af: Download complete 21:32:55 5d3b04190fa2: Download complete 21:32:55 ec43610c2a17: Verifying Checksum 21:32:55 ec43610c2a17: Download complete 21:32:56 5eb5b503b376: Verifying Checksum 21:32:56 5eb5b503b376: Download complete 21:32:56 2f39f015ded8: Download complete 21:32:56 using credential edgex-jenkins-ssh 21:32:56 Cloning the remote Git repository 21:32:57 5eb5b503b376: Pull complete 21:32:57 5c69ac0246d0: Pull complete 21:32:57 ec43610c2a17: Pull complete 21:32:57 3a2ae6a8a46f: Pull complete 21:32:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:32:56 > git init /w/workspace/device-virtual-go/56 # timeout=10 21:32:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:32:57 > git --version # timeout=10 21:32:57 > git --version # 'git version 2.25.1' 21:32:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:32:57 Verifying host key using known hosts file 21:32:57 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:32:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:32:58 33b1e0a273af: Pull complete 21:32:58 5d3b04190fa2: Pull complete 21:33:00 Avoid second fetch 21:33:00 Checking out Revision 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae (main) 21:32:59 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:32:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:00 > git config core.sparsecheckout # timeout=10 21:33:00 > git checkout -f 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae # timeout=10 21:33:00 Commit message: "feat: Add NATS Subject configuration (#305)" 21:33:00 21:33:00 GitHub has been notified of this commit’s build result 21:33:00 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:33:01 % Total % Received % Xferd Average Speed Time Time Time Current 21:33:01 Dload Upload Total Spent Left Speed 21:33:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77312 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh 21:33:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:33:02 2f39f015ded8: Pull complete 21:33:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:33:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:33:02 + sudo tee /etc/docker/daemon.new 21:33:02 { 21:33:02 "registry-mirrors": [ 21:33:02 "https://nexus3.edgexfoundry.org:10001" 21:33:02 ], 21:33:02 "bip": "10.250.0.254/24", 21:33:02 "hosts": [ 21:33:02 "tcp://0.0.0.0:5555", 21:33:02 "unix:///var/run/docker.sock" 21:33:02 ], 21:33:02 "mtu": 1458, 21:33:02 "selinux-enabled": true, 21:33:02 "seccomp-profile": "/etc/docker/seccomp.json" 21:33:02 } 21:33:02 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:33:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:33:04 $ docker top 8d5f4bb28b127c6e1f46d6dcf4c688b2eaea12ba5005bee1dd5669e42781a46f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 21:33:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:33:04 ---> job-cost.sh 21:33:04 lf-activate-venv: SKIPPING 21:33:04 INFO: No Stack... 21:33:05 + sudo service docker restart 21:33:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:33:05 INFO: Archiving Costs [Pipeline] sh 21:33:05 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 21:33:05 + cut -d, -f6 [Pipeline] lock 21:33:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-56-stack-cost] 21:33:05 Resource [jenkins-edgexfoundry-device-virtual-go-main-56-stack-cost] did not exist. Created. 21:33:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:33:06 + echo total: 0.2199999988079071 [Pipeline] stash 21:33:06 Stashed 1 file(s) [Pipeline] } 21:33:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 21:33:06 $ docker stop --time=1 8d5f4bb28b127c6e1f46d6dcf4c688b2eaea12ba5005bee1dd5669e42781a46f 21:33:07 $ docker rm -f 8d5f4bb28b127c6e1f46d6dcf4c688b2eaea12ba5005bee1dd5669e42781a46f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:23 provisioning config files... 21:33:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/56@tmp/config17832264467316994014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:23 ---> docker-login.sh 21:33:23 nexus3.edgexfoundry.org:10001 21:33:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:24 Configure a credential helper to remove this warning. See 21:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:24 21:33:24 Login Succeeded 21:33:24 nexus3.edgexfoundry.org:10002 21:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:24 Configure a credential helper to remove this warning. See 21:33:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:24 21:33:24 Login Succeeded 21:33:24 nexus3.edgexfoundry.org:10003 21:33:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:25 Configure a credential helper to remove this warning. See 21:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:25 21:33:25 Login Succeeded 21:33:25 nexus3.edgexfoundry.org:10004 21:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:25 Configure a credential helper to remove this warning. See 21:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:25 21:33:25 Login Succeeded 21:33:25 docker.io 21:33:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:25 Configure a credential helper to remove this warning. See 21:33:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:25 21:33:25 Login Succeeded 21:33:25 ---> docker-login.sh ends [Pipeline] } 21:33:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:33:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:25 ========================================================= 21:33:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:33:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:26 + 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:33:26 Sending build context to Docker daemon 11.72MB 21:33:26 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:33:26 Step 2/13 : FROM ${BASE} AS builder 21:33:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:33:26 b3c136eddcbf: Pulling fs layer 21:33:26 c0a3192eca97: Pulling fs layer 21:33:26 a050256f5b6f: Pulling fs layer 21:33:26 656be50a0ddc: Pulling fs layer 21:33:26 2bbca73fdf42: Pulling fs layer 21:33:26 46d945488cbd: Pulling fs layer 21:33:26 8a5474983e97: Pulling fs layer 21:33:26 329c88fbcd65: Pulling fs layer 21:33:26 46d945488cbd: Waiting 21:33:26 8a5474983e97: Waiting 21:33:26 329c88fbcd65: Waiting 21:33:26 656be50a0ddc: Waiting 21:33:26 2bbca73fdf42: Waiting 21:33:26 a050256f5b6f: Verifying Checksum 21:33:26 a050256f5b6f: Download complete 21:33:26 c0a3192eca97: Verifying Checksum 21:33:26 c0a3192eca97: Download complete 21:33:26 2bbca73fdf42: Verifying Checksum 21:33:26 2bbca73fdf42: Download complete 21:33:26 46d945488cbd: Verifying Checksum 21:33:26 46d945488cbd: Download complete 21:33:26 b3c136eddcbf: Verifying Checksum 21:33:26 b3c136eddcbf: Download complete 21:33:27 b3c136eddcbf: Pull complete 21:33:27 329c88fbcd65: Verifying Checksum 21:33:27 329c88fbcd65: Download complete 21:33:28 c0a3192eca97: Pull complete 21:33:28 a050256f5b6f: Pull complete 21:33:28 8a5474983e97: Verifying Checksum 21:33:28 8a5474983e97: Download complete 21:33:29 656be50a0ddc: Verifying Checksum 21:33:29 656be50a0ddc: Download complete 21:33:42 656be50a0ddc: Pull complete 21:33:42 2bbca73fdf42: Pull complete 21:33:42 46d945488cbd: Pull complete 21:33:47 8a5474983e97: Pull complete 21:33:50 329c88fbcd65: Pull complete 21:33:50 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:33:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:33:50 ---> ff4287adb874 21:33:50 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:33:52 ---> Running in c30672675952 21:33:52 Removing intermediate container c30672675952 21:33:52 ---> 1733e5ac9860 21:33:52 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:33:52 ---> Running in 304602746e75 21:33:52 Removing intermediate container 304602746e75 21:33:52 ---> 4058e2e27747 21:33:52 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:33:52 ---> Running in 2f74c9784187 21:33:52 Removing intermediate container 2f74c9784187 21:33:52 ---> b95eea022998 21:33:52 Step 6/13 : WORKDIR /device-virtual-go 21:33:52 ---> Running in 28a7ceb9613a 21:33:53 Removing intermediate container 28a7ceb9613a 21:33:53 ---> 0dad42a6c905 21:33:53 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:33:53 ---> Running in c311053e472f 21:33:55 Removing intermediate container c311053e472f 21:33:55 ---> 9fd9870edc1a 21:33:55 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:55 ---> Running in f2470410faeb 21:33:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:33:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:33:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:33:57 (2/4) Installing libedit (20210910.3.1-r0) 21:33:58 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:33:58 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:33:58 Executing busybox-1.35.0-r13.trigger 21:33:58 OK: 226 MiB in 55 packages 21:33:59 Removing intermediate container f2470410faeb 21:33:59 ---> da53d836bf60 21:33:59 Step 9/13 : COPY go.mod vendor* ./ 21:34:00 ---> ae97d7a8ffc1 21:34:00 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:00 ---> Running in 695e416664a6 21:34:47 Removing intermediate container 695e416664a6 21:34:47 ---> 6c211f3d5b79 21:34:47 Step 11/13 : COPY . . 21:34:47 ---> ecdab98ab5f5 21:34:47 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:47 ---> Running in f8e46f51edcc 21:34:48 Removing intermediate container f8e46f51edcc 21:34:48 ---> 474d8652fc48 21:34:48 Step 13/13 : RUN $MAKE 21:34:48 ---> Running in 724c51504c38 21:34:49 noop 21:34:49 Removing intermediate container 724c51504c38 21:34:49 ---> 7da2b34dff61 21:34:49 Successfully built 7da2b34dff61 21:34:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:50 + docker inspect -f . ci-base-image-arm64 21:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:50 prd-ubuntu20.04-docker-arm64-4c-16g-1433 does not seem to be running inside a container 21:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/56 -v /w/workspace/device-virtual-go/56:/w/workspace/device-virtual-go/56:rw,z -v /w/workspace/device-virtual-go/56@tmp:/w/workspace/device-virtual-go/56@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:34:51 $ docker top 2606149bbf570ecc174ed7b0233e55ab82b0008b5432ceb5d6f4e2ff9e7c5406 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:52 + go version 21:34:52 go version go1.18.3 linux/arm64 [Pipeline] } 21:34:52 $ docker stop --time=1 2606149bbf570ecc174ed7b0233e55ab82b0008b5432ceb5d6f4e2ff9e7c5406 21:34:53 $ docker rm -f 2606149bbf570ecc174ed7b0233e55ab82b0008b5432ceb5d6f4e2ff9e7c5406 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:54 + docker inspect -f . ci-base-image-arm64 21:34:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:34:54 prd-ubuntu20.04-docker-arm64-4c-16g-1433 does not seem to be running inside a container 21:34:54 $ 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/56 -v /w/workspace/device-virtual-go/56:/w/workspace/device-virtual-go/56:rw,z -v /w/workspace/device-virtual-go/56@tmp:/w/workspace/device-virtual-go/56@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:34:55 $ docker top 2dd0261a7ca914ea0d5e1851f4b3286d3b8bf34027845caa944c8c02a764c2d5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:56 + git config --global --add safe.directory /w/workspace/device-virtual-go/56 [Pipeline] fileExists [Pipeline] sh 21:34:56 + make test 21:34:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:34:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:36:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:36:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.145s coverage: 65.7% of statements 21:36:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:36:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:36:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:36:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:36:38 ./bin/test-attribution-txt.sh [Pipeline] echo 21:36:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:36:38 $ docker stop --time=1 2dd0261a7ca914ea0d5e1851f4b3286d3b8bf34027845caa944c8c02a764c2d5 21:36:40 $ docker rm -f 2dd0261a7ca914ea0d5e1851f4b3286d3b8bf34027845caa944c8c02a764c2d5 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:36:41 Warning: overwriting stash ‘coverage-report’ 21:36:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:36:42 + ls -al . 21:36:42 total 196 21:36:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:34 . 21:36:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:32 .. 21:36:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:33 .git 21:36:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:33 .github 21:36:42 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 21:33 .gitignore 21:36:42 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:33 .golangci.yml 21:36:42 -rw-rw-r-- 1 jenkins jenkins 8527 Sep 27 21:33 Attribution.txt 21:36:42 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 21:33 CHANGELOG.md 21:36:42 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 21:33 Dockerfile 21:36:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:33 GOVERNANCE.md 21:36:42 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 21:33 Jenkinsfile 21:36:42 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:33 LICENSE 21:36:42 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 21:33 Makefile 21:36:42 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 21:33 OWNERS.md 21:36:42 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 21:33 README.md 21:36:42 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:31 VERSION 21:36:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:33 bin 21:36:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:33 cmd 21:36:42 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 21:36 coverage.out 21:36:42 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 21:33 go.mod 21:36:42 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 21:33 go.sum 21:36:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:33 internal 21:36:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:33 snap 21:36:42 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 21:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:42 + 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=48c3520914e7ddb9ffda7de700a6b80bd4b3dbae --label arch=arm64 --label version=2.3.0-dev.20 . 21:36:43 Sending build context to Docker daemon 11.76MB 21:36:43 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:36:43 Step 2/27 : FROM ${BASE} AS builder 21:36:43 ---> 7da2b34dff61 21:36:43 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:36:43 ---> Running in 6849e5b6c2ac 21:36:43 Removing intermediate container 6849e5b6c2ac 21:36:43 ---> eb63d95d6e73 21:36:43 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 21:36:43 ---> Running in 43c06b5894e1 21:36:43 Removing intermediate container 43c06b5894e1 21:36:43 ---> 84508362df89 21:36:43 Step 5/27 : ARG ADD_BUILD_TAGS="" 21:36:43 ---> Running in eb61c5b8310e 21:36:44 Removing intermediate container eb61c5b8310e 21:36:44 ---> ab339f91c413 21:36:44 Step 6/27 : WORKDIR /device-virtual-go 21:36:44 ---> Running in a71e820d6643 21:36:44 Removing intermediate container a71e820d6643 21:36:44 ---> 72f6aec2b2e7 21:36:44 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:36:44 ---> Running in 6ffbdfa1acb1 21:36:46 Removing intermediate container 6ffbdfa1acb1 21:36:46 ---> fd9a475c4a14 21:36:46 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:36:46 ---> Running in 4ae8f40bb70b 21:36:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:36:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:36:49 OK: 226 MiB in 55 packages 21:36:50 Removing intermediate container 4ae8f40bb70b 21:36:50 ---> 9458a1695eaf 21:36:50 Step 9/27 : COPY go.mod vendor* ./ 21:36:50 ---> a452f30860eb 21:36:50 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:36:50 ---> Running in f662e98ec6f4 21:36:52 Removing intermediate container f662e98ec6f4 21:36:52 ---> 47ef2907630d 21:36:52 Step 11/27 : COPY . . 21:36:53 ---> d8074dfa6860 21:36:53 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:53 ---> Running in 76c693bb75b9 21:36:53 Removing intermediate container 76c693bb75b9 21:36:53 ---> bf12a7a60b30 21:36:53 Step 13/27 : RUN $MAKE 21:36:53 ---> Running in d1edc2be06c3 21:36:54 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 21:39:31 Removing intermediate container d1edc2be06c3 21:39:31 ---> 03121ce80257 21:39:31 Step 14/27 : FROM alpine:3.16 21:39:31 3.16: Pulling from library/alpine 21:39:31 9b18e9b68314: Pulling fs layer 21:39:31 9b18e9b68314: Verifying Checksum 21:39:31 9b18e9b68314: Download complete 21:39:31 9b18e9b68314: Pull complete 21:39:31 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:39:31 Status: Downloaded newer image for alpine:3.16 21:39:31 ---> a6215f271958 21:39:31 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:39:31 ---> Running in a1383ef0cf86 21:39:31 Removing intermediate container a1383ef0cf86 21:39:31 ---> 3c72662c75e5 21:39:31 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:39:31 ---> Running in 74340e166b8c 21:39:31 Removing intermediate container 74340e166b8c 21:39:31 ---> 9700fc199de5 21:39:31 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:39:31 ---> Running in 6b5d4aceb11c 21:39:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:39:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:39:31 (1/6) Installing dumb-init (1.2.5-r1) 21:39:31 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:39:31 (3/6) Installing libsodium (1.0.18-r0) 21:39:31 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:39:31 (5/6) Installing libzmq (4.3.4-r0) 21:39:31 (6/6) Installing zeromq (4.3.4-r0) 21:39:31 Executing busybox-1.35.0-r17.trigger 21:39:31 OK: 8 MiB in 20 packages 21:39:31 Removing intermediate container 6b5d4aceb11c 21:39:31 ---> 1b3d32819f3f 21:39:31 Step 18/27 : WORKDIR / 21:39:31 ---> Running in 58e968f296f5 21:39:31 Removing intermediate container 58e968f296f5 21:39:31 ---> aabeb80abe73 21:39:31 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:39:31 ---> 353eef5a76d3 21:39:31 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 21:39:31 ---> b38362defa8c 21:39:31 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 21:39:31 ---> bd5994d821ef 21:39:31 Step 22/27 : EXPOSE 59900 21:39:31 ---> Running in 733f89dfb081 21:39:31 Removing intermediate container 733f89dfb081 21:39:31 ---> 8888dba9de50 21:39:31 Step 23/27 : ENTRYPOINT ["/device-virtual"] 21:39:32 ---> Running in 2efed1628538 21:39:32 Removing intermediate container 2efed1628538 21:39:32 ---> 2234e1400ec2 21:39:32 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:39:32 ---> Running in abd07887956a 21:39:32 Removing intermediate container abd07887956a 21:39:32 ---> 0d77310c0811 21:39:32 Step 25/27 : LABEL arch=arm64 21:39:32 ---> Running in 0a3f909b565e 21:39:32 Removing intermediate container 0a3f909b565e 21:39:32 ---> 7a994325e2ea 21:39:32 Step 26/27 : LABEL git_sha=48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 21:39:33 ---> Running in ba0e989945c7 21:39:33 Removing intermediate container ba0e989945c7 21:39:33 ---> 9260dc42a017 21:39:33 Step 27/27 : LABEL version=2.3.0-dev.20 21:39:33 ---> Running in 407fb6ba79a4 21:39:33 Removing intermediate container 407fb6ba79a4 21:39:33 ---> 562e857df2ea 21:39:33 [Warning] One or more build-args [ARCH] were not consumed 21:39:33 Successfully built 562e857df2ea 21:39: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:39:33 provisioning config files... 21:39:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/56@tmp/config14469227047460036274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:34 ---> docker-login.sh 21:39:34 nexus3.edgexfoundry.org:10001 21:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:34 Configure a credential helper to remove this warning. See 21:39:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:34 21:39:34 Login Succeeded 21:39:34 nexus3.edgexfoundry.org:10002 21:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:34 Configure a credential helper to remove this warning. See 21:39:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:34 21:39:34 Login Succeeded 21:39:34 nexus3.edgexfoundry.org:10003 21:39:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:35 Configure a credential helper to remove this warning. See 21:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:35 21:39:35 Login Succeeded 21:39:35 nexus3.edgexfoundry.org:10004 21:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:35 Configure a credential helper to remove this warning. See 21:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:35 21:39:35 Login Succeeded 21:39:35 docker.io 21:39:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:35 Configure a credential helper to remove this warning. See 21:39:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:35 21:39:35 Login Succeeded 21:39:35 ---> docker-login.sh ends [Pipeline] } 21:39:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:39:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:36 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 21:39:36 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 21:39:36 latest 21:39:36 2.3.0-dev.20 21:39:36 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20 21:39:36 main 21:39:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:36 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 21:39:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:39:36 b2cfaf5a717b: Preparing 21:39:36 14a3680a3f57: Preparing 21:39:36 46f8d57c356c: Preparing 21:39:36 b6d7d252dea4: Preparing 21:39:36 4bde1a510dc8: Preparing 21:39:36 5d3e392a13a0: Preparing 21:39:36 5d3e392a13a0: Waiting 21:39:36 14a3680a3f57: Pushed 21:39:36 4bde1a510dc8: Pushed 21:39:36 46f8d57c356c: Pushed 21:39:36 5d3e392a13a0: Layer already exists 21:39:37 b6d7d252dea4: Pushed 21:39:42 b2cfaf5a717b: Pushed 21:39:42 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae: digest: sha256:779d9e36ee0df565e7fb57b05d92536c04dcb1059413b4727dd770caab00fc0a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:39:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:39:43 b2cfaf5a717b: Preparing 21:39:43 14a3680a3f57: Preparing 21:39:43 46f8d57c356c: Preparing 21:39:43 b6d7d252dea4: Preparing 21:39:43 4bde1a510dc8: Preparing 21:39:43 5d3e392a13a0: Preparing 21:39:43 5d3e392a13a0: Waiting 21:39:43 4bde1a510dc8: Layer already exists 21:39:43 14a3680a3f57: Layer already exists 21:39:43 b6d7d252dea4: Layer already exists 21:39:43 b2cfaf5a717b: Layer already exists 21:39:43 46f8d57c356c: Layer already exists 21:39:43 5d3e392a13a0: Layer already exists 21:39:43 latest: digest: sha256:779d9e36ee0df565e7fb57b05d92536c04dcb1059413b4727dd770caab00fc0a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.20 21:39:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:39:44 b2cfaf5a717b: Preparing 21:39:44 14a3680a3f57: Preparing 21:39:44 46f8d57c356c: Preparing 21:39:44 b6d7d252dea4: Preparing 21:39:44 4bde1a510dc8: Preparing 21:39:44 5d3e392a13a0: Preparing 21:39:44 5d3e392a13a0: Waiting 21:39:44 4bde1a510dc8: Layer already exists 21:39:44 46f8d57c356c: Layer already exists 21:39:44 14a3680a3f57: Layer already exists 21:39:44 b2cfaf5a717b: Layer already exists 21:39:44 b6d7d252dea4: Layer already exists 21:39:44 5d3e392a13a0: Layer already exists 21:39:45 2.3.0-dev.20: digest: sha256:779d9e36ee0df565e7fb57b05d92536c04dcb1059413b4727dd770caab00fc0a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20 21:39:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:39:45 b2cfaf5a717b: Preparing 21:39:45 14a3680a3f57: Preparing 21:39:45 46f8d57c356c: Preparing 21:39:45 b6d7d252dea4: Preparing 21:39:45 4bde1a510dc8: Preparing 21:39:45 5d3e392a13a0: Preparing 21:39:45 5d3e392a13a0: Waiting 21:39:45 b6d7d252dea4: Layer already exists 21:39:45 46f8d57c356c: Layer already exists 21:39:45 14a3680a3f57: Layer already exists 21:39:45 b2cfaf5a717b: Layer already exists 21:39:45 4bde1a510dc8: Layer already exists 21:39:45 5d3e392a13a0: Layer already exists 21:39:45 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20: digest: sha256:779d9e36ee0df565e7fb57b05d92536c04dcb1059413b4727dd770caab00fc0a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 21:39:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:39:46 b2cfaf5a717b: Preparing 21:39:46 14a3680a3f57: Preparing 21:39:46 46f8d57c356c: Preparing 21:39:46 b6d7d252dea4: Preparing 21:39:46 4bde1a510dc8: Preparing 21:39:46 5d3e392a13a0: Preparing 21:39:46 5d3e392a13a0: Waiting 21:39:46 46f8d57c356c: Layer already exists 21:39:46 4bde1a510dc8: Layer already exists 21:39:46 b6d7d252dea4: Layer already exists 21:39:46 14a3680a3f57: Layer already exists 21:39:46 b2cfaf5a717b: Layer already exists 21:39:46 5d3e392a13a0: Layer already exists 21:39:46 main: digest: sha256:779d9e36ee0df565e7fb57b05d92536c04dcb1059413b4727dd770caab00fc0a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:39:46 ===================================================== [Pipeline] echo 21:39:47 taggedImages: 21:39:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae 21:39:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:39:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.20 21:39:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:48c3520914e7ddb9ffda7de700a6b80bd4b3dbae-2.3.0-dev.20 21:39:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:47 21:39:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:39:47 arm64: Pulling from edgex-lftools-log-publisher 21:39:47 8998bd30e6a1: Pulling fs layer 21:39:47 04944245beec: Pulling fs layer 21:39:47 699f458cf7ca: Pulling fs layer 21:39:47 765212b225bb: Pulling fs layer 21:39:47 f23df028b6ca: Pulling fs layer 21:39:47 d65c8cfc05b1: Pulling fs layer 21:39:47 2437ff75d9bd: Pulling fs layer 21:39:47 765212b225bb: Waiting 21:39:47 f23df028b6ca: Waiting 21:39:47 d65c8cfc05b1: Waiting 21:39:47 2437ff75d9bd: Waiting 21:39:47 04944245beec: Verifying Checksum 21:39:47 04944245beec: Download complete 21:39:47 765212b225bb: Verifying Checksum 21:39:47 765212b225bb: Download complete 21:39:47 f23df028b6ca: Verifying Checksum 21:39:47 f23df028b6ca: Download complete 21:39:47 d65c8cfc05b1: Verifying Checksum 21:39:47 d65c8cfc05b1: Download complete 21:39:47 699f458cf7ca: Verifying Checksum 21:39:47 699f458cf7ca: Download complete 21:39:48 8998bd30e6a1: Verifying Checksum 21:39:48 8998bd30e6a1: Download complete 21:39:51 2437ff75d9bd: Verifying Checksum 21:39:51 2437ff75d9bd: Download complete 21:39:52 8998bd30e6a1: Pull complete 21:39:52 04944245beec: Pull complete 21:39:54 699f458cf7ca: Pull complete 21:39:54 765212b225bb: Pull complete 21:39:55 f23df028b6ca: Pull complete 21:39:55 d65c8cfc05b1: Pull complete 21:40:10 2437ff75d9bd: Pull complete 21:40:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:40:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:40:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:10 prd-ubuntu20.04-docker-arm64-4c-16g-1433 does not seem to be running inside a container 21:40:10 $ 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/56 -v /w/workspace/device-virtual-go/56:/w/workspace/device-virtual-go/56:rw,z -v /w/workspace/device-virtual-go/56@tmp:/w/workspace/device-virtual-go/56@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:40:12 $ docker top 79824b1431fbd13a4dc9ddbf0cd7275390ceee872cf586b438550d598bd39535 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:13 ---> job-cost.sh 21:40:13 lf-activate-venv: SKIPPING 21:40:13 INFO: No Stack... 21:40:14 INFO: Retrieving Pricing Info for: v3-standard-4 21:40:14 INFO: Archiving Costs [Pipeline] sh 21:40:14 + cat /w/workspace/device-virtual-go/56/archives/cost.csv 21:40:14 + cut -d, -f6 [Pipeline] lock 21:40:15 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-56-stack-cost] 21:40:15 Resource [jenkins-edgexfoundry-device-virtual-go-main-56-stack-cost] did not exist. Created. 21:40:15 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:40:15 /w/workspace/device-virtual-go/56@tmp/durable-5077faee/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:40:16 + echo total: 0.10999999940395355 [Pipeline] stash 21:40:16 Warning: overwriting stash ‘stack-cost’ 21:40:16 Stashed 1 file(s) [Pipeline] } 21:40:16 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 21:40:16 $ docker stop --time=1 79824b1431fbd13a4dc9ddbf0cd7275390ceee872cf586b438550d598bd39535 21:40:17 $ docker rm -f 79824b1431fbd13a4dc9ddbf0cd7275390ceee872cf586b438550d598bd39535 [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:40:18 provisioning config files... 21:40:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4401627858891632670tmp [Pipeline] { [Pipeline] sh 21:40:18 + set +x 21:40:18 + curl -s https://codecov.io/bash 21:40:18 + bash -s -- 21:40:18 21:40:18 _____ _ 21:40:18 / ____| | | 21:40:18 | | ___ __| | ___ ___ _____ __ 21:40:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:40:18 | |___| (_) | (_| | __/ (_| (_) \ V / 21:40:18 \_____\___/ \__,_|\___|\___\___/ \_/ 21:40:18 Bash-1.0.6 21:40:18 21:40:18 21:40:18 ==> git version 2.25.1 found 21:40:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:40:18 Release-Date: 2020-01-08 21:40:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:40:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:40:18 ==> Jenkins CI detected. 21:40:18 current dir:  /w/workspace/exfoundry_device-virtual-go_main 21:40:18 project root: . 21:40:18 --> token set from env 21:40:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:40:18 ==> Running gcov in . (disable via -X gcov) 21:40:18 ==> Python coveragepy not found 21:40:18 ==> Searching for coverage reports in: 21:40:18 + . 21:40:18 -> Found 1 reports 21:40:18 ==> Detecting git/mercurial file structure 21:40:18 ==> Reading reports 21:40:18 + ./coverage.out bytes=44128 21:40:18 ==> Appending adjustments 21:40:18 https://docs.codecov.io/docs/fixing-reports 21:40:18 + Found adjustments 21:40:18 ==> Gzipping contents 21:40:18 8.0K /tmp/codecov.z5tf0t.gz 21:40:18 ==> Uploading reports 21:40:18 url: https://codecov.io 21:40:18 query: branch=main&commit=48c3520914e7ddb9ffda7de700a6b80bd4b3dbae&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:40:18 -> Pinging Codecov 21:40:18 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=48c3520914e7ddb9ffda7de700a6b80bd4b3dbae&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:40:18 -> Uploading to 21:40:18 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/5E52B4B073DB2E39498172D8E973AA87/48c3520914e7ddb9ffda7de700a6b80bd4b3dbae/805296cc-4eff-4999-af2a-680fd6a8aae0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T214018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc0d006b8b57ed4b8d765cf6397cc54abc4751ce5692e37768621f2768085733 21:40:18 % Total % Received % Xferd Average Speed Time Time Time Current 21:40:18 Dload Upload Total Spent Left Speed 21:40:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5493 0 0 100 5493 0 22149 --:--:-- --:--:-- --:--:-- 22149 21:40:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [Pipeline] } 21:40:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:40:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:40:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:40:19 21:40:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:40:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:40:19 df9b9388f04a: Pulling fs layer 21:40:19 52dc419b0ee2: Pulling fs layer 21:40:19 25bc292e5bac: Pulling fs layer 21:40:19 114826534d7a: Pulling fs layer 21:40:19 4657fd5d0bcf: Pulling fs layer 21:40:19 6ad1cebc031e: Pulling fs layer 21:40:19 8a3aa393b2d8: Pulling fs layer 21:40:19 4657fd5d0bcf: Waiting 21:40:19 6ad1cebc031e: Waiting 21:40:19 8a3aa393b2d8: Waiting 21:40:19 114826534d7a: Waiting 21:40:19 25bc292e5bac: Download complete 21:40:19 52dc419b0ee2: Download complete 21:40:19 4657fd5d0bcf: Verifying Checksum 21:40:19 4657fd5d0bcf: Download complete 21:40:19 df9b9388f04a: Verifying Checksum 21:40:19 df9b9388f04a: Download complete 21:40:20 df9b9388f04a: Pull complete 21:40:20 6ad1cebc031e: Verifying Checksum 21:40:20 6ad1cebc031e: Download complete 21:40:20 52dc419b0ee2: Pull complete 21:40:20 25bc292e5bac: Pull complete 21:40:20 114826534d7a: Verifying Checksum 21:40:20 114826534d7a: Download complete 21:40:20 8a3aa393b2d8: Verifying Checksum 21:40:20 8a3aa393b2d8: Download complete 21:40:23 114826534d7a: Pull complete 21:40:24 4657fd5d0bcf: Pull complete 21:40:24 6ad1cebc031e: Pull complete 21:40:27 8a3aa393b2d8: Pull complete 21:40:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:40:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:40:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:27 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:40:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:40:29 $ docker top 87c2100aaad4c780d64b9e396ef1f8f75861e59b03cf3334b7cb25db0e829277 -eo pid,comm [Pipeline] { [Pipeline] echo 21:40:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 21:40:29 + set -o pipefail 21:40:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 21:40:36 21:40:36 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 21:40:36 21:40:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/f9f77c67-012e-4d0c-8c91-ecc80e06ec7f 21:40:36 21:40:36 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:40:36 21:40:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:40:36 21:40:36 [Pipeline] } 21:40:36 $ docker stop --time=1 87c2100aaad4c780d64b9e396ef1f8f75861e59b03cf3334b7cb25db0e829277 21:40:38 $ docker rm -f 87c2100aaad4c780d64b9e396ef1f8f75861e59b03cf3334b7cb25db0e829277 [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:40:39 + git log --format=format:%s -1 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae [Pipeline] sh 21:40:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:40:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:40:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:39 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:40:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:40:40 $ docker top 5569f97f3d860f6a5c950af074c2eccd213b77862390c7078821ba02e0f4f660 -eo pid,comm 21:40:40 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:40:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:40:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:40:40 [ssh-agent] Looking for ssh-agent implementation... 21:40:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:40:40 $ docker exec 5569f97f3d860f6a5c950af074c2eccd213b77862390c7078821ba02e0f4f660 ssh-agent 21:40:40 SSH_AUTH_SOCK=/tmp/ssh-NfgyVNmirnuM/agent.33 21:40:40 SSH_AGENT_PID=39 21:40:40 Running ssh-add (command line suppressed) 21:40:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4449090252156268853.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4449090252156268853.key) 21:40:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:40:41 + git semver tag 21:40:41 2022-09-27 21:40:41,193 [run_tag] DEBUG tag force:False 21:40:41 2022-09-27 21:40:41,193 [check_head_tag] DEBUG check head tag 21:40:41 2022-09-27 21:40:41,194 [execute] INFO git cat-file --batch-check 21:40:41 2022-09-27 21:40:41,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:40:41 2022-09-27 21:40:41,199 [execute] INFO git cat-file --batch 21:40:41 2022-09-27 21:40:41,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:40:41 2022-09-27 21:40:41,213 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:40:41 2022-09-27 21:40:41,213 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 21:40:41 2022-09-27 21:40:41,214 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 21:40:41 2022-09-27 21:40:41,219 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:40:41 2.3.0-dev.20 [Pipeline] } 21:40:41 $ docker exec --env ******** --env ******** 5569f97f3d860f6a5c950af074c2eccd213b77862390c7078821ba02e0f4f660 ssh-agent -k 21:40:41 unset SSH_AUTH_SOCK; 21:40:41 unset SSH_AGENT_PID; 21:40:41 echo Agent pid 39 killed; 21:40:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:40:41 + git semver [Pipeline] } 21:40:41 $ docker stop --time=1 5569f97f3d860f6a5c950af074c2eccd213b77862390c7078821ba02e0f4f660 21:40:43 $ docker rm -f 5569f97f3d860f6a5c950af074c2eccd213b77862390c7078821ba02e0f4f660 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:40:43 21:40:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:40:43 0.23.1-centos7: Pulling from edgex-lftools 21:40:43 ab5ef0e58194: Pulling fs layer 21:40:43 9712f1f96733: Pulling fs layer 21:40:43 63f879dbbcfc: Pulling fs layer 21:40:43 0d9ebad4ef96: Pulling fs layer 21:40:43 e9a5061849ea: Pulling fs layer 21:40:43 d747dcd14b5f: Pulling fs layer 21:40:43 2de7ff778b66: Pulling fs layer 21:40:43 e9a5061849ea: Waiting 21:40:43 d747dcd14b5f: Waiting 21:40:43 0d9ebad4ef96: Waiting 21:40:43 2de7ff778b66: Waiting 21:40:43 9712f1f96733: Verifying Checksum 21:40:43 9712f1f96733: Download complete 21:40:44 63f879dbbcfc: Verifying Checksum 21:40:44 63f879dbbcfc: Download complete 21:40:44 0d9ebad4ef96: Verifying Checksum 21:40:44 0d9ebad4ef96: Download complete 21:40:44 ab5ef0e58194: Verifying Checksum 21:40:44 ab5ef0e58194: Download complete 21:40:44 d747dcd14b5f: Verifying Checksum 21:40:44 d747dcd14b5f: Download complete 21:40:44 e9a5061849ea: Download complete 21:40:44 2de7ff778b66: Verifying Checksum 21:40:44 2de7ff778b66: Download complete 21:40:47 ab5ef0e58194: Pull complete 21:40:47 9712f1f96733: Pull complete 21:40:48 63f879dbbcfc: Pull complete 21:40:52 0d9ebad4ef96: Pull complete 21:40:52 e9a5061849ea: Pull complete 21:40:52 d747dcd14b5f: Pull complete 21:40:53 2de7ff778b66: Pull complete 21:40:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:40:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:40:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:53 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:40:54 $ docker top ca1f158ec065f954635a3d7263799cda818473bd2d4fef8fad95d82ff071e5f7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:40:54 provisioning config files... 21:40:54 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8530009453602472656tmp 21:40:54 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3536359971382396549tmp 21:40:54 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3318138628560027271tmp [Pipeline] { [Pipeline] echo 21:40:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:40:55 ---> sigul-configuration.sh 21:40:55 gpg: directory `/root/.gnupg' created 21:40:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:40:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:40:55 gpg: keyring `/root/.gnupg/secring.gpg' created 21:40:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:40:55 gpg: CAST5 encrypted data 21:40:55 gpg: encrypted with 1 passphrase 21:40:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:40:55 + mkdir /home/jenkins 21:40:55 + mkdir /home/jenkins/sigul [Pipeline] sh 21:40:55 + 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:40:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:40:56 ---> sigul-install.sh 21:40:56 Sigul already installed; skipping installation. [Pipeline] sh 21:40:56 + git tag --list 21:40:56 v1.0.0 21:40:56 v1.1.0 21:40:56 v1.1.1 21:40:56 v1.2.1 21:40:56 v1.2.2 21:40:56 v1.2.3 21:40:56 v1.3.0 21:40:56 v1.3.1 21:40:56 v2.0.0 21:40:56 v2.1.0 21:40:56 v2.1.1 21:40:56 v2.1.1-dev.1 21:40:56 v2.1.1-dev.2 21:40:56 v2.2.0 21:40:56 v2.2.1-dev.1 21:40:56 v2.2.1-dev.2 21:40:56 v2.2.1-dev.3 21:40:56 v2.2.1-dev.4 21:40:56 v2.2.1-dev.5 21:40:56 v2.2.1-dev.6 21:40:56 v2.2.1-dev.7 21:40:56 v2.2.1-dev.8 21:40:56 v2.3.0-dev.10 21:40:56 v2.3.0-dev.11 21:40:56 v2.3.0-dev.12 21:40:56 v2.3.0-dev.13 21:40:56 v2.3.0-dev.14 21:40:56 v2.3.0-dev.15 21:40:56 v2.3.0-dev.16 21:40:56 v2.3.0-dev.17 21:40:56 v2.3.0-dev.18 21:40:56 v2.3.0-dev.19 21:40:56 v2.3.0-dev.20 21:40:56 v2.3.0-dev.8 21:40:56 v2.3.0-dev.9 [Pipeline] sh 21:40:56 + lftools sign git-tag v2.3.0-dev.20 21:40:57 Signing Git tag with Sigul... 21:40:57 Signing v2.3.0-dev.20 [Pipeline] echo 21:40:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:40:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:40:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:40:58 $ docker stop --time=1 ca1f158ec065f954635a3d7263799cda818473bd2d4fef8fad95d82ff071e5f7 21:40:59 $ docker rm -f ca1f158ec065f954635a3d7263799cda818473bd2d4fef8fad95d82ff071e5f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:40:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:40:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:41:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:00 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:41:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:41:00 $ docker top c32dcc50673f417af8e67b299f2d690dd18df35da7788bfb1e1713e5f9e7ac79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:41:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:41:00 [ssh-agent] Looking for ssh-agent implementation... 21:41:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:41:00 $ docker exec c32dcc50673f417af8e67b299f2d690dd18df35da7788bfb1e1713e5f9e7ac79 ssh-agent 21:41:00 SSH_AUTH_SOCK=/tmp/ssh-1MHnw9B7tsCg/agent.32 21:41:00 SSH_AGENT_PID=38 21:41:00 Running ssh-add (command line suppressed) 21:41:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_563240142693163606.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_563240142693163606.key) 21:41:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:41:01 + git semver bump pre 21:41:01 2022-09-27 21:41:01,499 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:01 2022-09-27 21:41:01,499 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev 21:41:01 2022-09-27 21:41:01,499 [bump_version] DEBUG bumped version:2.3.0-dev.21 21:41:01 2022-09-27 21:41:01,499 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 21:41:01 2022-09-27 21:41:01,499 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:01 2022-09-27 21:41:01,499 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:01 2022-09-27 21:41:01,501 [execute] INFO git cat-file --batch-check 21:41:01 2022-09-27 21:41:01,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:41:01 2022-09-27 21:41:01,506 [execute] INFO git cat-file --batch 21:41:01 2022-09-27 21:41:01,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:41:01 2022-09-27 21:41:01,512 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:01 2.3.0-dev.21 [Pipeline] } 21:41:01 $ docker exec --env ******** --env ******** c32dcc50673f417af8e67b299f2d690dd18df35da7788bfb1e1713e5f9e7ac79 ssh-agent -k 21:41:01 unset SSH_AUTH_SOCK; 21:41:01 unset SSH_AGENT_PID; 21:41:01 echo Agent pid 38 killed; 21:41:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:41:01 + git semver [Pipeline] } 21:41:02 $ docker stop --time=1 c32dcc50673f417af8e67b299f2d690dd18df35da7788bfb1e1713e5f9e7ac79 21:41:03 $ docker rm -f c32dcc50673f417af8e67b299f2d690dd18df35da7788bfb1e1713e5f9e7ac79 [Pipeline] // withDockerContainer [Pipeline] sh 21:41:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:41:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:41:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:04 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:41:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:41:04 $ docker top 081b57320f2adc09ddf61368ed89eaf6565a3a9d53197a2d0c9a8ad816aa1db8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:41:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:41:04 [ssh-agent] Looking for ssh-agent implementation... 21:41:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:41:04 $ docker exec 081b57320f2adc09ddf61368ed89eaf6565a3a9d53197a2d0c9a8ad816aa1db8 ssh-agent 21:41:04 SSH_AUTH_SOCK=/tmp/ssh-UdkT91RZBtJW/agent.33 21:41:04 SSH_AGENT_PID=39 21:41:04 Running ssh-add (command line suppressed) 21:41:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17267306253802673270.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17267306253802673270.key) 21:41:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:41:05 + git semver push 21:41:05 2022-09-27 21:41:05,521 [run_push] DEBUG push 21:41:05 2022-09-27 21:41:05,522 [execute] INFO git cat-file --batch-check 21:41:05 2022-09-27 21:41:05,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:41:05 2022-09-27 21:41:05,527 [execute] INFO git rev-list af24bb8f8596a480400cb3f0698bf09d8242e85a -- 21:41:05 2022-09-27 21:41:05,528 [execute] DEBUG Popen(['git', 'rev-list', 'af24bb8f8596a480400cb3f0698bf09d8242e85a', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:41:05 2022-09-27 21:41:05,535 [execute] INFO git fetch -v origin 21:41:05 2022-09-27 21:41:05,535 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:41:06 2022-09-27 21:41:06,220 [run_push] DEBUG no remote changes detected 21:41:06 2022-09-27 21:41:06,220 [execute] INFO git push origin semver 21:41:06 2022-09-27 21:41:06,221 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:41:07 2022-09-27 21:41:07,016 [run_push] DEBUG push all version tags 21:41:07 2022-09-27 21:41:07,017 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:41:07 2022-09-27 21:41:07,017 [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:41:08 2022-09-27 21:41:07,776 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:41:08 2.3.0-dev.21 [Pipeline] } 21:41:08 $ docker exec --env ******** --env ******** 081b57320f2adc09ddf61368ed89eaf6565a3a9d53197a2d0c9a8ad816aa1db8 ssh-agent -k 21:41:08 unset SSH_AUTH_SOCK; 21:41:08 unset SSH_AGENT_PID; 21:41:08 echo Agent pid 39 killed; 21:41:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:41:08 + git semver [Pipeline] } 21:41:08 $ docker stop --time=1 081b57320f2adc09ddf61368ed89eaf6565a3a9d53197a2d0c9a8ad816aa1db8 21:41:10 $ docker rm -f 081b57320f2adc09ddf61368ed89eaf6565a3a9d53197a2d0c9a8ad816aa1db8 [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:41:10 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 21:41:10 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 21:41:10 total 16 21:41:10 drwxr-xr-x 3 root root 4096 Sep 27 21:33 . 21:41:10 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:40 .. 21:41:10 drwxr-xr-x 2 root root 4096 Sep 27 21:33 cost 21:41:10 -rw-r--r-- 1 root root 88 Sep 27 21:33 cost.csv 21:41:10 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 21:41:10 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 21:41:10 total 16 21:41:10 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:33 . 21:41:10 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:40 .. 21:41:10 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:33 cost 21:41:10 -rw-r--r-- 1 jenkins jenkins 88 Sep 27 21:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:41:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:41:11 ---> package-listing.sh 21:41:11 ++ facter osfamily 21:41:11 ++ tr '[:upper:]' '[:lower:]' 21:41:11 + OS_FAMILY=debian 21:41:11 + workspace=/w/workspace/exfoundry_device-virtual-go_main 21:41:11 + START_PACKAGES=/tmp/packages_start.txt 21:41:11 + END_PACKAGES=/tmp/packages_end.txt 21:41:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:41:11 + PACKAGES=/tmp/packages_start.txt 21:41:11 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 21:41:11 + PACKAGES=/tmp/packages_end.txt 21:41:11 + case "${OS_FAMILY}" in 21:41:11 + dpkg -l 21:41:11 + grep '^ii' 21:41:11 + '[' -f /tmp/packages_start.txt ']' 21:41:11 + '[' -f /tmp/packages_end.txt ']' 21:41:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:41:11 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 21:41:11 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 21:41:11 + 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:41: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:41:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:41:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:12 prd-ubuntu20.04-docker-8c-8g-1432 does not seem to be running inside a container 21:41: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:41:13 $ docker top 335fbb8c194cd5aae727d9ced90603fcc6f8bb606b076c4e2f20a2e84e92a6a3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:41:13 + touch /tmp/pre-build-complete [Pipeline] sh 21:41:13 + mkdir -p /var/log/sysstat [Pipeline] sh 21:41:14 + ls /var/log/sa-host 21:41:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:14 provisioning config files... 21:41:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11183067261982686184tmp [Pipeline] { [Pipeline] echo 21:41:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:41:14 ---> create-netrc.sh [Pipeline] } 21:41:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:41:14 ---> python-tools-install.sh [Pipeline] echo 21:41:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:41:15 ---> sudo-logs.sh 21:41:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:41:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:41:15 ---> job-cost.sh 21:41:15 lf-activate-venv: SKIPPING 21:41:15 DEBUG: total: 0.2199999988079071 21:41:15 INFO: Retrieving Stack Cost... 21:41:16 INFO: Retrieving Pricing Info for: v3-standard-8 21:41:16 INFO: Archiving Costs [Pipeline] echo 21:41:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:41:16 ---> logs-deploy.sh 21:41:16 lf-activate-venv: SKIPPING 21:41:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/56 21:41:16 INFO: archiving workspace using pattern(s): 21:41:17 Archives upload complete. 21:41:17 INFO: archiving logs to Nexus