Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9393cb199918d0b51a604a638f19df0ef5e84a0a 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-ssh13892716706943822047.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-ssh13537240015086722642.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-ssh16220606995248227678.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-ssh17749736662044530169.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-ssh3296894213979596185.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7270 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 > 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 Avoid second fetch Checking out Revision 9393cb199918d0b51a604a638f19df0ef5e84a0a (main) Commit message: "Merge pull request #378 from jinlinGuan/issue-358" > git config core.sparsecheckout # timeout=10 > git checkout -f 9393cb199918d0b51a604a638f19df0ef5e84a0a # timeout=10 > git rev-list --no-walk 4efa56b4c53bfd63d1b185632fb211d8f865e63a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:17:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:17:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:17:59 ========================================================= 04:17:59 EdgeX Global Pipelines Version Info 04:17:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:18:00 ------------------- 04:18:00 stable info: 04:18:00 ------------------- 04:18:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:18:00 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 04:18:00 Message: update stable to v1.0.245 04:18:00 ------------------- 04:18:00 experimental info: 04:18:00 ------------------- 04:18:00 Commited By: **** collab-it+edgex@linuxfoundation.org 04:18:00 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 04:18:00 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:18:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9393cb199918d0b51a604a638f19df0ef5e84a0a [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9393cb1 [Pipeline] echo 04:18:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:01 provisioning config files... 04:18:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8320854446942156603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:01 ---> docker-login.sh 04:18:01 nexus3.edgexfoundry.org:10001 04:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:02 Configure a credential helper to remove this warning. See 04:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:02 04:18:02 Login Succeeded 04:18:02 nexus3.edgexfoundry.org:10002 04:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:02 Configure a credential helper to remove this warning. See 04:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:02 04:18:02 Login Succeeded 04:18:02 nexus3.edgexfoundry.org:10003 04:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:02 Configure a credential helper to remove this warning. See 04:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:02 04:18:02 Login Succeeded 04:18:02 nexus3.edgexfoundry.org:10004 04:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:02 Configure a credential helper to remove this warning. See 04:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:02 04:18:02 Login Succeeded 04:18:02 docker.io 04:18:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:03 Configure a credential helper to remove this warning. See 04:18:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:03 04:18:03 Login Succeeded 04:18:03 ---> docker-login.sh ends [Pipeline] } 04:18:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:18:03 + git rev-list -1 --merges 9393cb199918d0b51a604a638f19df0ef5e84a0a~1..9393cb199918d0b51a604a638f19df0ef5e84a0a [Pipeline] echo 04:18:03 -----------> git rev-list -1 --merges 9393cb199918d0b51a604a638f19df0ef5e84a0a~1..9393cb199918d0b51a604a638f19df0ef5e84a0a 9393cb199918d0b51a604a638f19df0ef5e84a0a 04:18:03 9393cb199918d0b51a604a638f19df0ef5e84a0a [false] [Pipeline] sh 04:18:04 + git log --format=format:%s -1 9393cb199918d0b51a604a638f19df0ef5e84a0a [Pipeline] echo 04:18:04 ========================================================= 04:18:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:18:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:04 + git log --format=format:%s -1 9393cb199918d0b51a604a638f19df0ef5e84a0a [Pipeline] echo 04:18:04 [semverPrep] GIT_COMMIT: 9393cb199918d0b51a604a638f19df0ef5e84a0a, Commit Message: Merge pull request #378 from jinlinGuan/issue-358 [Pipeline] echo 04:18:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:18:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:18:04 + grep -v github /etc/ssh/ssh_known_hosts 04:18:04 + [ -e /tmp/ssh_known_hosts ] 04:18:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:18:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:18:04 + sudo tee -a /etc/ssh/ssh_known_hosts 04:18:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:05 04:18:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:05 0.1.4: Pulling from edgex-devops/py-git-semver 04:18:05 b85a868b505f: Pulling fs layer 04:18:05 e2be974225ed: Pulling fs layer 04:18:05 339a4e72a1f5: Pulling fs layer 04:18:05 988bab9f4d93: Pulling fs layer 04:18:05 1469e6f7b9e6: Pulling fs layer 04:18:05 eaf3925da568: Pulling fs layer 04:18:05 bab4dde63d76: Pulling fs layer 04:18:05 bde34c3a00c8: Pulling fs layer 04:18:05 b352a97aabf1: Pulling fs layer 04:18:05 4872d77fe225: Pulling fs layer 04:18:05 5851b861e8e6: Pulling fs layer 04:18:05 b352a97aabf1: Waiting 04:18:05 bab4dde63d76: Waiting 04:18:05 5851b861e8e6: Waiting 04:18:05 1469e6f7b9e6: Waiting 04:18:05 eaf3925da568: Waiting 04:18:05 988bab9f4d93: Waiting 04:18:05 bde34c3a00c8: Waiting 04:18:05 4872d77fe225: Waiting 04:18:05 e2be974225ed: Verifying Checksum 04:18:05 e2be974225ed: Download complete 04:18:05 988bab9f4d93: Verifying Checksum 04:18:05 988bab9f4d93: Download complete 04:18:05 1469e6f7b9e6: Verifying Checksum 04:18:05 1469e6f7b9e6: Download complete 04:18:05 eaf3925da568: Verifying Checksum 04:18:05 eaf3925da568: Download complete 04:18:05 339a4e72a1f5: Verifying Checksum 04:18:05 339a4e72a1f5: Download complete 04:18:05 bde34c3a00c8: Download complete 04:18:05 b352a97aabf1: Verifying Checksum 04:18:05 4872d77fe225: Download complete 04:18:05 5851b861e8e6: Verifying Checksum 04:18:05 5851b861e8e6: Download complete 04:18:05 b85a868b505f: Verifying Checksum 04:18:05 b85a868b505f: Download complete 04:18:06 bab4dde63d76: Verifying Checksum 04:18:06 bab4dde63d76: Download complete 04:18:06 b85a868b505f: Pull complete 04:18:07 e2be974225ed: Pull complete 04:18:07 339a4e72a1f5: Pull complete 04:18:07 988bab9f4d93: Pull complete 04:18:07 1469e6f7b9e6: Pull complete 04:18:07 eaf3925da568: Pull complete 04:18:09 bab4dde63d76: Pull complete 04:18:09 bde34c3a00c8: Pull complete 04:18:10 b352a97aabf1: Pull complete 04:18:10 4872d77fe225: Pull complete 04:18:10 5851b861e8e6: Pull complete 04:18:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:18:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:10 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:18:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:18:12 $ docker top 6735ea18972f031b23201b12d9ef000c2c76fe3a6e6fe34c29ab72648881c38e -eo pid,comm 04:18:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:18:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:18:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:18:12 [ssh-agent] Looking for ssh-agent implementation... 04:18:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:18:12 $ docker exec 6735ea18972f031b23201b12d9ef000c2c76fe3a6e6fe34c29ab72648881c38e ssh-agent 04:18:13 SSH_AUTH_SOCK=/tmp/ssh-vDcRPcoQkaIj/agent.32 04:18:13 SSH_AGENT_PID=38 04:18:13 Running ssh-add (command line suppressed) 04:18:13 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_294346576277258443.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_294346576277258443.key) 04:18:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:18:13 + git tag --points-at HEAD [Pipeline] } 04:18:13 $ docker exec --env ******** --env ******** 6735ea18972f031b23201b12d9ef000c2c76fe3a6e6fe34c29ab72648881c38e ssh-agent -k 04:18:13 unset SSH_AUTH_SOCK; 04:18:13 unset SSH_AGENT_PID; 04:18:13 echo Agent pid 38 killed; 04:18:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:18:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:18:13 [ssh-agent] Looking for ssh-agent implementation... 04:18:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:18:13 $ docker exec 6735ea18972f031b23201b12d9ef000c2c76fe3a6e6fe34c29ab72648881c38e ssh-agent 04:18:13 SSH_AUTH_SOCK=/tmp/ssh-I2jw2CMBaFmy/agent.71 04:18:13 SSH_AGENT_PID=77 04:18:13 Running ssh-add (command line suppressed) 04:18:13 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17684748156082623151.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17684748156082623151.key) 04:18:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:18:14 + git semver init 04:18:14 2023-04-10 04:18:14,429 [run_init] DEBUG init version:0.0.0 force:False 04:18:14 2023-04-10 04:18:14,430 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 04:18:14 2023-04-10 04:18:14,430 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 04:18:14 2023-04-10 04:18:14,431 [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) 04:18:15 2023-04-10 04:18:15,473 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 04:18:15 2023-04-10 04:18:15,474 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 04:18:15 2023-04-10 04:18:15,474 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:18:15 2023-04-10 04:18:15,474 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:18:15 3.0.0-dev.28 [Pipeline] } 04:18:15 $ docker exec --env ******** --env ******** 6735ea18972f031b23201b12d9ef000c2c76fe3a6e6fe34c29ab72648881c38e ssh-agent -k 04:18:15 unset SSH_AUTH_SOCK; 04:18:15 unset SSH_AGENT_PID; 04:18:15 echo Agent pid 77 killed; 04:18:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:18:16 + git semver [Pipeline] } 04:18:16 $ docker stop --time=1 6735ea18972f031b23201b12d9ef000c2c76fe3a6e6fe34c29ab72648881c38e 04:18:17 $ docker rm -f --volumes 6735ea18972f031b23201b12d9ef000c2c76fe3a6e6fe34c29ab72648881c38e [Pipeline] // withDockerContainer [Pipeline] sh 04:18:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:18:18 Stashed 1 file(s) [Pipeline] echo 04:18:18 [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [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 04:18:18 provisioning config files... 04:18:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3134946872751408317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:18 ---> docker-login.sh 04:18:18 nexus3.edgexfoundry.org:10001 04:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:18 Configure a credential helper to remove this warning. See 04:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:18 04:18:18 Login Succeeded 04:18:18 nexus3.edgexfoundry.org:10002 04:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:18 Configure a credential helper to remove this warning. See 04:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:18 04:18:18 Login Succeeded 04:18:18 nexus3.edgexfoundry.org:10003 04:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:19 Configure a credential helper to remove this warning. See 04:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:19 04:18:19 Login Succeeded 04:18:19 nexus3.edgexfoundry.org:10004 04:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:19 Configure a credential helper to remove this warning. See 04:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:19 04:18:19 Login Succeeded 04:18:19 docker.io 04:18:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:19 Configure a credential helper to remove this warning. See 04:18:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:19 04:18:19 Login Succeeded 04:18:19 ---> docker-login.sh ends [Pipeline] } 04:18:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:19 ========================================================= 04:18:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:18:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:19 + 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 . 04:18:19 Sending build context to Docker daemon 23.53MB 04:18:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:18:19 Step 2/12 : FROM ${BASE} AS builder 04:18:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:18:20 63b65145d645: Pulling fs layer 04:18:20 a2d21d5440eb: Pulling fs layer 04:18:20 935e6c44a52c: Pulling fs layer 04:18:20 94cc34f8dd06: Pulling fs layer 04:18:20 30dea6a524f1: Pulling fs layer 04:18:20 a2aff8979fd8: Pulling fs layer 04:18:20 6808be2612f2: Pulling fs layer 04:18:20 f25807f1079a: Pulling fs layer 04:18:20 30dea6a524f1: Waiting 04:18:20 a2aff8979fd8: Waiting 04:18:20 6808be2612f2: Waiting 04:18:20 f25807f1079a: Waiting 04:18:20 94cc34f8dd06: Waiting 04:18:20 a2d21d5440eb: Download complete 04:18:20 94cc34f8dd06: Download complete 04:18:20 30dea6a524f1: Verifying Checksum 04:18:20 30dea6a524f1: Download complete 04:18:20 63b65145d645: Verifying Checksum 04:18:20 63b65145d645: Download complete 04:18:20 a2aff8979fd8: Verifying Checksum 04:18:20 a2aff8979fd8: Download complete 04:18:20 63b65145d645: Pull complete 04:18:20 a2d21d5440eb: Pull complete 04:18:20 f25807f1079a: Verifying Checksum 04:18:20 f25807f1079a: Download complete 04:18:20 935e6c44a52c: Verifying Checksum 04:18:20 935e6c44a52c: Download complete 04:18:21 6808be2612f2: Verifying Checksum 04:18:21 6808be2612f2: Download complete 04:18:24 935e6c44a52c: Pull complete 04:18:24 94cc34f8dd06: Pull complete 04:18:24 30dea6a524f1: Pull complete 04:18:24 a2aff8979fd8: Pull complete 04:18:26 6808be2612f2: Pull complete 04:18:27 f25807f1079a: Pull complete 04:18:27 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:18:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:18:27 ---> 3b553350e43f 04:18:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:18:30 ---> Running in dc8211bbd264 04:18:31 Removing intermediate container dc8211bbd264 04:18:31 ---> 1a5171a66bce 04:18:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:18:31 ---> Running in d4f000e914df 04:18:31 Removing intermediate container d4f000e914df 04:18:31 ---> 55d9c6c30c2b 04:18:31 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:18:31 ---> Running in f11b3e06a481 04:18:31 Removing intermediate container f11b3e06a481 04:18:31 ---> 6eff172eb0aa 04:18:31 Step 6/12 : WORKDIR /device-virtual-go 04:18:31 ---> Running in 75c255d7be05 04:18:31 Removing intermediate container 75c255d7be05 04:18:31 ---> 4737a5e96851 04:18:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:18:31 ---> Running in 13f35019b8df 04:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:18:32 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:18:32 (2/4) Installing libedit (20221030.3.1-r0) 04:18:32 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:18:32 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:18:32 Executing busybox-1.35.0-r29.trigger 04:18:32 OK: 269 MiB in 57 packages 04:18:32 Removing intermediate container 13f35019b8df 04:18:32 ---> 6fb562b1f7da 04:18:32 Step 8/12 : COPY go.mod vendor* ./ 04:18:32 ---> 93e9c2508619 04:18:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:32 ---> Running in 329ccdd3e505 04:18:33 Still waiting to schedule task 04:18:33 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:19:04 Removing intermediate container 329ccdd3e505 04:19:04 ---> dd66bc5c9a96 04:19:04 Step 10/12 : COPY . . 04:19:04 ---> 253f01037561 04:19:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:19:04 ---> Running in 70d79e8e5f58 04:19:04 Removing intermediate container 70d79e8e5f58 04:19:04 ---> 0564df5835b9 04:19:04 Step 12/12 : RUN $MAKE 04:19:04 ---> Running in 56444df4f00d 04:19:04 noop 04:19:04 Removing intermediate container 56444df4f00d 04:19:04 ---> a280a9fb8f3f 04:19:04 Successfully built a280a9fb8f3f 04:19:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:05 + docker inspect -f . ci-base-image-x86_64 04:19:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:05 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:19: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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:19:05 $ docker top 45424ba54b5b4367f4811894ad54bf7b7e3e417a3418351d6f46ca78d025e581 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:06 + go version 04:19:06 go version go1.20.2 linux/amd64 [Pipeline] } 04:19:06 $ docker stop --time=1 45424ba54b5b4367f4811894ad54bf7b7e3e417a3418351d6f46ca78d025e581 04:19:07 $ docker rm -f --volumes 45424ba54b5b4367f4811894ad54bf7b7e3e417a3418351d6f46ca78d025e581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:07 + docker inspect -f . ci-base-image-x86_64 04:19:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:08 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:19:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:19:08 $ docker top 5414ce816501d8d488fde3f0c3db8bcb1d8ae898a98238ecfed546e2ff6f656b -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:08 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 04:19:09 + make test 04:19:09 go test ./... -coverprofile=coverage.out 04:19:14 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:19:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:19:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 59.0% of statements 04:19:30 go vet ./... 04:19:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:34 ./bin/test-attribution-txt.sh 04:19:34 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 04:19:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:19:34 $ docker stop --time=1 5414ce816501d8d488fde3f0c3db8bcb1d8ae898a98238ecfed546e2ff6f656b 04:19:37 $ docker rm -f --volumes 5414ce816501d8d488fde3f0c3db8bcb1d8ae898a98238ecfed546e2ff6f656b [Pipeline] // withDockerContainer [Pipeline] sh 04:19:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:19:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:38 + ls -al . 04:19:38 total 192 04:19:38 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 04:19 . 04:19:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 04:17 .. 04:19:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 04:18 .git 04:19:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 04:17 .github 04:19:38 -rw-rw-r-- 1 jenkins jenkins 337 Apr 10 04:17 .gitignore 04:19:38 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 04:17 .golangci.yml 04:19:38 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 04:18 .semver 04:19:38 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 10 04:17 Attribution.txt 04:19:38 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 10 04:17 CHANGELOG.md 04:19:38 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 10 04:17 Dockerfile 04:19:38 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 04:17 GOVERNANCE.md 04:19:38 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 04:17 Jenkinsfile 04:19:38 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 04:17 LICENSE 04:19:38 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 10 04:17 Makefile 04:19:38 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 04:17 OWNERS.md 04:19:38 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 10 04:17 README.md 04:19:38 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 04:18 VERSION 04:19:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 04:17 bin 04:19:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 04:17 cmd 04:19:38 -rw-r--r-- 1 jenkins jenkins 42786 Apr 10 04:19 coverage.out 04:19:38 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 10 04:17 go.mod 04:19:38 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 10 04:17 go.sum 04:19:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 04:17 internal 04:19:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 04:17 snap 04:19:38 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:38 + 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=9393cb199918d0b51a604a638f19df0ef5e84a0a --label arch=amd64 --label version=3.0.0-dev.28 . 04:19:38 Sending build context to Docker daemon 23.57MB 04:19:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:19:38 Step 2/25 : FROM ${BASE} AS builder 04:19:38 ---> a280a9fb8f3f 04:19:38 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:19:39 ---> Running in f2d8331cb199 04:19:39 Removing intermediate container f2d8331cb199 04:19:39 ---> c719fef27231 04:19:39 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:19:39 ---> Running in b1782aa976d2 04:19:39 Removing intermediate container b1782aa976d2 04:19:39 ---> 1eafa0cb0d62 04:19:39 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:19:39 ---> Running in a8cc2e18213a 04:19:39 Removing intermediate container a8cc2e18213a 04:19:39 ---> 659339175d17 04:19:39 Step 6/25 : WORKDIR /device-virtual-go 04:19:39 ---> Running in ce9a40829166 04:19:39 Removing intermediate container ce9a40829166 04:19:39 ---> cad9ee26749b 04:19:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:19:39 ---> Running in dde9949c11d8 04:19:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:19:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:19:40 OK: 269 MiB in 57 packages 04:19:40 Removing intermediate container dde9949c11d8 04:19:40 ---> a34d71b0c176 04:19:40 Step 8/25 : COPY go.mod vendor* ./ 04:19:40 ---> af3521e8d9a4 04:19:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:40 ---> Running in 140d79a49d9e 04:19:41 Removing intermediate container 140d79a49d9e 04:19:41 ---> 86b813da14f6 04:19:41 Step 10/25 : COPY . . 04:19:42 ---> 5e5231aeea40 04:19:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:19:42 ---> Running in cc374c0b0dde 04:19:42 Removing intermediate container cc374c0b0dde 04:19:42 ---> c6029a351a41 04:19:42 Step 12/25 : RUN $MAKE 04:19:42 ---> Running in fdc9211c18fe 04:19:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 04:20:04 Removing intermediate container fdc9211c18fe 04:20:04 ---> 5ce19916ab0e 04:20:04 Step 13/25 : FROM alpine:3.17 04:20:04 3.17: Pulling from library/alpine 04:20:04 f56be85fc22e: Pulling fs layer 04:20:04 f56be85fc22e: Download complete 04:20:04 f56be85fc22e: Pull complete 04:20:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:20:04 Status: Downloaded newer image for alpine:3.17 04:20:04 ---> 9ed4aefc74f6 04:20:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:20:04 ---> Running in 5203803e655b 04:20:04 Removing intermediate container 5203803e655b 04:20:04 ---> f72faad38fc4 04:20:04 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:20:04 ---> Running in bbbb4b555d65 04:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:20:04 (1/1) Installing dumb-init (1.2.5-r2) 04:20:04 Executing busybox-1.35.0-r29.trigger 04:20:04 OK: 7 MiB in 16 packages 04:20:04 Removing intermediate container bbbb4b555d65 04:20:04 ---> 74f0c3603e33 04:20:04 Step 16/25 : WORKDIR / 04:20:04 ---> Running in 2f9cc249e476 04:20:04 Removing intermediate container 2f9cc249e476 04:20:04 ---> 7bb759545199 04:20:04 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:20:04 ---> 3855fc2837bc 04:20:04 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:20:04 ---> 6640d676585e 04:20:04 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:20:04 ---> 706e01352407 04:20:04 Step 20/25 : EXPOSE 59900 04:20:04 ---> Running in 1b49626d4b9a 04:20:04 Removing intermediate container 1b49626d4b9a 04:20:04 ---> df4253f40ecc 04:20:04 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:20:04 ---> Running in 8e03d1c2c14e 04:20:04 Removing intermediate container 8e03d1c2c14e 04:20:04 ---> dfa69b3e47cf 04:20:04 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:20:04 ---> Running in d0a32b1348ad 04:20:04 Removing intermediate container d0a32b1348ad 04:20:04 ---> 69136b8509e0 04:20:04 Step 23/25 : LABEL arch=amd64 04:20:04 ---> Running in 4bdcc0fe246d 04:20:04 Removing intermediate container 4bdcc0fe246d 04:20:04 ---> 3a6bf0c3be91 04:20:04 Step 24/25 : LABEL git_sha=9393cb199918d0b51a604a638f19df0ef5e84a0a 04:20:04 ---> Running in b45aced004a7 04:20:04 Removing intermediate container b45aced004a7 04:20:04 ---> f59163bc8a40 04:20:04 Step 25/25 : LABEL version=3.0.0-dev.28 04:20:04 ---> Running in 7d9f18d00d14 04:20:04 Removing intermediate container 7d9f18d00d14 04:20:04 ---> cb06274f912a 04:20:04 [Warning] One or more build-args [ARCH] were not consumed 04:20:04 Successfully built cb06274f912a 04:20:04 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:04 provisioning config files... 04:20:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5639530732869867984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:05 ---> docker-login.sh 04:20:05 nexus3.edgexfoundry.org:10001 04:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:05 Configure a credential helper to remove this warning. See 04:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:05 04:20:05 Login Succeeded 04:20:05 nexus3.edgexfoundry.org:10002 04:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:05 Configure a credential helper to remove this warning. See 04:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:05 04:20:05 Login Succeeded 04:20:05 nexus3.edgexfoundry.org:10003 04:20:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7271 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 04:20:05 Running in /w/workspace/device-virtual-go/100 [Pipeline] { [Pipeline] checkout 04:20:05 The recommended git tool is: git 04:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:05 Configure a credential helper to remove this warning. See 04:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:05 04:20:05 Login Succeeded 04:20:05 nexus3.edgexfoundry.org:10004 04:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:05 Configure a credential helper to remove this warning. See 04:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:05 04:20:05 Login Succeeded 04:20:05 docker.io 04:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:05 Configure a credential helper to remove this warning. See 04:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:05 04:20:05 Login Succeeded 04:20:05 ---> docker-login.sh ends [Pipeline] } 04:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:05 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 04:20:05 9393cb199918d0b51a604a638f19df0ef5e84a0a 04:20:05 latest 04:20:05 3.0.0-dev.28 04:20:05 9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28 04:20:05 main 04:20:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:06 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9393cb199918d0b51a604a638f19df0ef5e84a0a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9393cb199918d0b51a604a638f19df0ef5e84a0a 04:20:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:20:06 9aea92fdcf34: Preparing 04:20:06 f7bd5b4b0e53: Preparing 04:20:06 652bff1431a4: Preparing 04:20:06 7061c9ba2c84: Preparing 04:20:06 f1417ff83b31: Preparing 04:20:06 f1417ff83b31: Layer already exists 04:20:06 f7bd5b4b0e53: Pushed 04:20:06 652bff1431a4: Pushed 04:20:06 7061c9ba2c84: Pushed 04:20:08 9aea92fdcf34: Pushed 04:20:08 9393cb199918d0b51a604a638f19df0ef5e84a0a: digest: sha256:38c16479f804ef15e75a4f205b545d32eea742b1b4edf2b0034a3a316be54d7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 04:20:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:20:09 9aea92fdcf34: Preparing 04:20:09 f7bd5b4b0e53: Preparing 04:20:09 652bff1431a4: Preparing 04:20:09 7061c9ba2c84: Preparing 04:20:09 f1417ff83b31: Preparing 04:20:09 f7bd5b4b0e53: Layer already exists 04:20:09 f1417ff83b31: Layer already exists 04:20:09 9aea92fdcf34: Layer already exists 04:20:09 7061c9ba2c84: Layer already exists 04:20:09 652bff1431a4: Layer already exists 04:20:09 latest: digest: sha256:38c16479f804ef15e75a4f205b545d32eea742b1b4edf2b0034a3a316be54d7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.28 04:20:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:20:10 9aea92fdcf34: Preparing 04:20:10 f7bd5b4b0e53: Preparing 04:20:10 652bff1431a4: Preparing 04:20:10 7061c9ba2c84: Preparing 04:20:10 f1417ff83b31: Preparing 04:20:10 f7bd5b4b0e53: Layer already exists 04:20:10 652bff1431a4: Layer already exists 04:20:10 9aea92fdcf34: Layer already exists 04:20:10 f1417ff83b31: Layer already exists 04:20:10 7061c9ba2c84: Layer already exists 04:20:10 3.0.0-dev.28: digest: sha256:38c16479f804ef15e75a4f205b545d32eea742b1b4edf2b0034a3a316be54d7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:10 using credential edgex-jenkins-ssh 04:20:10 Cloning the remote Git repository 04:20:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual:9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28 04:20:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:20:10 9aea92fdcf34: Preparing 04:20:10 f7bd5b4b0e53: Preparing 04:20:10 652bff1431a4: Preparing 04:20:10 7061c9ba2c84: Preparing 04:20:10 f1417ff83b31: Preparing 04:20:10 f7bd5b4b0e53: Layer already exists 04:20:10 f1417ff83b31: Layer already exists 04:20:10 7061c9ba2c84: Layer already exists 04:20:10 652bff1431a4: Layer already exists 04:20:10 9aea92fdcf34: Layer already exists 04:20:10 9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28: digest: sha256:38c16479f804ef15e75a4f205b545d32eea742b1b4edf2b0034a3a316be54d7d size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:11 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 04:20:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:20:11 9aea92fdcf34: Preparing 04:20:11 f7bd5b4b0e53: Preparing 04:20:11 652bff1431a4: Preparing 04:20:11 7061c9ba2c84: Preparing 04:20:11 f1417ff83b31: Preparing 04:20:11 f1417ff83b31: Layer already exists 04:20:11 7061c9ba2c84: Layer already exists 04:20:11 652bff1431a4: Layer already exists 04:20:11 9aea92fdcf34: Layer already exists 04:20:11 f7bd5b4b0e53: Layer already exists 04:20:11 main: digest: sha256:38c16479f804ef15e75a4f205b545d32eea742b1b4edf2b0034a3a316be54d7d size: 1365 04:20:10 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:20:10 > git init /w/workspace/device-virtual-go/100 # timeout=10 04:20:10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:20:10 > git --version # timeout=10 04:20:10 > git --version # 'git version 2.25.1' 04:20:10 using GIT_SSH to set credentials SSH Credentials for GitHub 04:20:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:20:11 ===================================================== [Pipeline] echo 04:20:11 taggedImages: 04:20:11 - nexus3.edgexfoundry.org:10004/device-virtual:9393cb199918d0b51a604a638f19df0ef5e84a0a 04:20:11 - nexus3.edgexfoundry.org:10004/device-virtual:latest 04:20:11 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.28 04:20:11 - nexus3.edgexfoundry.org:10004/device-virtual:9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28 04:20: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 04:20:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:11 04:20:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:12 latest: Pulling from edgex-lftools-log-publisher 04:20:12 5eb5b503b376: Pulling fs layer 04:20:12 5c69ac0246d0: Pulling fs layer 04:20:12 ec43610c2a17: Pulling fs layer 04:20:12 3a2ae6a8a46f: Pulling fs layer 04:20:12 33b1e0a273af: Pulling fs layer 04:20:12 5d3b04190fa2: Pulling fs layer 04:20:12 2f39f015ded8: Pulling fs layer 04:20:12 3a2ae6a8a46f: Waiting 04:20:12 33b1e0a273af: Waiting 04:20:12 5d3b04190fa2: Waiting 04:20:12 2f39f015ded8: Waiting 04:20:12 5c69ac0246d0: Download complete 04:20:12 3a2ae6a8a46f: Verifying Checksum 04:20:12 3a2ae6a8a46f: Download complete 04:20:12 33b1e0a273af: Verifying Checksum 04:20:12 33b1e0a273af: Download complete 04:20:12 ec43610c2a17: Verifying Checksum 04:20:12 ec43610c2a17: Download complete 04:20:12 5d3b04190fa2: Verifying Checksum 04:20:12 5eb5b503b376: Verifying Checksum 04:20:12 5eb5b503b376: Download complete 04:20:12 2f39f015ded8: Download complete 04:20:13 5eb5b503b376: Pull complete 04:20:13 5c69ac0246d0: Pull complete 04:20:13 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:20:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:20:14 ec43610c2a17: Pull complete 04:20:14 3a2ae6a8a46f: Pull complete 04:20:14 33b1e0a273af: Pull complete 04:20:14 5d3b04190fa2: Pull complete 04:20:14 Avoid second fetch 04:20:14 Checking out Revision 9393cb199918d0b51a604a638f19df0ef5e84a0a (main) 04:20:15 Commit message: "Merge pull request #378 from jinlinGuan/issue-358" 04:20:14 > git config core.sparsecheckout # timeout=10 04:20:14 > git checkout -f 9393cb199918d0b51a604a638f19df0ef5e84a0a # timeout=10 04:20:15 04:20:15 GitHub has been notified of this commit’s build result 04:20:15 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:20:16 % Total % Received % Xferd Average Speed Time Time Time Current 04:20:16 Dload Upload Total Spent Left Speed 04:20:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 04:20:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:20:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:20:17 + sudo tee /etc/docker/daemon.new 04:20:17 { 04:20:17 "registry-mirrors": [ 04:20:17 "https://nexus3.edgexfoundry.org:10001" 04:20:17 ], 04:20:17 "bip": "10.250.0.254/24", 04:20:17 "hosts": [ 04:20:17 "tcp://0.0.0.0:5555", 04:20:17 "unix:///var/run/docker.sock" 04:20:17 ], 04:20:17 "mtu": 1458, 04:20:17 "selinux-enabled": true, 04:20:17 "seccomp-profile": "/etc/docker/seccomp.json" 04:20:17 } [Pipeline] sh 04:20:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:20:17 + sudo service docker restart 04:20:18 2f39f015ded8: Pull complete 04:20:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:20:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:18 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:20: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:20:22 $ docker top 62b0c99a6bef87e02c886f1db2800c95808e2620160624328db5f995225b12c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:22 ---> job-cost.sh 04:20:22 lf-activate-venv: SKIPPING 04:20:22 INFO: No Stack... 04:20:22 INFO: Retrieving Pricing Info for: v3-standard-8 04:20:23 INFO: Archiving Costs [Pipeline] sh 04:20:23 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 04:20:23 + cut -d, -f6 [Pipeline] lock 04:20:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-100-stack-cost] 04:20:23 Resource [jenkins-edgexfoundry-device-virtual-go-main-100-stack-cost] did not exist. Created. 04:20:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:20:23 + echo total: 0.2199999988079071 [Pipeline] stash 04:20:23 Stashed 1 file(s) [Pipeline] } 04:20:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 04:20:23 $ docker stop --time=1 62b0c99a6bef87e02c886f1db2800c95808e2620160624328db5f995225b12c1 04:20:25 $ docker rm -f --volumes 62b0c99a6bef87e02c886f1db2800c95808e2620160624328db5f995225b12c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:36 provisioning config files... 04:20:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/100@tmp/config1586709853727897796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:36 ---> docker-login.sh 04:20:36 nexus3.edgexfoundry.org:10001 04:20:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:37 Configure a credential helper to remove this warning. See 04:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:37 04:20:37 Login Succeeded 04:20:37 nexus3.edgexfoundry.org:10002 04:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:37 Configure a credential helper to remove this warning. See 04:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:37 04:20:37 Login Succeeded 04:20:37 nexus3.edgexfoundry.org:10003 04:20:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:37 Configure a credential helper to remove this warning. See 04:20:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:37 04:20:37 Login Succeeded 04:20:37 nexus3.edgexfoundry.org:10004 04:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:38 Configure a credential helper to remove this warning. See 04:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:38 04:20:38 Login Succeeded 04:20:38 docker.io 04:20:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:38 Configure a credential helper to remove this warning. See 04:20:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:38 04:20:38 Login Succeeded 04:20:38 ---> docker-login.sh ends [Pipeline] } 04:20:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:38 ========================================================= 04:20:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:20:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:39 + 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 . 04:20:39 Sending build context to Docker daemon 11.92MB 04:20:39 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:20:39 Step 2/12 : FROM ${BASE} AS builder 04:20:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:20:40 af6eaf76a39c: Pulling fs layer 04:20:40 55522c791124: Pulling fs layer 04:20:40 ce5c4a1c91eb: Pulling fs layer 04:20:40 169dfbe0d373: Pulling fs layer 04:20:40 e1ff8fa3b103: Pulling fs layer 04:20:40 52ebb69f0ebf: Pulling fs layer 04:20:40 5abe8eddf0d5: Pulling fs layer 04:20:40 e1ff8fa3b103: Waiting 04:20:40 5abe8eddf0d5: Waiting 04:20:40 52ebb69f0ebf: Waiting 04:20:40 169dfbe0d373: Waiting 04:20:40 55522c791124: Verifying Checksum 04:20:40 55522c791124: Download complete 04:20:40 169dfbe0d373: Verifying Checksum 04:20:40 169dfbe0d373: Download complete 04:20:40 af6eaf76a39c: Verifying Checksum 04:20:40 af6eaf76a39c: Download complete 04:20:40 e1ff8fa3b103: Verifying Checksum 04:20:40 e1ff8fa3b103: Download complete 04:20:41 5abe8eddf0d5: Verifying Checksum 04:20:41 5abe8eddf0d5: Download complete 04:20:41 af6eaf76a39c: Pull complete 04:20:42 55522c791124: Pull complete 04:20:43 ce5c4a1c91eb: Verifying Checksum 04:20:43 ce5c4a1c91eb: Download complete 04:20:43 52ebb69f0ebf: Verifying Checksum 04:20:43 52ebb69f0ebf: Download complete 04:20:55 ce5c4a1c91eb: Pull complete 04:20:55 169dfbe0d373: Pull complete 04:20:55 e1ff8fa3b103: Pull complete 04:21:01 52ebb69f0ebf: Pull complete 04:21:03 5abe8eddf0d5: Pull complete 04:21:03 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:21:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:21:03 ---> 6cb57ee374ae 04:21:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:21:04 ---> Running in bb0b4715b06c 04:21:05 Removing intermediate container bb0b4715b06c 04:21:05 ---> 2a634732a97b 04:21:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:21:05 ---> Running in 5ccd1b17d750 04:21:05 Removing intermediate container 5ccd1b17d750 04:21:05 ---> 86e69a093363 04:21:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:21:05 ---> Running in 1049b42b0810 04:21:05 Removing intermediate container 1049b42b0810 04:21:05 ---> 0796a73e9429 04:21:05 Step 6/12 : WORKDIR /device-virtual-go 04:21:06 ---> Running in 8d9838db65de 04:21:06 Removing intermediate container 8d9838db65de 04:21:06 ---> 682b9faeb551 04:21:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:21:06 ---> Running in 648c96c63ad8 04:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:21:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:21:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:21:09 (2/4) Installing libedit (20221030.3.1-r0) 04:21:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:21:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:21:09 Executing busybox-1.35.0-r29.trigger 04:21:09 OK: 268 MiB in 57 packages 04:21:10 Removing intermediate container 648c96c63ad8 04:21:10 ---> f76c6226f4da 04:21:10 Step 8/12 : COPY go.mod vendor* ./ 04:21:10 ---> 169c2dcd3478 04:21:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:10 ---> Running in f4185438abcd 04:22:32 Removing intermediate container f4185438abcd 04:22:32 ---> ddd62313374b 04:22:32 Step 10/12 : COPY . . 04:22:32 ---> b410abc991d2 04:22:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:22:32 ---> Running in a77011fe40d7 04:22:32 Removing intermediate container a77011fe40d7 04:22:32 ---> 83abcf00ab4c 04:22:32 Step 12/12 : RUN $MAKE 04:22:32 ---> Running in e05fc73762b5 04:22:32 noop 04:22:32 Removing intermediate container e05fc73762b5 04:22:32 ---> 410f83c4a70a 04:22:32 Successfully built 410f83c4a70a 04:22:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:32 + docker inspect -f . ci-base-image-arm64 04:22:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:33 prd-ubuntu20.04-docker-arm64-4c-16g-7271 does not seem to be running inside a container 04:22:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/100 -v /w/workspace/device-virtual-go/100:/w/workspace/device-virtual-go/100:rw,z -v /w/workspace/device-virtual-go/100@tmp:/w/workspace/device-virtual-go/100@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 04:22:34 $ docker top e20139617f05e9d175c68d55e55b2ce1bea0b5e645de7a12577d3f2c9a59d1ba -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:35 + go version 04:22:35 go version go1.20.2 linux/arm64 [Pipeline] } 04:22:35 $ docker stop --time=1 e20139617f05e9d175c68d55e55b2ce1bea0b5e645de7a12577d3f2c9a59d1ba 04:22:37 $ docker rm -f --volumes e20139617f05e9d175c68d55e55b2ce1bea0b5e645de7a12577d3f2c9a59d1ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:38 + docker inspect -f . ci-base-image-arm64 04:22:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:38 prd-ubuntu20.04-docker-arm64-4c-16g-7271 does not seem to be running inside a container 04:22:38 $ 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/100 -v /w/workspace/device-virtual-go/100:/w/workspace/device-virtual-go/100:rw,z -v /w/workspace/device-virtual-go/100@tmp:/w/workspace/device-virtual-go/100@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 04:22:39 $ docker top 2a98f52f6355d64ffb3d62afc4fa53b7961ee00cc59aa54f15658c09472d601b -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:39 + git config --global --add safe.directory /w/workspace/device-virtual-go/100 [Pipeline] fileExists [Pipeline] sh 04:22:40 + make test 04:22:40 go test ./... -coverprofile=coverage.out 04:23:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:25:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:25:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.079s coverage: 58.8% of statements 04:25:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:25:04 go vet ./... 04:25:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:25:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:25:30 ./bin/test-attribution-txt.sh 04:25:30 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 04:25:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:25:30 $ docker stop --time=1 2a98f52f6355d64ffb3d62afc4fa53b7961ee00cc59aa54f15658c09472d601b 04:25:32 $ docker rm -f --volumes 2a98f52f6355d64ffb3d62afc4fa53b7961ee00cc59aa54f15658c09472d601b [Pipeline] // withDockerContainer [Pipeline] sh 04:25:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:25:33 Warning: overwriting stash ‘coverage-report’ 04:25:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:25:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:25:35 + ls -al . 04:25:35 total 188 04:25:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 04:22 . 04:25:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 04:20 .. 04:25:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 04:20 .git 04:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 04:20 .github 04:25:35 -rw-rw-r-- 1 jenkins jenkins 337 Apr 10 04:20 .gitignore 04:25:35 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 04:20 .golangci.yml 04:25:35 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 10 04:20 Attribution.txt 04:25:35 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 10 04:20 CHANGELOG.md 04:25:35 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 10 04:20 Dockerfile 04:25:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 04:20 GOVERNANCE.md 04:25:35 -rw-rw-r-- 1 jenkins jenkins 660 Apr 10 04:20 Jenkinsfile 04:25:35 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 04:20 LICENSE 04:25:35 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 10 04:20 Makefile 04:25:35 -rw-rw-r-- 1 jenkins jenkins 623 Apr 10 04:20 OWNERS.md 04:25:35 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 10 04:20 README.md 04:25:35 -rw-rw-r-- 1 jenkins jenkins 12 Apr 10 04:18 VERSION 04:25:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 04:20 bin 04:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 04:20 cmd 04:25:35 -rw-r--r-- 1 jenkins jenkins 42786 Apr 10 04:24 coverage.out 04:25:35 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 10 04:20 go.mod 04:25:35 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 10 04:20 go.sum 04:25:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 04:20 internal 04:25:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 04:20 snap 04:25:35 -rw-rw-r-- 1 jenkins jenkins 235 Apr 10 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:35 + 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=9393cb199918d0b51a604a638f19df0ef5e84a0a --label arch=arm64 --label version=3.0.0-dev.28 . 04:25:36 Sending build context to Docker daemon 11.96MB 04:25:36 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:25:36 Step 2/25 : FROM ${BASE} AS builder 04:25:36 ---> 410f83c4a70a 04:25:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:25:36 ---> Running in 1ed315453164 04:25:36 Removing intermediate container 1ed315453164 04:25:36 ---> d961088e9436 04:25:36 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:25:36 ---> Running in 6a4e69ac43f8 04:25:36 Removing intermediate container 6a4e69ac43f8 04:25:36 ---> 06d35d45cdfe 04:25:36 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:25:37 ---> Running in dce302d052a1 04:25:37 Removing intermediate container dce302d052a1 04:25:37 ---> 8bba85856712 04:25:37 Step 6/25 : WORKDIR /device-virtual-go 04:25:37 ---> Running in 4451c91c8ff0 04:25:38 Removing intermediate container 4451c91c8ff0 04:25:38 ---> 4637598d2b26 04:25:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:25:38 ---> Running in b39ddd56854e 04:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:25:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:25:40 OK: 268 MiB in 57 packages 04:25:43 Removing intermediate container b39ddd56854e 04:25:43 ---> 2f4c480c204a 04:25:43 Step 8/25 : COPY go.mod vendor* ./ 04:25:43 ---> f287a542f342 04:25:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:25:43 ---> Running in 183ef69ace56 04:25:45 Removing intermediate container 183ef69ace56 04:25:45 ---> 758360e22969 04:25:45 Step 10/25 : COPY . . 04:25:46 ---> 709e612749c5 04:25:46 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:25:46 ---> Running in 155ad2dfa061 04:25:46 Removing intermediate container 155ad2dfa061 04:25:46 ---> 3d3c3ba968ae 04:25:46 Step 12/25 : RUN $MAKE 04:25:47 ---> Running in f3af2841d01a 04:25:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 04:27:54 Removing intermediate container f3af2841d01a 04:27:54 ---> 821233f5f171 04:27:54 Step 13/25 : FROM alpine:3.17 04:27:54 3.17: Pulling from library/alpine 04:27:54 c41833b44d91: Pulling fs layer 04:27:54 c41833b44d91: Verifying Checksum 04:27:54 c41833b44d91: Download complete 04:27:54 c41833b44d91: Pull complete 04:27:54 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:27:54 Status: Downloaded newer image for alpine:3.17 04:27:54 ---> 51e60588ff2c 04:27:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:27:54 ---> Running in 00b2fe401d79 04:27:54 Removing intermediate container 00b2fe401d79 04:27:54 ---> d66aa8b1e8d6 04:27:54 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:27:54 ---> Running in b9421f5bb4ce 04:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:27:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:27:54 (1/1) Installing dumb-init (1.2.5-r2) 04:27:54 Executing busybox-1.35.0-r29.trigger 04:27:54 OK: 8 MiB in 16 packages 04:27:54 Removing intermediate container b9421f5bb4ce 04:27:54 ---> 1a1c28e23e0f 04:27:54 Step 16/25 : WORKDIR / 04:27:54 ---> Running in d74b086af720 04:27:54 Removing intermediate container d74b086af720 04:27:54 ---> 513adeba1fa2 04:27:54 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:27:54 ---> e5d998884db1 04:27:54 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:27:54 ---> 2ee0b750d2b8 04:27:54 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:27:55 ---> 095c10fd30f6 04:27:55 Step 20/25 : EXPOSE 59900 04:27:55 ---> Running in fc83970d7012 04:27:55 Removing intermediate container fc83970d7012 04:27:55 ---> dedfd4064568 04:27:55 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:27:55 ---> Running in 55db648e8442 04:27:56 Removing intermediate container 55db648e8442 04:27:56 ---> 3d0a88944c53 04:27:56 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:27:56 ---> Running in 3db14ed7b070 04:27:56 Removing intermediate container 3db14ed7b070 04:27:56 ---> 13433405b5c7 04:27:56 Step 23/25 : LABEL arch=arm64 04:27:56 ---> Running in 87acfb5b6be5 04:27:56 Removing intermediate container 87acfb5b6be5 04:27:56 ---> a2e16671327a 04:27:56 Step 24/25 : LABEL git_sha=9393cb199918d0b51a604a638f19df0ef5e84a0a 04:27:56 ---> Running in 3e3b19b8be38 04:27:57 Removing intermediate container 3e3b19b8be38 04:27:57 ---> dcdf4b369e30 04:27:57 Step 25/25 : LABEL version=3.0.0-dev.28 04:27:57 ---> Running in a835056168ee 04:27:57 Removing intermediate container a835056168ee 04:27:57 ---> 6d34d102feea 04:27:57 [Warning] One or more build-args [ARCH] were not consumed 04:27:57 Successfully built 6d34d102feea 04:27:57 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 04:27:57 provisioning config files... 04:27:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/100@tmp/config6556675302583935031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:58 ---> docker-login.sh 04:27:58 nexus3.edgexfoundry.org:10001 04:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:58 Configure a credential helper to remove this warning. See 04:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:58 04:27:58 Login Succeeded 04:27:58 nexus3.edgexfoundry.org:10002 04:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:58 Configure a credential helper to remove this warning. See 04:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:58 04:27:58 Login Succeeded 04:27:58 nexus3.edgexfoundry.org:10003 04:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:59 Configure a credential helper to remove this warning. See 04:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:59 04:27:59 Login Succeeded 04:27:59 nexus3.edgexfoundry.org:10004 04:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:59 Configure a credential helper to remove this warning. See 04:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:59 04:27:59 Login Succeeded 04:27:59 docker.io 04:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:27:59 Configure a credential helper to remove this warning. See 04:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:27:59 04:27:59 Login Succeeded 04:27:59 ---> docker-login.sh ends [Pipeline] } 04:27:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:28:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:28:00 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 04:28:00 9393cb199918d0b51a604a638f19df0ef5e84a0a 04:28:00 latest 04:28:00 3.0.0-dev.28 04:28:00 9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28 04:28:00 main 04:28:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9393cb199918d0b51a604a638f19df0ef5e84a0a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9393cb199918d0b51a604a638f19df0ef5e84a0a 04:28:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:00 c7e04190d062: Preparing 04:28:00 5901e8e826a1: Preparing 04:28:00 de3b4a239c65: Preparing 04:28:00 86903040f433: Preparing 04:28:00 26cbea5cba74: Preparing 04:28:00 26cbea5cba74: Layer already exists 04:28:00 86903040f433: Pushed 04:28:00 5901e8e826a1: Pushed 04:28:00 de3b4a239c65: Pushed 04:28:06 c7e04190d062: Pushed 04:28:06 9393cb199918d0b51a604a638f19df0ef5e84a0a: digest: sha256:46e3e0742a869edc890d0d71f766fd82336de48b9d779d9d03647121eb436e45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:06 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:06 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:28:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:06 c7e04190d062: Preparing 04:28:06 5901e8e826a1: Preparing 04:28:06 de3b4a239c65: Preparing 04:28:06 86903040f433: Preparing 04:28:06 26cbea5cba74: Preparing 04:28:06 5901e8e826a1: Layer already exists 04:28:06 26cbea5cba74: Layer already exists 04:28:06 c7e04190d062: Layer already exists 04:28:06 de3b4a239c65: Layer already exists 04:28:06 86903040f433: Layer already exists 04:28:06 latest: digest: sha256:46e3e0742a869edc890d0d71f766fd82336de48b9d779d9d03647121eb436e45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.28 04:28:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:07 c7e04190d062: Preparing 04:28:07 5901e8e826a1: Preparing 04:28:07 de3b4a239c65: Preparing 04:28:07 86903040f433: Preparing 04:28:07 26cbea5cba74: Preparing 04:28:07 86903040f433: Layer already exists 04:28:07 26cbea5cba74: Layer already exists 04:28:07 c7e04190d062: Layer already exists 04:28:07 5901e8e826a1: Layer already exists 04:28:07 de3b4a239c65: Layer already exists 04:28:07 3.0.0-dev.28: digest: sha256:46e3e0742a869edc890d0d71f766fd82336de48b9d779d9d03647121eb436e45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28 04:28:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:08 c7e04190d062: Preparing 04:28:08 5901e8e826a1: Preparing 04:28:08 de3b4a239c65: Preparing 04:28:08 86903040f433: Preparing 04:28:08 26cbea5cba74: Preparing 04:28:08 5901e8e826a1: Layer already exists 04:28:08 86903040f433: Layer already exists 04:28:08 26cbea5cba74: Layer already exists 04:28:08 c7e04190d062: Layer already exists 04:28:08 de3b4a239c65: Layer already exists 04:28:08 9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28: digest: sha256:46e3e0742a869edc890d0d71f766fd82336de48b9d779d9d03647121eb436e45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 04:28:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:28:09 c7e04190d062: Preparing 04:28:09 5901e8e826a1: Preparing 04:28:09 de3b4a239c65: Preparing 04:28:09 86903040f433: Preparing 04:28:09 26cbea5cba74: Preparing 04:28:09 26cbea5cba74: Layer already exists 04:28:09 de3b4a239c65: Layer already exists 04:28:09 86903040f433: Layer already exists 04:28:09 c7e04190d062: Layer already exists 04:28:09 5901e8e826a1: Layer already exists 04:28:09 main: digest: sha256:46e3e0742a869edc890d0d71f766fd82336de48b9d779d9d03647121eb436e45 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:28:09 ===================================================== [Pipeline] echo 04:28:09 taggedImages: 04:28:09 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9393cb199918d0b51a604a638f19df0ef5e84a0a 04:28:09 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:28:09 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.28 04:28:09 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:9393cb199918d0b51a604a638f19df0ef5e84a0a-3.0.0-dev.28 04:28:09 - 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 04:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:09 04:28:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:11 arm64: Pulling from edgex-lftools-log-publisher 04:28:11 8998bd30e6a1: Pulling fs layer 04:28:11 04944245beec: Pulling fs layer 04:28:11 699f458cf7ca: Pulling fs layer 04:28:11 765212b225bb: Pulling fs layer 04:28:11 f23df028b6ca: Pulling fs layer 04:28:11 d65c8cfc05b1: Pulling fs layer 04:28:11 2437ff75d9bd: Pulling fs layer 04:28:11 f23df028b6ca: Waiting 04:28:11 d65c8cfc05b1: Waiting 04:28:11 2437ff75d9bd: Waiting 04:28:11 765212b225bb: Waiting 04:28:11 04944245beec: Verifying Checksum 04:28:11 04944245beec: Download complete 04:28:11 765212b225bb: Verifying Checksum 04:28:11 765212b225bb: Download complete 04:28:11 f23df028b6ca: Verifying Checksum 04:28:11 f23df028b6ca: Download complete 04:28:11 d65c8cfc05b1: Verifying Checksum 04:28:11 d65c8cfc05b1: Download complete 04:28:11 699f458cf7ca: Verifying Checksum 04:28:11 699f458cf7ca: Download complete 04:28:12 8998bd30e6a1: Verifying Checksum 04:28:12 8998bd30e6a1: Download complete 04:28:14 2437ff75d9bd: Verifying Checksum 04:28:14 2437ff75d9bd: Download complete 04:28:16 8998bd30e6a1: Pull complete 04:28:17 04944245beec: Pull complete 04:28:18 699f458cf7ca: Pull complete 04:28:18 765212b225bb: Pull complete 04:28:19 f23df028b6ca: Pull complete 04:28:19 d65c8cfc05b1: Pull complete 04:28:34 2437ff75d9bd: Pull complete 04:28:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:28:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:35 prd-ubuntu20.04-docker-arm64-4c-16g-7271 does not seem to be running inside a container 04:28:35 $ 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/100 -v /w/workspace/device-virtual-go/100:/w/workspace/device-virtual-go/100:rw,z -v /w/workspace/device-virtual-go/100@tmp:/w/workspace/device-virtual-go/100@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 04:28:37 $ docker top dac93925eb86a9f17720e1fd6baf10be419fc93721f0d5fb7a5ceac869215bfa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:38 ---> job-cost.sh 04:28:38 lf-activate-venv: SKIPPING 04:28:38 INFO: No Stack... 04:28:38 INFO: Retrieving Pricing Info for: v3-standard-4 04:28:39 INFO: Archiving Costs [Pipeline] sh 04:28:40 + cat /w/workspace/device-virtual-go/100/archives/cost.csv 04:28:40 + cut -d, -f6 [Pipeline] lock 04:28:40 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-100-stack-cost] 04:28:40 Resource [jenkins-edgexfoundry-device-virtual-go-main-100-stack-cost] did not exist. Created. 04:28:40 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:40 /w/workspace/device-virtual-go/100@tmp/durable-5c642710/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:28:41 + echo total: 0.10999999940395355 [Pipeline] stash 04:28:41 Warning: overwriting stash ‘stack-cost’ 04:28:41 Stashed 1 file(s) [Pipeline] } 04:28:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:41 $ docker stop --time=1 dac93925eb86a9f17720e1fd6baf10be419fc93721f0d5fb7a5ceac869215bfa 04:28:43 $ docker rm -f --volumes dac93925eb86a9f17720e1fd6baf10be419fc93721f0d5fb7a5ceac869215bfa [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 04:28:43 provisioning config files... 04:28:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15695645844653575837tmp [Pipeline] { [Pipeline] sh 04:28:43 + set +x 04:28:43 + curl -s https://codecov.io/bash 04:28:43 + bash -s -- 04:28:43 04:28:43 _____ _ 04:28:43 / ____| | | 04:28:43 | | ___ __| | ___ ___ _____ __ 04:28:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:28:43 | |___| (_) | (_| | __/ (_| (_) \ V / 04:28:43 \_____\___/ \__,_|\___|\___\___/ \_/ 04:28:43 Bash-1.0.6 04:28:43 04:28:43 04:28:43 ==> git version 2.25.1 found 04:28:43 ==> 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 04:28:43 Release-Date: 2020-01-08 04:28:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:28:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:28:43 ==> Jenkins CI detected. 04:28:43 current dir:  /w/workspace/exfoundry_device-virtual-go_main 04:28:43 project root: . 04:28:43 --> token set from env 04:28:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:28:43 ==> Running gcov in . (disable via -X gcov) 04:28:43 ==> Python coveragepy not found 04:28:43 ==> Searching for coverage reports in: 04:28:43 + . 04:28:43 -> Found 1 reports 04:28:43 ==> Detecting git/mercurial file structure 04:28:43 ==> Reading reports 04:28:43 + ./coverage.out bytes=42786 04:28:43 ==> Appending adjustments 04:28:43 https://docs.codecov.io/docs/fixing-reports 04:28:43 + Found adjustments 04:28:43 ==> Gzipping contents 04:28:43 8.0K /tmp/codecov.YeUfNY.gz 04:28:43 ==> Uploading reports 04:28:43 url: https://codecov.io 04:28:43 query: branch=main&commit=9393cb199918d0b51a604a638f19df0ef5e84a0a&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:28:43 -> Pinging Codecov 04:28:43 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=9393cb199918d0b51a604a638f19df0ef5e84a0a&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:28:44 -> Uploading to 04:28:44 https://storage.googleapis.com/codecov/v4/raw/2023-04-10/5E52B4B073DB2E39498172D8E973AA87/9393cb199918d0b51a604a638f19df0ef5e84a0a/5e194cb9-7dce-4717-89c2-729d963f09dd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230410T042843Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12f5fc0119f538d746645f376fe22507e6a6d3bb9f6e99a2c139dc610f0fb013 04:28:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:28:44 Dload Upload Total Spent Left Speed 04:28:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5136 0 0 100 5136 0 17833 --:--:-- --:--:-- --:--:-- 17833 04:28:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9393cb199918d0b51a604a638f19df0ef5e84a0a [Pipeline] } 04:28:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:28:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:28:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:28:45 04:28:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:28:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:28:45 df9b9388f04a: Pulling fs layer 04:28:45 52dc419b0ee2: Pulling fs layer 04:28:45 25bc292e5bac: Pulling fs layer 04:28:45 114826534d7a: Pulling fs layer 04:28:45 4657fd5d0bcf: Pulling fs layer 04:28:45 6ad1cebc031e: Pulling fs layer 04:28:45 8a3aa393b2d8: Pulling fs layer 04:28:45 114826534d7a: Waiting 04:28:45 4657fd5d0bcf: Waiting 04:28:45 6ad1cebc031e: Waiting 04:28:45 8a3aa393b2d8: Waiting 04:28:45 25bc292e5bac: Verifying Checksum 04:28:45 25bc292e5bac: Download complete 04:28:45 52dc419b0ee2: Download complete 04:28:45 4657fd5d0bcf: Verifying Checksum 04:28:45 4657fd5d0bcf: Download complete 04:28:45 df9b9388f04a: Download complete 04:28:45 df9b9388f04a: Pull complete 04:28:45 6ad1cebc031e: Verifying Checksum 04:28:45 6ad1cebc031e: Download complete 04:28:45 52dc419b0ee2: Pull complete 04:28:45 25bc292e5bac: Pull complete 04:28:46 114826534d7a: Verifying Checksum 04:28:46 114826534d7a: Download complete 04:28:46 8a3aa393b2d8: Verifying Checksum 04:28:46 8a3aa393b2d8: Download complete 04:28:49 114826534d7a: Pull complete 04:28:49 4657fd5d0bcf: Pull complete 04:28:49 6ad1cebc031e: Pull complete 04:28:52 8a3aa393b2d8: Pull complete 04:28:52 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:28:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:28:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:52 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:28:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:28:55 $ docker top 571121fade9f02259f15fee2969aae67caa30d161d26ea68e2bd12317e68324f -eo pid,comm [Pipeline] { [Pipeline] echo 04:28:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 04:28:56 + set -o pipefail 04:28:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 04:29:00 04:29:00 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 04:29:00 04:29:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/9f1a4155-69d5-4fa3-8409-f85db9891529 04:29:00 04:29:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:29:00 04:29:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:29:00 04:29:00 04:29:00 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:29:00 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:29:00 More details here: https://snyk.co/ue1NS 04:29:00 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 04:29:00 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:29:00 $ docker stop --time=1 571121fade9f02259f15fee2969aae67caa30d161d26ea68e2bd12317e68324f 04:29:03 $ docker rm -f --volumes 571121fade9f02259f15fee2969aae67caa30d161d26ea68e2bd12317e68324f [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 04:29:04 + git log --format=format:%s -1 9393cb199918d0b51a604a638f19df0ef5e84a0a [Pipeline] sh 04:29:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:29:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:04 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:29:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:29:05 $ docker top 1e65aea799c7ea125b6a2c4ce43de9da4cd062016df610ffd51a29c555c483ac -eo pid,comm 04:29:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:29:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:29:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:05 [ssh-agent] Looking for ssh-agent implementation... 04:29:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:05 $ docker exec 1e65aea799c7ea125b6a2c4ce43de9da4cd062016df610ffd51a29c555c483ac ssh-agent 04:29:05 SSH_AUTH_SOCK=/tmp/ssh-glJ6e8xOOp36/agent.32 04:29:05 SSH_AGENT_PID=38 04:29:05 Running ssh-add (command line suppressed) 04:29:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7041379907111982727.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7041379907111982727.key) 04:29:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:06 + git semver tag 04:29:06 2023-04-10 04:29:06,314 [run_tag] DEBUG tag force:False 04:29:06 2023-04-10 04:29:06,314 [check_head_tag] DEBUG check head tag 04:29:06 2023-04-10 04:29:06,315 [execute] INFO git cat-file --batch-check 04:29:06 2023-04-10 04:29:06,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:29:06 2023-04-10 04:29:06,319 [execute] INFO git cat-file --batch 04:29:06 2023-04-10 04:29:06,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:29:06 2023-04-10 04:29:06,345 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:29:06 2023-04-10 04:29:06,345 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 04:29:06 2023-04-10 04:29:06,345 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 04:29:06 2023-04-10 04:29:06,350 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:29:06 3.0.0-dev.28 [Pipeline] } 04:29:06 $ docker exec --env ******** --env ******** 1e65aea799c7ea125b6a2c4ce43de9da4cd062016df610ffd51a29c555c483ac ssh-agent -k 04:29:06 unset SSH_AUTH_SOCK; 04:29:06 unset SSH_AGENT_PID; 04:29:06 echo Agent pid 38 killed; 04:29:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:29:06 + git semver [Pipeline] } 04:29:07 $ docker stop --time=1 1e65aea799c7ea125b6a2c4ce43de9da4cd062016df610ffd51a29c555c483ac 04:29:08 $ docker rm -f --volumes 1e65aea799c7ea125b6a2c4ce43de9da4cd062016df610ffd51a29c555c483ac [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:29:08 04:29:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:29:09 0.23.1-centos7: Pulling from edgex-lftools 04:29:09 ab5ef0e58194: Pulling fs layer 04:29:09 9712f1f96733: Pulling fs layer 04:29:09 63f879dbbcfc: Pulling fs layer 04:29:09 0d9ebad4ef96: Pulling fs layer 04:29:09 e9a5061849ea: Pulling fs layer 04:29:09 d747dcd14b5f: Pulling fs layer 04:29:09 2de7ff778b66: Pulling fs layer 04:29:09 e9a5061849ea: Waiting 04:29:09 d747dcd14b5f: Waiting 04:29:09 2de7ff778b66: Waiting 04:29:09 0d9ebad4ef96: Waiting 04:29:09 9712f1f96733: Download complete 04:29:09 63f879dbbcfc: Verifying Checksum 04:29:09 63f879dbbcfc: Download complete 04:29:09 e9a5061849ea: Verifying Checksum 04:29:09 e9a5061849ea: Download complete 04:29:09 d747dcd14b5f: Download complete 04:29:09 0d9ebad4ef96: Verifying Checksum 04:29:09 0d9ebad4ef96: Download complete 04:29:09 ab5ef0e58194: Verifying Checksum 04:29:09 ab5ef0e58194: Download complete 04:29:09 2de7ff778b66: Verifying Checksum 04:29:09 2de7ff778b66: Download complete 04:29:12 ab5ef0e58194: Pull complete 04:29:12 9712f1f96733: Pull complete 04:29:12 63f879dbbcfc: Pull complete 04:29:17 0d9ebad4ef96: Pull complete 04:29:17 e9a5061849ea: Pull complete 04:29:17 d747dcd14b5f: Pull complete 04:29:18 2de7ff778b66: Pull complete 04:29:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:29:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:29:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:18 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:29:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:29:22 $ docker top 3276ee52664a2c954e6f1bb78f45984ca33e8e38706d87df011b087831bdded8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:29:22 provisioning config files... 04:29:22 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14688051138410763635tmp 04:29:22 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8708005929303819981tmp 04:29:22 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16739626524129503326tmp [Pipeline] { [Pipeline] echo 04:29:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:29:22 ---> sigul-configuration.sh 04:29:22 gpg: directory `/root/.gnupg' created 04:29:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:29:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:29:22 gpg: keyring `/root/.gnupg/secring.gpg' created 04:29:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:29:22 gpg: CAST5 encrypted data 04:29:22 gpg: encrypted with 1 passphrase 04:29:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:29:23 + mkdir /home/jenkins 04:29:23 + mkdir /home/jenkins/sigul [Pipeline] sh 04:29:23 + 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 04:29:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:29:23 ---> sigul-install.sh 04:29:23 Sigul already installed; skipping installation. [Pipeline] sh 04:29:23 + git tag --list 04:29:23 v1.0.0 04:29:23 v1.1.0 04:29:23 v1.1.1 04:29:23 v1.2.1 04:29:23 v1.2.2 04:29:23 v1.2.3 04:29:23 v1.3.0 04:29:23 v1.3.1 04:29:23 v2.0.0 04:29:23 v2.1.0 04:29:23 v2.1.1 04:29:23 v2.1.1-dev.1 04:29:23 v2.1.1-dev.2 04:29:23 v2.2.0 04:29:23 v2.2.1-dev.1 04:29:23 v2.2.1-dev.2 04:29:23 v2.2.1-dev.3 04:29:23 v2.2.1-dev.4 04:29:23 v2.2.1-dev.5 04:29:23 v2.2.1-dev.6 04:29:23 v2.2.1-dev.7 04:29:23 v2.2.1-dev.8 04:29:23 v2.3.0 04:29:23 v2.3.0-dev.10 04:29:23 v2.3.0-dev.11 04:29:23 v2.3.0-dev.12 04:29:23 v2.3.0-dev.13 04:29:23 v2.3.0-dev.14 04:29:23 v2.3.0-dev.15 04:29:23 v2.3.0-dev.16 04:29:23 v2.3.0-dev.17 04:29:23 v2.3.0-dev.18 04:29:23 v2.3.0-dev.19 04:29:23 v2.3.0-dev.20 04:29:23 v2.3.0-dev.21 04:29:23 v2.3.0-dev.22 04:29:23 v2.3.0-dev.23 04:29:23 v2.3.0-dev.24 04:29:23 v2.3.0-dev.25 04:29:23 v2.3.0-dev.26 04:29:23 v2.3.0-dev.27 04:29:23 v2.3.0-dev.28 04:29:23 v2.3.0-dev.29 04:29:23 v2.3.0-dev.30 04:29:23 v2.3.0-dev.8 04:29:23 v2.3.0-dev.9 04:29:23 v3.0.0-dev.1 04:29:23 v3.0.0-dev.10 04:29:23 v3.0.0-dev.11 04:29:23 v3.0.0-dev.12 04:29:23 v3.0.0-dev.13 04:29:23 v3.0.0-dev.14 04:29:23 v3.0.0-dev.15 04:29:23 v3.0.0-dev.16 04:29:23 v3.0.0-dev.17 04:29:23 v3.0.0-dev.18 04:29:23 v3.0.0-dev.19 04:29:23 v3.0.0-dev.2 04:29:23 v3.0.0-dev.20 04:29:23 v3.0.0-dev.21 04:29:23 v3.0.0-dev.22 04:29:23 v3.0.0-dev.23 04:29:23 v3.0.0-dev.24 04:29:23 v3.0.0-dev.25 04:29:23 v3.0.0-dev.26 04:29:23 v3.0.0-dev.27 04:29:23 v3.0.0-dev.28 04:29:23 v3.0.0-dev.3 04:29:23 v3.0.0-dev.4 04:29:23 v3.0.0-dev.5 04:29:23 v3.0.0-dev.6 04:29:23 v3.0.0-dev.7 04:29:23 v3.0.0-dev.8 04:29:23 v3.0.0-dev.9 [Pipeline] sh 04:29:24 + lftools sign git-tag v3.0.0-dev.28 04:29:24 Signing Git tag with Sigul... 04:29:24 Signing v3.0.0-dev.28 [Pipeline] echo 04:29:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:29:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:29:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:29:25 $ docker stop --time=1 3276ee52664a2c954e6f1bb78f45984ca33e8e38706d87df011b087831bdded8 04:29:26 $ docker rm -f --volumes 3276ee52664a2c954e6f1bb78f45984ca33e8e38706d87df011b087831bdded8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:29:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:29:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:27 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:29:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:29:27 $ docker top 9a3887512cce88df185932fd591a4443d6a2034bbd2eb847dc6bc64c89488bc8 -eo pid,comm 04:29:27 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). 04:29:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:29:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:27 [ssh-agent] Looking for ssh-agent implementation... 04:29:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:28 $ docker exec 9a3887512cce88df185932fd591a4443d6a2034bbd2eb847dc6bc64c89488bc8 ssh-agent 04:29:28 SSH_AUTH_SOCK=/tmp/ssh-WGqLVLe2J4Mz/agent.32 04:29:28 SSH_AGENT_PID=38 04:29:28 Running ssh-add (command line suppressed) 04:29:28 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11773638892449177390.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11773638892449177390.key) 04:29:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:28 + git semver bump pre 04:29:28 2023-04-10 04:29:28,712 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:29:28 2023-04-10 04:29:28,712 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev 04:29:28 2023-04-10 04:29:28,712 [bump_version] DEBUG bumped version:3.0.0-dev.29 04:29:28 2023-04-10 04:29:28,712 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 04:29:28 2023-04-10 04:29:28,713 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:29:28 2023-04-10 04:29:28,713 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:29:28 2023-04-10 04:29:28,714 [execute] INFO git cat-file --batch-check 04:29:28 2023-04-10 04:29:28,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:29:28 2023-04-10 04:29:28,720 [execute] INFO git cat-file --batch 04:29:28 2023-04-10 04:29:28,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:29:28 2023-04-10 04:29:28,727 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:29:28 3.0.0-dev.29 [Pipeline] } 04:29:28 $ docker exec --env ******** --env ******** 9a3887512cce88df185932fd591a4443d6a2034bbd2eb847dc6bc64c89488bc8 ssh-agent -k 04:29:28 unset SSH_AUTH_SOCK; 04:29:28 unset SSH_AGENT_PID; 04:29:28 echo Agent pid 38 killed; 04:29:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:29:29 + git semver [Pipeline] } 04:29:29 $ docker stop --time=1 9a3887512cce88df185932fd591a4443d6a2034bbd2eb847dc6bc64c89488bc8 04:29:30 $ docker rm -f --volumes 9a3887512cce88df185932fd591a4443d6a2034bbd2eb847dc6bc64c89488bc8 [Pipeline] // withDockerContainer [Pipeline] sh 04:29:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:29:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:31 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:29:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:29:31 $ docker top 9c61c3c0614cb01152eaa33f0b4ab90d0493b9af846f02d7ada4ba591cfabeb1 -eo pid,comm 04:29:31 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). 04:29:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:29:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:31 [ssh-agent] Looking for ssh-agent implementation... 04:29:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:32 $ docker exec 9c61c3c0614cb01152eaa33f0b4ab90d0493b9af846f02d7ada4ba591cfabeb1 ssh-agent 04:29:32 SSH_AUTH_SOCK=/tmp/ssh-caSL8HivEr4w/agent.31 04:29:32 SSH_AGENT_PID=37 04:29:32 Running ssh-add (command line suppressed) 04:29:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1937784051515782832.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1937784051515782832.key) 04:29:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:32 + git semver push 04:29:32 2023-04-10 04:29:32,751 [run_push] DEBUG push 04:29:32 2023-04-10 04:29:32,752 [execute] INFO git cat-file --batch-check 04:29:32 2023-04-10 04:29:32,752 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:29:32 2023-04-10 04:29:32,755 [execute] INFO git rev-list 8d87c3dc0633f9c938a2ee2f7c9af3c873b9cc6e -- 04:29:32 2023-04-10 04:29:32,756 [execute] DEBUG Popen(['git', 'rev-list', '8d87c3dc0633f9c938a2ee2f7c9af3c873b9cc6e', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:29:32 2023-04-10 04:29:32,764 [execute] INFO git fetch -v origin 04:29:32 2023-04-10 04:29:32,764 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:29:33 2023-04-10 04:29:33,229 [run_push] DEBUG no remote changes detected 04:29:33 2023-04-10 04:29:33,230 [execute] INFO git push origin semver 04:29:33 2023-04-10 04:29:33,230 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:29:33 2023-04-10 04:29:33,965 [run_push] DEBUG push all version tags 04:29:33 2023-04-10 04:29:33,966 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:29:33 2023-04-10 04:29:33,966 [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) 04:29:34 2023-04-10 04:29:34,709 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:29:34 3.0.0-dev.29 [Pipeline] } 04:29:34 $ docker exec --env ******** --env ******** 9c61c3c0614cb01152eaa33f0b4ab90d0493b9af846f02d7ada4ba591cfabeb1 ssh-agent -k 04:29:35 unset SSH_AUTH_SOCK; 04:29:35 unset SSH_AGENT_PID; 04:29:35 echo Agent pid 37 killed; 04:29:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:29:35 + git semver [Pipeline] } 04:29:35 $ docker stop --time=1 9c61c3c0614cb01152eaa33f0b4ab90d0493b9af846f02d7ada4ba591cfabeb1 04:29:36 $ docker rm -f --volumes 9c61c3c0614cb01152eaa33f0b4ab90d0493b9af846f02d7ada4ba591cfabeb1 [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 04:29:37 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 04:29:37 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:29:37 total 16 04:29:37 drwxr-xr-x 3 root root 4096 Apr 10 04:20 . 04:29:37 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 04:29 .. 04:29:37 drwxr-xr-x 2 root root 4096 Apr 10 04:20 cost 04:29:37 -rw-r--r-- 1 root root 89 Apr 10 04:20 cost.csv 04:29:37 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 04:29:37 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:29:37 total 16 04:29:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 04:20 . 04:29:37 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 04:29 .. 04:29:37 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 04:20 cost 04:29:37 -rw-r--r-- 1 jenkins jenkins 89 Apr 10 04:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:29:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:29:38 ---> package-listing.sh 04:29:38 ++ facter osfamily 04:29:38 ++ tr '[:upper:]' '[:lower:]' 04:29:39 + OS_FAMILY=debian 04:29:39 + workspace=/w/workspace/exfoundry_device-virtual-go_main 04:29:39 + START_PACKAGES=/tmp/packages_start.txt 04:29:39 + END_PACKAGES=/tmp/packages_end.txt 04:29:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:29:39 + PACKAGES=/tmp/packages_start.txt 04:29:39 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:29:39 + PACKAGES=/tmp/packages_end.txt 04:29:39 + case "${OS_FAMILY}" in 04:29:39 + dpkg -l 04:29:39 + grep '^ii' 04:29:39 + '[' -f /tmp/packages_start.txt ']' 04:29:39 + '[' -f /tmp/packages_end.txt ']' 04:29:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:29:39 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:29:39 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 04:29:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 04:29:39 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 04:29:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:39 prd-ubuntu20.04-docker-8c-8g-7270 does not seem to be running inside a container 04:29:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:29:40 $ docker top e552a9d83e3fa3623ae31924286258c47fedbbe7954dbff89a95fbfe54346937 -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:40 + touch /tmp/pre-build-complete [Pipeline] sh 04:29:40 + mkdir -p /var/log/sysstat [Pipeline] sh 04:29:41 + ls /var/log/sa-host 04:29:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:41 provisioning config files... 04:29:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10658333723649893818tmp [Pipeline] { [Pipeline] echo 04:29:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:29:41 ---> create-netrc.sh [Pipeline] } 04:29:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:29:42 ---> python-tools-install.sh [Pipeline] echo 04:29:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:29:42 ---> sudo-logs.sh 04:29:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:29:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:29:42 ---> job-cost.sh 04:29:42 lf-activate-venv: SKIPPING 04:29:42 DEBUG: total: 0.2199999988079071 04:29:42 INFO: Retrieving Stack Cost... 04:29:42 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:43 INFO: Archiving Costs [Pipeline] echo 04:29:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:29:43 ---> logs-deploy.sh 04:29:43 lf-activate-venv: SKIPPING 04:29:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/100 04:29:43 INFO: archiving workspace using pattern(s): 04:29:44 Archives upload complete. 04:29:44 INFO: archiving logs to Nexus