Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4fde29d6fb1a32cee08b75cf09049e5481e19570 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-ssh2668847557292373445.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-ssh9973945712616374856.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-ssh2211993659009961036.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-ssh3868284264385078985.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-ssh11407253294629448180.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8312 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 4fde29d6fb1a32cee08b75cf09049e5481e19570 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4fde29d6fb1a32cee08b75cf09049e5481e19570 # timeout=10 Commit message: "Merge pull request #314 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" > git rev-list --no-walk 2ecf0fc734cc14a642189e470a894444964f864e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:26:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:26:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:26:30 ========================================================= 14:26:30 EdgeX Global Pipelines Version Info 14:26:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:26:31 ------------------- 14:26:31 stable info: 14:26:31 ------------------- 14:26:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:26:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:26:31 Message: update stable to v1.0.239 14:26:31 ------------------- 14:26:31 experimental info: 14:26:31 ------------------- 14:26:31 Commited By: **** collab-it+edgex@linuxfoundation.org 14:26:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:26:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4fde29d6fb1a32cee08b75cf09049e5481e19570 [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4fde29d [Pipeline] echo 14:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:26:32 provisioning config files... 14:26:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7986472783991672152tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:32 ---> docker-login.sh 14:26:32 nexus3.edgexfoundry.org:10001 14:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:33 Configure a credential helper to remove this warning. See 14:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:33 14:26:33 Login Succeeded 14:26:33 nexus3.edgexfoundry.org:10002 14:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:33 Configure a credential helper to remove this warning. See 14:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:33 14:26:33 Login Succeeded 14:26:33 nexus3.edgexfoundry.org:10003 14:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:33 Configure a credential helper to remove this warning. See 14:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:33 14:26:33 Login Succeeded 14:26:33 nexus3.edgexfoundry.org:10004 14:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:33 Configure a credential helper to remove this warning. See 14:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:33 14:26:33 Login Succeeded 14:26:33 docker.io 14:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:34 Configure a credential helper to remove this warning. See 14:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:34 14:26:34 Login Succeeded 14:26:34 ---> docker-login.sh ends [Pipeline] } 14:26:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:26:34 + git rev-list -1 --merges 4fde29d6fb1a32cee08b75cf09049e5481e19570~1..4fde29d6fb1a32cee08b75cf09049e5481e19570 [Pipeline] echo 14:26:34 -----------> git rev-list -1 --merges 4fde29d6fb1a32cee08b75cf09049e5481e19570~1..4fde29d6fb1a32cee08b75cf09049e5481e19570 4fde29d6fb1a32cee08b75cf09049e5481e19570 14:26:34 4fde29d6fb1a32cee08b75cf09049e5481e19570 [false] [Pipeline] sh 14:26:34 + git log --format=format:%s -1 4fde29d6fb1a32cee08b75cf09049e5481e19570 [Pipeline] echo 14:26:34 ========================================================= 14:26:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:26:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:26:35 + git log --format=format:%s -1 4fde29d6fb1a32cee08b75cf09049e5481e19570 [Pipeline] echo 14:26:35 [semverPrep] GIT_COMMIT: 4fde29d6fb1a32cee08b75cf09049e5481e19570, Commit Message: Merge pull request #314 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40 [Pipeline] echo 14:26:35 [semverPrep] This is not a build commit. [Pipeline] sh 14:26:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:26:35 + grep -v github /etc/ssh/ssh_known_hosts 14:26:35 + [ -e /tmp/ssh_known_hosts ] 14:26:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:26:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:26:35 + sudo tee -a /etc/ssh/ssh_known_hosts 14:26:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:26:36 14:26:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:26:36 0.1.4: Pulling from edgex-devops/py-git-semver 14:26:36 b85a868b505f: Pulling fs layer 14:26:36 e2be974225ed: Pulling fs layer 14:26:36 339a4e72a1f5: Pulling fs layer 14:26:36 988bab9f4d93: Pulling fs layer 14:26:36 1469e6f7b9e6: Pulling fs layer 14:26:36 eaf3925da568: Pulling fs layer 14:26:36 bab4dde63d76: Pulling fs layer 14:26:36 bde34c3a00c8: Pulling fs layer 14:26:36 b352a97aabf1: Pulling fs layer 14:26:36 4872d77fe225: Pulling fs layer 14:26:36 5851b861e8e6: Pulling fs layer 14:26:36 1469e6f7b9e6: Waiting 14:26:36 b352a97aabf1: Waiting 14:26:36 eaf3925da568: Waiting 14:26:36 bab4dde63d76: Waiting 14:26:36 4872d77fe225: Waiting 14:26:36 5851b861e8e6: Waiting 14:26:36 988bab9f4d93: Waiting 14:26:36 bde34c3a00c8: Waiting 14:26:36 e2be974225ed: Verifying Checksum 14:26:36 e2be974225ed: Download complete 14:26:36 988bab9f4d93: Verifying Checksum 14:26:36 988bab9f4d93: Download complete 14:26:36 1469e6f7b9e6: Verifying Checksum 14:26:36 1469e6f7b9e6: Download complete 14:26:36 339a4e72a1f5: Verifying Checksum 14:26:36 339a4e72a1f5: Download complete 14:26:36 eaf3925da568: Verifying Checksum 14:26:36 eaf3925da568: Download complete 14:26:36 bde34c3a00c8: Verifying Checksum 14:26:36 bde34c3a00c8: Download complete 14:26:36 b352a97aabf1: Verifying Checksum 14:26:36 b352a97aabf1: Download complete 14:26:36 4872d77fe225: Verifying Checksum 14:26:36 4872d77fe225: Download complete 14:26:36 5851b861e8e6: Verifying Checksum 14:26:36 5851b861e8e6: Download complete 14:26:36 b85a868b505f: Download complete 14:26:36 bab4dde63d76: Verifying Checksum 14:26:36 bab4dde63d76: Download complete 14:26:37 b85a868b505f: Pull complete 14:26:38 e2be974225ed: Pull complete 14:26:38 339a4e72a1f5: Pull complete 14:26:38 988bab9f4d93: Pull complete 14:26:38 1469e6f7b9e6: Pull complete 14:26:38 eaf3925da568: Pull complete 14:26:40 bab4dde63d76: Pull complete 14:26:40 bde34c3a00c8: Pull complete 14:26:41 b352a97aabf1: Pull complete 14:26:41 4872d77fe225: Pull complete 14:26:41 5851b861e8e6: Pull complete 14:26:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:26:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:26:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:41 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:26:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:26:43 $ docker top c11dd340dcdfc9c56ab94898c6ddefc9a9d000f673230e6954bd36add8d2680b -eo pid,comm 14:26:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:26:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:26:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:43 [ssh-agent] Looking for ssh-agent implementation... 14:26:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:44 $ docker exec c11dd340dcdfc9c56ab94898c6ddefc9a9d000f673230e6954bd36add8d2680b ssh-agent 14:26:44 SSH_AUTH_SOCK=/tmp/ssh-XnHdAw5nJQcB/agent.32 14:26:44 SSH_AGENT_PID=38 14:26:44 Running ssh-add (command line suppressed) 14:26:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9759464670840917163.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9759464670840917163.key) 14:26:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:44 + git tag --points-at HEAD [Pipeline] } 14:26:44 $ docker exec --env ******** --env ******** c11dd340dcdfc9c56ab94898c6ddefc9a9d000f673230e6954bd36add8d2680b ssh-agent -k 14:26:44 unset SSH_AUTH_SOCK; 14:26:44 unset SSH_AGENT_PID; 14:26:44 echo Agent pid 38 killed; 14:26:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:26:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:26:44 [ssh-agent] Looking for ssh-agent implementation... 14:26:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:26:44 $ docker exec c11dd340dcdfc9c56ab94898c6ddefc9a9d000f673230e6954bd36add8d2680b ssh-agent 14:26:45 SSH_AUTH_SOCK=/tmp/ssh-PdLMKW1orfUv/agent.71 14:26:45 SSH_AGENT_PID=77 14:26:45 Running ssh-add (command line suppressed) 14:26:45 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15272452288897923831.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15272452288897923831.key) 14:26:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:26:45 + git semver init 14:26:45 2022-10-17 14:26:45,627 [run_init] DEBUG init version:0.0.0 force:False 14:26:45 2022-10-17 14:26:45,627 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 14:26:45 2022-10-17 14:26:45,628 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 14:26:45 2022-10-17 14:26:45,628 [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) 14:26:47 2022-10-17 14:26:46,822 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 14:26:47 2022-10-17 14:26:46,823 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 14:26:47 2022-10-17 14:26:46,823 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:26:47 2022-10-17 14:26:46,823 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:26:47 2.3.0-dev.25 [Pipeline] } 14:26:47 $ docker exec --env ******** --env ******** c11dd340dcdfc9c56ab94898c6ddefc9a9d000f673230e6954bd36add8d2680b ssh-agent -k 14:26:47 unset SSH_AUTH_SOCK; 14:26:47 unset SSH_AGENT_PID; 14:26:47 echo Agent pid 77 killed; 14:26:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:26:47 + git semver [Pipeline] } 14:26:47 $ docker stop --time=1 c11dd340dcdfc9c56ab94898c6ddefc9a9d000f673230e6954bd36add8d2680b 14:26:49 $ docker rm -f c11dd340dcdfc9c56ab94898c6ddefc9a9d000f673230e6954bd36add8d2680b [Pipeline] // withDockerContainer [Pipeline] sh 14:26:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:26:49 Stashed 1 file(s) [Pipeline] echo 14:26:49 [edgeXSemver]: initialized semver on version 2.3.0-dev.25 [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 14:26:49 provisioning config files... 14:26:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9387110710698618992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:50 ---> docker-login.sh 14:26:50 nexus3.edgexfoundry.org:10001 14:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:50 Configure a credential helper to remove this warning. See 14:26:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:50 14:26:50 Login Succeeded 14:26:50 nexus3.edgexfoundry.org:10002 14:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:50 Configure a credential helper to remove this warning. See 14:26:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:50 14:26:50 Login Succeeded 14:26:50 nexus3.edgexfoundry.org:10003 14:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:50 Configure a credential helper to remove this warning. See 14:26:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:50 14:26:50 Login Succeeded 14:26:50 nexus3.edgexfoundry.org:10004 14:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:50 Configure a credential helper to remove this warning. See 14:26:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:50 14:26:50 Login Succeeded 14:26:50 docker.io 14:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:26:50 Configure a credential helper to remove this warning. See 14:26:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:26:50 14:26:50 Login Succeeded 14:26:50 ---> docker-login.sh ends [Pipeline] } 14:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:26:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:26:50 ========================================================= 14:26:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:26:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:51 + 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 . 14:26:51 Sending build context to Docker daemon 23.19MB 14:26:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:26:51 Step 2/13 : FROM ${BASE} AS builder 14:26:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:26:51 213ec9aee27d: Pulling fs layer 14:26:51 4583459ba037: Pulling fs layer 14:26:51 93c1e223e6f2: Pulling fs layer 14:26:51 53926ce57604: Pulling fs layer 14:26:51 21b2b0c7a3f4: Pulling fs layer 14:26:51 30f14e443154: Pulling fs layer 14:26:51 801331c1e519: Pulling fs layer 14:26:51 99cc6dd402b0: Pulling fs layer 14:26:51 7d9ed39f4882: Pulling fs layer 14:26:51 30f14e443154: Waiting 14:26:51 801331c1e519: Waiting 14:26:51 99cc6dd402b0: Waiting 14:26:51 7d9ed39f4882: Waiting 14:26:51 53926ce57604: Waiting 14:26:51 21b2b0c7a3f4: Waiting 14:26:51 93c1e223e6f2: Verifying Checksum 14:26:51 93c1e223e6f2: Download complete 14:26:51 4583459ba037: Download complete 14:26:51 21b2b0c7a3f4: Download complete 14:26:51 30f14e443154: Download complete 14:26:51 213ec9aee27d: Verifying Checksum 14:26:51 213ec9aee27d: Download complete 14:26:51 801331c1e519: Download complete 14:26:51 213ec9aee27d: Pull complete 14:26:51 4583459ba037: Pull complete 14:26:51 93c1e223e6f2: Pull complete 14:26:51 7d9ed39f4882: Verifying Checksum 14:26:51 7d9ed39f4882: Download complete 14:26:51 99cc6dd402b0: Verifying Checksum 14:26:51 99cc6dd402b0: Download complete 14:26:52 53926ce57604: Verifying Checksum 14:26:52 53926ce57604: Download complete 14:26:56 53926ce57604: Pull complete 14:26:56 21b2b0c7a3f4: Pull complete 14:26:56 30f14e443154: Pull complete 14:26:56 801331c1e519: Pull complete 14:26:58 99cc6dd402b0: Pull complete 14:26:58 7d9ed39f4882: Pull complete 14:26:58 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 14:26:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:26:58 ---> 1dedd983c030 14:26:58 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:27:04 ---> Running in 78b77d76a367 14:27:04 Removing intermediate container 78b77d76a367 14:27:04 ---> 4144abecd474 14:27:04 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 14:27:04 ---> Running in af48c110f110 14:27:04 Removing intermediate container af48c110f110 14:27:04 ---> ccc224748d78 14:27:04 Step 5/13 : ARG ADD_BUILD_TAGS="" 14:27:04 ---> Running in 79288271c092 14:27:04 Removing intermediate container 79288271c092 14:27:04 ---> 321f468ad423 14:27:04 Step 6/13 : WORKDIR /device-virtual-go 14:27:04 ---> Running in 44e46f3711e6 14:27:04 Removing intermediate container 44e46f3711e6 14:27:04 ---> aa01edb00cf7 14:27:04 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:27:04 ---> Running in e340a39f7249 14:27:04 Removing intermediate container e340a39f7249 14:27:04 ---> 53b16c5b1f17 14:27:04 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:27:04 ---> Running in 14ac93707684 14:27:04 Still waiting to schedule task 14:27:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:27:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:27:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:27:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:27:06 (2/4) Installing libedit (20210910.3.1-r0) 14:27:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:27:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:27:06 Executing busybox-1.35.0-r17.trigger 14:27:06 OK: 216 MiB in 55 packages 14:27:07 Removing intermediate container 14ac93707684 14:27:07 ---> 61146129d3f5 14:27:07 Step 9/13 : COPY go.mod vendor* ./ 14:27:07 ---> 6dc1a9aacd9a 14:27:07 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:27:07 ---> Running in fe89dc1399a6 14:27:33 Removing intermediate container fe89dc1399a6 14:27:33 ---> 0fe5623c0545 14:27:33 Step 11/13 : COPY . . 14:27:33 ---> b57b9d6797b0 14:27:33 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:27:33 ---> Running in 9a40d042f3a5 14:27:33 Removing intermediate container 9a40d042f3a5 14:27:33 ---> 49c4150a0d3e 14:27:33 Step 13/13 : RUN $MAKE 14:27:33 ---> Running in 446f473ddaca 14:27:33 noop 14:27:33 Removing intermediate container 446f473ddaca 14:27:33 ---> f3b66ad5ae04 14:27:33 Successfully built f3b66ad5ae04 14:27:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:34 + docker inspect -f . ci-base-image-x86_64 14:27:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:34 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:27:34 $ 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 14:27:34 $ docker top 9dfca52117710de46edb23d94c64d9a84c2d6c2c53016026f787a3a70409d151 -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:34 + go version 14:27:34 go version go1.18.7 linux/amd64 [Pipeline] } 14:27:35 $ docker stop --time=1 9dfca52117710de46edb23d94c64d9a84c2d6c2c53016026f787a3a70409d151 14:27:36 $ docker rm -f 9dfca52117710de46edb23d94c64d9a84c2d6c2c53016026f787a3a70409d151 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:36 + docker inspect -f . ci-base-image-x86_64 14:27:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:36 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:27:36 $ 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 14:27:37 $ docker top e989717166863861fba9b0f8041290f55bc8ac47dfa3ec8385420869377d56fa -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:37 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 14:27:37 + make test 14:27:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:27:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:27:48 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:27:48 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 65.7% of statements 14:27:55 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." 14:27:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:27:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:27:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:27:58 ./bin/test-attribution-txt.sh [Pipeline] echo 14:27:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:27:58 $ docker stop --time=1 e989717166863861fba9b0f8041290f55bc8ac47dfa3ec8385420869377d56fa 14:28:01 $ docker rm -f e989717166863861fba9b0f8041290f55bc8ac47dfa3ec8385420869377d56fa [Pipeline] // withDockerContainer [Pipeline] sh 14:28:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:28:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:28:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:28:02 + ls -al . 14:28:02 total 200 14:28:02 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 14:27 . 14:28:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 14:26 .. 14:28:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 14:27 .git 14:28:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 14:26 .github 14:28:02 -rw-rw-r-- 1 jenkins jenkins 337 Oct 17 14:26 .gitignore 14:28:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 14:26 .golangci.yml 14:28:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 14:26 .semver 14:28:02 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 17 14:26 Attribution.txt 14:28:02 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 17 14:26 CHANGELOG.md 14:28:02 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 17 14:26 Dockerfile 14:28:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 14:26 GOVERNANCE.md 14:28:02 -rw-rw-r-- 1 jenkins jenkins 660 Oct 17 14:26 Jenkinsfile 14:28:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 14:26 LICENSE 14:28:02 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 17 14:26 Makefile 14:28:02 -rw-rw-r-- 1 jenkins jenkins 623 Oct 17 14:26 OWNERS.md 14:28:02 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 17 14:26 README.md 14:28:02 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 14:26 VERSION 14:28:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 14:26 bin 14:28:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 14:26 cmd 14:28:02 -rw-r--r-- 1 jenkins jenkins 44128 Oct 17 14:27 coverage.out 14:28:02 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 17 14:26 go.mod 14:28:02 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 17 14:26 go.sum 14:28:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 14:26 internal 14:28:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 14:26 snap 14:28:02 -rw-rw-r-- 1 jenkins jenkins 235 Oct 17 14:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:02 + 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=4fde29d6fb1a32cee08b75cf09049e5481e19570 --label arch=amd64 --label version=2.3.0-dev.25 . 14:28:02 Sending build context to Docker daemon 23.23MB 14:28:02 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 14:28:02 Step 2/27 : FROM ${BASE} AS builder 14:28:02 ---> f3b66ad5ae04 14:28:02 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:28:02 ---> Running in 07c3bb15fb42 14:28:02 Removing intermediate container 07c3bb15fb42 14:28:02 ---> 94f445c7d172 14:28:02 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 14:28:02 ---> Running in 0af4a18e7140 14:28:03 Removing intermediate container 0af4a18e7140 14:28:03 ---> 29c42ddf644d 14:28:03 Step 5/27 : ARG ADD_BUILD_TAGS="" 14:28:03 ---> Running in 3a47b6beecf4 14:28:03 Removing intermediate container 3a47b6beecf4 14:28:03 ---> 8907077194c6 14:28:03 Step 6/27 : WORKDIR /device-virtual-go 14:28:03 ---> Running in 7fb97daf0384 14:28:03 Removing intermediate container 7fb97daf0384 14:28:03 ---> 1d62c238ea4b 14:28:03 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:28:03 ---> Running in 5e717b999e99 14:28:03 Removing intermediate container 5e717b999e99 14:28:03 ---> a9b6cd452886 14:28:03 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:28:03 ---> Running in b40ac7a7ba96 14:28:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:28:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:28:05 OK: 216 MiB in 55 packages 14:28:05 Removing intermediate container b40ac7a7ba96 14:28:05 ---> ac4e22141850 14:28:05 Step 9/27 : COPY go.mod vendor* ./ 14:28:05 ---> 518bca53f659 14:28:05 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:28:05 ---> Running in a76a6b80d671 14:28:06 Removing intermediate container a76a6b80d671 14:28:06 ---> 678d91f59c17 14:28:06 Step 11/27 : COPY . . 14:28:07 ---> c9d296dd348a 14:28:07 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:28:07 ---> Running in 0921f8d7d65a 14:28:07 Removing intermediate container 0921f8d7d65a 14:28:07 ---> 58f8084a8023 14:28:07 Step 13/27 : RUN $MAKE 14:28:07 ---> Running in b71fc74da787 14:28:07 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 14:28:29 Removing intermediate container b71fc74da787 14:28:29 ---> 5fbb05fdc22a 14:28:29 Step 14/27 : FROM alpine:3.16 14:28:29 3.16: Pulling from library/alpine 14:28:29 213ec9aee27d: Already exists 14:28:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:28:29 Status: Downloaded newer image for alpine:3.16 14:28:29 ---> 9c6f07244728 14:28:29 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:28:29 ---> Running in 7cd2f394e9c8 14:28:29 Removing intermediate container 7cd2f394e9c8 14:28:29 ---> ba3ff874387a 14:28:29 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:28:29 ---> Running in 3691fb39f628 14:28:29 Removing intermediate container 3691fb39f628 14:28:29 ---> 5cd0f492610b 14:28:29 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 14:28:29 ---> Running in 23b350043b7f 14:28:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:28:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:28:30 (1/6) Installing dumb-init (1.2.5-r1) 14:28:30 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:28:30 (3/6) Installing libsodium (1.0.18-r0) 14:28:30 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:28:30 (5/6) Installing libzmq (4.3.4-r0) 14:28:30 (6/6) Installing zeromq (4.3.4-r0) 14:28:31 Executing busybox-1.35.0-r17.trigger 14:28:31 OK: 8 MiB in 20 packages 14:28:31 Removing intermediate container 23b350043b7f 14:28:31 ---> 61750eb01cf2 14:28:31 Step 18/27 : WORKDIR / 14:28:31 ---> Running in c7413f63f719 14:28:31 Removing intermediate container c7413f63f719 14:28:31 ---> 0db2c50e9ec6 14:28:31 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:28:31 ---> 1155c41d8637 14:28:31 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 14:28:31 ---> 64b1dba573ae 14:28:31 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 14:28:32 ---> e3fa4ab09019 14:28:32 Step 22/27 : EXPOSE 59900 14:28:32 ---> Running in 10f5220add7a 14:28:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8314 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 14:28:32 Removing intermediate container 10f5220add7a 14:28:32 ---> 999ba6522d19 14:28:32 Step 23/27 : ENTRYPOINT ["/device-virtual"] 14:28:32 ---> Running in 5b8716254def 14:28:32 Running in /w/workspace/device-virtual-go/61 14:28:32 Removing intermediate container 5b8716254def 14:28:32 ---> 45b7b6b2a1e7 14:28:32 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:28:32 ---> Running in d4e173962d9f 14:28:32 Removing intermediate container d4e173962d9f 14:28:32 ---> 4cae9d2842a0 14:28:32 Step 25/27 : LABEL arch=amd64 14:28:32 ---> Running in 04387127b012 [Pipeline] { [Pipeline] checkout 14:28:32 The recommended git tool is: git 14:28:33 Removing intermediate container 04387127b012 14:28:33 ---> c824f9981b29 14:28:33 Step 26/27 : LABEL git_sha=4fde29d6fb1a32cee08b75cf09049e5481e19570 14:28:33 ---> Running in 04020905264a 14:28:33 Removing intermediate container 04020905264a 14:28:33 ---> ab97fbb91937 14:28:33 Step 27/27 : LABEL version=2.3.0-dev.25 14:28:33 ---> Running in 16403d5e3188 14:28:33 Removing intermediate container 16403d5e3188 14:28:33 ---> 61e167606d66 14:28:33 [Warning] One or more build-args [ARCH] were not consumed 14:28:33 Successfully built 61e167606d66 14:28:33 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:28:33 provisioning config files... 14:28:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7879187155655234890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:28:33 ---> docker-login.sh 14:28:33 nexus3.edgexfoundry.org:10001 14:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:33 Configure a credential helper to remove this warning. See 14:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:33 14:28:33 Login Succeeded 14:28:33 nexus3.edgexfoundry.org:10002 14:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:33 Configure a credential helper to remove this warning. See 14:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:33 14:28:33 Login Succeeded 14:28:33 nexus3.edgexfoundry.org:10003 14:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:33 Configure a credential helper to remove this warning. See 14:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:33 14:28:33 Login Succeeded 14:28:33 nexus3.edgexfoundry.org:10004 14:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:33 Configure a credential helper to remove this warning. See 14:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:33 14:28:33 Login Succeeded 14:28:33 docker.io 14:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:28:34 Configure a credential helper to remove this warning. See 14:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:28:34 14:28:34 Login Succeeded 14:28:34 ---> docker-login.sh ends [Pipeline] } 14:28:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:28:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:28:34 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 14:28:34 4fde29d6fb1a32cee08b75cf09049e5481e19570 14:28:34 latest 14:28:34 2.3.0-dev.25 14:28:34 4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25 14:28:34 main 14:28:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4fde29d6fb1a32cee08b75cf09049e5481e19570 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4fde29d6fb1a32cee08b75cf09049e5481e19570 14:28:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:28:35 4f1f643c0e20: Preparing 14:28:35 c9ae4a563a2c: Preparing 14:28:35 ed84b3a258a0: Preparing 14:28:35 4f75a8219adc: Preparing 14:28:35 76b1feb546aa: Preparing 14:28:35 994393dc58e7: Preparing 14:28:35 c9ae4a563a2c: Pushed 14:28:35 ed84b3a258a0: Pushed 14:28:35 76b1feb546aa: Pushed 14:28:35 994393dc58e7: Layer already exists 14:28:35 4f75a8219adc: Pushed 14:28:37 using credential edgex-jenkins-ssh 14:28:37 Cloning the remote Git repository 14:28:37 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:28:37 > git init /w/workspace/device-virtual-go/61 # timeout=10 14:28:37 4f1f643c0e20: Pushed 14:28:37 4fde29d6fb1a32cee08b75cf09049e5481e19570: digest: sha256:d311ac6c63d178e9dc7144111d95f617c55f7bfe8b4f110f7b4f529c5d933ce7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 14:28:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:28:38 4f1f643c0e20: Preparing 14:28:38 c9ae4a563a2c: Preparing 14:28:38 ed84b3a258a0: Preparing 14:28:38 4f75a8219adc: Preparing 14:28:38 76b1feb546aa: Preparing 14:28:38 994393dc58e7: Preparing 14:28:38 994393dc58e7: Waiting 14:28:38 76b1feb546aa: Layer already exists 14:28:38 ed84b3a258a0: Layer already exists 14:28:38 c9ae4a563a2c: Layer already exists 14:28:38 4f1f643c0e20: Layer already exists 14:28:38 4f75a8219adc: Layer already exists 14:28:38 994393dc58e7: Layer already exists 14:28:38 latest: digest: sha256:d311ac6c63d178e9dc7144111d95f617c55f7bfe8b4f110f7b4f529c5d933ce7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:28:37 > git --version # timeout=10 14:28:37 > git --version # 'git version 2.25.1' 14:28:37 using GIT_SSH to set credentials SSH Credentials for GitHub 14:28:37 Verifying host key using known hosts file 14:28:38 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. 14:28:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:28:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.25 14:28:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:28:39 4f1f643c0e20: Preparing 14:28:39 c9ae4a563a2c: Preparing 14:28:39 ed84b3a258a0: Preparing 14:28:39 4f75a8219adc: Preparing 14:28:39 76b1feb546aa: Preparing 14:28:39 994393dc58e7: Preparing 14:28:39 994393dc58e7: Waiting 14:28:39 ed84b3a258a0: Layer already exists 14:28:39 4f75a8219adc: Layer already exists 14:28:39 c9ae4a563a2c: Layer already exists 14:28:39 4f1f643c0e20: Layer already exists 14:28:39 76b1feb546aa: Layer already exists 14:28:39 994393dc58e7: Layer already exists 14:28:39 2.3.0-dev.25: digest: sha256:d311ac6c63d178e9dc7144111d95f617c55f7bfe8b4f110f7b4f529c5d933ce7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:39 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25 14:28:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:28:39 4f1f643c0e20: Preparing 14:28:39 c9ae4a563a2c: Preparing 14:28:39 ed84b3a258a0: Preparing 14:28:39 4f75a8219adc: Preparing 14:28:39 76b1feb546aa: Preparing 14:28:39 994393dc58e7: Preparing 14:28:39 994393dc58e7: Waiting 14:28:39 4f75a8219adc: Layer already exists 14:28:39 76b1feb546aa: Layer already exists 14:28:39 c9ae4a563a2c: Layer already exists 14:28:39 4f1f643c0e20: Layer already exists 14:28:39 ed84b3a258a0: Layer already exists 14:28:39 994393dc58e7: Layer already exists 14:28:39 4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25: digest: sha256:d311ac6c63d178e9dc7144111d95f617c55f7bfe8b4f110f7b4f529c5d933ce7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:40 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:28:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:28:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 14:28:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:28:40 4f1f643c0e20: Preparing 14:28:40 c9ae4a563a2c: Preparing 14:28:40 ed84b3a258a0: Preparing 14:28:40 4f75a8219adc: Preparing 14:28:40 76b1feb546aa: Preparing 14:28:40 994393dc58e7: Preparing 14:28:40 4f1f643c0e20: Layer already exists 14:28:40 4f75a8219adc: Layer already exists 14:28:40 76b1feb546aa: Layer already exists 14:28:40 ed84b3a258a0: Layer already exists 14:28:40 c9ae4a563a2c: Layer already exists 14:28:40 994393dc58e7: Layer already exists 14:28:40 main: digest: sha256:d311ac6c63d178e9dc7144111d95f617c55f7bfe8b4f110f7b4f529c5d933ce7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:28:40 ===================================================== [Pipeline] echo 14:28:40 taggedImages: 14:28:40 - nexus3.edgexfoundry.org:10004/device-virtual:4fde29d6fb1a32cee08b75cf09049e5481e19570 14:28:40 - nexus3.edgexfoundry.org:10004/device-virtual:latest 14:28:40 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.25 14:28:40 - nexus3.edgexfoundry.org:10004/device-virtual:4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25 14:28:40 - 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 14:28:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:40 14:28:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:28:40 Avoid second fetch 14:28:40 Checking out Revision 4fde29d6fb1a32cee08b75cf09049e5481e19570 (main) 14:28:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:41 latest: Pulling from edgex-lftools-log-publisher 14:28:41 5eb5b503b376: Pulling fs layer 14:28:41 5c69ac0246d0: Pulling fs layer 14:28:41 ec43610c2a17: Pulling fs layer 14:28:41 3a2ae6a8a46f: Pulling fs layer 14:28:41 33b1e0a273af: Pulling fs layer 14:28:41 5d3b04190fa2: Pulling fs layer 14:28:41 2f39f015ded8: Pulling fs layer 14:28:41 33b1e0a273af: Waiting 14:28:41 3a2ae6a8a46f: Waiting 14:28:41 2f39f015ded8: Waiting 14:28:41 5c69ac0246d0: Verifying Checksum 14:28:41 5c69ac0246d0: Download complete 14:28:41 3a2ae6a8a46f: Verifying Checksum 14:28:41 3a2ae6a8a46f: Download complete 14:28:41 33b1e0a273af: Verifying Checksum 14:28:41 33b1e0a273af: Download complete 14:28:41 ec43610c2a17: Verifying Checksum 14:28:41 ec43610c2a17: Download complete 14:28:41 5d3b04190fa2: Verifying Checksum 14:28:41 5d3b04190fa2: Download complete 14:28:41 5eb5b503b376: Verifying Checksum 14:28:41 5eb5b503b376: Download complete 14:28:41 Commit message: "Merge pull request #314 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" 14:28:40 > git config core.sparsecheckout # timeout=10 14:28:40 > git checkout -f 4fde29d6fb1a32cee08b75cf09049e5481e19570 # timeout=10 14:28:41 14:28:41 GitHub has been notified of this commit’s build result 14:28:41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:28:41 2f39f015ded8: Download complete 14:28:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:28:42 % Total % Received % Xferd Average Speed Time Time Time Current 14:28:42 Dload Upload Total Spent Left Speed 14:28:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96198 [Pipeline] sh 14:28:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:28:42 5eb5b503b376: Pull complete 14:28:42 5c69ac0246d0: Pull complete 14:28:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:28:43 + sudo tee /etc/docker/daemon.new 14:28:43 { 14:28:43 "registry-mirrors": [ 14:28:43 "https://nexus3.edgexfoundry.org:10001" 14:28:43 ], 14:28:43 "bip": "10.250.0.254/24", 14:28:43 "hosts": [ 14:28:43 "tcp://0.0.0.0:5555", 14:28:43 "unix:///var/run/docker.sock" 14:28:43 ], 14:28:43 "mtu": 1458, 14:28:43 "selinux-enabled": true, 14:28:43 "seccomp-profile": "/etc/docker/seccomp.json" 14:28:43 } [Pipeline] sh 14:28:43 ec43610c2a17: Pull complete 14:28:43 3a2ae6a8a46f: Pull complete 14:28:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:28:43 33b1e0a273af: Pull complete 14:28:43 5d3b04190fa2: Pull complete 14:28:43 + sudo service docker restart 14:28:47 2f39f015ded8: Pull complete 14:28:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:28:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:28:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:28:47 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:28:47 $ 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 14:28:52 $ docker top 07460b30ccc6ea475d16f43ec57853cd9b66562ca58833b9e6e65625c98a9e31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:28:52 ---> job-cost.sh 14:28:52 lf-activate-venv: SKIPPING 14:28:52 INFO: No Stack... 14:28:52 INFO: Retrieving Pricing Info for: v3-standard-8 14:28:53 INFO: Archiving Costs [Pipeline] sh 14:28:53 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 14:28:53 + cut -d, -f6 [Pipeline] lock 14:28:53 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-61-stack-cost] 14:28:53 Resource [jenkins-edgexfoundry-device-virtual-go-main-61-stack-cost] did not exist. Created. 14:28:53 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:28:53 + echo total: 0.2199999988079071 [Pipeline] stash 14:28:54 Stashed 1 file(s) [Pipeline] } 14:28:54 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 14:28:54 $ docker stop --time=1 07460b30ccc6ea475d16f43ec57853cd9b66562ca58833b9e6e65625c98a9e31 14:28:55 $ docker rm -f 07460b30ccc6ea475d16f43ec57853cd9b66562ca58833b9e6e65625c98a9e31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:29:02 provisioning config files... 14:29:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/61@tmp/config8578826040788003444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:29:02 ---> docker-login.sh 14:29:02 nexus3.edgexfoundry.org:10001 14:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:02 Configure a credential helper to remove this warning. See 14:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:02 14:29:02 Login Succeeded 14:29:02 nexus3.edgexfoundry.org:10002 14:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:03 Configure a credential helper to remove this warning. See 14:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:03 14:29:03 Login Succeeded 14:29:03 nexus3.edgexfoundry.org:10003 14:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:03 Configure a credential helper to remove this warning. See 14:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:03 14:29:03 Login Succeeded 14:29:03 nexus3.edgexfoundry.org:10004 14:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:04 Configure a credential helper to remove this warning. See 14:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:04 14:29:04 Login Succeeded 14:29:04 docker.io 14:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:29:04 Configure a credential helper to remove this warning. See 14:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:29:04 14:29:04 Login Succeeded 14:29:04 ---> docker-login.sh ends [Pipeline] } 14:29:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:29:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:29:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:29:04 ========================================================= 14:29:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:29:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:29:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 14:29:05 Sending build context to Docker daemon 11.73MB 14:29:05 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:29:05 Step 2/13 : FROM ${BASE} AS builder 14:29:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:29:05 9b18e9b68314: Pulling fs layer 14:29:05 d32db5db7311: Pulling fs layer 14:29:05 d0c4b47475fc: Pulling fs layer 14:29:05 5831b945b038: Pulling fs layer 14:29:05 86bbec2aaacd: Pulling fs layer 14:29:05 e10730c5d714: Pulling fs layer 14:29:05 5dd5c2283517: Pulling fs layer 14:29:05 d5ac0230b979: Pulling fs layer 14:29:05 5831b945b038: Waiting 14:29:05 86bbec2aaacd: Waiting 14:29:05 e10730c5d714: Waiting 14:29:05 5dd5c2283517: Waiting 14:29:05 d5ac0230b979: Waiting 14:29:05 d0c4b47475fc: Verifying Checksum 14:29:05 d0c4b47475fc: Download complete 14:29:05 d32db5db7311: Download complete 14:29:05 86bbec2aaacd: Verifying Checksum 14:29:05 86bbec2aaacd: Download complete 14:29:05 e10730c5d714: Verifying Checksum 14:29:05 e10730c5d714: Download complete 14:29:05 9b18e9b68314: Download complete 14:29:06 9b18e9b68314: Pull complete 14:29:06 d5ac0230b979: Verifying Checksum 14:29:06 d5ac0230b979: Download complete 14:29:07 d32db5db7311: Pull complete 14:29:07 d0c4b47475fc: Pull complete 14:29:07 5dd5c2283517: Verifying Checksum 14:29:07 5dd5c2283517: Download complete 14:29:08 5831b945b038: Download complete 14:29:20 5831b945b038: Pull complete 14:29:20 86bbec2aaacd: Pull complete 14:29:21 e10730c5d714: Pull complete 14:29:27 5dd5c2283517: Pull complete 14:29:29 d5ac0230b979: Pull complete 14:29:29 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 14:29:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:29:29 ---> 59b3b1a385d4 14:29:29 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:29:31 ---> Running in 6d08508352ec 14:29:31 Removing intermediate container 6d08508352ec 14:29:31 ---> b9b18d25c667 14:29:31 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 14:29:31 ---> Running in 0a78cfb46ff8 14:29:32 Removing intermediate container 0a78cfb46ff8 14:29:32 ---> 380a33ca1766 14:29:32 Step 5/13 : ARG ADD_BUILD_TAGS="" 14:29:32 ---> Running in 0f31bb937afd 14:29:32 Removing intermediate container 0f31bb937afd 14:29:32 ---> c091987a55aa 14:29:32 Step 6/13 : WORKDIR /device-virtual-go 14:29:32 ---> Running in 10b279bfedb2 14:29:32 Removing intermediate container 10b279bfedb2 14:29:32 ---> 1a00a26fd138 14:29:32 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:29:33 ---> Running in 344a0e70ba9b 14:29:35 Removing intermediate container 344a0e70ba9b 14:29:35 ---> 5232d32c4817 14:29:35 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:29:35 ---> Running in cb112c61a0b5 14:29:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:29:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:29:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:29:37 (2/4) Installing libedit (20210910.3.1-r0) 14:29:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:29:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:29:38 Executing busybox-1.35.0-r17.trigger 14:29:38 OK: 226 MiB in 55 packages 14:29:39 Removing intermediate container cb112c61a0b5 14:29:39 ---> 26feffe395dd 14:29:39 Step 9/13 : COPY go.mod vendor* ./ 14:29:39 ---> 5653c2078f65 14:29:39 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:29:39 ---> Running in 20be7a21219c 14:30:36 Removing intermediate container 20be7a21219c 14:30:36 ---> b4ce7d1095f9 14:30:36 Step 11/13 : COPY . . 14:30:36 ---> cc1bf3798c00 14:30:36 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:30:36 ---> Running in 19e25b42e5ae 14:30:36 Removing intermediate container 19e25b42e5ae 14:30:36 ---> 44e758a6267b 14:30:36 Step 13/13 : RUN $MAKE 14:30:36 ---> Running in deb9306bcb83 14:30:36 noop 14:30:36 Removing intermediate container deb9306bcb83 14:30:36 ---> be3ac385d70d 14:30:36 Successfully built be3ac385d70d 14:30:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:30:36 + docker inspect -f . ci-base-image-arm64 14:30:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:30:36 prd-ubuntu20.04-docker-arm64-4c-16g-8314 does not seem to be running inside a container 14:30:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/61 -v /w/workspace/device-virtual-go/61:/w/workspace/device-virtual-go/61:rw,z -v /w/workspace/device-virtual-go/61@tmp:/w/workspace/device-virtual-go/61@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 14:30:38 $ docker top 5476bc8b9250cca26dde18165deb19f227e722f0f09cf2eae6913cf467bf19bf -eo pid,comm [Pipeline] { [Pipeline] sh 14:30:38 + go version 14:30:38 go version go1.18.7 linux/arm64 [Pipeline] } 14:30:38 $ docker stop --time=1 5476bc8b9250cca26dde18165deb19f227e722f0f09cf2eae6913cf467bf19bf 14:30:40 $ docker rm -f 5476bc8b9250cca26dde18165deb19f227e722f0f09cf2eae6913cf467bf19bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:30:41 + docker inspect -f . ci-base-image-arm64 14:30:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:30:41 prd-ubuntu20.04-docker-arm64-4c-16g-8314 does not seem to be running inside a container 14:30:41 $ 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/61 -v /w/workspace/device-virtual-go/61:/w/workspace/device-virtual-go/61:rw,z -v /w/workspace/device-virtual-go/61@tmp:/w/workspace/device-virtual-go/61@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 14:30:42 $ docker top b89ff44f6edb5ea8a377ed468cf7c5bcce3c29694d18895c4fde484024f15443 -eo pid,comm [Pipeline] { [Pipeline] sh 14:30:42 + git config --global --add safe.directory /w/workspace/device-virtual-go/61 [Pipeline] fileExists [Pipeline] sh 14:30:43 + make test 14:30:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:30:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:32:07 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:32:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.141s coverage: 65.7% of statements 14:32:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:32:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 14:32:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:32:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:32:32 ./bin/test-attribution-txt.sh [Pipeline] echo 14:32:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:32:32 $ docker stop --time=1 b89ff44f6edb5ea8a377ed468cf7c5bcce3c29694d18895c4fde484024f15443 14:32:34 $ docker rm -f b89ff44f6edb5ea8a377ed468cf7c5bcce3c29694d18895c4fde484024f15443 [Pipeline] // withDockerContainer [Pipeline] sh 14:32:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:32:35 Warning: overwriting stash ‘coverage-report’ 14:32:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:32:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:32:36 + ls -al . 14:32:36 total 196 14:32:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 14:30 . 14:32:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 14:28 .. 14:32:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 14:28 .git 14:32:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 14:28 .github 14:32:36 -rw-rw-r-- 1 jenkins jenkins 337 Oct 17 14:28 .gitignore 14:32:36 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 14:28 .golangci.yml 14:32:36 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 17 14:28 Attribution.txt 14:32:36 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 17 14:28 CHANGELOG.md 14:32:36 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 17 14:28 Dockerfile 14:32:36 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 14:28 GOVERNANCE.md 14:32:36 -rw-rw-r-- 1 jenkins jenkins 660 Oct 17 14:28 Jenkinsfile 14:32:36 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 14:28 LICENSE 14:32:36 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 17 14:28 Makefile 14:32:36 -rw-rw-r-- 1 jenkins jenkins 623 Oct 17 14:28 OWNERS.md 14:32:36 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 17 14:28 README.md 14:32:36 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 14:26 VERSION 14:32:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 14:28 bin 14:32:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 14:28 cmd 14:32:36 -rw-r--r-- 1 jenkins jenkins 44128 Oct 17 14:32 coverage.out 14:32:36 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 17 14:28 go.mod 14:32:36 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 17 14:28 go.sum 14:32:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 14:28 internal 14:32:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 14:28 snap 14:32:36 -rw-rw-r-- 1 jenkins jenkins 235 Oct 17 14:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:37 + 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=4fde29d6fb1a32cee08b75cf09049e5481e19570 --label arch=arm64 --label version=2.3.0-dev.25 . 14:32:37 Sending build context to Docker daemon 11.78MB 14:32:37 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 14:32:37 Step 2/27 : FROM ${BASE} AS builder 14:32:37 ---> be3ac385d70d 14:32:37 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:32:37 ---> Running in db4d6d4fe413 14:32:37 Removing intermediate container db4d6d4fe413 14:32:37 ---> a32875cf1df2 14:32:37 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 14:32:37 ---> Running in ff454c689ad5 14:32:38 Removing intermediate container ff454c689ad5 14:32:38 ---> 33c481530001 14:32:38 Step 5/27 : ARG ADD_BUILD_TAGS="" 14:32:38 ---> Running in 403284c977d9 14:32:38 Removing intermediate container 403284c977d9 14:32:38 ---> e91205ee6576 14:32:38 Step 6/27 : WORKDIR /device-virtual-go 14:32:38 ---> Running in 11a5cfd82373 14:32:38 Removing intermediate container 11a5cfd82373 14:32:38 ---> b4344a4c5184 14:32:38 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:32:39 ---> Running in 630ee2b7d7a5 14:32:41 Removing intermediate container 630ee2b7d7a5 14:32:41 ---> 59ebaae71a7b 14:32:41 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:32:41 ---> Running in 2cb401c939d0 14:32:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:32:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:32:43 OK: 226 MiB in 55 packages 14:32:44 Removing intermediate container 2cb401c939d0 14:32:44 ---> 605d7d1c0d4d 14:32:44 Step 9/27 : COPY go.mod vendor* ./ 14:32:45 ---> 7f5608d137c3 14:32:45 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:32:45 ---> Running in 98d3623691d8 14:32:47 Removing intermediate container 98d3623691d8 14:32:47 ---> 6e3cb660ada4 14:32:47 Step 11/27 : COPY . . 14:32:48 ---> 76c5abcd08fc 14:32:48 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:32:48 ---> Running in 39981558d4a3 14:32:48 Removing intermediate container 39981558d4a3 14:32:48 ---> 3274a008831e 14:32:48 Step 13/27 : RUN $MAKE 14:32:48 ---> Running in 403d22d5a72b 14:32:49 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 14:35:41 Removing intermediate container 403d22d5a72b 14:35:41 ---> d8d55900671e 14:35:41 Step 14/27 : FROM alpine:3.16 14:35:41 3.16: Pulling from library/alpine 14:35:41 9b18e9b68314: Already exists 14:35:41 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:35:41 Status: Downloaded newer image for alpine:3.16 14:35:41 ---> a6215f271958 14:35:41 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:35:41 ---> Running in 91b0f6b401c8 14:35:41 Removing intermediate container 91b0f6b401c8 14:35:41 ---> ddc9e1b61cb4 14:35:41 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:35:41 ---> Running in 6fb3acb3f35d 14:35:41 Removing intermediate container 6fb3acb3f35d 14:35:41 ---> 2f734ffadb3c 14:35:41 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 14:35:41 ---> Running in 8ef0d5676463 14:35:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:35:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:35:41 (1/6) Installing dumb-init (1.2.5-r1) 14:35:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:35:41 (3/6) Installing libsodium (1.0.18-r0) 14:35:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:35:41 (5/6) Installing libzmq (4.3.4-r0) 14:35:41 (6/6) Installing zeromq (4.3.4-r0) 14:35:41 Executing busybox-1.35.0-r17.trigger 14:35:41 OK: 8 MiB in 20 packages 14:35:41 Removing intermediate container 8ef0d5676463 14:35:41 ---> 9d52050f693d 14:35:41 Step 18/27 : WORKDIR / 14:35:41 ---> Running in 3b2c4150485c 14:35:41 Removing intermediate container 3b2c4150485c 14:35:41 ---> 27dbd2c968df 14:35:41 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:35:41 ---> 4cb5ae2c5dd1 14:35:41 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 14:35:41 ---> f42d4bfdaba3 14:35:41 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 14:35:41 ---> c696b2f11d5c 14:35:41 Step 22/27 : EXPOSE 59900 14:35:41 ---> Running in 07e333b86209 14:35:41 Removing intermediate container 07e333b86209 14:35:41 ---> 989d01943eca 14:35:41 Step 23/27 : ENTRYPOINT ["/device-virtual"] 14:35:41 ---> Running in e7104e7c0688 14:35:41 Removing intermediate container e7104e7c0688 14:35:41 ---> a438b84b25d6 14:35:41 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:35:41 ---> Running in b09d8cedf566 14:35:41 Removing intermediate container b09d8cedf566 14:35:41 ---> d5a0c9fe0e26 14:35:41 Step 25/27 : LABEL arch=arm64 14:35:41 ---> Running in 483c802e1c41 14:35:41 Removing intermediate container 483c802e1c41 14:35:41 ---> 5e786f5b3fcd 14:35:41 Step 26/27 : LABEL git_sha=4fde29d6fb1a32cee08b75cf09049e5481e19570 14:35:41 ---> Running in 048db0b12d7e 14:35:41 Removing intermediate container 048db0b12d7e 14:35:41 ---> 7f5c5b790ce1 14:35:41 Step 27/27 : LABEL version=2.3.0-dev.25 14:35:41 ---> Running in 56b6fef7ad04 14:35:41 Removing intermediate container 56b6fef7ad04 14:35:41 ---> 8200c2d15ae8 14:35:41 [Warning] One or more build-args [ARCH] were not consumed 14:35:41 Successfully built 8200c2d15ae8 14:35:41 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:35:41 provisioning config files... 14:35:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/61@tmp/config6537273444983300954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:35:42 ---> docker-login.sh 14:35:42 nexus3.edgexfoundry.org:10001 14:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:42 Configure a credential helper to remove this warning. See 14:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:42 14:35:42 Login Succeeded 14:35:42 nexus3.edgexfoundry.org:10002 14:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:42 Configure a credential helper to remove this warning. See 14:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:42 14:35:42 Login Succeeded 14:35:42 nexus3.edgexfoundry.org:10003 14:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:43 Configure a credential helper to remove this warning. See 14:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:43 14:35:43 Login Succeeded 14:35:43 nexus3.edgexfoundry.org:10004 14:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:43 Configure a credential helper to remove this warning. See 14:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:43 14:35:43 Login Succeeded 14:35:43 docker.io 14:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:35:44 Configure a credential helper to remove this warning. See 14:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:35:44 14:35:44 Login Succeeded 14:35:44 ---> docker-login.sh ends [Pipeline] } 14:35:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:35:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:35:44 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 14:35:44 4fde29d6fb1a32cee08b75cf09049e5481e19570 14:35:44 latest 14:35:44 2.3.0-dev.25 14:35:44 4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25 14:35:44 main 14:35:44 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4fde29d6fb1a32cee08b75cf09049e5481e19570 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4fde29d6fb1a32cee08b75cf09049e5481e19570 14:35:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:35:45 516037a6d28b: Preparing 14:35:45 3ec2a5983922: Preparing 14:35:45 e97d34309850: Preparing 14:35:45 77f72bfed336: Preparing 14:35:45 2d86abfc56b8: Preparing 14:35:45 5d3e392a13a0: Preparing 14:35:45 5d3e392a13a0: Waiting 14:35:45 e97d34309850: Pushed 14:35:45 2d86abfc56b8: Pushed 14:35:45 3ec2a5983922: Pushed 14:35:45 5d3e392a13a0: Layer already exists 14:35:45 77f72bfed336: Pushed 14:35:51 516037a6d28b: Pushed 14:35:51 4fde29d6fb1a32cee08b75cf09049e5481e19570: digest: sha256:1336b2454db4c899c445655582b63a0f362318f01553eebef80987b38e845cc6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:35:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:35:51 516037a6d28b: Preparing 14:35:51 3ec2a5983922: Preparing 14:35:51 e97d34309850: Preparing 14:35:51 77f72bfed336: Preparing 14:35:51 2d86abfc56b8: Preparing 14:35:51 5d3e392a13a0: Preparing 14:35:51 5d3e392a13a0: Waiting 14:35:51 516037a6d28b: Layer already exists 14:35:51 e97d34309850: Layer already exists 14:35:51 2d86abfc56b8: Layer already exists 14:35:51 3ec2a5983922: Layer already exists 14:35:51 77f72bfed336: Layer already exists 14:35:51 5d3e392a13a0: Layer already exists 14:35:52 latest: digest: sha256:1336b2454db4c899c445655582b63a0f362318f01553eebef80987b38e845cc6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:52 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.25 14:35:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:35:52 516037a6d28b: Preparing 14:35:52 3ec2a5983922: Preparing 14:35:52 e97d34309850: Preparing 14:35:52 77f72bfed336: Preparing 14:35:52 2d86abfc56b8: Preparing 14:35:52 5d3e392a13a0: Preparing 14:35:52 5d3e392a13a0: Waiting 14:35:52 2d86abfc56b8: Layer already exists 14:35:52 e97d34309850: Layer already exists 14:35:52 516037a6d28b: Layer already exists 14:35:52 77f72bfed336: Layer already exists 14:35:52 3ec2a5983922: Layer already exists 14:35:52 5d3e392a13a0: Layer already exists 14:35:52 2.3.0-dev.25: digest: sha256:1336b2454db4c899c445655582b63a0f362318f01553eebef80987b38e845cc6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:53 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25 14:35:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:35:53 516037a6d28b: Preparing 14:35:53 3ec2a5983922: Preparing 14:35:53 e97d34309850: Preparing 14:35:53 77f72bfed336: Preparing 14:35:53 2d86abfc56b8: Preparing 14:35:53 5d3e392a13a0: Preparing 14:35:53 5d3e392a13a0: Waiting 14:35:53 77f72bfed336: Layer already exists 14:35:53 3ec2a5983922: Layer already exists 14:35:53 e97d34309850: Layer already exists 14:35:53 2d86abfc56b8: Layer already exists 14:35:53 516037a6d28b: Layer already exists 14:35:53 5d3e392a13a0: Layer already exists 14:35:53 4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25: digest: sha256:1336b2454db4c899c445655582b63a0f362318f01553eebef80987b38e845cc6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 14:35:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 14:35:54 516037a6d28b: Preparing 14:35:54 3ec2a5983922: Preparing 14:35:54 e97d34309850: Preparing 14:35:54 77f72bfed336: Preparing 14:35:54 2d86abfc56b8: Preparing 14:35:54 5d3e392a13a0: Preparing 14:35:54 5d3e392a13a0: Waiting 14:35:54 77f72bfed336: Layer already exists 14:35:54 516037a6d28b: Layer already exists 14:35:54 2d86abfc56b8: Layer already exists 14:35:54 e97d34309850: Layer already exists 14:35:54 3ec2a5983922: Layer already exists 14:35:54 5d3e392a13a0: Layer already exists 14:35:54 main: digest: sha256:1336b2454db4c899c445655582b63a0f362318f01553eebef80987b38e845cc6 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:35:54 ===================================================== [Pipeline] echo 14:35:54 taggedImages: 14:35:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4fde29d6fb1a32cee08b75cf09049e5481e19570 14:35:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 14:35:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.25 14:35:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4fde29d6fb1a32cee08b75cf09049e5481e19570-2.3.0-dev.25 14:35:54 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:35:55 14:35:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:35:55 arm64: Pulling from edgex-lftools-log-publisher 14:35:55 8998bd30e6a1: Pulling fs layer 14:35:55 04944245beec: Pulling fs layer 14:35:55 699f458cf7ca: Pulling fs layer 14:35:55 765212b225bb: Pulling fs layer 14:35:55 f23df028b6ca: Pulling fs layer 14:35:55 d65c8cfc05b1: Pulling fs layer 14:35:55 2437ff75d9bd: Pulling fs layer 14:35:55 765212b225bb: Waiting 14:35:55 f23df028b6ca: Waiting 14:35:55 d65c8cfc05b1: Waiting 14:35:55 2437ff75d9bd: Waiting 14:35:55 04944245beec: Verifying Checksum 14:35:55 04944245beec: Download complete 14:35:55 765212b225bb: Verifying Checksum 14:35:55 765212b225bb: Download complete 14:35:55 f23df028b6ca: Download complete 14:35:55 d65c8cfc05b1: Verifying Checksum 14:35:55 d65c8cfc05b1: Download complete 14:35:56 699f458cf7ca: Verifying Checksum 14:35:56 699f458cf7ca: Download complete 14:35:56 8998bd30e6a1: Verifying Checksum 14:35:56 8998bd30e6a1: Download complete 14:35:59 2437ff75d9bd: Verifying Checksum 14:35:59 2437ff75d9bd: Download complete 14:36:00 8998bd30e6a1: Pull complete 14:36:01 04944245beec: Pull complete 14:36:01 699f458cf7ca: Pull complete 14:36:02 765212b225bb: Pull complete 14:36:03 f23df028b6ca: Pull complete 14:36:03 d65c8cfc05b1: Pull complete 14:36:18 2437ff75d9bd: Pull complete 14:36:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:36:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:36:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:18 prd-ubuntu20.04-docker-arm64-4c-16g-8314 does not seem to be running inside a container 14:36:18 $ 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/61 -v /w/workspace/device-virtual-go/61:/w/workspace/device-virtual-go/61:rw,z -v /w/workspace/device-virtual-go/61@tmp:/w/workspace/device-virtual-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:36:20 $ docker top 76e96e0617b7c2fb48348dbce571c51e5316b98d5d26cbef831cd3d25784d7b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:21 ---> job-cost.sh 14:36:21 lf-activate-venv: SKIPPING 14:36:21 INFO: No Stack... 14:36:22 INFO: Retrieving Pricing Info for: v3-standard-4 14:36:22 INFO: Archiving Costs [Pipeline] sh 14:36:23 + cat /w/workspace/device-virtual-go/61/archives/cost.csv 14:36:23 + cut -d, -f6 [Pipeline] lock 14:36:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-61-stack-cost] 14:36:23 Resource [jenkins-edgexfoundry-device-virtual-go-main-61-stack-cost] did not exist. Created. 14:36:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:36:23 /w/workspace/device-virtual-go/61@tmp/durable-afb1cde6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:36:24 + echo total: 0.10999999940395355 [Pipeline] stash 14:36:24 Warning: overwriting stash ‘stack-cost’ 14:36:24 Stashed 1 file(s) [Pipeline] } 14:36:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } 14:36:24 $ docker stop --time=1 76e96e0617b7c2fb48348dbce571c51e5316b98d5d26cbef831cd3d25784d7b0 14:36:25 $ docker rm -f 76e96e0617b7c2fb48348dbce571c51e5316b98d5d26cbef831cd3d25784d7b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 14:36:26 provisioning config files... 14:36:26 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17632736671557034028tmp [Pipeline] { [Pipeline] sh 14:36:26 + set +x 14:36:26 + curl -s https://codecov.io/bash 14:36:26 + bash -s -- 14:36:26 14:36:26 _____ _ 14:36:26 / ____| | | 14:36:26 | | ___ __| | ___ ___ _____ __ 14:36:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:36:26 | |___| (_) | (_| | __/ (_| (_) \ V / 14:36:26 \_____\___/ \__,_|\___|\___\___/ \_/ 14:36:26 Bash-1.0.6 14:36:26 14:36:26 14:36:26 ==> git version 2.25.1 found 14:36:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 14:36:26 Release-Date: 2020-01-08 14:36:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:36:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:36:26 ==> Jenkins CI detected. 14:36:26 current dir:  /w/workspace/exfoundry_device-virtual-go_main 14:36:26 project root: . 14:36:26 --> token set from env 14:36:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:36:26 ==> Running gcov in . (disable via -X gcov) 14:36:26 ==> Python coveragepy not found 14:36:26 ==> Searching for coverage reports in: 14:36:26 + . 14:36:26 -> Found 1 reports 14:36:26 ==> Detecting git/mercurial file structure 14:36:26 ==> Reading reports 14:36:26 + ./coverage.out bytes=44128 14:36:26 ==> Appending adjustments 14:36:26 https://docs.codecov.io/docs/fixing-reports 14:36:26 + Found adjustments 14:36:26 ==> Gzipping contents 14:36:26 8.0K /tmp/codecov.Hj3mTq.gz 14:36:26 ==> Uploading reports 14:36:26 url: https://codecov.io 14:36:26 query: branch=main&commit=4fde29d6fb1a32cee08b75cf09049e5481e19570&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:36:26 -> Pinging Codecov 14:36:26 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=4fde29d6fb1a32cee08b75cf09049e5481e19570&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:36:27 -> Uploading to 14:36:27 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/5E52B4B073DB2E39498172D8E973AA87/4fde29d6fb1a32cee08b75cf09049e5481e19570/2d1077ea-e0a9-4486-bb3d-f3b09bd976b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T143626Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=95a5640d5def29bcf00d62791f694075ed89b9bc666fe8124e6c29e4ece11c4a 14:36:27 % Total % Received % Xferd Average Speed Time Time Time Current 14:36:27 Dload Upload Total Spent Left Speed 14:36:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5502 0 0 100 5502 0 25354 --:--:-- --:--:-- --:--:-- 25354 14:36:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/4fde29d6fb1a32cee08b75cf09049e5481e19570 [Pipeline] } 14:36:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:36:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:36:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:36:27 14:36:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:36:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:36:28 df9b9388f04a: Pulling fs layer 14:36:28 52dc419b0ee2: Pulling fs layer 14:36:28 25bc292e5bac: Pulling fs layer 14:36:28 114826534d7a: Pulling fs layer 14:36:28 4657fd5d0bcf: Pulling fs layer 14:36:28 6ad1cebc031e: Pulling fs layer 14:36:28 8a3aa393b2d8: Pulling fs layer 14:36:28 6ad1cebc031e: Waiting 14:36:28 114826534d7a: Waiting 14:36:28 4657fd5d0bcf: Waiting 14:36:28 8a3aa393b2d8: Waiting 14:36:28 25bc292e5bac: Download complete 14:36:28 52dc419b0ee2: Verifying Checksum 14:36:28 52dc419b0ee2: Download complete 14:36:28 4657fd5d0bcf: Verifying Checksum 14:36:28 4657fd5d0bcf: Download complete 14:36:28 df9b9388f04a: Download complete 14:36:28 df9b9388f04a: Pull complete 14:36:28 6ad1cebc031e: Verifying Checksum 14:36:28 6ad1cebc031e: Download complete 14:36:28 52dc419b0ee2: Pull complete 14:36:28 25bc292e5bac: Pull complete 14:36:29 114826534d7a: Verifying Checksum 14:36:29 114826534d7a: Download complete 14:36:29 8a3aa393b2d8: Verifying Checksum 14:36:29 8a3aa393b2d8: Download complete 14:36:32 114826534d7a: Pull complete 14:36:32 4657fd5d0bcf: Pull complete 14:36:32 6ad1cebc031e: Pull complete 14:36:36 8a3aa393b2d8: Pull complete 14:36:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:36:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:36:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:36 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:36:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:36:41 $ docker top 9b1b729598e807d5ac5772876e753a0e17a0cf5373aa6be70b89d2b67ec3ca6b -eo pid,comm [Pipeline] { [Pipeline] echo 14:36:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 14:36:41 + set -o pipefail 14:36:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 14:36:48 14:36:48 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 14:36:48 14:36:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/4df47503-5115-4a88-9bf1-66f4b1fd8eb9 14:36:48 14:36:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:36:48 14:36:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:36:48 14:36:48 14:36:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:36:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:36:48 More details here: https://snyk.co/ue1NS [Pipeline] } 14:36:48 $ docker stop --time=1 9b1b729598e807d5ac5772876e753a0e17a0cf5373aa6be70b89d2b67ec3ca6b 14:36:52 $ docker rm -f 9b1b729598e807d5ac5772876e753a0e17a0cf5373aa6be70b89d2b67ec3ca6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:36:52 + git log --format=format:%s -1 4fde29d6fb1a32cee08b75cf09049e5481e19570 [Pipeline] sh 14:36:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:36:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:36:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:36:53 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:36:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:36:53 $ docker top 08cd176bb29314b9aaf8dad470dcd149a56bac6bc9178708b8c911efac5ba53d -eo pid,comm 14:36:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:36:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:36:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:36:53 [ssh-agent] Looking for ssh-agent implementation... 14:36:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:36:53 $ docker exec 08cd176bb29314b9aaf8dad470dcd149a56bac6bc9178708b8c911efac5ba53d ssh-agent 14:36:54 SSH_AUTH_SOCK=/tmp/ssh-D9Gs96qYaISH/agent.32 14:36:54 SSH_AGENT_PID=38 14:36:54 Running ssh-add (command line suppressed) 14:36:54 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1918834992452243226.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1918834992452243226.key) 14:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:36:54 + git semver tag 14:36:54 2022-10-17 14:36:54,682 [run_tag] DEBUG tag force:False 14:36:54 2022-10-17 14:36:54,682 [check_head_tag] DEBUG check head tag 14:36:54 2022-10-17 14:36:54,683 [execute] INFO git cat-file --batch-check 14:36:54 2022-10-17 14:36:54,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 14:36:54 2022-10-17 14:36:54,687 [execute] INFO git cat-file --batch 14:36:54 2022-10-17 14:36:54,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 14:36:54 2022-10-17 14:36:54,702 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:36:54 2022-10-17 14:36:54,702 [execute] INFO git tag -a v2.3.0-dev.25 -m v2.3.0-dev.25 14:36:54 2022-10-17 14:36:54,703 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.25', '-m', 'v2.3.0-dev.25'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 14:36:54 2022-10-17 14:36:54,706 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:36:54 2.3.0-dev.25 [Pipeline] } 14:36:54 $ docker exec --env ******** --env ******** 08cd176bb29314b9aaf8dad470dcd149a56bac6bc9178708b8c911efac5ba53d ssh-agent -k 14:36:54 unset SSH_AUTH_SOCK; 14:36:54 unset SSH_AGENT_PID; 14:36:54 echo Agent pid 38 killed; 14:36:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:36:55 + git semver [Pipeline] } 14:36:55 $ docker stop --time=1 08cd176bb29314b9aaf8dad470dcd149a56bac6bc9178708b8c911efac5ba53d 14:36:56 $ docker rm -f 08cd176bb29314b9aaf8dad470dcd149a56bac6bc9178708b8c911efac5ba53d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:36:57 14:36:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:36:57 0.23.1-centos7: Pulling from edgex-lftools 14:36:57 ab5ef0e58194: Pulling fs layer 14:36:57 9712f1f96733: Pulling fs layer 14:36:57 63f879dbbcfc: Pulling fs layer 14:36:57 0d9ebad4ef96: Pulling fs layer 14:36:57 e9a5061849ea: Pulling fs layer 14:36:57 0d9ebad4ef96: Waiting 14:36:57 d747dcd14b5f: Pulling fs layer 14:36:57 e9a5061849ea: Waiting 14:36:57 2de7ff778b66: Pulling fs layer 14:36:57 9712f1f96733: Verifying Checksum 14:36:57 9712f1f96733: Download complete 14:36:57 63f879dbbcfc: Verifying Checksum 14:36:57 63f879dbbcfc: Download complete 14:36:57 e9a5061849ea: Verifying Checksum 14:36:57 e9a5061849ea: Download complete 14:36:58 d747dcd14b5f: Verifying Checksum 14:36:58 d747dcd14b5f: Download complete 14:36:58 ab5ef0e58194: Download complete 14:36:58 0d9ebad4ef96: Verifying Checksum 14:36:58 0d9ebad4ef96: Download complete 14:36:58 2de7ff778b66: Verifying Checksum 14:36:58 2de7ff778b66: Download complete 14:37:00 ab5ef0e58194: Pull complete 14:37:01 9712f1f96733: Pull complete 14:37:01 63f879dbbcfc: Pull complete 14:37:05 0d9ebad4ef96: Pull complete 14:37:05 e9a5061849ea: Pull complete 14:37:05 d747dcd14b5f: Pull complete 14:37:06 2de7ff778b66: Pull complete 14:37:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:37:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:37:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:06 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:37:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:37:11 $ docker top cd35d5aeea1ec12944c19dfac8ff1ea618236159887c3e1ea8bfb5a3855dc466 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:37:11 provisioning config files... 14:37:11 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17842932153566898468tmp 14:37:11 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4057130433181043429tmp 14:37:11 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12777535123303046156tmp [Pipeline] { [Pipeline] echo 14:37:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:37:11 ---> sigul-configuration.sh 14:37:11 gpg: directory `/root/.gnupg' created 14:37:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:37:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:37:11 gpg: keyring `/root/.gnupg/secring.gpg' created 14:37:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:37:11 gpg: CAST5 encrypted data 14:37:11 gpg: encrypted with 1 passphrase 14:37:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:37:12 + mkdir /home/jenkins 14:37:12 + mkdir /home/jenkins/sigul [Pipeline] sh 14:37:12 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 14:37:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:37:12 ---> sigul-install.sh 14:37:12 Sigul already installed; skipping installation. [Pipeline] sh 14:37:12 + git tag --list 14:37:12 v1.0.0 14:37:12 v1.1.0 14:37:12 v1.1.1 14:37:12 v1.2.1 14:37:12 v1.2.2 14:37:12 v1.2.3 14:37:12 v1.3.0 14:37:12 v1.3.1 14:37:12 v2.0.0 14:37:12 v2.1.0 14:37:12 v2.1.1 14:37:12 v2.1.1-dev.1 14:37:12 v2.1.1-dev.2 14:37:12 v2.2.0 14:37:12 v2.2.1-dev.1 14:37:12 v2.2.1-dev.2 14:37:12 v2.2.1-dev.3 14:37:12 v2.2.1-dev.4 14:37:12 v2.2.1-dev.5 14:37:12 v2.2.1-dev.6 14:37:12 v2.2.1-dev.7 14:37:12 v2.2.1-dev.8 14:37:12 v2.3.0-dev.10 14:37:12 v2.3.0-dev.11 14:37:12 v2.3.0-dev.12 14:37:12 v2.3.0-dev.13 14:37:12 v2.3.0-dev.14 14:37:12 v2.3.0-dev.15 14:37:12 v2.3.0-dev.16 14:37:12 v2.3.0-dev.17 14:37:12 v2.3.0-dev.18 14:37:12 v2.3.0-dev.19 14:37:12 v2.3.0-dev.20 14:37:12 v2.3.0-dev.21 14:37:12 v2.3.0-dev.22 14:37:12 v2.3.0-dev.23 14:37:12 v2.3.0-dev.24 14:37:12 v2.3.0-dev.25 14:37:12 v2.3.0-dev.8 14:37:12 v2.3.0-dev.9 [Pipeline] sh 14:37:13 + lftools sign git-tag v2.3.0-dev.25 14:37:13 Signing Git tag with Sigul... 14:37:13 Signing v2.3.0-dev.25 [Pipeline] echo 14:37:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:37:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:37:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:37:14 $ docker stop --time=1 cd35d5aeea1ec12944c19dfac8ff1ea618236159887c3e1ea8bfb5a3855dc466 14:37:15 $ docker rm -f cd35d5aeea1ec12944c19dfac8ff1ea618236159887c3e1ea8bfb5a3855dc466 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:37:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:37:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:37:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:16 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:37:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:37:17 $ docker top a963fb5437645a9070f81b96a06da9b9e2c54b192bba740cc5c6bd739860ec5b -eo pid,comm 14:37:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:37:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:37:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:17 [ssh-agent] Looking for ssh-agent implementation... 14:37:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:17 $ docker exec a963fb5437645a9070f81b96a06da9b9e2c54b192bba740cc5c6bd739860ec5b ssh-agent 14:37:17 SSH_AUTH_SOCK=/tmp/ssh-MF5V7xXl5XGu/agent.32 14:37:17 SSH_AGENT_PID=38 14:37:17 Running ssh-add (command line suppressed) 14:37:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3602146369847551155.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3602146369847551155.key) 14:37:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:17 + git semver bump pre 14:37:17 2022-10-17 14:37:17,889 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:37:17 2022-10-17 14:37:17,889 [bump_version] DEBUG bumping version:2.3.0-dev.25 on axis:pre with prefix:dev 14:37:17 2022-10-17 14:37:17,889 [bump_version] DEBUG bumped version:2.3.0-dev.26 14:37:17 2022-10-17 14:37:17,889 [write_version] DEBUG write version:2.3.0-dev.26 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 14:37:17 2022-10-17 14:37:17,889 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:37:17 2022-10-17 14:37:17,889 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:37:17 2022-10-17 14:37:17,891 [execute] INFO git cat-file --batch-check 14:37:17 2022-10-17 14:37:17,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:37:17 2022-10-17 14:37:17,896 [execute] INFO git cat-file --batch 14:37:17 2022-10-17 14:37:17,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:37:17 2022-10-17 14:37:17,900 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:37:17 2.3.0-dev.26 [Pipeline] } 14:37:17 $ docker exec --env ******** --env ******** a963fb5437645a9070f81b96a06da9b9e2c54b192bba740cc5c6bd739860ec5b ssh-agent -k 14:37:18 unset SSH_AUTH_SOCK; 14:37:18 unset SSH_AGENT_PID; 14:37:18 echo Agent pid 38 killed; 14:37:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:37:18 + git semver [Pipeline] } 14:37:18 $ docker stop --time=1 a963fb5437645a9070f81b96a06da9b9e2c54b192bba740cc5c6bd739860ec5b 14:37:19 $ docker rm -f a963fb5437645a9070f81b96a06da9b9e2c54b192bba740cc5c6bd739860ec5b [Pipeline] // withDockerContainer [Pipeline] sh 14:37:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:37:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:37:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:20 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:37:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:37:20 $ docker top 19b129fea4d4c1c9659650f55227678bcdd16072fcd3e6ff38c32a947a907ba6 -eo pid,comm 14:37:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:37:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:37:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:37:21 [ssh-agent] Looking for ssh-agent implementation... 14:37:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:37:21 $ docker exec 19b129fea4d4c1c9659650f55227678bcdd16072fcd3e6ff38c32a947a907ba6 ssh-agent 14:37:21 SSH_AUTH_SOCK=/tmp/ssh-McSYvWccIq3I/agent.32 14:37:21 SSH_AGENT_PID=38 14:37:21 Running ssh-add (command line suppressed) 14:37:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15281550035180995949.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15281550035180995949.key) 14:37:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:37:21 + git semver push 14:37:21 2022-10-17 14:37:21,898 [run_push] DEBUG push 14:37:21 2022-10-17 14:37:21,899 [execute] INFO git cat-file --batch-check 14:37:21 2022-10-17 14:37:21,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:37:21 2022-10-17 14:37:21,905 [execute] INFO git rev-list a4842eb9f935f8523d4307ee8844088e15c4add3 -- 14:37:21 2022-10-17 14:37:21,905 [execute] DEBUG Popen(['git', 'rev-list', 'a4842eb9f935f8523d4307ee8844088e15c4add3', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:37:21 2022-10-17 14:37:21,914 [execute] INFO git fetch -v origin 14:37:21 2022-10-17 14:37:21,915 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:37:22 2022-10-17 14:37:22,527 [run_push] DEBUG no remote changes detected 14:37:22 2022-10-17 14:37:22,528 [execute] INFO git push origin semver 14:37:22 2022-10-17 14:37:22,528 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:37:23 2022-10-17 14:37:23,321 [run_push] DEBUG push all version tags 14:37:23 2022-10-17 14:37:23,322 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:37:23 2022-10-17 14:37:23,322 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 14:37:24 2022-10-17 14:37:24,157 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:37:24 2.3.0-dev.26 [Pipeline] } 14:37:24 $ docker exec --env ******** --env ******** 19b129fea4d4c1c9659650f55227678bcdd16072fcd3e6ff38c32a947a907ba6 ssh-agent -k 14:37:24 unset SSH_AUTH_SOCK; 14:37:24 unset SSH_AGENT_PID; 14:37:24 echo Agent pid 38 killed; 14:37:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:37:24 + git semver [Pipeline] } 14:37:25 $ docker stop --time=1 19b129fea4d4c1c9659650f55227678bcdd16072fcd3e6ff38c32a947a907ba6 14:37:26 $ docker rm -f 19b129fea4d4c1c9659650f55227678bcdd16072fcd3e6ff38c32a947a907ba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:37:26 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 14:37:26 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:37:26 total 16 14:37:26 drwxr-xr-x 3 root root 4096 Oct 17 14:28 . 14:37:26 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 14:37 .. 14:37:26 drwxr-xr-x 2 root root 4096 Oct 17 14:28 cost 14:37:26 -rw-r--r-- 1 root root 88 Oct 17 14:28 cost.csv 14:37:26 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 14:37:26 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 14:37:26 total 16 14:37:26 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 14:28 . 14:37:26 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 14:37 .. 14:37:26 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 14:28 cost 14:37:26 -rw-r--r-- 1 jenkins jenkins 88 Oct 17 14:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:37:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:37:28 ---> package-listing.sh 14:37:28 ++ facter osfamily 14:37:28 ++ tr '[:upper:]' '[:lower:]' 14:37:28 + OS_FAMILY=debian 14:37:28 + workspace=/w/workspace/exfoundry_device-virtual-go_main 14:37:28 + START_PACKAGES=/tmp/packages_start.txt 14:37:28 + END_PACKAGES=/tmp/packages_end.txt 14:37:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:37:28 + PACKAGES=/tmp/packages_start.txt 14:37:28 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:37:28 + PACKAGES=/tmp/packages_end.txt 14:37:28 + case "${OS_FAMILY}" in 14:37:28 + dpkg -l 14:37:28 + grep '^ii' 14:37:28 + '[' -f /tmp/packages_start.txt ']' 14:37:28 + '[' -f /tmp/packages_end.txt ']' 14:37:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:37:28 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 14:37:28 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 14:37:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 14:37:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:37:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:37:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:37:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:37:29 prd-ubuntu20.04-docker-8c-8g-8312 does not seem to be running inside a container 14:37:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:37:29 $ docker top 851ad78ae7587c20b8dffa6366294de18aa93318158a6b164162dc36d5366d2b -eo pid,comm [Pipeline] { [Pipeline] sh 14:37:29 + touch /tmp/pre-build-complete [Pipeline] sh 14:37:30 + mkdir -p /var/log/sysstat [Pipeline] sh 14:37:30 + ls /var/log/sa-host 14:37:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:37:30 provisioning config files... 14:37:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10416535635928160259tmp [Pipeline] { [Pipeline] echo 14:37:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:37:30 ---> create-netrc.sh [Pipeline] } 14:37:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:37:31 ---> python-tools-install.sh [Pipeline] echo 14:37:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:37:31 ---> sudo-logs.sh 14:37:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:37:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:37:31 ---> job-cost.sh 14:37:31 lf-activate-venv: SKIPPING 14:37:31 DEBUG: total: 0.2199999988079071 14:37:31 INFO: Retrieving Stack Cost... 14:37:32 INFO: Retrieving Pricing Info for: v3-standard-8 14:37:32 INFO: Archiving Costs [Pipeline] echo 14:37:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:37:33 ---> logs-deploy.sh 14:37:33 lf-activate-venv: SKIPPING 14:37:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/61 14:37:33 INFO: archiving workspace using pattern(s): 14:37:34 Archives upload complete. 14:37:34 INFO: archiving logs to Nexus