Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 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-ssh5728836486720585504.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh14270297310850367321.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4829728631445480307.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh10362335966392078954.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6278115465995132574.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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 ‘prd-ubuntu20.04-docker-8c-8g-6528’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6531 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 (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 Commit message: "Merge pull request #374 from weichou1229/issue-371" > git checkout -f 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 # timeout=10 > git rev-list --no-walk b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:08:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:08:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:08:54 ========================================================= 05:08:54 EdgeX Global Pipelines Version Info 05:08:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:08:55 ------------------- 05:08:55 stable info: 05:08:55 ------------------- 05:08:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:08:55 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:08:55 Message: update stable to v1.0.245 05:08:55 ------------------- 05:08:55 experimental info: 05:08:55 ------------------- 05:08:55 Commited By: **** collab-it+edgex@linuxfoundation.org 05:08:55 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 05:08:55 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:08:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b3a117 [Pipeline] echo 05:08:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:08:56 provisioning config files... 05:08:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17861226343202157387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:08:56 ---> docker-login.sh 05:08:56 nexus3.edgexfoundry.org:10001 05:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:56 Configure a credential helper to remove this warning. See 05:08:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:56 05:08:56 Login Succeeded 05:08:56 nexus3.edgexfoundry.org:10002 05:08:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:57 Configure a credential helper to remove this warning. See 05:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:57 05:08:57 Login Succeeded 05:08:57 nexus3.edgexfoundry.org:10003 05:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:57 Configure a credential helper to remove this warning. See 05:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:57 05:08:57 Login Succeeded 05:08:57 nexus3.edgexfoundry.org:10004 05:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:57 Configure a credential helper to remove this warning. See 05:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:57 05:08:57 Login Succeeded 05:08:57 docker.io 05:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:08:57 Configure a credential helper to remove this warning. See 05:08:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:08:57 05:08:57 Login Succeeded 05:08:57 ---> docker-login.sh ends [Pipeline] } 05:08:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:08:57 + git rev-list -1 --merges 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9~1..5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [Pipeline] echo 05:08:58 -----------> git rev-list -1 --merges 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9~1..5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:08:58 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [false] [Pipeline] sh 05:08:58 + git log --format=format:%s -1 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [Pipeline] echo 05:08:58 ========================================================= 05:08:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:08:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:58 + git log --format=format:%s -1 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [Pipeline] echo 05:08:58 [semverPrep] GIT_COMMIT: 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9, Commit Message: Merge pull request #374 from weichou1229/issue-371 [Pipeline] echo 05:08:58 [semverPrep] This is not a build commit. [Pipeline] sh 05:08:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:08:59 + grep -v github /etc/ssh/ssh_known_hosts 05:08:59 + [ -e /tmp/ssh_known_hosts ] 05:08:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:08:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:08:59 + sudo tee -a /etc/ssh/ssh_known_hosts 05:08:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:08:59 05:08:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:08:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:08:59 0.1.4: Pulling from edgex-devops/py-git-semver 05:08:59 b85a868b505f: Pulling fs layer 05:08:59 e2be974225ed: Pulling fs layer 05:08:59 339a4e72a1f5: Pulling fs layer 05:08:59 988bab9f4d93: Pulling fs layer 05:08:59 1469e6f7b9e6: Pulling fs layer 05:08:59 eaf3925da568: Pulling fs layer 05:08:59 bab4dde63d76: Pulling fs layer 05:08:59 bde34c3a00c8: Pulling fs layer 05:08:59 b352a97aabf1: Pulling fs layer 05:08:59 4872d77fe225: Pulling fs layer 05:08:59 5851b861e8e6: Pulling fs layer 05:08:59 bde34c3a00c8: Waiting 05:08:59 1469e6f7b9e6: Waiting 05:08:59 b352a97aabf1: Waiting 05:08:59 bab4dde63d76: Waiting 05:08:59 eaf3925da568: Waiting 05:08:59 5851b861e8e6: Waiting 05:08:59 4872d77fe225: Waiting 05:08:59 e2be974225ed: Verifying Checksum 05:08:59 e2be974225ed: Download complete 05:08:59 988bab9f4d93: Download complete 05:09:00 339a4e72a1f5: Verifying Checksum 05:09:00 339a4e72a1f5: Download complete 05:09:00 eaf3925da568: Verifying Checksum 05:09:00 eaf3925da568: Download complete 05:09:00 1469e6f7b9e6: Verifying Checksum 05:09:00 1469e6f7b9e6: Download complete 05:09:00 bde34c3a00c8: Verifying Checksum 05:09:00 bde34c3a00c8: Download complete 05:09:00 b352a97aabf1: Verifying Checksum 05:09:00 b352a97aabf1: Download complete 05:09:00 4872d77fe225: Verifying Checksum 05:09:00 4872d77fe225: Download complete 05:09:00 5851b861e8e6: Verifying Checksum 05:09:00 5851b861e8e6: Download complete 05:09:00 b85a868b505f: Verifying Checksum 05:09:00 b85a868b505f: Download complete 05:09:00 bab4dde63d76: Verifying Checksum 05:09:00 bab4dde63d76: Download complete 05:09:01 b85a868b505f: Pull complete 05:09:01 e2be974225ed: Pull complete 05:09:01 339a4e72a1f5: Pull complete 05:09:01 988bab9f4d93: Pull complete 05:09:02 1469e6f7b9e6: Pull complete 05:09:02 eaf3925da568: Pull complete 05:09:03 bab4dde63d76: Pull complete 05:09:03 bde34c3a00c8: Pull complete 05:09:03 b352a97aabf1: Pull complete 05:09:03 4872d77fe225: Pull complete 05:09:04 5851b861e8e6: Pull complete 05:09:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:09:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:09:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:09:04 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:09:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:09:07 $ docker top 55e81a02f45f9ec68fc5b8ea6321bf3b4d68c06c4a17ad6ce040e9dcb314f7ee -eo pid,comm 05:09:07 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). 05:09:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:07 [ssh-agent] Looking for ssh-agent implementation... 05:09:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:07 $ docker exec 55e81a02f45f9ec68fc5b8ea6321bf3b4d68c06c4a17ad6ce040e9dcb314f7ee ssh-agent 05:09:07 SSH_AUTH_SOCK=/tmp/ssh-OCKcqizgQZ8g/agent.32 05:09:07 SSH_AGENT_PID=38 05:09:07 Running ssh-add (command line suppressed) 05:09:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5696886922568220946.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5696886922568220946.key) 05:09:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:07 + git tag --points-at HEAD [Pipeline] } 05:09:07 $ docker exec --env ******** --env ******** 55e81a02f45f9ec68fc5b8ea6321bf3b4d68c06c4a17ad6ce040e9dcb314f7ee ssh-agent -k 05:09:07 unset SSH_AUTH_SOCK; 05:09:07 unset SSH_AGENT_PID; 05:09:07 echo Agent pid 38 killed; 05:09:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:09:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:07 [ssh-agent] Looking for ssh-agent implementation... 05:09:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:08 $ docker exec 55e81a02f45f9ec68fc5b8ea6321bf3b4d68c06c4a17ad6ce040e9dcb314f7ee ssh-agent 05:09:08 SSH_AUTH_SOCK=/tmp/ssh-XmyAI9vcIDS3/agent.71 05:09:08 SSH_AGENT_PID=77 05:09:08 Running ssh-add (command line suppressed) 05:09:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17859588615953074535.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17859588615953074535.key) 05:09:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:08 + git semver init 05:09:08 2023-03-31 05:09:08,730 [run_init] DEBUG init version:0.0.0 force:False 05:09:08 2023-03-31 05:09:08,731 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 05:09:08 2023-03-31 05:09:08,731 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 05:09:08 2023-03-31 05:09:08,731 [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) 05:09:10 2023-03-31 05:09:09,917 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 05:09:10 2023-03-31 05:09:09,917 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 05:09:10 2023-03-31 05:09:09,917 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:09:10 2023-03-31 05:09:09,917 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:09:10 3.0.0-dev.26 [Pipeline] } 05:09:10 $ docker exec --env ******** --env ******** 55e81a02f45f9ec68fc5b8ea6321bf3b4d68c06c4a17ad6ce040e9dcb314f7ee ssh-agent -k 05:09:10 unset SSH_AUTH_SOCK; 05:09:10 unset SSH_AGENT_PID; 05:09:10 echo Agent pid 77 killed; 05:09:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:10 + git semver [Pipeline] } 05:09:10 $ docker stop --time=1 55e81a02f45f9ec68fc5b8ea6321bf3b4d68c06c4a17ad6ce040e9dcb314f7ee 05:09:12 $ docker rm -f --volumes 55e81a02f45f9ec68fc5b8ea6321bf3b4d68c06c4a17ad6ce040e9dcb314f7ee [Pipeline] // withDockerContainer [Pipeline] sh 05:09:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:09:12 Stashed 1 file(s) [Pipeline] echo 05:09:12 [edgeXSemver]: initialized semver on version 3.0.0-dev.26 [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 05:09:12 provisioning config files... 05:09:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6467730318208866123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:13 ---> docker-login.sh 05:09:13 nexus3.edgexfoundry.org:10001 05:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:13 Configure a credential helper to remove this warning. See 05:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:13 05:09:13 Login Succeeded 05:09:13 nexus3.edgexfoundry.org:10002 05:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:13 Configure a credential helper to remove this warning. See 05:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:13 05:09:13 Login Succeeded 05:09:13 nexus3.edgexfoundry.org:10003 05:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:13 Configure a credential helper to remove this warning. See 05:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:13 05:09:13 Login Succeeded 05:09:13 nexus3.edgexfoundry.org:10004 05:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:13 Configure a credential helper to remove this warning. See 05:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:13 05:09:13 Login Succeeded 05:09:13 docker.io 05:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:13 Configure a credential helper to remove this warning. See 05:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:13 05:09:13 Login Succeeded 05:09:13 ---> docker-login.sh ends [Pipeline] } 05:09:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:13 ========================================================= 05:09:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:09:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:09:14 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:09:14 Sending build context to Docker daemon 23.51MB 05:09:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:09:14 Step 2/12 : FROM ${BASE} AS builder 05:09:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:09:14 63b65145d645: Pulling fs layer 05:09:14 a2d21d5440eb: Pulling fs layer 05:09:14 935e6c44a52c: Pulling fs layer 05:09:14 94cc34f8dd06: Pulling fs layer 05:09:14 30dea6a524f1: Pulling fs layer 05:09:14 a2aff8979fd8: Pulling fs layer 05:09:14 6808be2612f2: Pulling fs layer 05:09:14 f25807f1079a: Pulling fs layer 05:09:14 a2aff8979fd8: Waiting 05:09:14 94cc34f8dd06: Waiting 05:09:14 6808be2612f2: Waiting 05:09:14 30dea6a524f1: Waiting 05:09:14 a2d21d5440eb: Download complete 05:09:14 94cc34f8dd06: Verifying Checksum 05:09:14 94cc34f8dd06: Download complete 05:09:14 30dea6a524f1: Download complete 05:09:14 63b65145d645: Verifying Checksum 05:09:14 63b65145d645: Download complete 05:09:14 a2aff8979fd8: Verifying Checksum 05:09:14 a2aff8979fd8: Download complete 05:09:14 63b65145d645: Pull complete 05:09:14 a2d21d5440eb: Pull complete 05:09:14 f25807f1079a: Verifying Checksum 05:09:14 f25807f1079a: Download complete 05:09:14 935e6c44a52c: Verifying Checksum 05:09:14 935e6c44a52c: Download complete 05:09:15 6808be2612f2: Verifying Checksum 05:09:15 6808be2612f2: Download complete 05:09:18 935e6c44a52c: Pull complete 05:09:18 94cc34f8dd06: Pull complete 05:09:18 30dea6a524f1: Pull complete 05:09:18 a2aff8979fd8: Pull complete 05:09:20 6808be2612f2: Pull complete 05:09:21 f25807f1079a: Pull complete 05:09:21 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:09:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:09:21 ---> 3b553350e43f 05:09:21 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:09:26 ---> Running in 628eef9f08f0 05:09:26 Removing intermediate container 628eef9f08f0 05:09:26 ---> 0fa683c3e36d 05:09:26 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:09:26 ---> Running in 18bc3dbd0408 05:09:26 Removing intermediate container 18bc3dbd0408 05:09:26 ---> 328c6452f6fd 05:09:26 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:09:26 ---> Running in 057a81152a66 05:09:26 Removing intermediate container 057a81152a66 05:09:26 ---> 9256c5dbaea2 05:09:26 Step 6/12 : WORKDIR /device-virtual-go 05:09:26 ---> Running in bbc0ed562864 05:09:26 Removing intermediate container bbc0ed562864 05:09:26 ---> 6a08f5577f9e 05:09:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:09:26 ---> Running in 9c936661481e 05:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:09:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:09:27 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:09:27 (2/4) Installing libedit (20221030.3.1-r0) 05:09:27 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:09:27 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:09:27 Executing busybox-1.35.0-r29.trigger 05:09:27 OK: 269 MiB in 57 packages 05:09:27 Still waiting to schedule task 05:09:27 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6529’ is offline 05:09:28 Removing intermediate container 9c936661481e 05:09:28 ---> 08811f59c32c 05:09:28 Step 8/12 : COPY go.mod vendor* ./ 05:09:28 ---> 4f7ef07dcec6 05:09:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:09:28 ---> Running in 6fccfda8d4eb 05:10:07 Removing intermediate container 6fccfda8d4eb 05:10:07 ---> 1a8b97d14560 05:10:07 Step 10/12 : COPY . . 05:10:07 ---> 6ba7b4ec09ce 05:10:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:10:07 ---> Running in 78a80d256f1e 05:10:07 Removing intermediate container 78a80d256f1e 05:10:07 ---> 3aa6d7190bc5 05:10:07 Step 12/12 : RUN $MAKE 05:10:07 ---> Running in 92650825cc91 05:10:07 noop 05:10:07 Removing intermediate container 92650825cc91 05:10:07 ---> 1ede70100b18 05:10:07 Successfully built 1ede70100b18 05:10:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:08 + docker inspect -f . ci-base-image-x86_64 05:10:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:08 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:10:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:10:08 $ docker top bb0688ae846c6090cc83ea677a89737896e10e13b15307a0421486d60a87da1c -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:08 + go version 05:10:08 go version go1.20.2 linux/amd64 [Pipeline] } 05:10:08 $ docker stop --time=1 bb0688ae846c6090cc83ea677a89737896e10e13b15307a0421486d60a87da1c 05:10:10 $ docker rm -f --volumes bb0688ae846c6090cc83ea677a89737896e10e13b15307a0421486d60a87da1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:10 + docker inspect -f . ci-base-image-x86_64 05:10:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:10:10 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:10:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:10:10 $ docker top de90fc540eb122ef736b0bfd47731e0acad7a79903863dbb85a3d134bae34a73 -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:11 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 05:10:11 + make test 05:10:11 go test ./... -coverprofile=coverage.out 05:10:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:10:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:10:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 59.5% of statements 05:10:30 go vet ./... 05:10:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:34 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:34 $ docker stop --time=1 de90fc540eb122ef736b0bfd47731e0acad7a79903863dbb85a3d134bae34a73 05:10:37 $ docker rm -f --volumes de90fc540eb122ef736b0bfd47731e0acad7a79903863dbb85a3d134bae34a73 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:10:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:39 + ls -al . 05:10:39 total 192 05:10:39 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 05:10 . 05:10:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:08 .. 05:10:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:09 .git 05:10:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:08 .github 05:10:39 -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 05:08 .gitignore 05:10:39 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 05:08 .golangci.yml 05:10:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:09 .semver 05:10:39 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 05:08 Attribution.txt 05:10:39 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 05:08 CHANGELOG.md 05:10:39 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 05:08 Dockerfile 05:10:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:08 GOVERNANCE.md 05:10:39 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 05:08 Jenkinsfile 05:10:39 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:08 LICENSE 05:10:39 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 05:08 Makefile 05:10:39 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 05:08 OWNERS.md 05:10:39 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 05:08 README.md 05:10:39 -rw-rw-r-- 1 jenkins jenkins 12 Mar 31 05:09 VERSION 05:10:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:08 bin 05:10:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:08 cmd 05:10:39 -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 05:10 coverage.out 05:10:39 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 05:08 go.mod 05:10:39 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 05:08 go.sum 05:10:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:08 internal 05:10:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:08 snap 05:10:39 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:10:39 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 --label arch=amd64 --label version=3.0.0-dev.26 . 05:10:39 Sending build context to Docker daemon 23.56MB 05:10:39 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:10:39 Step 2/25 : FROM ${BASE} AS builder 05:10:39 ---> 1ede70100b18 05:10:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:10:39 ---> Running in b307ef0256ae 05:10:39 Removing intermediate container b307ef0256ae 05:10:39 ---> 81f48f628239 05:10:39 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:10:40 ---> Running in a245ddfe374c 05:10:40 Removing intermediate container a245ddfe374c 05:10:40 ---> 471b5b2be6f4 05:10:40 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:10:40 ---> Running in 4eae8efa5528 05:10:40 Removing intermediate container 4eae8efa5528 05:10:40 ---> 81a133e24df4 05:10:40 Step 6/25 : WORKDIR /device-virtual-go 05:10:40 ---> Running in 3dabaa9a8ea2 05:10:40 Removing intermediate container 3dabaa9a8ea2 05:10:40 ---> bc64fb622097 05:10:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:40 ---> Running in 4ff98b199e99 05:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:10:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:10:40 OK: 269 MiB in 57 packages 05:10:41 Removing intermediate container 4ff98b199e99 05:10:41 ---> 119fbbc9f523 05:10:41 Step 8/25 : COPY go.mod vendor* ./ 05:10:41 ---> 9566ff5c7b2f 05:10:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:41 ---> Running in 0759401f1f6d 05:10:42 Removing intermediate container 0759401f1f6d 05:10:42 ---> b0e706f2e9a5 05:10:42 Step 10/25 : COPY . . 05:10:43 ---> 6b056a905f6d 05:10:43 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:10:43 ---> Running in 2c8fd202e58f 05:10:43 Removing intermediate container 2c8fd202e58f 05:10:43 ---> f24ca6eb2ed9 05:10:43 Step 12/25 : RUN $MAKE 05:10:43 ---> Running in 4dc7dd969737 05:10:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 05:10:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6532 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 05:10:57 Running in /w/workspace/device-virtual-go/98 [Pipeline] { [Pipeline] checkout 05:10:57 The recommended git tool is: git 05:11:01 Removing intermediate container 4dc7dd969737 05:11:01 ---> 9617cffe2af0 05:11:01 Step 13/25 : FROM alpine:3.17 05:11:02 3.17: Pulling from library/alpine 05:11:02 f56be85fc22e: Pulling fs layer 05:11:02 f56be85fc22e: Verifying Checksum 05:11:02 f56be85fc22e: Download complete 05:11:02 f56be85fc22e: Pull complete 05:11:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:11:02 Status: Downloaded newer image for alpine:3.17 05:11:02 ---> 9ed4aefc74f6 05:11:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:11:02 using credential edgex-jenkins-ssh 05:11:02 Cloning the remote Git repository 05:11:02 ---> Running in 6b920b65fe0d 05:11:02 Removing intermediate container 6b920b65fe0d 05:11:02 ---> 3f6fce5c38c4 05:11:02 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:11:02 ---> Running in 7c0a60607e33 05:11:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:11:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:11:03 (1/1) Installing dumb-init (1.2.5-r2) 05:11:03 Executing busybox-1.35.0-r29.trigger 05:11:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:11:02 > git init /w/workspace/device-virtual-go/98 # timeout=10 05:11:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:11:02 > git --version # timeout=10 05:11:02 > git --version # 'git version 2.25.1' 05:11:02 using GIT_SSH to set credentials SSH Credentials for GitHub 05:11:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:11:03 OK: 7 MiB in 16 packages 05:11:03 Removing intermediate container 7c0a60607e33 05:11:03 ---> 2b6bce2a4ae8 05:11:03 Step 16/25 : WORKDIR / 05:11:03 ---> Running in 727e2fb93ceb 05:11:03 Removing intermediate container 727e2fb93ceb 05:11:03 ---> e9449aeec5a5 05:11:03 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:11:03 ---> 917f7c18843d 05:11:03 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:11:03 ---> 6b8c84b88f02 05:11:03 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:11:04 ---> 9de9d7a1034c 05:11:04 Step 20/25 : EXPOSE 59900 05:11:04 ---> Running in 8b37ee597b1b 05:11:04 Removing intermediate container 8b37ee597b1b 05:11:04 ---> 96cbebe25492 05:11:04 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:11:04 ---> Running in 0ce0ebe9a03b 05:11:04 Removing intermediate container 0ce0ebe9a03b 05:11:04 ---> 6423555e012c 05:11:04 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:11:04 ---> Running in f95a0dd4fd11 05:11:04 Removing intermediate container f95a0dd4fd11 05:11:04 ---> 1b575e619ab5 05:11:04 Step 23/25 : LABEL arch=amd64 05:11:04 ---> Running in 7870843a4b3b 05:11:04 Removing intermediate container 7870843a4b3b 05:11:04 ---> f6414fbd9c53 05:11:04 Step 24/25 : LABEL git_sha=5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:11:05 ---> Running in 27aa21fbdd38 05:11:05 Removing intermediate container 27aa21fbdd38 05:11:05 ---> ecc29b3f29b1 05:11:05 Step 25/25 : LABEL version=3.0.0-dev.26 05:11:05 ---> Running in 216181f54d99 05:11:05 Removing intermediate container 216181f54d99 05:11:05 ---> 314622e7888d 05:11:05 [Warning] One or more build-args [ARCH] were not consumed 05:11:05 Successfully built 314622e7888d 05:11:05 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:05 provisioning config files... 05:11:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16281328285174706702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:05 ---> docker-login.sh 05:11:05 nexus3.edgexfoundry.org:10001 05:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:05 Configure a credential helper to remove this warning. See 05:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:05 05:11:05 Login Succeeded 05:11:05 nexus3.edgexfoundry.org:10002 05:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:05 Configure a credential helper to remove this warning. See 05:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:05 05:11:05 Login Succeeded 05:11:05 nexus3.edgexfoundry.org:10003 05:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:05 Configure a credential helper to remove this warning. See 05:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:05 05:11:05 Login Succeeded 05:11:05 nexus3.edgexfoundry.org:10004 05:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:05 Configure a credential helper to remove this warning. See 05:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:05 05:11:05 Login Succeeded 05:11:05 docker.io 05:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:11:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:05 Configure a credential helper to remove this warning. See 05:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:05 05:11:05 Login Succeeded 05:11:05 ---> docker-login.sh ends [Pipeline] } 05:11:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:11:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:11:06 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 05:11:06 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:11:06 latest 05:11:06 3.0.0-dev.26 05:11:06 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26 05:11:06 main 05:11:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:06 Avoid second fetch 05:11:06 Checking out Revision 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 (main) 05:11:06 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:11:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:11:06 6184b86707b3: Preparing 05:11:06 afd8b929e3f5: Preparing 05:11:06 dede15956f3d: Preparing 05:11:06 5ee98b58d8c3: Preparing 05:11:06 f1417ff83b31: Preparing 05:11:06 f1417ff83b31: Layer already exists 05:11:06 dede15956f3d: Pushed 05:11:06 afd8b929e3f5: Pushed 05:11:06 5ee98b58d8c3: Pushed 05:11:06 Commit message: "Merge pull request #374 from weichou1229/issue-371" 05:11:06 > git config core.sparsecheckout # timeout=10 05:11:06 > git checkout -f 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:11:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:11:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:11:07 Dload Upload Total Spent Left Speed 05:11:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 05:11:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:11:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:11:08 + sudo tee /etc/docker/daemon.new 05:11:08 { 05:11:08 "registry-mirrors": [ 05:11:08 "https://nexus3.edgexfoundry.org:10001" 05:11:08 ], 05:11:08 "bip": "10.250.0.254/24", 05:11:08 "hosts": [ 05:11:08 "tcp://0.0.0.0:5555", 05:11:08 "unix:///var/run/docker.sock" 05:11:08 ], 05:11:08 "mtu": 1458, 05:11:08 "selinux-enabled": true, 05:11:08 "seccomp-profile": "/etc/docker/seccomp.json" 05:11:08 } [Pipeline] sh 05:11:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 05:11:09 6184b86707b3: Pushed 05:11:09 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9: digest: sha256:a3335d84b3977dde0e33aef72d4c5556ecf97a0e06c4d52dd927f99087b0dcda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:09 + sudo service docker restart 05:11:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 05:11:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:11:09 6184b86707b3: Preparing 05:11:09 afd8b929e3f5: Preparing 05:11:09 dede15956f3d: Preparing 05:11:09 5ee98b58d8c3: Preparing 05:11:09 f1417ff83b31: Preparing 05:11:09 f1417ff83b31: Layer already exists 05:11:09 6184b86707b3: Layer already exists 05:11:09 afd8b929e3f5: Layer already exists 05:11:09 dede15956f3d: Layer already exists 05:11:09 5ee98b58d8c3: Layer already exists 05:11:09 latest: digest: sha256:a3335d84b3977dde0e33aef72d4c5556ecf97a0e06c4d52dd927f99087b0dcda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.26 05:11:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:11:10 6184b86707b3: Preparing 05:11:10 afd8b929e3f5: Preparing 05:11:10 dede15956f3d: Preparing 05:11:10 5ee98b58d8c3: Preparing 05:11:10 f1417ff83b31: Preparing 05:11:10 5ee98b58d8c3: Layer already exists 05:11:10 6184b86707b3: Layer already exists 05:11:10 f1417ff83b31: Layer already exists 05:11:10 afd8b929e3f5: Layer already exists 05:11:10 dede15956f3d: Layer already exists 05:11:10 3.0.0-dev.26: digest: sha256:a3335d84b3977dde0e33aef72d4c5556ecf97a0e06c4d52dd927f99087b0dcda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26 05:11:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:11:11 6184b86707b3: Preparing 05:11:11 afd8b929e3f5: Preparing 05:11:11 dede15956f3d: Preparing 05:11:11 5ee98b58d8c3: Preparing 05:11:11 f1417ff83b31: Preparing 05:11:11 6184b86707b3: Layer already exists 05:11:11 afd8b929e3f5: Layer already exists 05:11:11 f1417ff83b31: Layer already exists 05:11:11 dede15956f3d: Layer already exists 05:11:11 5ee98b58d8c3: Layer already exists 05:11:11 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26: digest: sha256:a3335d84b3977dde0e33aef72d4c5556ecf97a0e06c4d52dd927f99087b0dcda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:11 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 05:11:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 05:11:11 6184b86707b3: Preparing 05:11:11 afd8b929e3f5: Preparing 05:11:11 dede15956f3d: Preparing 05:11:11 5ee98b58d8c3: Preparing 05:11:11 f1417ff83b31: Preparing 05:11:11 6184b86707b3: Layer already exists 05:11:11 afd8b929e3f5: Layer already exists 05:11:11 5ee98b58d8c3: Layer already exists 05:11:11 dede15956f3d: Layer already exists 05:11:11 f1417ff83b31: Layer already exists 05:11:11 main: digest: sha256:a3335d84b3977dde0e33aef72d4c5556ecf97a0e06c4d52dd927f99087b0dcda size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:11:11 ===================================================== [Pipeline] echo 05:11:11 taggedImages: 05:11:11 - nexus3.edgexfoundry.org:10004/device-virtual:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:11:11 - nexus3.edgexfoundry.org:10004/device-virtual:latest 05:11:11 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.26 05:11:11 - nexus3.edgexfoundry.org:10004/device-virtual:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26 05:11:11 - 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 05:11:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:12 05:11:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:12 latest: Pulling from edgex-lftools-log-publisher 05:11:12 5eb5b503b376: Pulling fs layer 05:11:12 5c69ac0246d0: Pulling fs layer 05:11:12 ec43610c2a17: Pulling fs layer 05:11:12 3a2ae6a8a46f: Pulling fs layer 05:11:12 33b1e0a273af: Pulling fs layer 05:11:12 5d3b04190fa2: Pulling fs layer 05:11:12 2f39f015ded8: Pulling fs layer 05:11:12 3a2ae6a8a46f: Waiting 05:11:12 33b1e0a273af: Waiting 05:11:12 5d3b04190fa2: Waiting 05:11:12 2f39f015ded8: Waiting 05:11:12 5c69ac0246d0: Verifying Checksum 05:11:12 5c69ac0246d0: Download complete 05:11:12 3a2ae6a8a46f: Verifying Checksum 05:11:12 3a2ae6a8a46f: Download complete 05:11:12 33b1e0a273af: Verifying Checksum 05:11:12 33b1e0a273af: Download complete 05:11:12 ec43610c2a17: Verifying Checksum 05:11:12 ec43610c2a17: Download complete 05:11:12 5d3b04190fa2: Download complete 05:11:12 5eb5b503b376: Verifying Checksum 05:11:12 5eb5b503b376: Download complete 05:11:13 5eb5b503b376: Pull complete 05:11:13 5c69ac0246d0: Pull complete 05:11:13 2f39f015ded8: Download complete 05:11:14 ec43610c2a17: Pull complete 05:11:14 3a2ae6a8a46f: Pull complete 05:11:14 33b1e0a273af: Pull complete 05:11:14 5d3b04190fa2: Pull complete 05:11:18 2f39f015ded8: Pull complete 05:11:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:11:18 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:11: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/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 05:11:22 $ docker top 30f489c166a15b6b1c2bf70e70891a1fb617457e45c8e67c90bfcda5a1c2d32d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:23 ---> job-cost.sh 05:11:23 lf-activate-venv: SKIPPING 05:11:23 INFO: No Stack... 05:11:23 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:23 INFO: Archiving Costs [Pipeline] sh 05:11:24 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 05:11:24 + cut -d, -f6 [Pipeline] lock 05:11:24 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-98-stack-cost] 05:11:24 Resource [jenkins-edgexfoundry-device-virtual-go-main-98-stack-cost] did not exist. Created. 05:11:24 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:24 + echo total: 0.2199999988079071 [Pipeline] stash 05:11:24 Stashed 1 file(s) [Pipeline] } 05:11:24 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:24 $ docker stop --time=1 30f489c166a15b6b1c2bf70e70891a1fb617457e45c8e67c90bfcda5a1c2d32d 05:11:25 $ docker rm -f --volumes 30f489c166a15b6b1c2bf70e70891a1fb617457e45c8e67c90bfcda5a1c2d32d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:11:27 provisioning config files... 05:11:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/98@tmp/config14208430699943123071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:28 ---> docker-login.sh 05:11:28 nexus3.edgexfoundry.org:10001 05:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:28 Configure a credential helper to remove this warning. See 05:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:28 05:11:28 Login Succeeded 05:11:28 nexus3.edgexfoundry.org:10002 05:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:28 Configure a credential helper to remove this warning. See 05:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:28 05:11:29 Login Succeeded 05:11:29 nexus3.edgexfoundry.org:10003 05:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:29 Configure a credential helper to remove this warning. See 05:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:29 05:11:29 Login Succeeded 05:11:29 nexus3.edgexfoundry.org:10004 05:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:29 Configure a credential helper to remove this warning. See 05:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:29 05:11:29 Login Succeeded 05:11:29 docker.io 05:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:11:30 Configure a credential helper to remove this warning. See 05:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:11:30 05:11:30 Login Succeeded 05:11:30 ---> docker-login.sh ends [Pipeline] } 05:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:11:30 ========================================================= 05:11:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:11:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:11:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 05:11:31 Sending build context to Docker daemon 11.91MB 05:11:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:11:31 Step 2/12 : FROM ${BASE} AS builder 05:11:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:11:31 af6eaf76a39c: Pulling fs layer 05:11:31 55522c791124: Pulling fs layer 05:11:31 ce5c4a1c91eb: Pulling fs layer 05:11:31 169dfbe0d373: Pulling fs layer 05:11:31 e1ff8fa3b103: Pulling fs layer 05:11:31 52ebb69f0ebf: Pulling fs layer 05:11:31 5abe8eddf0d5: Pulling fs layer 05:11:31 e1ff8fa3b103: Waiting 05:11:31 169dfbe0d373: Waiting 05:11:31 5abe8eddf0d5: Waiting 05:11:31 52ebb69f0ebf: Waiting 05:11:31 55522c791124: Download complete 05:11:31 169dfbe0d373: Verifying Checksum 05:11:31 169dfbe0d373: Download complete 05:11:31 e1ff8fa3b103: Verifying Checksum 05:11:31 e1ff8fa3b103: Download complete 05:11:31 af6eaf76a39c: Download complete 05:11:32 af6eaf76a39c: Pull complete 05:11:32 5abe8eddf0d5: Verifying Checksum 05:11:32 5abe8eddf0d5: Download complete 05:11:33 55522c791124: Pull complete 05:11:34 ce5c4a1c91eb: Verifying Checksum 05:11:34 ce5c4a1c91eb: Download complete 05:11:34 52ebb69f0ebf: Verifying Checksum 05:11:34 52ebb69f0ebf: Download complete 05:11:44 ce5c4a1c91eb: Pull complete 05:11:44 169dfbe0d373: Pull complete 05:11:45 e1ff8fa3b103: Pull complete 05:11:51 52ebb69f0ebf: Pull complete 05:11:53 5abe8eddf0d5: Pull complete 05:11:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:11:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:11:53 ---> 6cb57ee374ae 05:11:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:11:55 ---> Running in 9f355e89105f 05:11:55 Removing intermediate container 9f355e89105f 05:11:55 ---> bbada236075b 05:11:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:11:55 ---> Running in c17641990e22 05:11:55 Removing intermediate container c17641990e22 05:11:55 ---> 0aee8fe2b38a 05:11:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:11:55 ---> Running in 12ac6bae68c2 05:11:56 Removing intermediate container 12ac6bae68c2 05:11:56 ---> b36f2728ce67 05:11:56 Step 6/12 : WORKDIR /device-virtual-go 05:11:56 ---> Running in ef5ea20f5d09 05:11:56 Removing intermediate container ef5ea20f5d09 05:11:56 ---> 409d9957a48e 05:11:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:56 ---> Running in 1eb819efd157 05:11:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:11:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:11:58 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:11:58 (2/4) Installing libedit (20221030.3.1-r0) 05:11:58 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:11:58 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:11:59 Executing busybox-1.35.0-r29.trigger 05:11:59 OK: 268 MiB in 57 packages 05:12:00 Removing intermediate container 1eb819efd157 05:12:00 ---> 7a4d62e8a2cb 05:12:00 Step 8/12 : COPY go.mod vendor* ./ 05:12:00 ---> 1e6ff53a8fbc 05:12:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:12:00 ---> Running in c7cbfc5d0d3f 05:13:08 Removing intermediate container c7cbfc5d0d3f 05:13:08 ---> f1118426f7ad 05:13:08 Step 10/12 : COPY . . 05:13:08 ---> 1a80b4bbedd0 05:13:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:13:08 ---> Running in 0ae3c3a2f1d3 05:13:08 Removing intermediate container 0ae3c3a2f1d3 05:13:08 ---> 31226b8b3548 05:13:08 Step 12/12 : RUN $MAKE 05:13:08 ---> Running in 87c2b90e49ff 05:13:08 noop 05:13:08 Removing intermediate container 87c2b90e49ff 05:13:08 ---> a124b6e2f8bd 05:13:08 Successfully built a124b6e2f8bd 05:13:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:09 + docker inspect -f . ci-base-image-arm64 05:13:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:09 prd-ubuntu20.04-docker-arm64-4c-16g-6532 does not seem to be running inside a container 05:13:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/98 -v /w/workspace/device-virtual-go/98:/w/workspace/device-virtual-go/98:rw,z -v /w/workspace/device-virtual-go/98@tmp:/w/workspace/device-virtual-go/98@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 05:13:10 $ docker top 5aac35a418509a52a0fb21480e7d44ec3860c8678a8ab4f9d4d5bc411f1193d9 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:11 + go version 05:13:11 go version go1.20.2 linux/arm64 [Pipeline] } 05:13:11 $ docker stop --time=1 5aac35a418509a52a0fb21480e7d44ec3860c8678a8ab4f9d4d5bc411f1193d9 05:13:15 $ docker rm -f --volumes 5aac35a418509a52a0fb21480e7d44ec3860c8678a8ab4f9d4d5bc411f1193d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:13:16 + docker inspect -f . ci-base-image-arm64 05:13:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:13:16 prd-ubuntu20.04-docker-arm64-4c-16g-6532 does not seem to be running inside a container 05:13:16 $ 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/98 -v /w/workspace/device-virtual-go/98:/w/workspace/device-virtual-go/98:rw,z -v /w/workspace/device-virtual-go/98@tmp:/w/workspace/device-virtual-go/98@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 05:13:17 $ docker top 638edbf6336886939dd3d66f960bf82fb987b49c67b8671e0ad19f079ae95aa1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:17 + git config --global --add safe.directory /w/workspace/device-virtual-go/98 [Pipeline] fileExists [Pipeline] sh 05:13:18 + make test 05:13:18 go test ./... -coverprofile=coverage.out 05:13:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:15:42 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:15:42 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.222s coverage: 59.3% of statements 05:15:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:15:42 go vet ./... 05:16:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:16:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:16:09 ./bin/test-attribution-txt.sh [Pipeline] echo 05:16:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:16:09 $ docker stop --time=1 638edbf6336886939dd3d66f960bf82fb987b49c67b8671e0ad19f079ae95aa1 05:16:11 $ docker rm -f --volumes 638edbf6336886939dd3d66f960bf82fb987b49c67b8671e0ad19f079ae95aa1 [Pipeline] // withDockerContainer [Pipeline] sh 05:16:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:16:12 Warning: overwriting stash ‘coverage-report’ 05:16:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:16:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:16:14 + ls -al . 05:16:14 total 188 05:16:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:13 . 05:16:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:11 .. 05:16:14 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:11 .git 05:16:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:11 .github 05:16:14 -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 05:11 .gitignore 05:16:14 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 05:11 .golangci.yml 05:16:14 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 05:11 Attribution.txt 05:16:14 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 05:11 CHANGELOG.md 05:16:14 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 05:11 Dockerfile 05:16:14 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:11 GOVERNANCE.md 05:16:14 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 05:11 Jenkinsfile 05:16:14 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:11 LICENSE 05:16:14 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 05:11 Makefile 05:16:14 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 05:11 OWNERS.md 05:16:14 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 05:11 README.md 05:16:14 -rw-rw-r-- 1 jenkins jenkins 12 Mar 31 05:09 VERSION 05:16:14 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:11 bin 05:16:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:11 cmd 05:16:14 -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 05:15 coverage.out 05:16:14 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 05:11 go.mod 05:16:14 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 05:11 go.sum 05:16:14 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:11 internal 05:16:14 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:11 snap 05:16:14 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 05:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:16:14 + 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=5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 --label arch=arm64 --label version=3.0.0-dev.26 . 05:16:15 Sending build context to Docker daemon 11.95MB 05:16:15 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:16:15 Step 2/25 : FROM ${BASE} AS builder 05:16:15 ---> a124b6e2f8bd 05:16:15 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:16:15 ---> Running in bf493afcb31b 05:16:15 Removing intermediate container bf493afcb31b 05:16:15 ---> 90a9ffc6b88f 05:16:15 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:16:15 ---> Running in cd980ae27330 05:16:17 Removing intermediate container cd980ae27330 05:16:17 ---> f1856932a184 05:16:17 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:16:17 ---> Running in a2b960644909 05:16:17 Removing intermediate container a2b960644909 05:16:17 ---> 022b15eae932 05:16:17 Step 6/25 : WORKDIR /device-virtual-go 05:16:17 ---> Running in eea89f4a5a72 05:16:21 Removing intermediate container eea89f4a5a72 05:16:21 ---> 16ff3c988af6 05:16:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:16:21 ---> Running in b61b2ca1192a 05:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:16:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:16:24 OK: 268 MiB in 57 packages 05:16:24 Removing intermediate container b61b2ca1192a 05:16:24 ---> 85cd520a8ad7 05:16:24 Step 8/25 : COPY go.mod vendor* ./ 05:16:25 ---> 2aa804513b86 05:16:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:25 ---> Running in a8fbb381003a 05:16:28 Removing intermediate container a8fbb381003a 05:16:28 ---> 870c5c455c76 05:16:28 Step 10/25 : COPY . . 05:16:29 ---> f9a073ef2816 05:16:29 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:16:29 ---> Running in d64eb1a34d8b 05:16:29 Removing intermediate container d64eb1a34d8b 05:16:29 ---> a7667b2a3dc7 05:16:29 Step 12/25 : RUN $MAKE 05:16:29 ---> Running in f72fc6de3a5e 05:16:30 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 05:18:38 Removing intermediate container f72fc6de3a5e 05:18:38 ---> 596cd4cb4043 05:18:38 Step 13/25 : FROM alpine:3.17 05:18:38 3.17: Pulling from library/alpine 05:18:38 c41833b44d91: Pulling fs layer 05:18:38 c41833b44d91: Verifying Checksum 05:18:38 c41833b44d91: Download complete 05:18:38 c41833b44d91: Pull complete 05:18:38 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:18:38 Status: Downloaded newer image for alpine:3.17 05:18:38 ---> 51e60588ff2c 05:18:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:18:38 ---> Running in 9f02f57b8799 05:18:38 Removing intermediate container 9f02f57b8799 05:18:38 ---> 45b9552de321 05:18:38 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:18:38 ---> Running in 8f2fb0a7a1c5 05:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:18:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:18:40 (1/1) Installing dumb-init (1.2.5-r2) 05:18:40 Executing busybox-1.35.0-r29.trigger 05:18:40 OK: 8 MiB in 16 packages 05:18:40 Removing intermediate container 8f2fb0a7a1c5 05:18:40 ---> 68ad6f9a2b55 05:18:40 Step 16/25 : WORKDIR / 05:18:40 ---> Running in 4931a9011e41 05:18:41 Removing intermediate container 4931a9011e41 05:18:41 ---> cd3304977b27 05:18:41 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:18:41 ---> ccffa5f3e6e8 05:18:41 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:18:42 ---> 24298923aa7b 05:18:42 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:18:43 ---> 2bc48d33d41e 05:18:43 Step 20/25 : EXPOSE 59900 05:18:43 ---> Running in 64755d48b35d 05:18:43 Removing intermediate container 64755d48b35d 05:18:43 ---> 50bd778f82c2 05:18:43 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:18:44 ---> Running in 65fbce6857a2 05:18:44 Removing intermediate container 65fbce6857a2 05:18:44 ---> 01bc6d8691f1 05:18:44 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:18:44 ---> Running in b2fbfa457b74 05:18:44 Removing intermediate container b2fbfa457b74 05:18:44 ---> eb06a5708d6a 05:18:44 Step 23/25 : LABEL arch=arm64 05:18:44 ---> Running in a522e613db64 05:18:44 Removing intermediate container a522e613db64 05:18:44 ---> 6e0daad5c24b 05:18:44 Step 24/25 : LABEL git_sha=5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:18:45 ---> Running in 9c1918bdd7f4 05:18:45 Removing intermediate container 9c1918bdd7f4 05:18:45 ---> 1a132d536cd8 05:18:45 Step 25/25 : LABEL version=3.0.0-dev.26 05:18:45 ---> Running in 3f519d9132a1 05:18:45 Removing intermediate container 3f519d9132a1 05:18:45 ---> e5c7335d6e34 05:18:45 [Warning] One or more build-args [ARCH] were not consumed 05:18:45 Successfully built e5c7335d6e34 05:18:45 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 05:18:45 provisioning config files... 05:18:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/98@tmp/config8032287098763155377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:46 ---> docker-login.sh 05:18:46 nexus3.edgexfoundry.org:10001 05:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:46 Configure a credential helper to remove this warning. See 05:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:46 05:18:46 Login Succeeded 05:18:46 nexus3.edgexfoundry.org:10002 05:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:46 Configure a credential helper to remove this warning. See 05:18:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:46 05:18:46 Login Succeeded 05:18:46 nexus3.edgexfoundry.org:10003 05:18:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:47 Configure a credential helper to remove this warning. See 05:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:47 05:18:47 Login Succeeded 05:18:47 nexus3.edgexfoundry.org:10004 05:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:47 Configure a credential helper to remove this warning. See 05:18:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:47 05:18:47 Login Succeeded 05:18:47 docker.io 05:18:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:48 Configure a credential helper to remove this warning. See 05:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:48 05:18:48 Login Succeeded 05:18:48 ---> docker-login.sh ends [Pipeline] } 05:18:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:18:48 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 05:18:48 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:18:48 latest 05:18:48 3.0.0-dev.26 05:18:48 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26 05:18:48 main 05:18:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:18:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:18:48 2f956b22fdfe: Preparing 05:18:48 709a6cf3a416: Preparing 05:18:48 189e9b394580: Preparing 05:18:48 db5f351c58d0: Preparing 05:18:48 26cbea5cba74: Preparing 05:18:48 26cbea5cba74: Layer already exists 05:18:49 709a6cf3a416: Pushed 05:18:49 189e9b394580: Pushed 05:18:49 db5f351c58d0: Pushed 05:18:54 2f956b22fdfe: Pushed 05:18:54 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9: digest: sha256:0e1781580fa718bfe17606a194de2436e69ffc7672386022ef7960c1dc69af8a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:18:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:18:55 2f956b22fdfe: Preparing 05:18:55 709a6cf3a416: Preparing 05:18:55 189e9b394580: Preparing 05:18:55 db5f351c58d0: Preparing 05:18:55 26cbea5cba74: Preparing 05:18:55 26cbea5cba74: Layer already exists 05:18:55 db5f351c58d0: Layer already exists 05:18:55 709a6cf3a416: Layer already exists 05:18:55 2f956b22fdfe: Layer already exists 05:18:55 189e9b394580: Layer already exists 05:18:55 latest: digest: sha256:0e1781580fa718bfe17606a194de2436e69ffc7672386022ef7960c1dc69af8a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:55 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.26 05:18:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:18:56 2f956b22fdfe: Preparing 05:18:56 709a6cf3a416: Preparing 05:18:56 189e9b394580: Preparing 05:18:56 db5f351c58d0: Preparing 05:18:56 26cbea5cba74: Preparing 05:18:56 26cbea5cba74: Layer already exists 05:18:56 db5f351c58d0: Layer already exists 05:18:56 189e9b394580: Layer already exists 05:18:56 709a6cf3a416: Layer already exists 05:18:56 2f956b22fdfe: Layer already exists 05:18:56 3.0.0-dev.26: digest: sha256:0e1781580fa718bfe17606a194de2436e69ffc7672386022ef7960c1dc69af8a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:56 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26 05:18:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:18:56 2f956b22fdfe: Preparing 05:18:56 709a6cf3a416: Preparing 05:18:56 189e9b394580: Preparing 05:18:56 db5f351c58d0: Preparing 05:18:56 26cbea5cba74: Preparing 05:18:56 26cbea5cba74: Layer already exists 05:18:56 709a6cf3a416: Layer already exists 05:18:56 db5f351c58d0: Layer already exists 05:18:56 189e9b394580: Layer already exists 05:18:56 2f956b22fdfe: Layer already exists 05:18:56 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26: digest: sha256:0e1781580fa718bfe17606a194de2436e69ffc7672386022ef7960c1dc69af8a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 05:18:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 05:18:57 2f956b22fdfe: Preparing 05:18:57 709a6cf3a416: Preparing 05:18:57 189e9b394580: Preparing 05:18:57 db5f351c58d0: Preparing 05:18:57 26cbea5cba74: Preparing 05:18:57 26cbea5cba74: Layer already exists 05:18:57 2f956b22fdfe: Layer already exists 05:18:57 709a6cf3a416: Layer already exists 05:18:57 189e9b394580: Layer already exists 05:18:57 db5f351c58d0: Layer already exists 05:18:57 main: digest: sha256:0e1781580fa718bfe17606a194de2436e69ffc7672386022ef7960c1dc69af8a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:18:57 ===================================================== [Pipeline] echo 05:18:57 taggedImages: 05:18:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 05:18:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 05:18:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.26 05:18:57 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9-3.0.0-dev.26 05:18:57 - 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 05:18:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:57 05:18:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:18:59 arm64: Pulling from edgex-lftools-log-publisher 05:18:59 8998bd30e6a1: Pulling fs layer 05:18:59 04944245beec: Pulling fs layer 05:18:59 699f458cf7ca: Pulling fs layer 05:18:59 765212b225bb: Pulling fs layer 05:18:59 f23df028b6ca: Pulling fs layer 05:18:59 d65c8cfc05b1: Pulling fs layer 05:18:59 2437ff75d9bd: Pulling fs layer 05:18:59 765212b225bb: Waiting 05:18:59 f23df028b6ca: Waiting 05:18:59 d65c8cfc05b1: Waiting 05:18:59 2437ff75d9bd: Waiting 05:18:59 04944245beec: Verifying Checksum 05:18:59 04944245beec: Download complete 05:18:59 765212b225bb: Verifying Checksum 05:18:59 765212b225bb: Download complete 05:18:59 f23df028b6ca: Verifying Checksum 05:18:59 f23df028b6ca: Download complete 05:18:59 d65c8cfc05b1: Verifying Checksum 05:18:59 d65c8cfc05b1: Download complete 05:18:59 699f458cf7ca: Verifying Checksum 05:18:59 699f458cf7ca: Download complete 05:19:00 8998bd30e6a1: Verifying Checksum 05:19:00 8998bd30e6a1: Download complete 05:19:03 2437ff75d9bd: Verifying Checksum 05:19:03 2437ff75d9bd: Download complete 05:19:04 8998bd30e6a1: Pull complete 05:19:05 04944245beec: Pull complete 05:19:06 699f458cf7ca: Pull complete 05:19:06 765212b225bb: Pull complete 05:19:07 f23df028b6ca: Pull complete 05:19:07 d65c8cfc05b1: Pull complete 05:19:22 2437ff75d9bd: Pull complete 05:19:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:19:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:19:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:22 prd-ubuntu20.04-docker-arm64-4c-16g-6532 does not seem to be running inside a container 05:19:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/98 -v /w/workspace/device-virtual-go/98:/w/workspace/device-virtual-go/98:rw,z -v /w/workspace/device-virtual-go/98@tmp:/w/workspace/device-virtual-go/98@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 05:19:25 $ docker top 9a511ab17f1ae3496337ec9b1d787ff154861934af9ad8052d0a7c351af0a3ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:26 ---> job-cost.sh 05:19:26 lf-activate-venv: SKIPPING 05:19:26 INFO: No Stack... 05:19:26 INFO: Retrieving Pricing Info for: v3-standard-4 05:19:27 INFO: Archiving Costs [Pipeline] sh 05:19:27 + cut -d, -f6 05:19:27 + cat /w/workspace/device-virtual-go/98/archives/cost.csv [Pipeline] lock 05:19:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-98-stack-cost] 05:19:27 Resource [jenkins-edgexfoundry-device-virtual-go-main-98-stack-cost] did not exist. Created. 05:19:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-98-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:19:28 /w/workspace/device-virtual-go/98@tmp/durable-d164414c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:19:28 + echo total: 0.10999999940395355 [Pipeline] stash 05:19:28 Warning: overwriting stash ‘stack-cost’ 05:19:28 Stashed 1 file(s) [Pipeline] } 05:19:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-98-stack-cost] [Pipeline] // lock [Pipeline] } 05:19:28 $ docker stop --time=1 9a511ab17f1ae3496337ec9b1d787ff154861934af9ad8052d0a7c351af0a3ee 05:19:30 $ docker rm -f --volumes 9a511ab17f1ae3496337ec9b1d787ff154861934af9ad8052d0a7c351af0a3ee [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 05:19:30 provisioning config files... 05:19:30 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3513252392530166950tmp [Pipeline] { [Pipeline] sh 05:19:30 + set +x 05:19:30 + curl -s https://codecov.io/bash 05:19:30 + bash -s -- 05:19:30 05:19:30 _____ _ 05:19:30 / ____| | | 05:19:30 | | ___ __| | ___ ___ _____ __ 05:19:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:19:30 | |___| (_) | (_| | __/ (_| (_) \ V / 05:19:30 \_____\___/ \__,_|\___|\___\___/ \_/ 05:19:30 Bash-1.0.6 05:19:30 05:19:30 05:19:30 ==> git version 2.25.1 found 05:19:30 ==> 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 05:19:30 Release-Date: 2020-01-08 05:19:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:19:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:19:30 ==> Jenkins CI detected. 05:19:30 current dir:  /w/workspace/exfoundry_device-virtual-go_main 05:19:30 project root: . 05:19:30 --> token set from env 05:19:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:19:30 ==> Running gcov in . (disable via -X gcov) 05:19:30 ==> Python coveragepy not found 05:19:30 ==> Searching for coverage reports in: 05:19:30 + . 05:19:31 -> Found 1 reports 05:19:31 ==> Detecting git/mercurial file structure 05:19:31 ==> Reading reports 05:19:31 + ./coverage.out bytes=42791 05:19:31 ==> Appending adjustments 05:19:31 https://docs.codecov.io/docs/fixing-reports 05:19:31 + Found adjustments 05:19:31 ==> Gzipping contents 05:19:31 8.0K /tmp/codecov.ijpnNl.gz 05:19:31 ==> Uploading reports 05:19:31 url: https://codecov.io 05:19:31 query: branch=main&commit=5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:31 -> Pinging Codecov 05:19:31 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=5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:19:31 -> Uploading to 05:19:31 https://storage.googleapis.com/codecov/v4/raw/2023-03-31/5E52B4B073DB2E39498172D8E973AA87/5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9/ed0c695e-8234-4a30-81dd-411d60659232.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230331T051931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f37961124d845afab5483e0454f35f2d2ad29da1cfae8c89b88915757760190 05:19:31 % Total % Received % Xferd Average Speed Time Time Time Current 05:19:31 Dload Upload Total Spent Left Speed 05:19:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5177 0 0 100 5177 0 18358 --:--:-- --:--:-- --:--:-- 18358 05:19:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [Pipeline] } 05:19:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:19:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:19:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:32 05:19:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:19:32 df9b9388f04a: Pulling fs layer 05:19:32 52dc419b0ee2: Pulling fs layer 05:19:32 25bc292e5bac: Pulling fs layer 05:19:32 114826534d7a: Pulling fs layer 05:19:32 4657fd5d0bcf: Pulling fs layer 05:19:32 6ad1cebc031e: Pulling fs layer 05:19:32 8a3aa393b2d8: Pulling fs layer 05:19:32 4657fd5d0bcf: Waiting 05:19:32 6ad1cebc031e: Waiting 05:19:32 8a3aa393b2d8: Waiting 05:19:32 114826534d7a: Waiting 05:19:32 25bc292e5bac: Verifying Checksum 05:19:32 25bc292e5bac: Download complete 05:19:32 52dc419b0ee2: Verifying Checksum 05:19:32 52dc419b0ee2: Download complete 05:19:32 4657fd5d0bcf: Verifying Checksum 05:19:32 4657fd5d0bcf: Download complete 05:19:32 df9b9388f04a: Download complete 05:19:32 6ad1cebc031e: Verifying Checksum 05:19:32 6ad1cebc031e: Download complete 05:19:32 df9b9388f04a: Pull complete 05:19:32 52dc419b0ee2: Pull complete 05:19:33 25bc292e5bac: Pull complete 05:19:33 114826534d7a: Verifying Checksum 05:19:33 114826534d7a: Download complete 05:19:33 8a3aa393b2d8: Verifying Checksum 05:19:33 8a3aa393b2d8: Download complete 05:19:36 114826534d7a: Pull complete 05:19:36 4657fd5d0bcf: Pull complete 05:19:36 6ad1cebc031e: Pull complete 05:19:39 8a3aa393b2d8: Pull complete 05:19:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:19:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:19:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:39 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:19:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:19:43 $ docker top 95257a188c85c0201885843b63b729f2db4f897e15330d4d181043e84e705087 -eo pid,comm [Pipeline] { [Pipeline] echo 05:19:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 05:19:43 + set -o pipefail 05:19:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 05:19:48 05:19:48 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 05:19:48 05:19:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/77e9dff9-6347-4a30-a3a6-184b337ee675 05:19:48 05:19:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:19:48 05:19:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:19:48 05:19:48 05:19:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:19:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:19:48 More details here: https://snyk.co/ue1NS [Pipeline] } 05:19:48 $ docker stop --time=1 95257a188c85c0201885843b63b729f2db4f897e15330d4d181043e84e705087 05:19:51 $ docker rm -f --volumes 95257a188c85c0201885843b63b729f2db4f897e15330d4d181043e84e705087 [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 05:19:52 + git log --format=format:%s -1 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 [Pipeline] sh 05:19:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:19:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:52 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:19:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:19:53 $ docker top 28ed90d9116acca4766442f725ac4a9b7f8782b98bcd6712894285f2cf573b09 -eo pid,comm 05:19: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). 05:19:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:53 [ssh-agent] Looking for ssh-agent implementation... 05:19:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:53 $ docker exec 28ed90d9116acca4766442f725ac4a9b7f8782b98bcd6712894285f2cf573b09 ssh-agent 05:19:53 SSH_AUTH_SOCK=/tmp/ssh-Bh9NkmRLlEPg/agent.33 05:19:53 SSH_AGENT_PID=39 05:19:53 Running ssh-add (command line suppressed) 05:19:53 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8518075534272017593.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8518075534272017593.key) 05:19:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:53 + git semver tag 05:19:54 2023-03-31 05:19:53,997 [run_tag] DEBUG tag force:False 05:19:54 2023-03-31 05:19:53,997 [check_head_tag] DEBUG check head tag 05:19:54 2023-03-31 05:19:53,998 [execute] INFO git cat-file --batch-check 05:19:54 2023-03-31 05:19:53,999 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 05:19:54 2023-03-31 05:19:54,002 [execute] INFO git cat-file --batch 05:19:54 2023-03-31 05:19:54,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 05:19:54 2023-03-31 05:19:54,020 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:19:54 2023-03-31 05:19:54,021 [execute] INFO git tag -a v3.0.0-dev.26 -m v3.0.0-dev.26 05:19:54 2023-03-31 05:19:54,021 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.26', '-m', 'v3.0.0-dev.26'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 05:19:54 2023-03-31 05:19:54,025 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:19:54 3.0.0-dev.26 [Pipeline] } 05:19:54 $ docker exec --env ******** --env ******** 28ed90d9116acca4766442f725ac4a9b7f8782b98bcd6712894285f2cf573b09 ssh-agent -k 05:19:54 unset SSH_AUTH_SOCK; 05:19:54 unset SSH_AGENT_PID; 05:19:54 echo Agent pid 39 killed; 05:19:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:19:54 + git semver [Pipeline] } 05:19:54 $ docker stop --time=1 28ed90d9116acca4766442f725ac4a9b7f8782b98bcd6712894285f2cf573b09 05:19:56 $ docker rm -f --volumes 28ed90d9116acca4766442f725ac4a9b7f8782b98bcd6712894285f2cf573b09 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:19:56 05:19:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:19:56 0.23.1-centos7: Pulling from edgex-lftools 05:19:56 ab5ef0e58194: Pulling fs layer 05:19:56 9712f1f96733: Pulling fs layer 05:19:56 63f879dbbcfc: Pulling fs layer 05:19:56 0d9ebad4ef96: Pulling fs layer 05:19:56 e9a5061849ea: Pulling fs layer 05:19:56 d747dcd14b5f: Pulling fs layer 05:19:56 2de7ff778b66: Pulling fs layer 05:19:56 e9a5061849ea: Waiting 05:19:56 d747dcd14b5f: Waiting 05:19:56 2de7ff778b66: Waiting 05:19:56 0d9ebad4ef96: Waiting 05:19:56 9712f1f96733: Verifying Checksum 05:19:56 9712f1f96733: Download complete 05:19:56 63f879dbbcfc: Verifying Checksum 05:19:56 63f879dbbcfc: Download complete 05:19:56 e9a5061849ea: Verifying Checksum 05:19:56 e9a5061849ea: Download complete 05:19:57 d747dcd14b5f: Download complete 05:19:57 ab5ef0e58194: Download complete 05:19:57 0d9ebad4ef96: Verifying Checksum 05:19:57 0d9ebad4ef96: Download complete 05:19:57 2de7ff778b66: Verifying Checksum 05:19:57 2de7ff778b66: Download complete 05:19:59 ab5ef0e58194: Pull complete 05:19:59 9712f1f96733: Pull complete 05:20:00 63f879dbbcfc: Pull complete 05:20:04 0d9ebad4ef96: Pull complete 05:20:04 e9a5061849ea: Pull complete 05:20:04 d747dcd14b5f: Pull complete 05:20:05 2de7ff778b66: Pull complete 05:20:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:20:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:20:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:05 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:20:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:20:09 $ docker top 0a5a3781a83ce9ffe416664311429a7c5613617d0ebc117ade38569cd079847e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:20:09 provisioning config files... 05:20:09 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7750465009899545394tmp 05:20:09 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12632237628256058095tmp 05:20:09 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4986724625260752676tmp [Pipeline] { [Pipeline] echo 05:20:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:20:09 ---> sigul-configuration.sh 05:20:09 gpg: directory `/root/.gnupg' created 05:20:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:20:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:20:09 gpg: keyring `/root/.gnupg/secring.gpg' created 05:20:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:20:09 gpg: CAST5 encrypted data 05:20:09 gpg: encrypted with 1 passphrase 05:20:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:20:10 + mkdir /home/jenkins 05:20:10 + mkdir /home/jenkins/sigul [Pipeline] sh 05:20:10 + 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 05:20:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:20:10 ---> sigul-install.sh 05:20:10 Sigul already installed; skipping installation. [Pipeline] sh 05:20:11 + git tag --list 05:20:11 v1.0.0 05:20:11 v1.1.0 05:20:11 v1.1.1 05:20:11 v1.2.1 05:20:11 v1.2.2 05:20:11 v1.2.3 05:20:11 v1.3.0 05:20:11 v1.3.1 05:20:11 v2.0.0 05:20:11 v2.1.0 05:20:11 v2.1.1 05:20:11 v2.1.1-dev.1 05:20:11 v2.1.1-dev.2 05:20:11 v2.2.0 05:20:11 v2.2.1-dev.1 05:20:11 v2.2.1-dev.2 05:20:11 v2.2.1-dev.3 05:20:11 v2.2.1-dev.4 05:20:11 v2.2.1-dev.5 05:20:11 v2.2.1-dev.6 05:20:11 v2.2.1-dev.7 05:20:11 v2.2.1-dev.8 05:20:11 v2.3.0 05:20:11 v2.3.0-dev.10 05:20:11 v2.3.0-dev.11 05:20:11 v2.3.0-dev.12 05:20:11 v2.3.0-dev.13 05:20:11 v2.3.0-dev.14 05:20:11 v2.3.0-dev.15 05:20:11 v2.3.0-dev.16 05:20:11 v2.3.0-dev.17 05:20:11 v2.3.0-dev.18 05:20:11 v2.3.0-dev.19 05:20:11 v2.3.0-dev.20 05:20:11 v2.3.0-dev.21 05:20:11 v2.3.0-dev.22 05:20:11 v2.3.0-dev.23 05:20:11 v2.3.0-dev.24 05:20:11 v2.3.0-dev.25 05:20:11 v2.3.0-dev.26 05:20:11 v2.3.0-dev.27 05:20:11 v2.3.0-dev.28 05:20:11 v2.3.0-dev.29 05:20:11 v2.3.0-dev.30 05:20:11 v2.3.0-dev.8 05:20:11 v2.3.0-dev.9 05:20:11 v3.0.0-dev.1 05:20:11 v3.0.0-dev.10 05:20:11 v3.0.0-dev.11 05:20:11 v3.0.0-dev.12 05:20:11 v3.0.0-dev.13 05:20:11 v3.0.0-dev.14 05:20:11 v3.0.0-dev.15 05:20:11 v3.0.0-dev.16 05:20:11 v3.0.0-dev.17 05:20:11 v3.0.0-dev.18 05:20:11 v3.0.0-dev.19 05:20:11 v3.0.0-dev.2 05:20:11 v3.0.0-dev.20 05:20:11 v3.0.0-dev.21 05:20:11 v3.0.0-dev.22 05:20:11 v3.0.0-dev.23 05:20:11 v3.0.0-dev.24 05:20:11 v3.0.0-dev.25 05:20:11 v3.0.0-dev.26 05:20:11 v3.0.0-dev.3 05:20:11 v3.0.0-dev.4 05:20:11 v3.0.0-dev.5 05:20:11 v3.0.0-dev.6 05:20:11 v3.0.0-dev.7 05:20:11 v3.0.0-dev.8 05:20:11 v3.0.0-dev.9 [Pipeline] sh 05:20:11 + lftools sign git-tag v3.0.0-dev.26 05:20:11 Signing Git tag with Sigul... 05:20:11 Signing v3.0.0-dev.26 [Pipeline] echo 05:20:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:20:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:20:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:20:12 $ docker stop --time=1 0a5a3781a83ce9ffe416664311429a7c5613617d0ebc117ade38569cd079847e 05:20:13 $ docker rm -f --volumes 0a5a3781a83ce9ffe416664311429a7c5613617d0ebc117ade38569cd079847e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:20:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:14 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:20:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:20:14 $ docker top 162282065a870a0ee4ad2d17e2ef42b42f9174026f237dfaee88d4cad5a1e830 -eo pid,comm 05:20:14 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). 05:20:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:15 [ssh-agent] Looking for ssh-agent implementation... 05:20:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:15 $ docker exec 162282065a870a0ee4ad2d17e2ef42b42f9174026f237dfaee88d4cad5a1e830 ssh-agent 05:20:15 SSH_AUTH_SOCK=/tmp/ssh-7RnDxIc7lphT/agent.33 05:20:15 SSH_AGENT_PID=39 05:20:15 Running ssh-add (command line suppressed) 05:20:15 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6588296345274481607.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6588296345274481607.key) 05:20:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:15 + git semver bump pre 05:20:15 2023-03-31 05:20:15,840 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:20:15 2023-03-31 05:20:15,840 [bump_version] DEBUG bumping version:3.0.0-dev.26 on axis:pre with prefix:dev 05:20:15 2023-03-31 05:20:15,840 [bump_version] DEBUG bumped version:3.0.0-dev.27 05:20:15 2023-03-31 05:20:15,840 [write_version] DEBUG write version:3.0.0-dev.27 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 05:20:15 2023-03-31 05:20:15,841 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:20:15 2023-03-31 05:20:15,841 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:20:15 2023-03-31 05:20:15,842 [execute] INFO git cat-file --batch-check 05:20:15 2023-03-31 05:20:15,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:15 2023-03-31 05:20:15,847 [execute] INFO git cat-file --batch 05:20:15 2023-03-31 05:20:15,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:15 2023-03-31 05:20:15,852 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:20:15 3.0.0-dev.27 [Pipeline] } 05:20:15 $ docker exec --env ******** --env ******** 162282065a870a0ee4ad2d17e2ef42b42f9174026f237dfaee88d4cad5a1e830 ssh-agent -k 05:20:16 unset SSH_AUTH_SOCK; 05:20:16 unset SSH_AGENT_PID; 05:20:16 echo Agent pid 39 killed; 05:20:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:16 + git semver [Pipeline] } 05:20:16 $ docker stop --time=1 162282065a870a0ee4ad2d17e2ef42b42f9174026f237dfaee88d4cad5a1e830 05:20:17 $ docker rm -f --volumes 162282065a870a0ee4ad2d17e2ef42b42f9174026f237dfaee88d4cad5a1e830 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:20:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:20:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:18 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:20:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:20:18 $ docker top e1e8f04564cd2e1c7fe55b812f8706ad1925f2f05d431b6f01eddf5d94138933 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:20:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:20:19 [ssh-agent] Looking for ssh-agent implementation... 05:20:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:19 $ docker exec e1e8f04564cd2e1c7fe55b812f8706ad1925f2f05d431b6f01eddf5d94138933 ssh-agent 05:20:19 SSH_AUTH_SOCK=/tmp/ssh-RHQ9R7pItIFb/agent.32 05:20:19 SSH_AGENT_PID=38 05:20:19 Running ssh-add (command line suppressed) 05:20:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3782766122172470800.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3782766122172470800.key) 05:20:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:19 + git semver push 05:20:19 2023-03-31 05:20:19,801 [run_push] DEBUG push 05:20:19 2023-03-31 05:20:19,802 [execute] INFO git cat-file --batch-check 05:20:19 2023-03-31 05:20:19,802 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:20:19 2023-03-31 05:20:19,806 [execute] INFO git rev-list d01713f268dfbb7dabc160bbaa95002bdda80b33 -- 05:20:19 2023-03-31 05:20:19,806 [execute] DEBUG Popen(['git', 'rev-list', 'd01713f268dfbb7dabc160bbaa95002bdda80b33', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:20:19 2023-03-31 05:20:19,814 [execute] INFO git fetch -v origin 05:20:19 2023-03-31 05:20:19,815 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:20:20 2023-03-31 05:20:20,515 [run_push] DEBUG no remote changes detected 05:20:20 2023-03-31 05:20:20,515 [execute] INFO git push origin semver 05:20:20 2023-03-31 05:20:20,515 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:20:21 2023-03-31 05:20:21,383 [run_push] DEBUG push all version tags 05:20:21 2023-03-31 05:20:21,384 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:20:21 2023-03-31 05:20:21,384 [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) 05:20:22 2023-03-31 05:20:22,263 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 05:20:22 3.0.0-dev.27 [Pipeline] } 05:20:22 $ docker exec --env ******** --env ******** e1e8f04564cd2e1c7fe55b812f8706ad1925f2f05d431b6f01eddf5d94138933 ssh-agent -k 05:20:22 unset SSH_AUTH_SOCK; 05:20:22 unset SSH_AGENT_PID; 05:20:22 echo Agent pid 38 killed; 05:20:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:22 + git semver [Pipeline] } 05:20:23 $ docker stop --time=1 e1e8f04564cd2e1c7fe55b812f8706ad1925f2f05d431b6f01eddf5d94138933 05:20:24 $ docker rm -f --volumes e1e8f04564cd2e1c7fe55b812f8706ad1925f2f05d431b6f01eddf5d94138933 [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 05:20:24 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 05:20:24 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 05:20:24 total 16 05:20:24 drwxr-xr-x 3 root root 4096 Mar 31 05:11 . 05:20:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 05:20 .. 05:20:24 drwxr-xr-x 2 root root 4096 Mar 31 05:11 cost 05:20:24 -rw-r--r-- 1 root root 88 Mar 31 05:11 cost.csv 05:20:24 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 05:20:24 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 05:20:24 total 16 05:20:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:11 . 05:20:24 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 05:20 .. 05:20:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 05:11 cost 05:20:24 -rw-r--r-- 1 jenkins jenkins 88 Mar 31 05:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:20:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:20:26 ---> package-listing.sh 05:20:26 ++ facter osfamily 05:20:26 ++ tr '[:upper:]' '[:lower:]' 05:20:26 + OS_FAMILY=debian 05:20:26 + workspace=/w/workspace/exfoundry_device-virtual-go_main 05:20:26 + START_PACKAGES=/tmp/packages_start.txt 05:20:26 + END_PACKAGES=/tmp/packages_end.txt 05:20:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:20:26 + PACKAGES=/tmp/packages_start.txt 05:20:26 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 05:20:26 + PACKAGES=/tmp/packages_end.txt 05:20:26 + case "${OS_FAMILY}" in 05:20:26 + dpkg -l 05:20:26 + grep '^ii' 05:20:26 + '[' -f /tmp/packages_start.txt ']' 05:20:26 + '[' -f /tmp/packages_end.txt ']' 05:20:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:20:26 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 05:20:26 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 05:20:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 05:20:26 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 05:20:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:27 prd-ubuntu20.04-docker-8c-8g-6531 does not seem to be running inside a container 05:20:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:20:27 $ docker top b03ebddc547ebb09ca37b1f35e2fce8e35fbff1e55c68008c44647f183448e67 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:27 + touch /tmp/pre-build-complete [Pipeline] sh 05:20:28 + mkdir -p /var/log/sysstat [Pipeline] sh 05:20:28 + ls /var/log/sa-host 05:20:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:20:28 provisioning config files... 05:20:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config848492192617292904tmp [Pipeline] { [Pipeline] echo 05:20:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:20:28 ---> create-netrc.sh [Pipeline] } 05:20:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:20:29 ---> python-tools-install.sh [Pipeline] echo 05:20:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:20:29 ---> sudo-logs.sh 05:20:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:20:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:20:29 ---> job-cost.sh 05:20:29 lf-activate-venv: SKIPPING 05:20:29 DEBUG: total: 0.2199999988079071 05:20:29 INFO: Retrieving Stack Cost... 05:20:29 INFO: Retrieving Pricing Info for: v3-standard-8 05:20:30 INFO: Archiving Costs [Pipeline] echo 05:20:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:20:30 ---> logs-deploy.sh 05:20:30 lf-activate-venv: SKIPPING 05:20:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/98 05:20:30 INFO: archiving workspace using pattern(s): 05:20:31 Archives upload complete. 05:20:31 INFO: archiving logs to Nexus