Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 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-ssh3904253232573857726.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2580952672212036720.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2942849941887306661.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh18320586369054325330.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-ssh7868506857048800052.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15737’ Running on prd-ubuntu20.04-docker-8c-8g-15739 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#408)" > git rev-list --no-walk 28ee7a707fa5283bd85866fd30fed3ded774bf19 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:18:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:18:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:18:41 ========================================================= 15:18:41 EdgeX Global Pipelines Version Info 15:18:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:18:42 ------------------- 15:18:42 stable info: 15:18:42 ------------------- 15:18:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:18:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:18:42 Message: update stable to v1.0.249 15:18:42 ------------------- 15:18:42 experimental info: 15:18:42 ------------------- 15:18:42 Commited By: **** collab-it+edgex@linuxfoundation.org 15:18:42 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 15:18:42 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:18:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:18:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:18:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:18:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:18:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:18:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c8fd19 [Pipeline] echo 15:18:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:18:43 provisioning config files... 15:18:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1028643588225891057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:43 ---> docker-login.sh 15:18:43 nexus3.edgexfoundry.org:10001 15:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:44 Configure a credential helper to remove this warning. See 15:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:44 15:18:44 Login Succeeded 15:18:44 nexus3.edgexfoundry.org:10002 15:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:44 Configure a credential helper to remove this warning. See 15:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:44 15:18:44 Login Succeeded 15:18:44 nexus3.edgexfoundry.org:10003 15:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:44 Configure a credential helper to remove this warning. See 15:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:44 15:18:44 Login Succeeded 15:18:44 nexus3.edgexfoundry.org:10004 15:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:44 Configure a credential helper to remove this warning. See 15:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:44 15:18:44 Login Succeeded 15:18:44 docker.io 15:18:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:44 Configure a credential helper to remove this warning. See 15:18:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:44 15:18:44 Login Succeeded 15:18:44 ---> docker-login.sh ends [Pipeline] } 15:18:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:18:45 + git rev-list -1 --merges 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b~1..6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [Pipeline] echo 15:18:45 -----------> git rev-list -1 --merges 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b~1..6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [false] [Pipeline] sh 15:18:45 + git log --format=format:%s -1 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [Pipeline] echo 15:18:45 ========================================================= 15:18:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:18:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:18:45 + git log --format=format:%s -1 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [Pipeline] echo 15:18:45 [semverPrep] GIT_COMMIT: 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#408) [Pipeline] echo 15:18:45 [semverPrep] This is not a build commit. [Pipeline] sh 15:18:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:18:46 + grep -v github /etc/ssh/ssh_known_hosts 15:18:46 + [ -e /tmp/ssh_known_hosts ] 15:18:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:18:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:18:46 + sudo tee -a /etc/ssh/ssh_known_hosts 15:18:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:18:46 15:18:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:18:46 0.1.4: Pulling from edgex-devops/py-git-semver 15:18:46 b85a868b505f: Pulling fs layer 15:18:46 e2be974225ed: Pulling fs layer 15:18:46 339a4e72a1f5: Pulling fs layer 15:18:46 988bab9f4d93: Pulling fs layer 15:18:46 1469e6f7b9e6: Pulling fs layer 15:18:46 eaf3925da568: Pulling fs layer 15:18:46 bab4dde63d76: Pulling fs layer 15:18:46 bde34c3a00c8: Pulling fs layer 15:18:46 b352a97aabf1: Pulling fs layer 15:18:46 4872d77fe225: Pulling fs layer 15:18:46 5851b861e8e6: Pulling fs layer 15:18:46 eaf3925da568: Waiting 15:18:46 bab4dde63d76: Waiting 15:18:46 4872d77fe225: Waiting 15:18:46 5851b861e8e6: Waiting 15:18:46 bde34c3a00c8: Waiting 15:18:46 988bab9f4d93: Waiting 15:18:46 b352a97aabf1: Waiting 15:18:46 1469e6f7b9e6: Waiting 15:18:46 e2be974225ed: Verifying Checksum 15:18:46 e2be974225ed: Download complete 15:18:46 988bab9f4d93: Verifying Checksum 15:18:46 988bab9f4d93: Download complete 15:18:47 1469e6f7b9e6: Verifying Checksum 15:18:47 1469e6f7b9e6: Download complete 15:18:47 339a4e72a1f5: Verifying Checksum 15:18:47 339a4e72a1f5: Download complete 15:18:47 eaf3925da568: Verifying Checksum 15:18:47 eaf3925da568: Download complete 15:18:47 bde34c3a00c8: Verifying Checksum 15:18:47 bde34c3a00c8: Download complete 15:18:47 b352a97aabf1: Verifying Checksum 15:18:47 b352a97aabf1: Download complete 15:18:47 4872d77fe225: Verifying Checksum 15:18:47 4872d77fe225: Download complete 15:18:47 5851b861e8e6: Verifying Checksum 15:18:47 5851b861e8e6: Download complete 15:18:47 b85a868b505f: Verifying Checksum 15:18:47 b85a868b505f: Download complete 15:18:47 bab4dde63d76: Verifying Checksum 15:18:47 bab4dde63d76: Download complete 15:18:48 b85a868b505f: Pull complete 15:18:48 e2be974225ed: Pull complete 15:18:48 339a4e72a1f5: Pull complete 15:18:48 988bab9f4d93: Pull complete 15:18:49 1469e6f7b9e6: Pull complete 15:18:49 eaf3925da568: Pull complete 15:18:51 bab4dde63d76: Pull complete 15:18:51 bde34c3a00c8: Pull complete 15:18:51 b352a97aabf1: Pull complete 15:18:51 4872d77fe225: Pull complete 15:18:51 5851b861e8e6: Pull complete 15:18:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:18:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:18:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:51 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:18:51 $ 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 15:18:54 $ docker top b099d97a2c34d94c30ed8f5b25c3cde3a01a2f81c82ec7d4022142b9f6ca4fe3 -eo pid,comm 15:18:54 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). 15:18:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:18:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:18:54 [ssh-agent] Looking for ssh-agent implementation... 15:18:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:18:54 $ docker exec b099d97a2c34d94c30ed8f5b25c3cde3a01a2f81c82ec7d4022142b9f6ca4fe3 ssh-agent 15:18:54 SSH_AUTH_SOCK=/tmp/ssh-5hLHY3bKiyGL/agent.32 15:18:54 SSH_AGENT_PID=38 15:18:54 Running ssh-add (command line suppressed) 15:18:54 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7333952840284789168.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7333952840284789168.key) 15:18:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:18:54 + git tag --points-at HEAD [Pipeline] } 15:18:54 $ docker exec --env ******** --env ******** b099d97a2c34d94c30ed8f5b25c3cde3a01a2f81c82ec7d4022142b9f6ca4fe3 ssh-agent -k 15:18:54 unset SSH_AUTH_SOCK; 15:18:54 unset SSH_AGENT_PID; 15:18:54 echo Agent pid 38 killed; 15:18:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:18:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:18:54 [ssh-agent] Looking for ssh-agent implementation... 15:18:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:18:55 $ docker exec b099d97a2c34d94c30ed8f5b25c3cde3a01a2f81c82ec7d4022142b9f6ca4fe3 ssh-agent 15:18:55 SSH_AUTH_SOCK=/tmp/ssh-b8sUjiFvmtkm/agent.70 15:18:55 SSH_AGENT_PID=77 15:18:55 Running ssh-add (command line suppressed) 15:18:55 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9623758212955628954.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9623758212955628954.key) 15:18:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:18:55 + git semver init 15:18:55 2023-05-16 15:18:55,825 [run_init] DEBUG init version:0.0.0 force:False 15:18:55 2023-05-16 15:18:55,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 15:18:55 2023-05-16 15:18:55,826 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 15:18:55 2023-05-16 15:18:55,827 [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) 15:18:57 2023-05-16 15:18:56,931 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 15:18:57 2023-05-16 15:18:56,932 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 15:18:57 2023-05-16 15:18:56,932 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:18:57 2023-05-16 15:18:56,932 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:18:57 3.0.0-dev.48 [Pipeline] } 15:18:57 $ docker exec --env ******** --env ******** b099d97a2c34d94c30ed8f5b25c3cde3a01a2f81c82ec7d4022142b9f6ca4fe3 ssh-agent -k 15:18:57 unset SSH_AUTH_SOCK; 15:18:57 unset SSH_AGENT_PID; 15:18:57 echo Agent pid 77 killed; 15:18:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:18:57 + git semver [Pipeline] } 15:18:57 $ docker stop --time=1 b099d97a2c34d94c30ed8f5b25c3cde3a01a2f81c82ec7d4022142b9f6ca4fe3 15:18:59 $ docker rm -f --volumes b099d97a2c34d94c30ed8f5b25c3cde3a01a2f81c82ec7d4022142b9f6ca4fe3 [Pipeline] // withDockerContainer [Pipeline] sh 15:18:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:18:59 Stashed 1 file(s) [Pipeline] echo 15:18:59 [edgeXSemver]: initialized semver on version 3.0.0-dev.48 [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 15:18:59 provisioning config files... 15:18:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16354319265418191167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:00 ---> docker-login.sh 15:19:00 nexus3.edgexfoundry.org:10001 15:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:00 Configure a credential helper to remove this warning. See 15:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:00 15:19:00 Login Succeeded 15:19:00 nexus3.edgexfoundry.org:10002 15:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:00 Configure a credential helper to remove this warning. See 15:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:00 15:19:00 Login Succeeded 15:19:00 nexus3.edgexfoundry.org:10003 15:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:00 Configure a credential helper to remove this warning. See 15:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:00 15:19:00 Login Succeeded 15:19:00 nexus3.edgexfoundry.org:10004 15:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:00 Configure a credential helper to remove this warning. See 15:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:00 15:19:00 Login Succeeded 15:19:00 docker.io 15:19:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:00 Configure a credential helper to remove this warning. See 15:19:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:00 15:19:00 Login Succeeded 15:19:00 ---> docker-login.sh ends [Pipeline] } 15:19:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:19:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:19:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:19:00 ========================================================= 15:19:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:19:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:01 + 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 . 15:19:01 Sending build context to Docker daemon 23.65MB 15:19:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:19:01 Step 2/12 : FROM ${BASE} AS builder 15:19:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:19:01 f56be85fc22e: Pulling fs layer 15:19:01 85791d961cd3: Pulling fs layer 15:19:01 d694b5ae8c79: Pulling fs layer 15:19:01 9f32a84ed3da: Pulling fs layer 15:19:01 4d19c01a9841: Pulling fs layer 15:19:01 9325e15d5711: Pulling fs layer 15:19:01 556b6ee489ea: Pulling fs layer 15:19:01 c5a4b2cf53e6: Pulling fs layer 15:19:01 4d19c01a9841: Waiting 15:19:01 9325e15d5711: Waiting 15:19:01 556b6ee489ea: Waiting 15:19:01 c5a4b2cf53e6: Waiting 15:19:01 9f32a84ed3da: Waiting 15:19:01 85791d961cd3: Verifying Checksum 15:19:01 85791d961cd3: Download complete 15:19:01 9f32a84ed3da: Verifying Checksum 15:19:01 9f32a84ed3da: Download complete 15:19:01 4d19c01a9841: Verifying Checksum 15:19:01 4d19c01a9841: Download complete 15:19:01 f56be85fc22e: Download complete 15:19:01 9325e15d5711: Verifying Checksum 15:19:01 9325e15d5711: Download complete 15:19:01 f56be85fc22e: Pull complete 15:19:01 85791d961cd3: Pull complete 15:19:01 c5a4b2cf53e6: Verifying Checksum 15:19:01 c5a4b2cf53e6: Download complete 15:19:01 d694b5ae8c79: Verifying Checksum 15:19:01 d694b5ae8c79: Download complete 15:19:02 556b6ee489ea: Verifying Checksum 15:19:02 556b6ee489ea: Download complete 15:19:05 d694b5ae8c79: Pull complete 15:19:05 9f32a84ed3da: Pull complete 15:19:05 4d19c01a9841: Pull complete 15:19:05 9325e15d5711: Pull complete 15:19:07 556b6ee489ea: Pull complete 15:19:08 c5a4b2cf53e6: Pull complete 15:19:08 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 15:19:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:19:08 ---> c4be618373d6 15:19:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:19:13 ---> Running in 9a93d5ffb4ca 15:19:13 Removing intermediate container 9a93d5ffb4ca 15:19:13 ---> 40a3f519e109 15:19:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:19:13 ---> Running in 954e76dd9c5f 15:19:13 Removing intermediate container 954e76dd9c5f 15:19:13 ---> d33b0a70b6c2 15:19:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:19:13 ---> Running in bb19be4a5d5c 15:19:13 Removing intermediate container bb19be4a5d5c 15:19:13 ---> 943308042ec2 15:19:13 Step 6/12 : WORKDIR /device-virtual-go 15:19:13 ---> Running in 056691b85a2a 15:19:13 Removing intermediate container 056691b85a2a 15:19:13 ---> 9a676c87ffc9 15:19:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:19:13 ---> Running in ea8e0d7c63ee 15:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:19:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:19:14 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:19:14 (2/4) Installing libedit (20221030.3.1-r0) 15:19:14 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:19:14 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:19:14 Executing busybox-1.35.0-r29.trigger 15:19:14 OK: 269 MiB in 57 packages 15:19:14 Still waiting to schedule task 15:19:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15738’ is offline 15:19:14 Removing intermediate container ea8e0d7c63ee 15:19:14 ---> 772f02f8a910 15:19:14 Step 8/12 : COPY go.mod vendor* ./ 15:19:14 ---> b1488c8c8777 15:19:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:19:14 ---> Running in 27617e8fdc0a 15:19:41 Removing intermediate container 27617e8fdc0a 15:19:41 ---> 74f6908f8d26 15:19:41 Step 10/12 : COPY . . 15:19:42 ---> 23d0757cefd1 15:19:42 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:19:42 ---> Running in 1c54ba9450fe 15:19:42 Removing intermediate container 1c54ba9450fe 15:19:42 ---> fd1f73d61769 15:19:42 Step 12/12 : RUN $MAKE 15:19:42 ---> Running in a5ae2085cf8c 15:19:42 noop 15:19:42 Removing intermediate container a5ae2085cf8c 15:19:42 ---> c1520c28d91b 15:19:42 Successfully built c1520c28d91b 15:19:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:43 + docker inspect -f . ci-base-image-x86_64 15:19:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:19:43 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:19:43 $ 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 15:19:43 $ docker top 95fa023ad4b94abf3ac1f13e6291e82581defdcb0f7cb7cf2316fe0f399286e6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:44 + go version 15:19:44 go version go1.20.2 linux/amd64 [Pipeline] } 15:19:44 $ docker stop --time=1 95fa023ad4b94abf3ac1f13e6291e82581defdcb0f7cb7cf2316fe0f399286e6 15:19:45 $ docker rm -f --volumes 95fa023ad4b94abf3ac1f13e6291e82581defdcb0f7cb7cf2316fe0f399286e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:45 + docker inspect -f . ci-base-image-x86_64 15:19:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:19:45 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:19:45 $ 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 15:19:46 $ docker top df25c6073d78e2983d83b99c9076071908c4003e30337a9949d78890ea7d0b5a -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:46 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 15:19:46 + make test 15:19:46 go test ./... -coverprofile=coverage.out 15:19:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:20:00 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:20:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements 15:20:05 go vet ./... 15:20:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:20:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:20:08 ./bin/test-attribution-txt.sh [Pipeline] echo 15:20:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:20:08 $ docker stop --time=1 df25c6073d78e2983d83b99c9076071908c4003e30337a9949d78890ea7d0b5a 15:20:12 $ docker rm -f --volumes df25c6073d78e2983d83b99c9076071908c4003e30337a9949d78890ea7d0b5a [Pipeline] // withDockerContainer [Pipeline] sh 15:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:20:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:20:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:20:13 + ls -al . 15:20:13 total 192 15:20:13 drwxrwxr-x 9 jenkins jenkins 4096 May 16 15:19 . 15:20:13 drwxrwxr-x 4 jenkins jenkins 4096 May 16 15:18 .. 15:20:13 drwxrwxr-x 8 jenkins jenkins 4096 May 16 15:18 .git 15:20:13 drwxrwxr-x 3 jenkins jenkins 4096 May 16 15:18 .github 15:20:13 -rw-rw-r-- 1 jenkins jenkins 337 May 16 15:18 .gitignore 15:20:13 -rw-rw-r-- 1 jenkins jenkins 41 May 16 15:18 .golangci.yml 15:20:13 drwxr-xr-x 3 jenkins jenkins 4096 May 16 15:18 .semver 15:20:13 -rw-rw-r-- 1 jenkins jenkins 8652 May 16 15:18 Attribution.txt 15:20:13 -rw-rw-r-- 1 jenkins jenkins 11367 May 16 15:18 CHANGELOG.md 15:20:13 -rw-rw-r-- 1 jenkins jenkins 1646 May 16 15:18 Dockerfile 15:20:13 -rw-rw-r-- 1 jenkins jenkins 677 May 16 15:18 GOVERNANCE.md 15:20:13 -rw-rw-r-- 1 jenkins jenkins 660 May 16 15:18 Jenkinsfile 15:20:13 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 15:18 LICENSE 15:20:13 -rw-rw-r-- 1 jenkins jenkins 1696 May 16 15:18 Makefile 15:20:13 -rw-rw-r-- 1 jenkins jenkins 623 May 16 15:18 OWNERS.md 15:20:13 -rw-rw-r-- 1 jenkins jenkins 4087 May 16 15:18 README.md 15:20:13 -rw-rw-r-- 1 jenkins jenkins 12 May 16 15:18 VERSION 15:20:13 drwxrwxr-x 2 jenkins jenkins 4096 May 16 15:18 bin 15:20:13 drwxrwxr-x 3 jenkins jenkins 4096 May 16 15:18 cmd 15:20:13 -rw-r--r-- 1 jenkins jenkins 43063 May 16 15:19 coverage.out 15:20:13 -rw-rw-r-- 1 jenkins jenkins 3209 May 16 15:18 go.mod 15:20:13 -rw-rw-r-- 1 jenkins jenkins 30994 May 16 15:18 go.sum 15:20:13 drwxrwxr-x 3 jenkins jenkins 4096 May 16 15:18 internal 15:20:13 drwxrwxr-x 4 jenkins jenkins 4096 May 16 15:18 snap 15:20:13 -rw-rw-r-- 1 jenkins jenkins 235 May 16 15:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:13 + 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=6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b --label arch=amd64 --label version=3.0.0-dev.48 . 15:20:13 Sending build context to Docker daemon 23.7MB 15:20:13 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:20:13 Step 2/25 : FROM ${BASE} AS builder 15:20:13 ---> c1520c28d91b 15:20:13 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:20:14 ---> Running in 2b2dbf541e50 15:20:14 Removing intermediate container 2b2dbf541e50 15:20:14 ---> 5a1378d479ad 15:20:14 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:20:14 ---> Running in 2d36d670049f 15:20:14 Removing intermediate container 2d36d670049f 15:20:14 ---> 8e7c74863915 15:20:14 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:20:14 ---> Running in 3394886f9652 15:20:14 Removing intermediate container 3394886f9652 15:20:14 ---> 48b07829f912 15:20:14 Step 6/25 : WORKDIR /device-virtual-go 15:20:14 ---> Running in 5833297a8338 15:20:14 Removing intermediate container 5833297a8338 15:20:14 ---> 8aa55a2a94a8 15:20:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:20:14 ---> Running in c5d5098ab0b5 15:20:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:20:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:20:15 OK: 269 MiB in 57 packages 15:20:15 Removing intermediate container c5d5098ab0b5 15:20:15 ---> 75cd2dde187c 15:20:15 Step 8/25 : COPY go.mod vendor* ./ 15:20:15 ---> b8331891116f 15:20:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:20:15 ---> Running in 4b5c1c194974 15:20:16 Removing intermediate container 4b5c1c194974 15:20:16 ---> 23af98dbdcfe 15:20:16 Step 10/25 : COPY . . 15:20:17 ---> 8525c6de21e8 15:20:17 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:20:17 ---> Running in 979cc9612c60 15:20:17 Removing intermediate container 979cc9612c60 15:20:17 ---> b8a6a1201033 15:20:17 Step 12/25 : RUN $MAKE 15:20:17 ---> Running in dfe075ca95e8 15:20:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.48" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:20:39 Removing intermediate container dfe075ca95e8 15:20:39 ---> b29fe4a24d39 15:20:39 Step 13/25 : FROM alpine:3.17 15:20:39 3.17: Pulling from library/alpine 15:20:39 f56be85fc22e: Already exists 15:20:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:20:39 Status: Downloaded newer image for alpine:3.17 15:20:39 ---> 9ed4aefc74f6 15:20:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:20:39 ---> Running in 2a5c9477ac07 15:20:39 Removing intermediate container 2a5c9477ac07 15:20:39 ---> 0de26d3276ec 15:20:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:20:39 ---> Running in b941220f5793 15:20:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:20:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:20:39 (1/1) Installing dumb-init (1.2.5-r2) 15:20:39 Executing busybox-1.35.0-r29.trigger 15:20:39 OK: 7 MiB in 16 packages 15:20:39 Removing intermediate container b941220f5793 15:20:39 ---> d704bbb09ffe 15:20:39 Step 16/25 : WORKDIR / 15:20:39 ---> Running in ff0d7d97c8ae 15:20:39 Removing intermediate container ff0d7d97c8ae 15:20:39 ---> 02f9b839eacc 15:20:39 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:20:39 ---> 2de2728ef6bb 15:20:39 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:20:39 ---> f93859903bf1 15:20:39 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:20:39 ---> f36a51e4b631 15:20:39 Step 20/25 : EXPOSE 59900 15:20:39 ---> Running in 02f34a07119c 15:20:39 Removing intermediate container 02f34a07119c 15:20:39 ---> c64e338e3dc3 15:20:39 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:20:39 ---> Running in 2ff7646ef024 15:20:39 Removing intermediate container 2ff7646ef024 15:20:39 ---> 366feaf3b75d 15:20:39 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:20:39 ---> Running in 59240ad46e01 15:20:39 Removing intermediate container 59240ad46e01 15:20:39 ---> 36130c658152 15:20:39 Step 23/25 : LABEL arch=amd64 15:20:39 ---> Running in bedb73e1c1b9 15:20:39 Removing intermediate container bedb73e1c1b9 15:20:39 ---> ef3fd70ad783 15:20:39 Step 24/25 : LABEL git_sha=6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 15:20:39 ---> Running in 8d685a795764 15:20:39 Removing intermediate container 8d685a795764 15:20:39 ---> b7cf6a98ae2e 15:20:39 Step 25/25 : LABEL version=3.0.0-dev.48 15:20:39 ---> Running in 02fa2db9485c 15:20:39 Removing intermediate container 02fa2db9485c 15:20:39 ---> 964cc5acf693 15:20:39 [Warning] One or more build-args [ARCH] were not consumed 15:20:39 Successfully built 964cc5acf693 15:20:39 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:20:39 provisioning config files... 15:20:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10698833268898048005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:20:40 ---> docker-login.sh 15:20:40 nexus3.edgexfoundry.org:10001 15:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:40 Configure a credential helper to remove this warning. See 15:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:40 15:20:40 Login Succeeded 15:20:40 nexus3.edgexfoundry.org:10002 15:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:40 Configure a credential helper to remove this warning. See 15:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:40 15:20:40 Login Succeeded 15:20:40 nexus3.edgexfoundry.org:10003 15:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:40 Configure a credential helper to remove this warning. See 15:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:40 15:20:40 Login Succeeded 15:20:40 nexus3.edgexfoundry.org:10004 15:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:40 Configure a credential helper to remove this warning. See 15:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:40 15:20:40 Login Succeeded 15:20:40 docker.io 15:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:20:40 Configure a credential helper to remove this warning. See 15:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:20:40 15:20:40 Login Succeeded 15:20:40 ---> docker-login.sh ends [Pipeline] } 15:20:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:20:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:20:40 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 15:20:40 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 15:20:40 latest 15:20:40 3.0.0-dev.48 15:20:40 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48 15:20:40 main 15:20:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 15:20:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:20:41 9eae485bfa3f: Preparing 15:20:41 6f2ce1090de8: Preparing 15:20:41 7f0335c0c9ba: Preparing 15:20:41 43357d405677: Preparing 15:20:41 f1417ff83b31: Preparing 15:20:41 f1417ff83b31: Layer already exists 15:20:41 43357d405677: Pushed 15:20:41 7f0335c0c9ba: Pushed 15:20:41 6f2ce1090de8: Pushed 15:20:43 9eae485bfa3f: Pushed 15:20:43 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b: digest: sha256:6fd48639de8034ea903586b87a4a94b92b6daaaa08704e021bd7ddf49948c138 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 15:20:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:20:44 9eae485bfa3f: Preparing 15:20:44 6f2ce1090de8: Preparing 15:20:44 7f0335c0c9ba: Preparing 15:20:44 43357d405677: Preparing 15:20:44 f1417ff83b31: Preparing 15:20:44 43357d405677: Layer already exists 15:20:44 7f0335c0c9ba: Layer already exists 15:20:44 9eae485bfa3f: Layer already exists 15:20:44 6f2ce1090de8: Layer already exists 15:20:44 f1417ff83b31: Layer already exists 15:20:44 latest: digest: sha256:6fd48639de8034ea903586b87a4a94b92b6daaaa08704e021bd7ddf49948c138 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.48 15:20:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:20:45 9eae485bfa3f: Preparing 15:20:45 6f2ce1090de8: Preparing 15:20:45 7f0335c0c9ba: Preparing 15:20:45 43357d405677: Preparing 15:20:45 f1417ff83b31: Preparing 15:20:45 9eae485bfa3f: Layer already exists 15:20:45 6f2ce1090de8: Layer already exists 15:20:45 7f0335c0c9ba: Layer already exists 15:20:45 43357d405677: Layer already exists 15:20:45 f1417ff83b31: Layer already exists 15:20:45 3.0.0-dev.48: digest: sha256:6fd48639de8034ea903586b87a4a94b92b6daaaa08704e021bd7ddf49948c138 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48 15:20:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:20:45 9eae485bfa3f: Preparing 15:20:45 6f2ce1090de8: Preparing 15:20:45 7f0335c0c9ba: Preparing 15:20:45 43357d405677: Preparing 15:20:45 f1417ff83b31: Preparing 15:20:45 7f0335c0c9ba: Layer already exists 15:20:45 6f2ce1090de8: Layer already exists 15:20:45 f1417ff83b31: Layer already exists 15:20:45 9eae485bfa3f: Layer already exists 15:20:45 43357d405677: Layer already exists 15:20:45 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48: digest: sha256:6fd48639de8034ea903586b87a4a94b92b6daaaa08704e021bd7ddf49948c138 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 15:20:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 15:20:46 9eae485bfa3f: Preparing 15:20:46 6f2ce1090de8: Preparing 15:20:46 7f0335c0c9ba: Preparing 15:20:46 43357d405677: Preparing 15:20:46 f1417ff83b31: Preparing 15:20:46 7f0335c0c9ba: Layer already exists 15:20:46 f1417ff83b31: Layer already exists 15:20:46 43357d405677: Layer already exists 15:20:46 6f2ce1090de8: Layer already exists 15:20:46 9eae485bfa3f: Layer already exists 15:20:46 main: digest: sha256:6fd48639de8034ea903586b87a4a94b92b6daaaa08704e021bd7ddf49948c138 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:20:46 ===================================================== [Pipeline] echo 15:20:46 taggedImages: 15:20:46 - nexus3.edgexfoundry.org:10004/device-virtual:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 15:20:46 - nexus3.edgexfoundry.org:10004/device-virtual:latest 15:20:46 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.48 15:20:46 - nexus3.edgexfoundry.org:10004/device-virtual:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48 15:20:46 - 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 15:20:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:20:46 15:20:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:20:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:20:47 latest: Pulling from edgex-lftools-log-publisher 15:20:47 5eb5b503b376: Pulling fs layer 15:20:47 5c69ac0246d0: Pulling fs layer 15:20:47 ec43610c2a17: Pulling fs layer 15:20:47 3a2ae6a8a46f: Pulling fs layer 15:20:47 33b1e0a273af: Pulling fs layer 15:20:47 5d3b04190fa2: Pulling fs layer 15:20:47 2f39f015ded8: Pulling fs layer 15:20:47 33b1e0a273af: Waiting 15:20:47 5d3b04190fa2: Waiting 15:20:47 2f39f015ded8: Waiting 15:20:47 3a2ae6a8a46f: Waiting 15:20:47 5c69ac0246d0: Verifying Checksum 15:20:47 5c69ac0246d0: Download complete 15:20:47 3a2ae6a8a46f: Verifying Checksum 15:20:47 3a2ae6a8a46f: Download complete 15:20:47 33b1e0a273af: Verifying Checksum 15:20:47 33b1e0a273af: Download complete 15:20:47 5d3b04190fa2: Verifying Checksum 15:20:47 5d3b04190fa2: Download complete 15:20:47 ec43610c2a17: Verifying Checksum 15:20:47 ec43610c2a17: Download complete 15:20:47 5eb5b503b376: Verifying Checksum 15:20:47 5eb5b503b376: Download complete 15:20:47 2f39f015ded8: Download complete 15:20:48 5eb5b503b376: Pull complete 15:20:48 5c69ac0246d0: Pull complete 15:20:49 ec43610c2a17: Pull complete 15:20:49 3a2ae6a8a46f: Pull complete 15:20:49 33b1e0a273af: Pull complete 15:20:49 5d3b04190fa2: Pull complete 15:20:53 2f39f015ded8: Pull complete 15:20:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:20:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:20:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:20:53 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:20:53 $ 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 15:20:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15742 in /w/workspace/exfoundry_device-virtual-go_main 15:20:59 $ docker top 12e50f9a5bf3bd3911a010b5c65e1a92dc1275d2d721fdf980668bd2b25e4bc1 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 15:20:59 Running in /w/workspace/device-virtual-go/120 [Pipeline] { [Pipeline] checkout 15:20:59 The recommended git tool is: git 15:20:59 ---> job-cost.sh 15:20:59 lf-activate-venv: SKIPPING 15:20:59 INFO: No Stack... 15:20:59 INFO: Retrieving Pricing Info for: v3-standard-8 15:21:00 INFO: Archiving Costs [Pipeline] sh 15:21:00 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 15:21:00 + cut -d, -f6 [Pipeline] lock 15:21:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-120-stack-cost] 15:21:00 Resource [jenkins-edgexfoundry-device-virtual-go-main-120-stack-cost] did not exist. Created. 15:21:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:21:00 + echo total: 0.2199999988079071 [Pipeline] stash 15:21:00 Stashed 1 file(s) [Pipeline] } 15:21:00 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-120-stack-cost] [Pipeline] // lock [Pipeline] } 15:21:00 $ docker stop --time=1 12e50f9a5bf3bd3911a010b5c65e1a92dc1275d2d721fdf980668bd2b25e4bc1 15:21:01 $ docker rm -f --volumes 12e50f9a5bf3bd3911a010b5c65e1a92dc1275d2d721fdf980668bd2b25e4bc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:21:06 using credential edgex-jenkins-ssh 15:21:06 Cloning the remote Git repository 15:21:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:21:06 > git init /w/workspace/device-virtual-go/120 # timeout=10 15:21:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:21:07 > git --version # timeout=10 15:21:07 > git --version # 'git version 2.25.1' 15:21:07 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:21:10 Avoid second fetch 15:21:10 Checking out Revision 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b (main) 15:21:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:21:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:21:10 > git config core.sparsecheckout # timeout=10 15:21:10 > git checkout -f 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b # timeout=10 15:21:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#408)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:21:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:21:11 % Total % Received % Xferd Average Speed Time Time Time Current 15:21:11 Dload Upload Total Spent Left Speed 15:21:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 15:21:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:21:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:21:12 + sudo tee /etc/docker/daemon.new 15:21:12 { 15:21:12 "registry-mirrors": [ 15:21:12 "https://nexus3.edgexfoundry.org:10001" 15:21:12 ], 15:21:12 "bip": "10.250.0.254/24", 15:21:12 "hosts": [ 15:21:12 "tcp://0.0.0.0:5555", 15:21:12 "unix:///var/run/docker.sock" 15:21:12 ], 15:21:12 "mtu": 1458, 15:21:12 "selinux-enabled": true, 15:21:12 "seccomp-profile": "/etc/docker/seccomp.json" 15:21:12 } [Pipeline] sh 15:21:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:21:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:21:31 provisioning config files... 15:21:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/120@tmp/config3909159497646960862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:32 ---> docker-login.sh 15:21:32 nexus3.edgexfoundry.org:10001 15:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:32 Configure a credential helper to remove this warning. See 15:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:32 15:21:32 Login Succeeded 15:21:32 nexus3.edgexfoundry.org:10002 15:21:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:32 Configure a credential helper to remove this warning. See 15:21:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:32 15:21:33 Login Succeeded 15:21:33 nexus3.edgexfoundry.org:10003 15:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:33 Configure a credential helper to remove this warning. See 15:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:33 15:21:33 Login Succeeded 15:21:33 nexus3.edgexfoundry.org:10004 15:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:33 Configure a credential helper to remove this warning. See 15:21:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:33 15:21:33 Login Succeeded 15:21:33 docker.io 15:21:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:34 Configure a credential helper to remove this warning. See 15:21:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:34 15:21:34 Login Succeeded 15:21:34 ---> docker-login.sh ends [Pipeline] } 15:21:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:21:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:21:34 ========================================================= 15:21:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:21:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:34 + 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 . 15:21:35 Sending build context to Docker daemon 11.99MB 15:21:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:21:35 Step 2/12 : FROM ${BASE} AS builder 15:21:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:21:35 c41833b44d91: Pulling fs layer 15:21:35 ed15518f5707: Pulling fs layer 15:21:35 feae8fd75edb: Pulling fs layer 15:21:35 242c74f7c9fa: Pulling fs layer 15:21:35 3cdef696dda3: Pulling fs layer 15:21:35 242c74f7c9fa: Waiting 15:21:35 2ced38df9373: Pulling fs layer 15:21:35 3cdef696dda3: Waiting 15:21:35 58f1dce35555: Pulling fs layer 15:21:35 2ced38df9373: Waiting 15:21:35 58f1dce35555: Waiting 15:21:35 ed15518f5707: Verifying Checksum 15:21:35 ed15518f5707: Download complete 15:21:35 242c74f7c9fa: Verifying Checksum 15:21:35 242c74f7c9fa: Download complete 15:21:35 3cdef696dda3: Verifying Checksum 15:21:35 3cdef696dda3: Download complete 15:21:35 c41833b44d91: Verifying Checksum 15:21:35 c41833b44d91: Download complete 15:21:36 c41833b44d91: Pull complete 15:21:37 58f1dce35555: Verifying Checksum 15:21:37 58f1dce35555: Download complete 15:21:37 ed15518f5707: Pull complete 15:21:38 feae8fd75edb: Verifying Checksum 15:21:38 feae8fd75edb: Download complete 15:21:38 2ced38df9373: Download complete 15:21:48 feae8fd75edb: Pull complete 15:21:48 242c74f7c9fa: Pull complete 15:21:48 3cdef696dda3: Pull complete 15:21:55 2ced38df9373: Pull complete 15:21:57 58f1dce35555: Pull complete 15:21:57 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 15:21:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:21:57 ---> fadd8f120f05 15:21:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:21:59 ---> Running in f60dfcc5ccf8 15:21:59 Removing intermediate container f60dfcc5ccf8 15:21:59 ---> c93a6ad5b555 15:21:59 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:21:59 ---> Running in a4c05fb542cb 15:21:59 Removing intermediate container a4c05fb542cb 15:21:59 ---> 4378b9119e83 15:21:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:21:59 ---> Running in 58e53fd368ac 15:22:00 Removing intermediate container 58e53fd368ac 15:22:00 ---> 1ee8254d1fca 15:22:00 Step 6/12 : WORKDIR /device-virtual-go 15:22:00 ---> Running in 78821f478e3e 15:22:00 Removing intermediate container 78821f478e3e 15:22:00 ---> ddb35eafa716 15:22:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:22:00 ---> Running in ae24ee962cb4 15:22:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:22:03 (1/4) Installing openssh-keygen (9.1_p1-r3) 15:22:03 (2/4) Installing libedit (20221030.3.1-r0) 15:22:03 (3/4) Installing openssh-client-common (9.1_p1-r3) 15:22:03 (4/4) Installing openssh-client-default (9.1_p1-r3) 15:22:03 Executing busybox-1.35.0-r29.trigger 15:22:03 OK: 268 MiB in 57 packages 15:22:05 Removing intermediate container ae24ee962cb4 15:22:05 ---> d58cfff8a305 15:22:05 Step 8/12 : COPY go.mod vendor* ./ 15:22:05 ---> 7886e75770e7 15:22:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:22:05 ---> Running in 03b5623647ff 15:23:13 Removing intermediate container 03b5623647ff 15:23:13 ---> 1a83431d7e18 15:23:13 Step 10/12 : COPY . . 15:23:13 ---> 86061fe53117 15:23:13 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:23:13 ---> Running in f8d427bdf852 15:23:13 Removing intermediate container f8d427bdf852 15:23:13 ---> 955d9345393e 15:23:13 Step 12/12 : RUN $MAKE 15:23:13 ---> Running in 045259c2811b 15:23:13 noop 15:23:13 Removing intermediate container 045259c2811b 15:23:13 ---> 42d8e4c53f5d 15:23:13 Successfully built 42d8e4c53f5d 15:23:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:13 + docker inspect -f . ci-base-image-arm64 15:23:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:13 prd-ubuntu20.04-docker-arm64-4c-16g-15742 does not seem to be running inside a container 15:23:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/120 -v /w/workspace/device-virtual-go/120:/w/workspace/device-virtual-go/120:rw,z -v /w/workspace/device-virtual-go/120@tmp:/w/workspace/device-virtual-go/120@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 15:23:15 $ docker top d10d0e55f3ef176e2bd140c2607a220e2af1ef26fa019e43c6454bc5fd9c0007 -eo pid,comm [Pipeline] { [Pipeline] sh 15:23:16 + go version 15:23:16 go version go1.20.2 linux/arm64 [Pipeline] } 15:23:16 $ docker stop --time=1 d10d0e55f3ef176e2bd140c2607a220e2af1ef26fa019e43c6454bc5fd9c0007 15:23:18 $ docker rm -f --volumes d10d0e55f3ef176e2bd140c2607a220e2af1ef26fa019e43c6454bc5fd9c0007 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:18 + docker inspect -f . ci-base-image-arm64 15:23:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:18 prd-ubuntu20.04-docker-arm64-4c-16g-15742 does not seem to be running inside a container 15:23:18 $ 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/120 -v /w/workspace/device-virtual-go/120:/w/workspace/device-virtual-go/120:rw,z -v /w/workspace/device-virtual-go/120@tmp:/w/workspace/device-virtual-go/120@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 15:23:20 $ docker top 423fed6c9c210d2841e55e1f06e32862bafe991fe1734c0af4bca9f2ebbe50b4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:23:21 + git config --global --add safe.directory /w/workspace/device-virtual-go/120 [Pipeline] fileExists [Pipeline] sh 15:23:21 + make test 15:23:21 go test ./... -coverprofile=coverage.out 15:24:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:26:07 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:26:07 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.100s coverage: 58.4% of statements 15:26:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:26:07 go vet ./... 15:26:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:26:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:26:39 ./bin/test-attribution-txt.sh [Pipeline] echo 15:26:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:26:39 $ docker stop --time=1 423fed6c9c210d2841e55e1f06e32862bafe991fe1734c0af4bca9f2ebbe50b4 15:26:41 $ docker rm -f --volumes 423fed6c9c210d2841e55e1f06e32862bafe991fe1734c0af4bca9f2ebbe50b4 [Pipeline] // withDockerContainer [Pipeline] sh 15:26:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:26:42 Warning: overwriting stash ‘coverage-report’ 15:26:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:26:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:26:44 + ls -al . 15:26:44 total 188 15:26:44 drwxrwxr-x 8 jenkins jenkins 4096 May 16 15:23 . 15:26:44 drwxrwxr-x 4 jenkins jenkins 4096 May 16 15:21 .. 15:26:44 drwxrwxr-x 8 jenkins jenkins 4096 May 16 15:21 .git 15:26:44 drwxrwxr-x 3 jenkins jenkins 4096 May 16 15:21 .github 15:26:44 -rw-rw-r-- 1 jenkins jenkins 337 May 16 15:21 .gitignore 15:26:44 -rw-rw-r-- 1 jenkins jenkins 41 May 16 15:21 .golangci.yml 15:26:44 -rw-rw-r-- 1 jenkins jenkins 8652 May 16 15:21 Attribution.txt 15:26:44 -rw-rw-r-- 1 jenkins jenkins 11367 May 16 15:21 CHANGELOG.md 15:26:44 -rw-rw-r-- 1 jenkins jenkins 1646 May 16 15:21 Dockerfile 15:26:44 -rw-rw-r-- 1 jenkins jenkins 677 May 16 15:21 GOVERNANCE.md 15:26:44 -rw-rw-r-- 1 jenkins jenkins 660 May 16 15:21 Jenkinsfile 15:26:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 15:21 LICENSE 15:26:44 -rw-rw-r-- 1 jenkins jenkins 1696 May 16 15:21 Makefile 15:26:44 -rw-rw-r-- 1 jenkins jenkins 623 May 16 15:21 OWNERS.md 15:26:44 -rw-rw-r-- 1 jenkins jenkins 4087 May 16 15:21 README.md 15:26:44 -rw-rw-r-- 1 jenkins jenkins 12 May 16 15:18 VERSION 15:26:44 drwxrwxr-x 2 jenkins jenkins 4096 May 16 15:21 bin 15:26:44 drwxrwxr-x 3 jenkins jenkins 4096 May 16 15:21 cmd 15:26:44 -rw-r--r-- 1 jenkins jenkins 43063 May 16 15:26 coverage.out 15:26:44 -rw-rw-r-- 1 jenkins jenkins 3209 May 16 15:21 go.mod 15:26:44 -rw-rw-r-- 1 jenkins jenkins 30994 May 16 15:21 go.sum 15:26:44 drwxrwxr-x 3 jenkins jenkins 4096 May 16 15:21 internal 15:26:44 drwxrwxr-x 4 jenkins jenkins 4096 May 16 15:21 snap 15:26:44 -rw-rw-r-- 1 jenkins jenkins 235 May 16 15:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:44 + 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=6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b --label arch=arm64 --label version=3.0.0-dev.48 . 15:26:44 Sending build context to Docker daemon 12.04MB 15:26:44 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:26:44 Step 2/25 : FROM ${BASE} AS builder 15:26:44 ---> 42d8e4c53f5d 15:26:44 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:26:44 ---> Running in 66016c8855f9 15:26:45 Removing intermediate container 66016c8855f9 15:26:45 ---> 46f64c100755 15:26:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:26:45 ---> Running in aa7c7c7d309f 15:26:45 Removing intermediate container aa7c7c7d309f 15:26:45 ---> 80d625e91d48 15:26:45 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:26:45 ---> Running in 5cd5b58f6d87 15:26:46 Removing intermediate container 5cd5b58f6d87 15:26:46 ---> 63495fa943b3 15:26:46 Step 6/25 : WORKDIR /device-virtual-go 15:26:46 ---> Running in b815bad4094d 15:26:46 Removing intermediate container b815bad4094d 15:26:46 ---> ea325efb5334 15:26:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:26:46 ---> Running in bfffe29f8a2e 15:26:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:26:49 OK: 268 MiB in 57 packages 15:26:50 Removing intermediate container bfffe29f8a2e 15:26:50 ---> b16a70a26124 15:26:50 Step 8/25 : COPY go.mod vendor* ./ 15:26:50 ---> aa9890487388 15:26:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:26:51 ---> Running in 74b2cfb010a7 15:26:53 Removing intermediate container 74b2cfb010a7 15:26:53 ---> 7314927db5fe 15:26:53 Step 10/25 : COPY . . 15:26:55 ---> b0de644deb9e 15:26:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:26:55 ---> Running in c802cddb3584 15:26:55 Removing intermediate container c802cddb3584 15:26:55 ---> eca9f3ccf32d 15:26:55 Step 12/25 : RUN $MAKE 15:26:55 ---> Running in f3bcafbd4574 15:26:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.48" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:29:33 Removing intermediate container f3bcafbd4574 15:29:33 ---> cb0f146f3575 15:29:33 Step 13/25 : FROM alpine:3.17 15:29:33 3.17: Pulling from library/alpine 15:29:33 c41833b44d91: Already exists 15:29:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:29:33 Status: Downloaded newer image for alpine:3.17 15:29:33 ---> 51e60588ff2c 15:29:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:29:33 ---> Running in 1216d19f3007 15:29:33 Removing intermediate container 1216d19f3007 15:29:33 ---> 5f61c5ae05b8 15:29:33 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:29:33 ---> Running in bd5c468e671c 15:29:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:29:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:29:33 (1/1) Installing dumb-init (1.2.5-r2) 15:29:33 Executing busybox-1.35.0-r29.trigger 15:29:33 OK: 8 MiB in 16 packages 15:29:33 Removing intermediate container bd5c468e671c 15:29:33 ---> a990b6cca27c 15:29:33 Step 16/25 : WORKDIR / 15:29:33 ---> Running in 6c947caaea62 15:29:33 Removing intermediate container 6c947caaea62 15:29:33 ---> fc8e2b5ae96d 15:29:33 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:29:33 ---> 1249218f9442 15:29:33 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:29:33 ---> 63c67c9293b5 15:29:33 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:29:33 ---> 4585ba65360c 15:29:33 Step 20/25 : EXPOSE 59900 15:29:33 ---> Running in adf2a2937082 15:29:33 Removing intermediate container adf2a2937082 15:29:33 ---> 95ea5725d1c3 15:29:33 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:29:33 ---> Running in a2464111d862 15:29:33 Removing intermediate container a2464111d862 15:29:33 ---> 4b8e948516d5 15:29:33 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:29:33 ---> Running in 655d37b08b28 15:29:33 Removing intermediate container 655d37b08b28 15:29:33 ---> 018387cfffb6 15:29:33 Step 23/25 : LABEL arch=arm64 15:29:33 ---> Running in f96beebee6b1 15:29:33 Removing intermediate container f96beebee6b1 15:29:33 ---> fa70a84a5cc4 15:29:33 Step 24/25 : LABEL git_sha=6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 15:29:33 ---> Running in 8febc8c9419b 15:29:33 Removing intermediate container 8febc8c9419b 15:29:33 ---> 321c97c779d4 15:29:33 Step 25/25 : LABEL version=3.0.0-dev.48 15:29:33 ---> Running in 5fafda375b3c 15:29:33 Removing intermediate container 5fafda375b3c 15:29:33 ---> 4da036227b24 15:29:33 [Warning] One or more build-args [ARCH] were not consumed 15:29:33 Successfully built 4da036227b24 15:29:33 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:29:33 provisioning config files... 15:29:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/120@tmp/config16608647324231508057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:29:33 ---> docker-login.sh 15:29:33 nexus3.edgexfoundry.org:10001 15:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:33 Configure a credential helper to remove this warning. See 15:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:33 15:29:33 Login Succeeded 15:29:33 nexus3.edgexfoundry.org:10002 15:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:34 Configure a credential helper to remove this warning. See 15:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:34 15:29:34 Login Succeeded 15:29:34 nexus3.edgexfoundry.org:10003 15:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:34 Configure a credential helper to remove this warning. See 15:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:34 15:29:34 Login Succeeded 15:29:34 nexus3.edgexfoundry.org:10004 15:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:35 Configure a credential helper to remove this warning. See 15:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:35 15:29:35 Login Succeeded 15:29:35 docker.io 15:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:29:35 Configure a credential helper to remove this warning. See 15:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:29:35 15:29:35 Login Succeeded 15:29:35 ---> docker-login.sh ends [Pipeline] } 15:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:29:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:29:35 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 15:29:35 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 15:29:35 latest 15:29:35 3.0.0-dev.48 15:29:35 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48 15:29:35 main 15:29:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:35 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 15:29:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:29:36 1b2ccc8cb02a: Preparing 15:29:36 d2d62ee08681: Preparing 15:29:36 cdb8bf4f8a31: Preparing 15:29:36 37eb5b175c64: Preparing 15:29:36 26cbea5cba74: Preparing 15:29:36 26cbea5cba74: Layer already exists 15:29:36 cdb8bf4f8a31: Pushed 15:29:36 d2d62ee08681: Pushed 15:29:36 37eb5b175c64: Pushed 15:29:43 1b2ccc8cb02a: Pushed 15:29:43 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b: digest: sha256:0ac4bd96380c392fc3cadcf677240b1431e986e814aaccf220fdc39558ac30de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:29:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:29:43 1b2ccc8cb02a: Preparing 15:29:43 d2d62ee08681: Preparing 15:29:43 cdb8bf4f8a31: Preparing 15:29:43 37eb5b175c64: Preparing 15:29:43 26cbea5cba74: Preparing 15:29:43 d2d62ee08681: Layer already exists 15:29:43 26cbea5cba74: Layer already exists 15:29:43 cdb8bf4f8a31: Layer already exists 15:29:43 1b2ccc8cb02a: Layer already exists 15:29:43 37eb5b175c64: Layer already exists 15:29:43 latest: digest: sha256:0ac4bd96380c392fc3cadcf677240b1431e986e814aaccf220fdc39558ac30de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.48 15:29:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:29:44 1b2ccc8cb02a: Preparing 15:29:44 d2d62ee08681: Preparing 15:29:44 cdb8bf4f8a31: Preparing 15:29:44 37eb5b175c64: Preparing 15:29:44 26cbea5cba74: Preparing 15:29:44 26cbea5cba74: Layer already exists 15:29:44 cdb8bf4f8a31: Layer already exists 15:29:44 d2d62ee08681: Layer already exists 15:29:44 37eb5b175c64: Layer already exists 15:29:44 1b2ccc8cb02a: Layer already exists 15:29:44 3.0.0-dev.48: digest: sha256:0ac4bd96380c392fc3cadcf677240b1431e986e814aaccf220fdc39558ac30de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48 15:29:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:29:45 1b2ccc8cb02a: Preparing 15:29:45 d2d62ee08681: Preparing 15:29:45 cdb8bf4f8a31: Preparing 15:29:45 37eb5b175c64: Preparing 15:29:45 26cbea5cba74: Preparing 15:29:45 26cbea5cba74: Layer already exists 15:29:45 37eb5b175c64: Layer already exists 15:29:45 d2d62ee08681: Layer already exists 15:29:45 cdb8bf4f8a31: Layer already exists 15:29:45 1b2ccc8cb02a: Layer already exists 15:29:45 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48: digest: sha256:0ac4bd96380c392fc3cadcf677240b1431e986e814aaccf220fdc39558ac30de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 15:29:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:29:46 1b2ccc8cb02a: Preparing 15:29:46 d2d62ee08681: Preparing 15:29:46 cdb8bf4f8a31: Preparing 15:29:46 37eb5b175c64: Preparing 15:29:46 26cbea5cba74: Preparing 15:29:46 26cbea5cba74: Layer already exists 15:29:46 1b2ccc8cb02a: Layer already exists 15:29:46 d2d62ee08681: Layer already exists 15:29:46 cdb8bf4f8a31: Layer already exists 15:29:46 37eb5b175c64: Layer already exists 15:29:46 main: digest: sha256:0ac4bd96380c392fc3cadcf677240b1431e986e814aaccf220fdc39558ac30de size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:29:46 ===================================================== [Pipeline] echo 15:29:46 taggedImages: 15:29:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b 15:29:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:29:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.48 15:29:46 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b-3.0.0-dev.48 15:29:46 - 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 15:29:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:29:47 15:29:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:29:47 arm64: Pulling from edgex-lftools-log-publisher 15:29:47 8998bd30e6a1: Pulling fs layer 15:29:47 04944245beec: Pulling fs layer 15:29:47 699f458cf7ca: Pulling fs layer 15:29:47 765212b225bb: Pulling fs layer 15:29:47 f23df028b6ca: Pulling fs layer 15:29:47 d65c8cfc05b1: Pulling fs layer 15:29:47 2437ff75d9bd: Pulling fs layer 15:29:47 765212b225bb: Waiting 15:29:47 f23df028b6ca: Waiting 15:29:47 d65c8cfc05b1: Waiting 15:29:47 2437ff75d9bd: Waiting 15:29:47 04944245beec: Verifying Checksum 15:29:47 04944245beec: Download complete 15:29:47 765212b225bb: Verifying Checksum 15:29:47 765212b225bb: Download complete 15:29:47 f23df028b6ca: Download complete 15:29:47 d65c8cfc05b1: Verifying Checksum 15:29:47 d65c8cfc05b1: Download complete 15:29:47 699f458cf7ca: Verifying Checksum 15:29:47 699f458cf7ca: Download complete 15:29:48 8998bd30e6a1: Verifying Checksum 15:29:48 8998bd30e6a1: Download complete 15:29:50 2437ff75d9bd: Verifying Checksum 15:29:50 2437ff75d9bd: Download complete 15:29:52 8998bd30e6a1: Pull complete 15:29:52 04944245beec: Pull complete 15:29:53 699f458cf7ca: Pull complete 15:29:53 765212b225bb: Pull complete 15:29:54 f23df028b6ca: Pull complete 15:29:55 d65c8cfc05b1: Pull complete 15:30:13 2437ff75d9bd: Pull complete 15:30:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:30:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:30:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:13 prd-ubuntu20.04-docker-arm64-4c-16g-15742 does not seem to be running inside a container 15:30:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/120 -v /w/workspace/device-virtual-go/120:/w/workspace/device-virtual-go/120:rw,z -v /w/workspace/device-virtual-go/120@tmp:/w/workspace/device-virtual-go/120@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 15:30:16 $ docker top 7a90435335fa960ce56e6c5ddd8906f11c84c09344ec628d174a14bb72517f57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:17 ---> job-cost.sh 15:30:17 lf-activate-venv: SKIPPING 15:30:17 INFO: No Stack... 15:30:17 INFO: Retrieving Pricing Info for: v3-standard-4 15:30:18 INFO: Archiving Costs [Pipeline] sh 15:30:19 + cat /w/workspace/device-virtual-go/120/archives/cost.csv 15:30:19 + cut -d, -f6 [Pipeline] lock 15:30:19 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-120-stack-cost] 15:30:19 Resource [jenkins-edgexfoundry-device-virtual-go-main-120-stack-cost] did not exist. Created. 15:30:19 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:30:19 /w/workspace/device-virtual-go/120@tmp/durable-b088573a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:30:20 + echo total: 0.10999999940395355 [Pipeline] stash 15:30:20 Warning: overwriting stash ‘stack-cost’ 15:30:20 Stashed 1 file(s) [Pipeline] } 15:30:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-120-stack-cost] [Pipeline] // lock [Pipeline] } 15:30:20 $ docker stop --time=1 7a90435335fa960ce56e6c5ddd8906f11c84c09344ec628d174a14bb72517f57 15:30:23 $ docker rm -f --volumes 7a90435335fa960ce56e6c5ddd8906f11c84c09344ec628d174a14bb72517f57 [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 15:30:24 provisioning config files... 15:30:24 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6990637826955513980tmp [Pipeline] { [Pipeline] sh 15:30:24 + set +x 15:30:24 + bash -s -- 15:30:24 + curl -s https://codecov.io/bash 15:30:24 15:30:24 _____ _ 15:30:24 / ____| | | 15:30:24 | | ___ __| | ___ ___ _____ __ 15:30:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:30:24 | |___| (_) | (_| | __/ (_| (_) \ V / 15:30:24 \_____\___/ \__,_|\___|\___\___/ \_/ 15:30:24 Bash-1.0.6 15:30:24 15:30:24 15:30:24 ==> git version 2.25.1 found 15:30:24 ==> 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 15:30:24 Release-Date: 2020-01-08 15:30:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:30:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:30:24 ==> Jenkins CI detected. 15:30:24 current dir:  /w/workspace/exfoundry_device-virtual-go_main 15:30:24 project root: . 15:30:24 --> token set from env 15:30:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:30:24 ==> Running gcov in . (disable via -X gcov) 15:30:24 ==> Python coveragepy not found 15:30:24 ==> Searching for coverage reports in: 15:30:24 + . 15:30:24 -> Found 1 reports 15:30:24 ==> Detecting git/mercurial file structure 15:30:24 ==> Reading reports 15:30:24 + ./coverage.out bytes=43063 15:30:24 ==> Appending adjustments 15:30:24 https://docs.codecov.io/docs/fixing-reports 15:30:24 + Found adjustments 15:30:24 ==> Gzipping contents 15:30:24 8.0K /tmp/codecov.bIBb4u.gz 15:30:24 ==> Uploading reports 15:30:24 url: https://codecov.io 15:30:24 query: branch=main&commit=6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:30:24 -> Pinging Codecov 15:30:24 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=6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:30:24 -> Uploading to 15:30:24 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/5E52B4B073DB2E39498172D8E973AA87/6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b/63aed10e-8760-4fe5-83df-dd8c3c1236d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T153024Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc402622ef5b1a7c63ef62e4d97a9c334e413abbf78c9f9c2c6b9be079455d8e 15:30:24 % Total % Received % Xferd Average Speed Time Time Time Current 15:30:24 Dload Upload Total Spent Left Speed 15:30:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23671 --:--:-- --:--:-- --:--:-- 23671 15:30:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [Pipeline] } 15:30:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:30:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:30:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:30:25 15:30:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:30:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:30:25 df9b9388f04a: Pulling fs layer 15:30:25 52dc419b0ee2: Pulling fs layer 15:30:25 25bc292e5bac: Pulling fs layer 15:30:25 114826534d7a: Pulling fs layer 15:30:25 4657fd5d0bcf: Pulling fs layer 15:30:25 6ad1cebc031e: Pulling fs layer 15:30:25 8a3aa393b2d8: Pulling fs layer 15:30:25 4657fd5d0bcf: Waiting 15:30:25 8a3aa393b2d8: Waiting 15:30:25 6ad1cebc031e: Waiting 15:30:25 114826534d7a: Waiting 15:30:25 25bc292e5bac: Download complete 15:30:25 52dc419b0ee2: Download complete 15:30:25 4657fd5d0bcf: Verifying Checksum 15:30:25 4657fd5d0bcf: Download complete 15:30:25 df9b9388f04a: Download complete 15:30:26 6ad1cebc031e: Verifying Checksum 15:30:26 6ad1cebc031e: Download complete 15:30:26 df9b9388f04a: Pull complete 15:30:26 52dc419b0ee2: Pull complete 15:30:26 25bc292e5bac: Pull complete 15:30:26 114826534d7a: Download complete 15:30:26 8a3aa393b2d8: Verifying Checksum 15:30:26 8a3aa393b2d8: Download complete 15:30:30 114826534d7a: Pull complete 15:30:30 4657fd5d0bcf: Pull complete 15:30:30 6ad1cebc031e: Pull complete 15:30:32 8a3aa393b2d8: Pull complete 15:30:32 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:30:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:30:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:32 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:30:32 $ 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 15:30:38 $ docker top e0e975cb178cb8d473a85b1df92ffe7f1189548de2384f1c94e2e4ad80b23554 -eo pid,comm [Pipeline] { [Pipeline] echo 15:30:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 15:30:38 + set -o pipefail 15:30:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 15:30:45 15:30:45 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 15:30:45 15:30:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/ba581c6b-c2f4-4370-8b09-e599bda9712c 15:30:45 15:30:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:30:45 15:30:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:30:45 15:30:45 15:30:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:30:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:30:45 More details here: https://snyk.co/ue1NS [Pipeline] } 15:30:45 $ docker stop --time=1 e0e975cb178cb8d473a85b1df92ffe7f1189548de2384f1c94e2e4ad80b23554 15:30:49 $ docker rm -f --volumes e0e975cb178cb8d473a85b1df92ffe7f1189548de2384f1c94e2e4ad80b23554 [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 15:30:50 + git log --format=format:%s -1 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b [Pipeline] sh 15:30:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:30:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:30:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:30:51 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:30:51 $ 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 15:30:51 $ docker top dfe4f792cda5fd6afd99f483f984bd03ae374f41a6eaa0930ae771b63e71d7bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:30:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:30:51 [ssh-agent] Looking for ssh-agent implementation... 15:30:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:30:51 $ docker exec dfe4f792cda5fd6afd99f483f984bd03ae374f41a6eaa0930ae771b63e71d7bc ssh-agent 15:30:51 SSH_AUTH_SOCK=/tmp/ssh-Gob5ry4FZypz/agent.32 15:30:51 SSH_AGENT_PID=39 15:30:51 Running ssh-add (command line suppressed) 15:30:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5150679160223000120.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5150679160223000120.key) 15:30:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:30:52 + git semver tag 15:30:52 2023-05-16 15:30:52,543 [run_tag] DEBUG tag force:False 15:30:52 2023-05-16 15:30:52,543 [check_head_tag] DEBUG check head tag 15:30:52 2023-05-16 15:30:52,544 [execute] INFO git cat-file --batch-check 15:30:52 2023-05-16 15:30:52,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:30:52 2023-05-16 15:30:52,548 [execute] INFO git cat-file --batch 15:30:52 2023-05-16 15:30:52,548 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:30:52 2023-05-16 15:30:52,576 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:30:52 2023-05-16 15:30:52,577 [execute] INFO git tag -a v3.0.0-dev.48 -m v3.0.0-dev.48 15:30:52 2023-05-16 15:30:52,577 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.48', '-m', 'v3.0.0-dev.48'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 15:30:52 2023-05-16 15:30:52,580 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:30:52 3.0.0-dev.48 [Pipeline] } 15:30:52 $ docker exec --env ******** --env ******** dfe4f792cda5fd6afd99f483f984bd03ae374f41a6eaa0930ae771b63e71d7bc ssh-agent -k 15:30:52 unset SSH_AUTH_SOCK; 15:30:52 unset SSH_AGENT_PID; 15:30:52 echo Agent pid 39 killed; 15:30:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:30:53 + git semver [Pipeline] } 15:30:53 $ docker stop --time=1 dfe4f792cda5fd6afd99f483f984bd03ae374f41a6eaa0930ae771b63e71d7bc 15:30:54 $ docker rm -f --volumes dfe4f792cda5fd6afd99f483f984bd03ae374f41a6eaa0930ae771b63e71d7bc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:30:55 15:30:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:30:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:30:55 0.23.1-centos7: Pulling from edgex-lftools 15:30:55 ab5ef0e58194: Pulling fs layer 15:30:55 9712f1f96733: Pulling fs layer 15:30:55 63f879dbbcfc: Pulling fs layer 15:30:55 0d9ebad4ef96: Pulling fs layer 15:30:55 e9a5061849ea: Pulling fs layer 15:30:55 d747dcd14b5f: Pulling fs layer 15:30:55 2de7ff778b66: Pulling fs layer 15:30:55 2de7ff778b66: Waiting 15:30:55 e9a5061849ea: Waiting 15:30:55 d747dcd14b5f: Waiting 15:30:55 0d9ebad4ef96: Waiting 15:30:55 9712f1f96733: Download complete 15:30:55 63f879dbbcfc: Verifying Checksum 15:30:55 63f879dbbcfc: Download complete 15:30:55 e9a5061849ea: Verifying Checksum 15:30:55 e9a5061849ea: Download complete 15:30:55 d747dcd14b5f: Verifying Checksum 15:30:55 d747dcd14b5f: Download complete 15:30:55 ab5ef0e58194: Verifying Checksum 15:30:55 ab5ef0e58194: Download complete 15:30:55 0d9ebad4ef96: Verifying Checksum 15:30:55 0d9ebad4ef96: Download complete 15:30:55 2de7ff778b66: Verifying Checksum 15:30:55 2de7ff778b66: Download complete 15:30:58 ab5ef0e58194: Pull complete 15:30:58 9712f1f96733: Pull complete 15:30:58 63f879dbbcfc: Pull complete 15:31:02 0d9ebad4ef96: Pull complete 15:31:02 e9a5061849ea: Pull complete 15:31:02 d747dcd14b5f: Pull complete 15:31:03 2de7ff778b66: Pull complete 15:31:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:31:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:31:03 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:31:03 $ 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 15:31:09 $ docker top 84701a2b7916e7f5281ba361b29aa6e068775c54b1048e455ef9c3cd93818405 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:31:09 provisioning config files... 15:31:09 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5379620307299736146tmp 15:31:09 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config478269787648808013tmp 15:31:09 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13215431326022300535tmp [Pipeline] { [Pipeline] echo 15:31:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:31:09 ---> sigul-configuration.sh 15:31:09 gpg: directory `/root/.gnupg' created 15:31:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:31:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:31:09 gpg: keyring `/root/.gnupg/secring.gpg' created 15:31:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:31:09 gpg: CAST5 encrypted data 15:31:09 gpg: encrypted with 1 passphrase 15:31:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:31:10 + mkdir /home/jenkins 15:31:10 + mkdir /home/jenkins/sigul [Pipeline] sh 15:31:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:31:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:31:10 ---> sigul-install.sh 15:31:10 Sigul already installed; skipping installation. [Pipeline] sh 15:31:11 + git tag --list 15:31:11 v1.0.0 15:31:11 v1.1.0 15:31:11 v1.1.1 15:31:11 v1.2.1 15:31:11 v1.2.2 15:31:11 v1.2.3 15:31:11 v1.3.0 15:31:11 v1.3.1 15:31:11 v2.0.0 15:31:11 v2.1.0 15:31:11 v2.1.1 15:31:11 v2.1.1-dev.1 15:31:11 v2.1.1-dev.2 15:31:11 v2.2.0 15:31:11 v2.2.1-dev.1 15:31:11 v2.2.1-dev.2 15:31:11 v2.2.1-dev.3 15:31:11 v2.2.1-dev.4 15:31:11 v2.2.1-dev.5 15:31:11 v2.2.1-dev.6 15:31:11 v2.2.1-dev.7 15:31:11 v2.2.1-dev.8 15:31:11 v2.3.0 15:31:11 v2.3.0-dev.10 15:31:11 v2.3.0-dev.11 15:31:11 v2.3.0-dev.12 15:31:11 v2.3.0-dev.13 15:31:11 v2.3.0-dev.14 15:31:11 v2.3.0-dev.15 15:31:11 v2.3.0-dev.16 15:31:11 v2.3.0-dev.17 15:31:11 v2.3.0-dev.18 15:31:11 v2.3.0-dev.19 15:31:11 v2.3.0-dev.20 15:31:11 v2.3.0-dev.21 15:31:11 v2.3.0-dev.22 15:31:11 v2.3.0-dev.23 15:31:11 v2.3.0-dev.24 15:31:11 v2.3.0-dev.25 15:31:11 v2.3.0-dev.26 15:31:11 v2.3.0-dev.27 15:31:11 v2.3.0-dev.28 15:31:11 v2.3.0-dev.29 15:31:11 v2.3.0-dev.30 15:31:11 v2.3.0-dev.8 15:31:11 v2.3.0-dev.9 15:31:11 v3.0.0-dev.1 15:31:11 v3.0.0-dev.10 15:31:11 v3.0.0-dev.11 15:31:11 v3.0.0-dev.12 15:31:11 v3.0.0-dev.13 15:31:11 v3.0.0-dev.14 15:31:11 v3.0.0-dev.15 15:31:11 v3.0.0-dev.16 15:31:11 v3.0.0-dev.17 15:31:11 v3.0.0-dev.18 15:31:11 v3.0.0-dev.19 15:31:11 v3.0.0-dev.2 15:31:11 v3.0.0-dev.20 15:31:11 v3.0.0-dev.21 15:31:11 v3.0.0-dev.22 15:31:11 v3.0.0-dev.23 15:31:11 v3.0.0-dev.24 15:31:11 v3.0.0-dev.25 15:31:11 v3.0.0-dev.26 15:31:11 v3.0.0-dev.27 15:31:11 v3.0.0-dev.28 15:31:11 v3.0.0-dev.29 15:31:11 v3.0.0-dev.3 15:31:11 v3.0.0-dev.30 15:31:11 v3.0.0-dev.31 15:31:11 v3.0.0-dev.32 15:31:11 v3.0.0-dev.33 15:31:11 v3.0.0-dev.34 15:31:11 v3.0.0-dev.35 15:31:11 v3.0.0-dev.36 15:31:11 v3.0.0-dev.37 15:31:11 v3.0.0-dev.38 15:31:11 v3.0.0-dev.39 15:31:11 v3.0.0-dev.4 15:31:11 v3.0.0-dev.40 15:31:11 v3.0.0-dev.41 15:31:11 v3.0.0-dev.42 15:31:11 v3.0.0-dev.43 15:31:11 v3.0.0-dev.44 15:31:11 v3.0.0-dev.45 15:31:11 v3.0.0-dev.46 15:31:11 v3.0.0-dev.47 15:31:11 v3.0.0-dev.48 15:31:11 v3.0.0-dev.5 15:31:11 v3.0.0-dev.6 15:31:11 v3.0.0-dev.7 15:31:11 v3.0.0-dev.8 15:31:11 v3.0.0-dev.9 [Pipeline] sh 15:31:11 + lftools sign git-tag v3.0.0-dev.48 15:31:11 Signing Git tag with Sigul... 15:31:11 Signing v3.0.0-dev.48 [Pipeline] echo 15:31:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:31:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:31:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:31:12 $ docker stop --time=1 84701a2b7916e7f5281ba361b29aa6e068775c54b1048e455ef9c3cd93818405 15:31:13 $ docker rm -f --volumes 84701a2b7916e7f5281ba361b29aa6e068775c54b1048e455ef9c3cd93818405 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:31:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:31:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:31:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:31:14 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:31:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:31:14 $ docker top 8ec28d8dd2c7f197a2ecf1131e23f1d272182411871909bf7996d9957658fce0 -eo pid,comm 15:31:14 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:31:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:31:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:31:14 [ssh-agent] Looking for ssh-agent implementation... 15:31:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:31:15 $ docker exec 8ec28d8dd2c7f197a2ecf1131e23f1d272182411871909bf7996d9957658fce0 ssh-agent 15:31:15 SSH_AUTH_SOCK=/tmp/ssh-6Bpx5flVYUTx/agent.33 15:31:15 SSH_AGENT_PID=39 15:31:15 Running ssh-add (command line suppressed) 15:31:15 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5622394503966876948.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5622394503966876948.key) 15:31:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:31:15 + git semver bump pre 15:31:15 2023-05-16 15:31:15,729 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:31:15 2023-05-16 15:31:15,729 [bump_version] DEBUG bumping version:3.0.0-dev.48 on axis:pre with prefix:dev 15:31:15 2023-05-16 15:31:15,729 [bump_version] DEBUG bumped version:3.0.0-dev.49 15:31:15 2023-05-16 15:31:15,729 [write_version] DEBUG write version:3.0.0-dev.49 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 15:31:15 2023-05-16 15:31:15,729 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:31:15 2023-05-16 15:31:15,729 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:31:15 2023-05-16 15:31:15,731 [execute] INFO git cat-file --batch-check 15:31:15 2023-05-16 15:31:15,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:31:15 2023-05-16 15:31:15,736 [execute] INFO git cat-file --batch 15:31:15 2023-05-16 15:31:15,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:31:15 2023-05-16 15:31:15,741 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:31:15 3.0.0-dev.49 [Pipeline] } 15:31:15 $ docker exec --env ******** --env ******** 8ec28d8dd2c7f197a2ecf1131e23f1d272182411871909bf7996d9957658fce0 ssh-agent -k 15:31:15 unset SSH_AUTH_SOCK; 15:31:15 unset SSH_AGENT_PID; 15:31:15 echo Agent pid 39 killed; 15:31:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:31:16 + git semver [Pipeline] } 15:31:16 $ docker stop --time=1 8ec28d8dd2c7f197a2ecf1131e23f1d272182411871909bf7996d9957658fce0 15:31:17 $ docker rm -f --volumes 8ec28d8dd2c7f197a2ecf1131e23f1d272182411871909bf7996d9957658fce0 [Pipeline] // withDockerContainer [Pipeline] sh 15:31:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:31:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:31:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:31:18 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:31:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:31:18 $ docker top 69e076f9f2b2e5291fdf144c5d75fd2f082b7b13bf863f0724725df3a44e72ea -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:31:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:31:18 [ssh-agent] Looking for ssh-agent implementation... 15:31:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:31:19 $ docker exec 69e076f9f2b2e5291fdf144c5d75fd2f082b7b13bf863f0724725df3a44e72ea ssh-agent 15:31:19 SSH_AUTH_SOCK=/tmp/ssh-1wVKTHhPVUfj/agent.33 15:31:19 SSH_AGENT_PID=39 15:31:19 Running ssh-add (command line suppressed) 15:31:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4430411853773665235.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4430411853773665235.key) 15:31:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:31:19 + git semver push 15:31:19 2023-05-16 15:31:19,743 [run_push] DEBUG push 15:31:19 2023-05-16 15:31:19,744 [execute] INFO git cat-file --batch-check 15:31:19 2023-05-16 15:31:19,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:31:19 2023-05-16 15:31:19,748 [execute] INFO git rev-list 2010631eaf3213f265929168381631421be80374 -- 15:31:19 2023-05-16 15:31:19,748 [execute] DEBUG Popen(['git', 'rev-list', '2010631eaf3213f265929168381631421be80374', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:31:19 2023-05-16 15:31:19,756 [execute] INFO git fetch -v origin 15:31:19 2023-05-16 15:31:19,757 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:31:20 2023-05-16 15:31:20,233 [run_push] DEBUG no remote changes detected 15:31:20 2023-05-16 15:31:20,233 [execute] INFO git push origin semver 15:31:20 2023-05-16 15:31:20,233 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:31:21 2023-05-16 15:31:21,101 [run_push] DEBUG push all version tags 15:31:21 2023-05-16 15:31:21,102 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:31:21 2023-05-16 15:31:21,103 [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) 15:31:22 2023-05-16 15:31:21,897 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:31:22 3.0.0-dev.49 [Pipeline] } 15:31:22 $ docker exec --env ******** --env ******** 69e076f9f2b2e5291fdf144c5d75fd2f082b7b13bf863f0724725df3a44e72ea ssh-agent -k 15:31:22 unset SSH_AUTH_SOCK; 15:31:22 unset SSH_AGENT_PID; 15:31:22 echo Agent pid 39 killed; 15:31:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:31:22 + git semver [Pipeline] } 15:31:22 $ docker stop --time=1 69e076f9f2b2e5291fdf144c5d75fd2f082b7b13bf863f0724725df3a44e72ea 15:31:24 $ docker rm -f --volumes 69e076f9f2b2e5291fdf144c5d75fd2f082b7b13bf863f0724725df3a44e72ea [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 15:31:24 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 15:31:24 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:31:24 total 16 15:31:24 drwxr-xr-x 3 root root 4096 May 16 15:21 . 15:31:24 drwxrwxr-x 10 jenkins jenkins 4096 May 16 15:31 .. 15:31:24 drwxr-xr-x 2 root root 4096 May 16 15:21 cost 15:31:24 -rw-r--r-- 1 root root 89 May 16 15:21 cost.csv 15:31:24 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 15:31:24 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:31:24 total 16 15:31:24 drwxr-xr-x 3 jenkins jenkins 4096 May 16 15:21 . 15:31:24 drwxrwxr-x 10 jenkins jenkins 4096 May 16 15:31 .. 15:31:24 drwxr-xr-x 2 jenkins jenkins 4096 May 16 15:21 cost 15:31:24 -rw-r--r-- 1 jenkins jenkins 89 May 16 15:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:31:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:31:25 ---> package-listing.sh 15:31:25 ++ facter osfamily 15:31:25 ++ tr '[:upper:]' '[:lower:]' 15:31:26 + OS_FAMILY=debian 15:31:26 + workspace=/w/workspace/exfoundry_device-virtual-go_main 15:31:26 + START_PACKAGES=/tmp/packages_start.txt 15:31:26 + END_PACKAGES=/tmp/packages_end.txt 15:31:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:31:26 + PACKAGES=/tmp/packages_start.txt 15:31:26 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:31:26 + PACKAGES=/tmp/packages_end.txt 15:31:26 + case "${OS_FAMILY}" in 15:31:26 + dpkg -l 15:31:26 + grep '^ii' 15:31:26 + '[' -f /tmp/packages_start.txt ']' 15:31:26 + '[' -f /tmp/packages_end.txt ']' 15:31:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:31:26 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:31:26 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 15:31:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 15:31:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:31:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:31:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:31:27 prd-ubuntu20.04-docker-8c-8g-15739 does not seem to be running inside a container 15:31:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:31:27 $ docker top c89649f08e1f2b8f60c0b174769d1cddc6a58284bae4aeb9cb028b55e4056024 -eo pid,comm [Pipeline] { [Pipeline] sh 15:31:27 + touch /tmp/pre-build-complete [Pipeline] sh 15:31:27 + mkdir -p /var/log/sysstat [Pipeline] sh 15:31:28 + ls /var/log/sa-host 15:31:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:28 provisioning config files... 15:31:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2836985913274870974tmp [Pipeline] { [Pipeline] echo 15:31:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:31:28 ---> create-netrc.sh [Pipeline] } 15:31:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:31:28 ---> python-tools-install.sh [Pipeline] echo 15:31:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:31:29 ---> sudo-logs.sh 15:31:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:31:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:31:29 ---> job-cost.sh 15:31:29 lf-activate-venv: SKIPPING 15:31:29 DEBUG: total: 0.2199999988079071 15:31:29 INFO: Retrieving Stack Cost... 15:31:29 INFO: Retrieving Pricing Info for: v3-standard-8 15:31:30 INFO: Archiving Costs [Pipeline] echo 15:31:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:31:30 ---> logs-deploy.sh 15:31:30 lf-activate-venv: SKIPPING 15:31:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/120 15:31:30 INFO: archiving workspace using pattern(s): 15:31:31 Archives upload complete. 15:31:31 INFO: archiving logs to Nexus