Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f8cb92a3d845b6daf1d0068b834535a64d8c37e9 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-ssh4141271012505640103.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-ssh15914001140235593812.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-ssh4037081480134964225.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-ssh13706059864728992287.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-ssh10189120147652228765.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13341 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f8cb92a3d845b6daf1d0068b834535a64d8c37e9 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#396)" > git config core.sparsecheckout # timeout=10 > git checkout -f f8cb92a3d845b6daf1d0068b834535a64d8c37e9 # timeout=10 > git rev-list --no-walk 57e8f11bd3ea3d47e4da0a6a34afa9d3832cc92d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:48:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:48:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:48:51 ========================================================= 01:48:51 EdgeX Global Pipelines Version Info 01:48:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:48:51 ------------------- 01:48:51 stable info: 01:48:51 ------------------- 01:48:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:48:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:48:51 Message: update stable to v1.0.249 01:48:52 ------------------- 01:48:52 experimental info: 01:48:52 ------------------- 01:48:52 Commited By: **** collab-it+edgex@linuxfoundation.org 01:48:52 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:48:52 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f8cb92a [Pipeline] echo 01:48:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:53 provisioning config files... 01:48:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2553038980855581671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:53 ---> docker-login.sh 01:48:53 nexus3.edgexfoundry.org:10001 01:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:53 Configure a credential helper to remove this warning. See 01:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:53 01:48:53 Login Succeeded 01:48:53 nexus3.edgexfoundry.org:10002 01:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:53 Configure a credential helper to remove this warning. See 01:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:53 01:48:53 Login Succeeded 01:48:53 nexus3.edgexfoundry.org:10003 01:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:53 Configure a credential helper to remove this warning. See 01:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:53 01:48:53 Login Succeeded 01:48:53 nexus3.edgexfoundry.org:10004 01:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:53 Configure a credential helper to remove this warning. See 01:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:53 01:48:53 Login Succeeded 01:48:53 docker.io 01:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:54 Configure a credential helper to remove this warning. See 01:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:54 01:48:54 Login Succeeded 01:48:54 ---> docker-login.sh ends [Pipeline] } 01:48:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:48:54 + git rev-list -1 --merges f8cb92a3d845b6daf1d0068b834535a64d8c37e9~1..f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [Pipeline] echo 01:48:54 -----------> git rev-list -1 --merges f8cb92a3d845b6daf1d0068b834535a64d8c37e9~1..f8cb92a3d845b6daf1d0068b834535a64d8c37e9 f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [false] [Pipeline] sh 01:48:55 + git log --format=format:%s -1 f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [Pipeline] echo 01:48:55 ========================================================= 01:48:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:48:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:55 + git log --format=format:%s -1 f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [Pipeline] echo 01:48:55 [semverPrep] GIT_COMMIT: f8cb92a3d845b6daf1d0068b834535a64d8c37e9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#396) [Pipeline] echo 01:48:55 [semverPrep] This is not a build commit. [Pipeline] sh 01:48:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:48:55 + grep -v github /etc/ssh/ssh_known_hosts 01:48:55 + [ -e /tmp/ssh_known_hosts ] 01:48:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:48:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:48:55 + sudo tee -a /etc/ssh/ssh_known_hosts 01:48:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:56 01:48:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:48:56 0.1.4: Pulling from edgex-devops/py-git-semver 01:48:56 b85a868b505f: Pulling fs layer 01:48:56 e2be974225ed: Pulling fs layer 01:48:56 339a4e72a1f5: Pulling fs layer 01:48:56 988bab9f4d93: Pulling fs layer 01:48:56 1469e6f7b9e6: Pulling fs layer 01:48:56 eaf3925da568: Pulling fs layer 01:48:56 bab4dde63d76: Pulling fs layer 01:48:56 bde34c3a00c8: Pulling fs layer 01:48:56 b352a97aabf1: Pulling fs layer 01:48:56 4872d77fe225: Pulling fs layer 01:48:56 5851b861e8e6: Pulling fs layer 01:48:56 1469e6f7b9e6: Waiting 01:48:56 eaf3925da568: Waiting 01:48:56 5851b861e8e6: Waiting 01:48:56 988bab9f4d93: Waiting 01:48:56 bab4dde63d76: Waiting 01:48:56 bde34c3a00c8: Waiting 01:48:56 4872d77fe225: Waiting 01:48:56 e2be974225ed: Verifying Checksum 01:48:56 e2be974225ed: Download complete 01:48:56 988bab9f4d93: Verifying Checksum 01:48:56 988bab9f4d93: Download complete 01:48:56 1469e6f7b9e6: Verifying Checksum 01:48:56 1469e6f7b9e6: Download complete 01:48:56 eaf3925da568: Verifying Checksum 01:48:56 eaf3925da568: Download complete 01:48:56 339a4e72a1f5: Verifying Checksum 01:48:56 339a4e72a1f5: Download complete 01:48:56 bde34c3a00c8: Verifying Checksum 01:48:56 bde34c3a00c8: Download complete 01:48:56 b352a97aabf1: Download complete 01:48:56 5851b861e8e6: Verifying Checksum 01:48:56 5851b861e8e6: Download complete 01:48:56 b85a868b505f: Verifying Checksum 01:48:56 b85a868b505f: Download complete 01:48:57 bab4dde63d76: Verifying Checksum 01:48:57 bab4dde63d76: Download complete 01:48:58 b85a868b505f: Pull complete 01:48:58 e2be974225ed: Pull complete 01:48:58 339a4e72a1f5: Pull complete 01:48:58 988bab9f4d93: Pull complete 01:48:59 1469e6f7b9e6: Pull complete 01:48:59 eaf3925da568: Pull complete 01:49:01 bab4dde63d76: Pull complete 01:49:01 bde34c3a00c8: Pull complete 01:49:01 b352a97aabf1: Pull complete 01:49:01 4872d77fe225: Pull complete 01:49:01 5851b861e8e6: Pull complete 01:49:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:49:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:01 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 01:49:01 $ 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 01:49:04 $ docker top bf84abafe41eb9baed6da97a4699b48496781a5ee5da24ad6cc08903411ab214 -eo pid,comm 01:49:04 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). 01:49:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:04 [ssh-agent] Looking for ssh-agent implementation... 01:49:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:04 $ docker exec bf84abafe41eb9baed6da97a4699b48496781a5ee5da24ad6cc08903411ab214 ssh-agent 01:49:04 SSH_AUTH_SOCK=/tmp/ssh-2zsComup0M4S/agent.31 01:49:04 SSH_AGENT_PID=37 01:49:04 Running ssh-add (command line suppressed) 01:49:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2654415452575128366.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2654415452575128366.key) 01:49:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:04 + git tag --points-at HEAD [Pipeline] } 01:49:04 $ docker exec --env ******** --env ******** bf84abafe41eb9baed6da97a4699b48496781a5ee5da24ad6cc08903411ab214 ssh-agent -k 01:49:04 unset SSH_AUTH_SOCK; 01:49:04 unset SSH_AGENT_PID; 01:49:04 echo Agent pid 37 killed; 01:49:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:49:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:04 [ssh-agent] Looking for ssh-agent implementation... 01:49:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:05 $ docker exec bf84abafe41eb9baed6da97a4699b48496781a5ee5da24ad6cc08903411ab214 ssh-agent 01:49:05 SSH_AUTH_SOCK=/tmp/ssh-lAqA4XM5Lskw/agent.69 01:49:05 SSH_AGENT_PID=75 01:49:05 Running ssh-add (command line suppressed) 01:49:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15875849326709854220.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15875849326709854220.key) 01:49:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:05 + git semver init 01:49:05 2023-05-05 01:49:05,787 [run_init] DEBUG init version:0.0.0 force:False 01:49:05 2023-05-05 01:49:05,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 01:49:05 2023-05-05 01:49:05,788 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 01:49:05 2023-05-05 01:49:05,789 [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) 01:49:07 2023-05-05 01:49:06,835 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 01:49:07 2023-05-05 01:49:06,836 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 01:49:07 2023-05-05 01:49:06,836 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:49:07 2023-05-05 01:49:06,836 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 01:49:07 3.0.0-dev.38 [Pipeline] } 01:49:07 $ docker exec --env ******** --env ******** bf84abafe41eb9baed6da97a4699b48496781a5ee5da24ad6cc08903411ab214 ssh-agent -k 01:49:07 unset SSH_AUTH_SOCK; 01:49:07 unset SSH_AGENT_PID; 01:49:07 echo Agent pid 75 killed; 01:49:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:07 + git semver [Pipeline] } 01:49:07 $ docker stop --time=1 bf84abafe41eb9baed6da97a4699b48496781a5ee5da24ad6cc08903411ab214 01:49:09 $ docker rm -f --volumes bf84abafe41eb9baed6da97a4699b48496781a5ee5da24ad6cc08903411ab214 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:49:09 Stashed 1 file(s) [Pipeline] echo 01:49:09 [edgeXSemver]: initialized semver on version 3.0.0-dev.38 [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 01:49:09 provisioning config files... 01:49:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6372612662942814416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:10 ---> docker-login.sh 01:49:10 nexus3.edgexfoundry.org:10001 01:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:10 Configure a credential helper to remove this warning. See 01:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:10 01:49:10 Login Succeeded 01:49:10 nexus3.edgexfoundry.org:10002 01:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:10 Configure a credential helper to remove this warning. See 01:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:10 01:49:10 Login Succeeded 01:49:10 nexus3.edgexfoundry.org:10003 01:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:10 Configure a credential helper to remove this warning. See 01:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:10 01:49:10 Login Succeeded 01:49:10 nexus3.edgexfoundry.org:10004 01:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:10 Configure a credential helper to remove this warning. See 01:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:10 01:49:10 Login Succeeded 01:49:10 docker.io 01:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:49:10 Configure a credential helper to remove this warning. See 01:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:49:10 01:49:10 Login Succeeded 01:49:10 ---> docker-login.sh ends [Pipeline] } 01:49:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:49:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:49:10 ========================================================= 01:49:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:49:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:11 + 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 . 01:49:11 Sending build context to Docker daemon 23.58MB 01:49:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:49:11 Step 2/12 : FROM ${BASE} AS builder 01:49:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:49:11 f56be85fc22e: Pulling fs layer 01:49:11 85791d961cd3: Pulling fs layer 01:49:11 d694b5ae8c79: Pulling fs layer 01:49:11 9f32a84ed3da: Pulling fs layer 01:49:11 4d19c01a9841: Pulling fs layer 01:49:11 9325e15d5711: Pulling fs layer 01:49:11 556b6ee489ea: Pulling fs layer 01:49:11 c5a4b2cf53e6: Pulling fs layer 01:49:11 9f32a84ed3da: Waiting 01:49:11 556b6ee489ea: Waiting 01:49:11 4d19c01a9841: Waiting 01:49:11 c5a4b2cf53e6: Waiting 01:49:11 85791d961cd3: Download complete 01:49:11 9f32a84ed3da: Verifying Checksum 01:49:11 9f32a84ed3da: Download complete 01:49:11 4d19c01a9841: Verifying Checksum 01:49:11 4d19c01a9841: Download complete 01:49:11 f56be85fc22e: Verifying Checksum 01:49:11 f56be85fc22e: Download complete 01:49:11 9325e15d5711: Verifying Checksum 01:49:11 9325e15d5711: Download complete 01:49:11 f56be85fc22e: Pull complete 01:49:11 85791d961cd3: Pull complete 01:49:11 c5a4b2cf53e6: Verifying Checksum 01:49:11 c5a4b2cf53e6: Download complete 01:49:11 d694b5ae8c79: Verifying Checksum 01:49:11 d694b5ae8c79: Download complete 01:49:12 556b6ee489ea: Verifying Checksum 01:49:16 d694b5ae8c79: Pull complete 01:49:16 9f32a84ed3da: Pull complete 01:49:16 4d19c01a9841: Pull complete 01:49:16 9325e15d5711: Pull complete 01:49:18 556b6ee489ea: Pull complete 01:49:19 c5a4b2cf53e6: Pull complete 01:49:19 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:49:19 ---> c4be618373d6 01:49:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:49:22 ---> Running in c7ce19695733 01:49:22 Removing intermediate container c7ce19695733 01:49:22 ---> 6c70970fc735 01:49:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:49:22 ---> Running in 7c7f9b6a2188 01:49:23 Removing intermediate container 7c7f9b6a2188 01:49:23 ---> c18ab01466ec 01:49:23 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:49:23 ---> Running in 9dcb4ff04003 01:49:23 Removing intermediate container 9dcb4ff04003 01:49:23 ---> 45fda26a52c4 01:49:23 Step 6/12 : WORKDIR /device-virtual-go 01:49:23 ---> Running in af3a83982712 01:49:23 Removing intermediate container af3a83982712 01:49:23 ---> 03a8dcaa3764 01:49:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:23 ---> Running in 44e301efb7bd 01:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:49:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:49:24 (2/4) Installing libedit (20221030.3.1-r0) 01:49:24 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:49:24 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:49:24 Executing busybox-1.35.0-r29.trigger 01:49:24 OK: 269 MiB in 57 packages 01:49:24 Removing intermediate container 44e301efb7bd 01:49:24 ---> efb471375cc0 01:49:24 Step 8/12 : COPY go.mod vendor* ./ 01:49:24 ---> 9d1d8db10496 01:49:24 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:24 ---> Running in 52f46b3b127b 01:49:24 Still waiting to schedule task 01:49:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-13339’ 01:49:51 Removing intermediate container 52f46b3b127b 01:49:51 ---> 1dfe8b676b69 01:49:51 Step 10/12 : COPY . . 01:49:51 ---> 640e17bab3ae 01:49:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:51 ---> Running in ee1d7bda0ec2 01:49:51 Removing intermediate container ee1d7bda0ec2 01:49:51 ---> 587192f905b8 01:49:51 Step 12/12 : RUN $MAKE 01:49:51 ---> Running in 22f7d77b3d39 01:49:51 noop 01:49:51 Removing intermediate container 22f7d77b3d39 01:49:51 ---> ca372a3ca841 01:49:51 Successfully built ca372a3ca841 01:49:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:51 + docker inspect -f . ci-base-image-x86_64 01:49:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:51 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 01:49:51 $ 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 01:49:52 $ docker top 395ed24e2f63f0efab0223c093234a99daf0c6ccba243d527eedef5de8f33412 -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:52 + go version 01:49:52 go version go1.20.2 linux/amd64 [Pipeline] } 01:49:52 $ docker stop --time=1 395ed24e2f63f0efab0223c093234a99daf0c6ccba243d527eedef5de8f33412 01:49:53 $ docker rm -f --volumes 395ed24e2f63f0efab0223c093234a99daf0c6ccba243d527eedef5de8f33412 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:54 + docker inspect -f . ci-base-image-x86_64 01:49:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:54 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 01:49:54 $ 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 01:49:54 $ docker top 74d0c436ad5340d2391f3947e6ddb689507afd1a1ecefe074797c8ee06e6b231 -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:54 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 01:49:55 + make test 01:49:55 go test ./... -coverprofile=coverage.out 01:50:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:50:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:50:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 01:50:17 go vet ./... 01:50:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:50:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:50:20 ./bin/test-attribution-txt.sh [Pipeline] echo 01:50:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:50:20 $ docker stop --time=1 74d0c436ad5340d2391f3947e6ddb689507afd1a1ecefe074797c8ee06e6b231 01:50:23 $ docker rm -f --volumes 74d0c436ad5340d2391f3947e6ddb689507afd1a1ecefe074797c8ee06e6b231 [Pipeline] // withDockerContainer [Pipeline] sh 01:50:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:50:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:50:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:50:24 + ls -al . 01:50:24 total 192 01:50:24 drwxrwxr-x 9 jenkins jenkins 4096 May 5 01:49 . 01:50:24 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:48 .. 01:50:24 drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:49 .git 01:50:24 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:48 .github 01:50:24 -rw-rw-r-- 1 jenkins jenkins 337 May 5 01:48 .gitignore 01:50:24 -rw-rw-r-- 1 jenkins jenkins 41 May 5 01:48 .golangci.yml 01:50:24 drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:49 .semver 01:50:24 -rw-rw-r-- 1 jenkins jenkins 8652 May 5 01:48 Attribution.txt 01:50:24 -rw-rw-r-- 1 jenkins jenkins 11367 May 5 01:48 CHANGELOG.md 01:50:24 -rw-rw-r-- 1 jenkins jenkins 1646 May 5 01:48 Dockerfile 01:50:24 -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:48 GOVERNANCE.md 01:50:24 -rw-rw-r-- 1 jenkins jenkins 660 May 5 01:48 Jenkinsfile 01:50:24 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 01:48 LICENSE 01:50:24 -rw-rw-r-- 1 jenkins jenkins 1696 May 5 01:48 Makefile 01:50:24 -rw-rw-r-- 1 jenkins jenkins 623 May 5 01:48 OWNERS.md 01:50:24 -rw-rw-r-- 1 jenkins jenkins 3578 May 5 01:48 README.md 01:50:24 -rw-rw-r-- 1 jenkins jenkins 12 May 5 01:49 VERSION 01:50:24 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:48 bin 01:50:24 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:48 cmd 01:50:24 -rw-r--r-- 1 jenkins jenkins 43063 May 5 01:50 coverage.out 01:50:24 -rw-rw-r-- 1 jenkins jenkins 3209 May 5 01:48 go.mod 01:50:24 -rw-rw-r-- 1 jenkins jenkins 30994 May 5 01:48 go.sum 01:50:24 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:48 internal 01:50:24 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:48 snap 01:50:24 -rw-rw-r-- 1 jenkins jenkins 235 May 5 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:25 + 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=f8cb92a3d845b6daf1d0068b834535a64d8c37e9 --label arch=amd64 --label version=3.0.0-dev.38 . 01:50:25 Sending build context to Docker daemon 23.62MB 01:50:25 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:50:25 Step 2/25 : FROM ${BASE} AS builder 01:50:25 ---> ca372a3ca841 01:50:25 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:50:25 ---> Running in 6afe051befdc 01:50:25 Removing intermediate container 6afe051befdc 01:50:25 ---> ea0669f8650f 01:50:25 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:50:25 ---> Running in d49941474f44 01:50:25 Removing intermediate container d49941474f44 01:50:25 ---> d5447184efa5 01:50:25 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:50:25 ---> Running in 2ec5dbaa8553 01:50:25 Removing intermediate container 2ec5dbaa8553 01:50:25 ---> 1b0b9a0e6759 01:50:25 Step 6/25 : WORKDIR /device-virtual-go 01:50:25 ---> Running in 57bd67dda534 01:50:25 Removing intermediate container 57bd67dda534 01:50:25 ---> 68e74e9746f4 01:50:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:25 ---> Running in f27a6e7b5d59 01:50:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:50:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:50:26 OK: 269 MiB in 57 packages 01:50:26 Removing intermediate container f27a6e7b5d59 01:50:26 ---> 6d37be9526d2 01:50:26 Step 8/25 : COPY go.mod vendor* ./ 01:50:26 ---> 2f329810cc3f 01:50:26 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:26 ---> Running in 2b5f6acc8119 01:50:27 Removing intermediate container 2b5f6acc8119 01:50:27 ---> 363d8a521832 01:50:27 Step 10/25 : COPY . . 01:50:28 ---> 305e0463427d 01:50:28 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:50:28 ---> Running in 471f7aea7bd8 01:50:28 Removing intermediate container 471f7aea7bd8 01:50:28 ---> 2ec84d29d1ba 01:50:28 Step 12/25 : RUN $MAKE 01:50:28 ---> Running in e6352ab84796 01:50:28 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 01:50:50 Removing intermediate container e6352ab84796 01:50:50 ---> 00259e045743 01:50:50 Step 13/25 : FROM alpine:3.17 01:50:50 3.17: Pulling from library/alpine 01:50:50 f56be85fc22e: Already exists 01:50:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:50:50 Status: Downloaded newer image for alpine:3.17 01:50:50 ---> 9ed4aefc74f6 01:50:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:50:50 ---> Running in 0d76cd4d51ac 01:50:50 Removing intermediate container 0d76cd4d51ac 01:50:50 ---> acc42207fa5f 01:50:50 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:50:50 ---> Running in fd60c6e6b933 01:50:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:50:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:50:50 (1/1) Installing dumb-init (1.2.5-r2) 01:50:50 Executing busybox-1.35.0-r29.trigger 01:50:50 OK: 7 MiB in 16 packages 01:50:50 Removing intermediate container fd60c6e6b933 01:50:50 ---> 640d37f41f50 01:50:50 Step 16/25 : WORKDIR / 01:50:50 ---> Running in 92f6601ea43c 01:50:50 Removing intermediate container 92f6601ea43c 01:50:50 ---> 3a89328873f6 01:50:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:50:50 ---> a708c0fd2067 01:50:50 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 01:50:50 ---> 6b21ebbf37b1 01:50:50 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 01:50:50 ---> d504c4a7e997 01:50:50 Step 20/25 : EXPOSE 59900 01:50:50 ---> Running in 44a2e4b2a98e 01:50:50 Removing intermediate container 44a2e4b2a98e 01:50:50 ---> e0a7228bfb39 01:50:50 Step 21/25 : ENTRYPOINT ["/device-virtual"] 01:50:50 ---> Running in 6ef524e637c2 01:50:50 Removing intermediate container 6ef524e637c2 01:50:50 ---> 486f4e61449b 01:50:50 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:50:50 ---> Running in 4525cd1dc21d 01:50:50 Removing intermediate container 4525cd1dc21d 01:50:50 ---> f2c36b06c1de 01:50:50 Step 23/25 : LABEL arch=amd64 01:50:50 ---> Running in 7ca96172ffa4 01:50:50 Removing intermediate container 7ca96172ffa4 01:50:50 ---> 5c4dd89aab4a 01:50:50 Step 24/25 : LABEL git_sha=f8cb92a3d845b6daf1d0068b834535a64d8c37e9 01:50:50 ---> Running in 0e3c0d61670e 01:50:50 Removing intermediate container 0e3c0d61670e 01:50:50 ---> 0c98f3fe34a2 01:50:50 Step 25/25 : LABEL version=3.0.0-dev.38 01:50:50 ---> Running in 31b6b5390eef 01:50:50 Removing intermediate container 31b6b5390eef 01:50:50 ---> 27ecbca0a6e9 01:50:50 [Warning] One or more build-args [ARCH] were not consumed 01:50:50 Successfully built 27ecbca0a6e9 01:50:50 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:51 provisioning config files... 01:50:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6466637234062628269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:51 ---> docker-login.sh 01:50:51 nexus3.edgexfoundry.org:10001 01:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 nexus3.edgexfoundry.org:10002 01:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 nexus3.edgexfoundry.org:10003 01:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 nexus3.edgexfoundry.org:10004 01:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 docker.io 01:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:51 Configure a credential helper to remove this warning. See 01:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:51 01:50:51 Login Succeeded 01:50:51 ---> docker-login.sh ends [Pipeline] } 01:50:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:50:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:51 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 01:50:51 f8cb92a3d845b6daf1d0068b834535a64d8c37e9 01:50:51 latest 01:50:51 3.0.0-dev.38 01:50:51 f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38 01:50:51 main 01:50:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f8cb92a3d845b6daf1d0068b834535a64d8c37e9 01:50:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:52 46b967ce87a9: Preparing 01:50:52 672680c0d2e6: Preparing 01:50:52 986c160d3ae9: Preparing 01:50:52 91a6ed32a842: Preparing 01:50:52 f1417ff83b31: Preparing 01:50:52 f1417ff83b31: Layer already exists 01:50:52 986c160d3ae9: Pushed 01:50:52 672680c0d2e6: Pushed 01:50:52 91a6ed32a842: Pushed 01:50:55 46b967ce87a9: Pushed 01:50:55 f8cb92a3d845b6daf1d0068b834535a64d8c37e9: digest: sha256:1f361179ca99a7acc0df3d3f6abc4d06a0e0bddb0001627b2abfdb52a0b5bd81 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 01:50:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:55 46b967ce87a9: Preparing 01:50:55 672680c0d2e6: Preparing 01:50:55 986c160d3ae9: Preparing 01:50:55 91a6ed32a842: Preparing 01:50:55 f1417ff83b31: Preparing 01:50:55 986c160d3ae9: Layer already exists 01:50:55 91a6ed32a842: Layer already exists 01:50:55 672680c0d2e6: Layer already exists 01:50:55 46b967ce87a9: Layer already exists 01:50:55 f1417ff83b31: Layer already exists 01:50:55 latest: digest: sha256:1f361179ca99a7acc0df3d3f6abc4d06a0e0bddb0001627b2abfdb52a0b5bd81 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.38 01:50:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:56 46b967ce87a9: Preparing 01:50:56 672680c0d2e6: Preparing 01:50:56 986c160d3ae9: Preparing 01:50:56 91a6ed32a842: Preparing 01:50:56 f1417ff83b31: Preparing 01:50:56 91a6ed32a842: Layer already exists 01:50:56 f1417ff83b31: Layer already exists 01:50:56 46b967ce87a9: Layer already exists 01:50:56 986c160d3ae9: Layer already exists 01:50:56 672680c0d2e6: Layer already exists 01:50:56 3.0.0-dev.38: digest: sha256:1f361179ca99a7acc0df3d3f6abc4d06a0e0bddb0001627b2abfdb52a0b5bd81 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38 01:50:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:56 46b967ce87a9: Preparing 01:50:56 672680c0d2e6: Preparing 01:50:56 986c160d3ae9: Preparing 01:50:56 91a6ed32a842: Preparing 01:50:56 f1417ff83b31: Preparing 01:50:56 91a6ed32a842: Layer already exists 01:50:56 f1417ff83b31: Layer already exists 01:50:56 986c160d3ae9: Layer already exists 01:50:56 672680c0d2e6: Layer already exists 01:50:56 46b967ce87a9: Layer already exists 01:50:56 f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38: digest: sha256:1f361179ca99a7acc0df3d3f6abc4d06a0e0bddb0001627b2abfdb52a0b5bd81 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 01:50:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 01:50:57 46b967ce87a9: Preparing 01:50:57 672680c0d2e6: Preparing 01:50:57 986c160d3ae9: Preparing 01:50:57 91a6ed32a842: Preparing 01:50:57 f1417ff83b31: Preparing 01:50:57 986c160d3ae9: Layer already exists 01:50:57 f1417ff83b31: Layer already exists 01:50:57 46b967ce87a9: Layer already exists 01:50:57 672680c0d2e6: Layer already exists 01:50:57 91a6ed32a842: Layer already exists 01:50:57 main: digest: sha256:1f361179ca99a7acc0df3d3f6abc4d06a0e0bddb0001627b2abfdb52a0b5bd81 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:50:57 ===================================================== [Pipeline] echo 01:50:57 taggedImages: 01:50:57 - nexus3.edgexfoundry.org:10004/device-virtual:f8cb92a3d845b6daf1d0068b834535a64d8c37e9 01:50:57 - nexus3.edgexfoundry.org:10004/device-virtual:latest 01:50:57 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.38 01:50:57 - nexus3.edgexfoundry.org:10004/device-virtual:f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38 01:50:57 - 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 01:50:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:57 01:50:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:50:58 latest: Pulling from edgex-lftools-log-publisher 01:50:58 5eb5b503b376: Pulling fs layer 01:50:58 5c69ac0246d0: Pulling fs layer 01:50:58 ec43610c2a17: Pulling fs layer 01:50:58 3a2ae6a8a46f: Pulling fs layer 01:50:58 33b1e0a273af: Pulling fs layer 01:50:58 5d3b04190fa2: Pulling fs layer 01:50:58 2f39f015ded8: Pulling fs layer 01:50:58 33b1e0a273af: Waiting 01:50:58 3a2ae6a8a46f: Waiting 01:50:58 5d3b04190fa2: Waiting 01:50:58 2f39f015ded8: Waiting 01:50:58 5c69ac0246d0: Verifying Checksum 01:50:58 5c69ac0246d0: Download complete 01:50:58 3a2ae6a8a46f: Download complete 01:50:58 33b1e0a273af: Verifying Checksum 01:50:58 33b1e0a273af: Download complete 01:50:58 ec43610c2a17: Verifying Checksum 01:50:58 ec43610c2a17: Download complete 01:50:58 5d3b04190fa2: Verifying Checksum 01:50:58 5d3b04190fa2: Download complete 01:50:58 5eb5b503b376: Verifying Checksum 01:50:58 5eb5b503b376: Download complete 01:50:59 2f39f015ded8: Download complete 01:50:59 5eb5b503b376: Pull complete 01:50:59 5c69ac0246d0: Pull complete 01:51:00 ec43610c2a17: Pull complete 01:51:00 3a2ae6a8a46f: Pull complete 01:51:00 33b1e0a273af: Pull complete 01:51:00 5d3b04190fa2: Pull complete 01:51:04 2f39f015ded8: Pull complete 01:51:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:51:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:51:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:04 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 01:51:04 $ 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 01:51:09 $ docker top 70a92c805c38bad1c7d359eb106dec70f4a9faad32ebd6540df1c8105bbad008 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:51:09 ---> job-cost.sh 01:51:09 lf-activate-venv: SKIPPING 01:51:09 INFO: No Stack... 01:51:10 INFO: Retrieving Pricing Info for: v3-standard-8 01:51:10 INFO: Archiving Costs [Pipeline] sh 01:51:10 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 01:51:10 + cut -d, -f6 [Pipeline] lock 01:51:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-110-stack-cost] 01:51:10 Resource [jenkins-edgexfoundry-device-virtual-go-main-110-stack-cost] did not exist. Created. 01:51:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:51:11 + echo total: 0.2199999988079071 [Pipeline] stash 01:51:11 Stashed 1 file(s) [Pipeline] } 01:51:11 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 01:51:11 $ docker stop --time=1 70a92c805c38bad1c7d359eb106dec70f4a9faad32ebd6540df1c8105bbad008 01:51:12 $ docker rm -f --volumes 70a92c805c38bad1c7d359eb106dec70f4a9faad32ebd6540df1c8105bbad008 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:51:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13343 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 01:51:52 Running in /w/workspace/device-virtual-go/110 [Pipeline] { [Pipeline] checkout 01:51:52 The recommended git tool is: git 01:51:58 using credential edgex-jenkins-ssh 01:51:58 Cloning the remote Git repository 01:51:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:51:58 > git init /w/workspace/device-virtual-go/110 # timeout=10 01:51:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:51:59 > git --version # timeout=10 01:51:59 > git --version # 'git version 2.25.1' 01:51:59 using GIT_SSH to set credentials SSH Credentials for GitHub 01:51:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:02 Avoid second fetch 01:52:02 Checking out Revision f8cb92a3d845b6daf1d0068b834535a64d8c37e9 (main) 01:52:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:52:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:52:02 > git config core.sparsecheckout # timeout=10 01:52:03 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#396)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:52:04 % Total % Received % Xferd Average Speed Time Time Time Current 01:52:04 Dload Upload Total Spent Left Speed 01:52:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 96598 01:52:02 > git checkout -f f8cb92a3d845b6daf1d0068b834535a64d8c37e9 # timeout=10 [Pipeline] sh 01:52:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:52:05 + sudo tee /etc/docker/daemon.new 01:52:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:52:05 { 01:52:05 "registry-mirrors": [ 01:52:05 "https://nexus3.edgexfoundry.org:10001" 01:52:05 ], 01:52:05 "bip": "10.250.0.254/24", 01:52:05 "hosts": [ 01:52:05 "tcp://0.0.0.0:5555", 01:52:05 "unix:///var/run/docker.sock" 01:52:05 ], 01:52:05 "mtu": 1458, 01:52:05 "selinux-enabled": true, 01:52:05 "seccomp-profile": "/etc/docker/seccomp.json" 01:52:05 } [Pipeline] sh 01:52:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:52:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:28 provisioning config files... 01:52:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/110@tmp/config8736381254026329009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:28 ---> docker-login.sh 01:52:28 nexus3.edgexfoundry.org:10001 01:52:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:29 Configure a credential helper to remove this warning. See 01:52:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:29 01:52:29 Login Succeeded 01:52:29 nexus3.edgexfoundry.org:10002 01:52:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:29 Configure a credential helper to remove this warning. See 01:52:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:29 01:52:29 Login Succeeded 01:52:29 nexus3.edgexfoundry.org:10003 01:52:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:29 Configure a credential helper to remove this warning. See 01:52:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:29 01:52:29 Login Succeeded 01:52:29 nexus3.edgexfoundry.org:10004 01:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:30 Configure a credential helper to remove this warning. See 01:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:30 01:52:30 Login Succeeded 01:52:30 docker.io 01:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:52:30 Configure a credential helper to remove this warning. See 01:52:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:52:30 01:52:30 Login Succeeded 01:52:30 ---> docker-login.sh ends [Pipeline] } 01:52:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:52:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:52:30 ========================================================= 01:52:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:52:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:31 + 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 . 01:52:31 Sending build context to Docker daemon 11.95MB 01:52:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:52:31 Step 2/12 : FROM ${BASE} AS builder 01:52:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:52:31 c41833b44d91: Pulling fs layer 01:52:31 ed15518f5707: Pulling fs layer 01:52:31 feae8fd75edb: Pulling fs layer 01:52:31 242c74f7c9fa: Pulling fs layer 01:52:31 3cdef696dda3: Pulling fs layer 01:52:31 2ced38df9373: Pulling fs layer 01:52:31 58f1dce35555: Pulling fs layer 01:52:31 3cdef696dda3: Waiting 01:52:31 242c74f7c9fa: Waiting 01:52:31 58f1dce35555: Waiting 01:52:31 2ced38df9373: Waiting 01:52:31 ed15518f5707: Verifying Checksum 01:52:31 ed15518f5707: Download complete 01:52:31 242c74f7c9fa: Download complete 01:52:31 3cdef696dda3: Verifying Checksum 01:52:31 3cdef696dda3: Download complete 01:52:31 c41833b44d91: Verifying Checksum 01:52:31 c41833b44d91: Download complete 01:52:32 c41833b44d91: Pull complete 01:52:33 58f1dce35555: Verifying Checksum 01:52:33 58f1dce35555: Download complete 01:52:33 ed15518f5707: Pull complete 01:52:34 feae8fd75edb: Verifying Checksum 01:52:34 feae8fd75edb: Download complete 01:52:34 2ced38df9373: Verifying Checksum 01:52:34 2ced38df9373: Download complete 01:52:44 feae8fd75edb: Pull complete 01:52:44 242c74f7c9fa: Pull complete 01:52:44 3cdef696dda3: Pull complete 01:52:51 2ced38df9373: Pull complete 01:52:53 58f1dce35555: Pull complete 01:52:53 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:52:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:52:53 ---> fadd8f120f05 01:52:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:52:55 ---> Running in 7c3e7d1478a3 01:52:55 Removing intermediate container 7c3e7d1478a3 01:52:55 ---> d5b93da5d77e 01:52:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:52:55 ---> Running in e6cf27a5b6e5 01:52:55 Removing intermediate container e6cf27a5b6e5 01:52:55 ---> 0cd7622a2437 01:52:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:52:56 ---> Running in f49bfca9aa6a 01:52:56 Removing intermediate container f49bfca9aa6a 01:52:56 ---> bb100a8c6754 01:52:56 Step 6/12 : WORKDIR /device-virtual-go 01:52:56 ---> Running in 0c3c69818e2f 01:52:56 Removing intermediate container 0c3c69818e2f 01:52:56 ---> e5d3eab0b337 01:52:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:56 ---> Running in 58f5967d60b5 01:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:52:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:53:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:53:00 (2/4) Installing libedit (20221030.3.1-r0) 01:53:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:53:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:53:00 Executing busybox-1.35.0-r29.trigger 01:53:00 OK: 268 MiB in 57 packages 01:53:00 Removing intermediate container 58f5967d60b5 01:53:00 ---> 1e8defff9be1 01:53:00 Step 8/12 : COPY go.mod vendor* ./ 01:53:01 ---> 231d9a350773 01:53:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:01 ---> Running in 95af9268c810 01:54:09 Removing intermediate container 95af9268c810 01:54:09 ---> f101680916cd 01:54:09 Step 10/12 : COPY . . 01:54:09 ---> e17a404437cd 01:54:09 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:54:09 ---> Running in 4cc6fa83275a 01:54:09 Removing intermediate container 4cc6fa83275a 01:54:09 ---> 3d60de5efbd7 01:54:09 Step 12/12 : RUN $MAKE 01:54:09 ---> Running in a992c5db4cf0 01:54:09 noop 01:54:09 Removing intermediate container a992c5db4cf0 01:54:09 ---> 401394b620b7 01:54:09 Successfully built 401394b620b7 01:54:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:10 + docker inspect -f . ci-base-image-arm64 01:54:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:10 prd-ubuntu20.04-docker-arm64-4c-16g-13343 does not seem to be running inside a container 01:54:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/110 -v /w/workspace/device-virtual-go/110:/w/workspace/device-virtual-go/110:rw,z -v /w/workspace/device-virtual-go/110@tmp:/w/workspace/device-virtual-go/110@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 01:54:11 $ docker top 55b9e2f08ae10650377edb78c9732e7b1c505fe351e2079a33026a8adc806250 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:12 + go version 01:54:12 go version go1.20.2 linux/arm64 [Pipeline] } 01:54:12 $ docker stop --time=1 55b9e2f08ae10650377edb78c9732e7b1c505fe351e2079a33026a8adc806250 01:54:14 $ docker rm -f --volumes 55b9e2f08ae10650377edb78c9732e7b1c505fe351e2079a33026a8adc806250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:14 + docker inspect -f . ci-base-image-arm64 01:54:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:14 prd-ubuntu20.04-docker-arm64-4c-16g-13343 does not seem to be running inside a container 01:54:14 $ 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/110 -v /w/workspace/device-virtual-go/110:/w/workspace/device-virtual-go/110:rw,z -v /w/workspace/device-virtual-go/110@tmp:/w/workspace/device-virtual-go/110@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 01:54:16 $ docker top c5126669b3acd395dbca498e317e04941c8c74460ce803449331f319af23c5c2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:16 + git config --global --add safe.directory /w/workspace/device-virtual-go/110 [Pipeline] fileExists [Pipeline] sh 01:54:17 + make test 01:54:17 go test ./... -coverprofile=coverage.out 01:54:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:56:57 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:56:57 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.112s coverage: 58.4% of statements 01:56:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:56:57 go vet ./... 01:57:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:57:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:57:30 ./bin/test-attribution-txt.sh [Pipeline] echo 01:57:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:57:30 $ docker stop --time=1 c5126669b3acd395dbca498e317e04941c8c74460ce803449331f319af23c5c2 01:57:31 $ docker rm -f --volumes c5126669b3acd395dbca498e317e04941c8c74460ce803449331f319af23c5c2 [Pipeline] // withDockerContainer [Pipeline] sh 01:57:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:57:32 Warning: overwriting stash ‘coverage-report’ 01:57:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:57:34 + ls -al . 01:57:34 total 188 01:57:34 drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:54 . 01:57:34 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:51 .. 01:57:34 drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:52 .git 01:57:34 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:52 .github 01:57:34 -rw-rw-r-- 1 jenkins jenkins 337 May 5 01:52 .gitignore 01:57:34 -rw-rw-r-- 1 jenkins jenkins 41 May 5 01:52 .golangci.yml 01:57:34 -rw-rw-r-- 1 jenkins jenkins 8652 May 5 01:52 Attribution.txt 01:57:34 -rw-rw-r-- 1 jenkins jenkins 11367 May 5 01:52 CHANGELOG.md 01:57:34 -rw-rw-r-- 1 jenkins jenkins 1646 May 5 01:52 Dockerfile 01:57:34 -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:52 GOVERNANCE.md 01:57:34 -rw-rw-r-- 1 jenkins jenkins 660 May 5 01:52 Jenkinsfile 01:57:34 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 01:52 LICENSE 01:57:34 -rw-rw-r-- 1 jenkins jenkins 1696 May 5 01:52 Makefile 01:57:34 -rw-rw-r-- 1 jenkins jenkins 623 May 5 01:52 OWNERS.md 01:57:34 -rw-rw-r-- 1 jenkins jenkins 3578 May 5 01:52 README.md 01:57:34 -rw-rw-r-- 1 jenkins jenkins 12 May 5 01:49 VERSION 01:57:34 drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:52 bin 01:57:34 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:52 cmd 01:57:34 -rw-r--r-- 1 jenkins jenkins 43063 May 5 01:56 coverage.out 01:57:34 -rw-rw-r-- 1 jenkins jenkins 3209 May 5 01:52 go.mod 01:57:34 -rw-rw-r-- 1 jenkins jenkins 30994 May 5 01:52 go.sum 01:57:34 drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:52 internal 01:57:34 drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:52 snap 01:57:34 -rw-rw-r-- 1 jenkins jenkins 235 May 5 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:34 + 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=f8cb92a3d845b6daf1d0068b834535a64d8c37e9 --label arch=arm64 --label version=3.0.0-dev.38 . 01:57:34 Sending build context to Docker daemon 12MB 01:57:34 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:57:34 Step 2/25 : FROM ${BASE} AS builder 01:57:34 ---> 401394b620b7 01:57:34 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:57:35 ---> Running in b9b66df5fc98 01:57:35 Removing intermediate container b9b66df5fc98 01:57:35 ---> ee79d4670e4f 01:57:35 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:57:35 ---> Running in 9326fc46d695 01:57:35 Removing intermediate container 9326fc46d695 01:57:35 ---> e2bbcf775963 01:57:35 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:57:36 ---> Running in f1149d933964 01:57:36 Removing intermediate container f1149d933964 01:57:36 ---> a021847f7f06 01:57:36 Step 6/25 : WORKDIR /device-virtual-go 01:57:36 ---> Running in f21cb21b21c5 01:57:36 Removing intermediate container f21cb21b21c5 01:57:36 ---> 0f38ea9597f2 01:57:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:57:36 ---> Running in 00128c7358ca 01:57:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:57:39 OK: 268 MiB in 57 packages 01:57:40 Removing intermediate container 00128c7358ca 01:57:40 ---> b47104168303 01:57:40 Step 8/25 : COPY go.mod vendor* ./ 01:57:41 ---> 81ecd020d28e 01:57:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:41 ---> Running in 43c025374124 01:57:43 Removing intermediate container 43c025374124 01:57:43 ---> 1dfdf848bd6a 01:57:43 Step 10/25 : COPY . . 01:57:47 ---> 58f05c9186a3 01:57:47 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:57:47 ---> Running in 1bab10c83c65 01:57:48 Removing intermediate container 1bab10c83c65 01:57:48 ---> b1dea4fd66c8 01:57:48 Step 12/25 : RUN $MAKE 01:57:48 ---> Running in 9e40cfbdf83f 01:57:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.38" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 02:00:26 Removing intermediate container 9e40cfbdf83f 02:00:26 ---> af72448ddf84 02:00:26 Step 13/25 : FROM alpine:3.17 02:00:26 3.17: Pulling from library/alpine 02:00:26 c41833b44d91: Already exists 02:00:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:00:26 Status: Downloaded newer image for alpine:3.17 02:00:26 ---> 51e60588ff2c 02:00:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 02:00:26 ---> Running in 7d4efdc51f66 02:00:26 Removing intermediate container 7d4efdc51f66 02:00:26 ---> 381441f85b5f 02:00:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:00:26 ---> Running in a676d74d8fba 02:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:00:26 (1/1) Installing dumb-init (1.2.5-r2) 02:00:26 Executing busybox-1.35.0-r29.trigger 02:00:26 OK: 8 MiB in 16 packages 02:00:26 Removing intermediate container a676d74d8fba 02:00:26 ---> c81bb88cf105 02:00:26 Step 16/25 : WORKDIR / 02:00:26 ---> Running in f8584a96fa2d 02:00:26 Removing intermediate container f8584a96fa2d 02:00:26 ---> ae72d6eb8b05 02:00:26 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 02:00:26 ---> d2f400d8d463 02:00:26 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 02:00:26 ---> 196e0b4e7ac3 02:00:26 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 02:00:26 ---> f7e7199ab108 02:00:26 Step 20/25 : EXPOSE 59900 02:00:26 ---> Running in af8a50dd88e5 02:00:26 Removing intermediate container af8a50dd88e5 02:00:26 ---> 79c85a9fcd23 02:00:26 Step 21/25 : ENTRYPOINT ["/device-virtual"] 02:00:26 ---> Running in 6fcbe07e94d4 02:00:26 Removing intermediate container 6fcbe07e94d4 02:00:26 ---> 633e3fb17e71 02:00:26 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 02:00:26 ---> Running in af5099bd4f13 02:00:26 Removing intermediate container af5099bd4f13 02:00:26 ---> fe4158b40679 02:00:26 Step 23/25 : LABEL arch=arm64 02:00:26 ---> Running in d6245fe2f678 02:00:30 Removing intermediate container d6245fe2f678 02:00:30 ---> c89a511f47ab 02:00:30 Step 24/25 : LABEL git_sha=f8cb92a3d845b6daf1d0068b834535a64d8c37e9 02:00:30 ---> Running in 12fefff45773 02:00:30 Removing intermediate container 12fefff45773 02:00:30 ---> 5960ab6135ac 02:00:30 Step 25/25 : LABEL version=3.0.0-dev.38 02:00:30 ---> Running in 7c8bf4b7ec5e 02:00:30 Removing intermediate container 7c8bf4b7ec5e 02:00:30 ---> 762d854cd80f 02:00:30 [Warning] One or more build-args [ARCH] were not consumed 02:00:30 Successfully built 762d854cd80f 02:00:30 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 02:00:31 provisioning config files... 02:00:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/110@tmp/config5459091094921911981tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:31 ---> docker-login.sh 02:00:31 nexus3.edgexfoundry.org:10001 02:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:31 Configure a credential helper to remove this warning. See 02:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:31 02:00:31 Login Succeeded 02:00:31 nexus3.edgexfoundry.org:10002 02:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:32 Configure a credential helper to remove this warning. See 02:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:32 02:00:32 Login Succeeded 02:00:32 nexus3.edgexfoundry.org:10003 02:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:32 Configure a credential helper to remove this warning. See 02:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:32 02:00:32 Login Succeeded 02:00:32 nexus3.edgexfoundry.org:10004 02:00:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:33 Configure a credential helper to remove this warning. See 02:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:33 02:00:33 Login Succeeded 02:00:33 docker.io 02:00:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:33 Configure a credential helper to remove this warning. See 02:00:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:33 02:00:33 Login Succeeded 02:00:33 ---> docker-login.sh ends [Pipeline] } 02:00:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:33 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 02:00:33 f8cb92a3d845b6daf1d0068b834535a64d8c37e9 02:00:33 latest 02:00:33 3.0.0-dev.38 02:00:33 f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38 02:00:33 main 02:00:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:34 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f8cb92a3d845b6daf1d0068b834535a64d8c37e9 02:00:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:00:34 3257ea988ea0: Preparing 02:00:34 1e8b623b04c5: Preparing 02:00:34 1bd444d973ec: Preparing 02:00:34 07b850cbf700: Preparing 02:00:34 26cbea5cba74: Preparing 02:00:34 26cbea5cba74: Layer already exists 02:00:34 07b850cbf700: Pushed 02:00:34 1bd444d973ec: Pushed 02:00:34 1e8b623b04c5: Pushed 02:00:41 3257ea988ea0: Pushed 02:00:41 f8cb92a3d845b6daf1d0068b834535a64d8c37e9: digest: sha256:cea93743a234fe28cabf078614d8a60800256927175aa3e3e49a1005b4447116 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:00:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:00:42 3257ea988ea0: Preparing 02:00:42 1e8b623b04c5: Preparing 02:00:42 1bd444d973ec: Preparing 02:00:42 07b850cbf700: Preparing 02:00:42 26cbea5cba74: Preparing 02:00:42 07b850cbf700: Layer already exists 02:00:42 1e8b623b04c5: Layer already exists 02:00:42 1bd444d973ec: Layer already exists 02:00:42 26cbea5cba74: Layer already exists 02:00:42 3257ea988ea0: Layer already exists 02:00:42 latest: digest: sha256:cea93743a234fe28cabf078614d8a60800256927175aa3e3e49a1005b4447116 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.38 02:00:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:00:43 3257ea988ea0: Preparing 02:00:43 1e8b623b04c5: Preparing 02:00:43 1bd444d973ec: Preparing 02:00:43 07b850cbf700: Preparing 02:00:43 26cbea5cba74: Preparing 02:00:43 1e8b623b04c5: Layer already exists 02:00:43 1bd444d973ec: Layer already exists 02:00:43 07b850cbf700: Layer already exists 02:00:43 26cbea5cba74: Layer already exists 02:00:43 3257ea988ea0: Layer already exists 02:00:43 3.0.0-dev.38: digest: sha256:cea93743a234fe28cabf078614d8a60800256927175aa3e3e49a1005b4447116 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38 02:00:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:00:44 3257ea988ea0: Preparing 02:00:44 1e8b623b04c5: Preparing 02:00:44 1bd444d973ec: Preparing 02:00:44 07b850cbf700: Preparing 02:00:44 26cbea5cba74: Preparing 02:00:44 1e8b623b04c5: Layer already exists 02:00:44 1bd444d973ec: Layer already exists 02:00:44 3257ea988ea0: Layer already exists 02:00:44 07b850cbf700: Layer already exists 02:00:44 26cbea5cba74: Layer already exists 02:00:44 f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38: digest: sha256:cea93743a234fe28cabf078614d8a60800256927175aa3e3e49a1005b4447116 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 02:00:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 02:00:45 3257ea988ea0: Preparing 02:00:45 1e8b623b04c5: Preparing 02:00:45 1bd444d973ec: Preparing 02:00:45 07b850cbf700: Preparing 02:00:45 26cbea5cba74: Preparing 02:00:45 3257ea988ea0: Layer already exists 02:00:45 07b850cbf700: Layer already exists 02:00:45 1e8b623b04c5: Layer already exists 02:00:45 1bd444d973ec: Layer already exists 02:00:45 26cbea5cba74: Layer already exists 02:00:45 main: digest: sha256:cea93743a234fe28cabf078614d8a60800256927175aa3e3e49a1005b4447116 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:00:45 ===================================================== [Pipeline] echo 02:00:45 taggedImages: 02:00:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f8cb92a3d845b6daf1d0068b834535a64d8c37e9 02:00:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 02:00:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.38 02:00:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f8cb92a3d845b6daf1d0068b834535a64d8c37e9-3.0.0-dev.38 02:00:45 - 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 02:00:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:00:45 02:00:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:00:46 arm64: Pulling from edgex-lftools-log-publisher 02:00:46 8998bd30e6a1: Pulling fs layer 02:00:46 04944245beec: Pulling fs layer 02:00:46 699f458cf7ca: Pulling fs layer 02:00:46 765212b225bb: Pulling fs layer 02:00:46 f23df028b6ca: Pulling fs layer 02:00:46 d65c8cfc05b1: Pulling fs layer 02:00:46 2437ff75d9bd: Pulling fs layer 02:00:46 f23df028b6ca: Waiting 02:00:46 d65c8cfc05b1: Waiting 02:00:46 765212b225bb: Waiting 02:00:46 2437ff75d9bd: Waiting 02:00:46 04944245beec: Verifying Checksum 02:00:46 04944245beec: Download complete 02:00:46 765212b225bb: Verifying Checksum 02:00:46 765212b225bb: Download complete 02:00:46 f23df028b6ca: Verifying Checksum 02:00:46 f23df028b6ca: Download complete 02:00:46 d65c8cfc05b1: Verifying Checksum 02:00:46 d65c8cfc05b1: Download complete 02:00:46 699f458cf7ca: Verifying Checksum 02:00:46 699f458cf7ca: Download complete 02:00:47 8998bd30e6a1: Verifying Checksum 02:00:47 8998bd30e6a1: Download complete 02:00:49 2437ff75d9bd: Verifying Checksum 02:00:49 2437ff75d9bd: Download complete 02:00:51 8998bd30e6a1: Pull complete 02:00:51 04944245beec: Pull complete 02:00:53 699f458cf7ca: Pull complete 02:00:53 765212b225bb: Pull complete 02:00:54 f23df028b6ca: Pull complete 02:00:54 d65c8cfc05b1: Pull complete 02:01:09 2437ff75d9bd: Pull complete 02:01:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:01:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:09 prd-ubuntu20.04-docker-arm64-4c-16g-13343 does not seem to be running inside a container 02:01:09 $ 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/110 -v /w/workspace/device-virtual-go/110:/w/workspace/device-virtual-go/110:rw,z -v /w/workspace/device-virtual-go/110@tmp:/w/workspace/device-virtual-go/110@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 02:01:12 $ docker top 57060d62ef878a91d2afbaa58694878fdc0e883a8fbc57b74d37119770b58d50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:13 ---> job-cost.sh 02:01:13 lf-activate-venv: SKIPPING 02:01:13 INFO: No Stack... 02:01:14 INFO: Retrieving Pricing Info for: v3-standard-4 02:01:14 INFO: Archiving Costs [Pipeline] sh 02:01:15 + cat /w/workspace/device-virtual-go/110/archives/cost.csv 02:01:15 + cut -d, -f6 [Pipeline] lock 02:01:15 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-110-stack-cost] 02:01:15 Resource [jenkins-edgexfoundry-device-virtual-go-main-110-stack-cost] did not exist. Created. 02:01:15 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-110-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:01:16 /w/workspace/device-virtual-go/110@tmp/durable-27a3d911/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:01:16 + echo total: 0.10999999940395355 [Pipeline] stash 02:01:16 Warning: overwriting stash ‘stack-cost’ 02:01:16 Stashed 1 file(s) [Pipeline] } 02:01:16 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-110-stack-cost] [Pipeline] // lock [Pipeline] } 02:01:16 $ docker stop --time=1 57060d62ef878a91d2afbaa58694878fdc0e883a8fbc57b74d37119770b58d50 02:01:18 $ docker rm -f --volumes 57060d62ef878a91d2afbaa58694878fdc0e883a8fbc57b74d37119770b58d50 [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 02:01:18 provisioning config files... 02:01:18 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2078447001990644981tmp [Pipeline] { [Pipeline] sh 02:01:19 + set +x 02:01:19 + curl -s https://codecov.io/bash 02:01:19 + bash -s -- 02:01:19 02:01:19 _____ _ 02:01:19 / ____| | | 02:01:19 | | ___ __| | ___ ___ _____ __ 02:01:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:01:19 | |___| (_) | (_| | __/ (_| (_) \ V / 02:01:19 \_____\___/ \__,_|\___|\___\___/ \_/ 02:01:19 Bash-1.0.6 02:01:19 02:01:19 02:01:19 ==> git version 2.25.1 found 02:01:19 ==> 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 02:01:19 Release-Date: 2020-01-08 02:01:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:01:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:01:19 ==> Jenkins CI detected. 02:01:19 current dir:  /w/workspace/exfoundry_device-virtual-go_main 02:01:19 project root: . 02:01:19 --> token set from env 02:01:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:01:19 ==> Running gcov in . (disable via -X gcov) 02:01:19 ==> Python coveragepy not found 02:01:19 ==> Searching for coverage reports in: 02:01:19 + . 02:01:19 -> Found 1 reports 02:01:19 ==> Detecting git/mercurial file structure 02:01:19 ==> Reading reports 02:01:19 + ./coverage.out bytes=43063 02:01:19 ==> Appending adjustments 02:01:19 https://docs.codecov.io/docs/fixing-reports 02:01:19 + Found adjustments 02:01:19 ==> Gzipping contents 02:01:19 8.0K /tmp/codecov.IVhbzn.gz 02:01:19 ==> Uploading reports 02:01:19 url: https://codecov.io 02:01:19 query: branch=main&commit=f8cb92a3d845b6daf1d0068b834535a64d8c37e9&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:01:19 -> Pinging Codecov 02:01:19 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=f8cb92a3d845b6daf1d0068b834535a64d8c37e9&build=110&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F110%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:01:19 -> Uploading to 02:01:19 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/5E52B4B073DB2E39498172D8E973AA87/f8cb92a3d845b6daf1d0068b834535a64d8c37e9/db5bc756-b1ba-42a9-a151-8fed2af4ccd0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T020119Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=196b2b4adf90be63fa9a897e72d0e1c57d7cc8309d81584bcab512e5c4c84857 02:01:19 % Total % Received % Xferd Average Speed Time Time Time Current 02:01:19 Dload Upload Total Spent Left Speed 02:01:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 24685 --:--:-- --:--:-- --:--:-- 24685 02:01:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [Pipeline] } 02:01:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:01:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:01:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:01:20 02:01:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:01:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:01:20 df9b9388f04a: Pulling fs layer 02:01:20 52dc419b0ee2: Pulling fs layer 02:01:20 25bc292e5bac: Pulling fs layer 02:01:20 114826534d7a: Pulling fs layer 02:01:20 4657fd5d0bcf: Pulling fs layer 02:01:20 6ad1cebc031e: Pulling fs layer 02:01:20 8a3aa393b2d8: Pulling fs layer 02:01:20 114826534d7a: Waiting 02:01:20 4657fd5d0bcf: Waiting 02:01:20 6ad1cebc031e: Waiting 02:01:20 8a3aa393b2d8: Waiting 02:01:20 25bc292e5bac: Download complete 02:01:20 52dc419b0ee2: Download complete 02:01:20 4657fd5d0bcf: Verifying Checksum 02:01:20 4657fd5d0bcf: Download complete 02:01:20 df9b9388f04a: Download complete 02:01:20 6ad1cebc031e: Verifying Checksum 02:01:20 6ad1cebc031e: Download complete 02:01:20 df9b9388f04a: Pull complete 02:01:20 52dc419b0ee2: Pull complete 02:01:20 25bc292e5bac: Pull complete 02:01:21 114826534d7a: Verifying Checksum 02:01:21 114826534d7a: Download complete 02:01:21 8a3aa393b2d8: Verifying Checksum 02:01:21 8a3aa393b2d8: Download complete 02:01:24 114826534d7a: Pull complete 02:01:24 4657fd5d0bcf: Pull complete 02:01:25 6ad1cebc031e: Pull complete 02:01:27 8a3aa393b2d8: Pull complete 02:01:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:01:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:01:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:27 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 02:01:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:01:32 $ docker top e8d80fe9c8861cd821ae0b87b9907b0360f65c90667dcf809101dc71693c0838 -eo pid,comm [Pipeline] { [Pipeline] echo 02:01:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 02:01:33 + set -o pipefail 02:01:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 02:01:37 02:01:37 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 02:01:37 02:01:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/ca83dcba-4b15-4c6f-9ded-4cc66d220c52 02:01:37 02:01:37 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:01:37 02:01:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:01:37 02:01:37 02:01:37 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:01:37 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:01:37 More details here: https://snyk.co/ue1NS 02:01:37 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 02:01:37 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:01:37 $ docker stop --time=1 e8d80fe9c8861cd821ae0b87b9907b0360f65c90667dcf809101dc71693c0838 02:01:41 $ docker rm -f --volumes e8d80fe9c8861cd821ae0b87b9907b0360f65c90667dcf809101dc71693c0838 [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 02:01:42 + git log --format=format:%s -1 f8cb92a3d845b6daf1d0068b834535a64d8c37e9 [Pipeline] sh 02:01:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:43 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 02:01:43 $ 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 02:01:43 $ docker top bf47920b96a2874e8657880c85e5032b6a993b2be8211e7ded90ebf7094a98a9 -eo pid,comm 02:01:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:01:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:43 [ssh-agent] Looking for ssh-agent implementation... 02:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:43 $ docker exec bf47920b96a2874e8657880c85e5032b6a993b2be8211e7ded90ebf7094a98a9 ssh-agent 02:01:44 SSH_AUTH_SOCK=/tmp/ssh-XAObs5GiWvRk/agent.32 02:01:44 SSH_AGENT_PID=38 02:01:44 Running ssh-add (command line suppressed) 02:01:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11665510036309687578.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11665510036309687578.key) 02:01:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:44 + git semver tag 02:01:44 2023-05-05 02:01:44,649 [run_tag] DEBUG tag force:False 02:01:44 2023-05-05 02:01:44,649 [check_head_tag] DEBUG check head tag 02:01:44 2023-05-05 02:01:44,651 [execute] INFO git cat-file --batch-check 02:01:44 2023-05-05 02:01:44,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:01:44 2023-05-05 02:01:44,654 [execute] INFO git cat-file --batch 02:01:44 2023-05-05 02:01:44,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 02:01:44 2023-05-05 02:01:44,678 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:01:44 2023-05-05 02:01:44,678 [execute] INFO git tag -a v3.0.0-dev.38 -m v3.0.0-dev.38 02:01:44 2023-05-05 02:01:44,679 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.38', '-m', 'v3.0.0-dev.38'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 02:01:44 2023-05-05 02:01:44,682 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:01:44 3.0.0-dev.38 [Pipeline] } 02:01:44 $ docker exec --env ******** --env ******** bf47920b96a2874e8657880c85e5032b6a993b2be8211e7ded90ebf7094a98a9 ssh-agent -k 02:01:44 unset SSH_AUTH_SOCK; 02:01:44 unset SSH_AGENT_PID; 02:01:44 echo Agent pid 38 killed; 02:01:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:45 + git semver [Pipeline] } 02:01:45 $ docker stop --time=1 bf47920b96a2874e8657880c85e5032b6a993b2be8211e7ded90ebf7094a98a9 02:01:46 $ docker rm -f --volumes bf47920b96a2874e8657880c85e5032b6a993b2be8211e7ded90ebf7094a98a9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:01:47 02:01:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:01:47 0.23.1-centos7: Pulling from edgex-lftools 02:01:47 ab5ef0e58194: Pulling fs layer 02:01:47 9712f1f96733: Pulling fs layer 02:01:47 63f879dbbcfc: Pulling fs layer 02:01:47 0d9ebad4ef96: Pulling fs layer 02:01:47 e9a5061849ea: Pulling fs layer 02:01:47 d747dcd14b5f: Pulling fs layer 02:01:47 2de7ff778b66: Pulling fs layer 02:01:47 e9a5061849ea: Waiting 02:01:47 d747dcd14b5f: Waiting 02:01:47 2de7ff778b66: Waiting 02:01:47 0d9ebad4ef96: Waiting 02:01:47 9712f1f96733: Download complete 02:01:47 63f879dbbcfc: Verifying Checksum 02:01:47 63f879dbbcfc: Download complete 02:01:47 e9a5061849ea: Verifying Checksum 02:01:47 e9a5061849ea: Download complete 02:01:47 0d9ebad4ef96: Verifying Checksum 02:01:47 0d9ebad4ef96: Download complete 02:01:47 d747dcd14b5f: Verifying Checksum 02:01:47 d747dcd14b5f: Download complete 02:01:47 ab5ef0e58194: Verifying Checksum 02:01:47 ab5ef0e58194: Download complete 02:01:47 2de7ff778b66: Verifying Checksum 02:01:47 2de7ff778b66: Download complete 02:01:50 ab5ef0e58194: Pull complete 02:01:50 9712f1f96733: Pull complete 02:01:51 63f879dbbcfc: Pull complete 02:01:55 0d9ebad4ef96: Pull complete 02:01:55 e9a5061849ea: Pull complete 02:01:55 d747dcd14b5f: Pull complete 02:01:55 2de7ff778b66: Pull complete 02:01:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:01:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:55 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 02:01:55 $ 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 02:02:00 $ docker top 7b7e5b37c65c58049b5b2cbf3cebe6dcd08a0d8d4ce349f63f5ddeb215e5302c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:02:00 provisioning config files... 02:02:00 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11188812127953013120tmp 02:02:00 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3978001438701319461tmp 02:02:00 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2115683794654082351tmp [Pipeline] { [Pipeline] echo 02:02:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:02:01 ---> sigul-configuration.sh 02:02:01 gpg: directory `/root/.gnupg' created 02:02:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:02:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:02:01 gpg: keyring `/root/.gnupg/secring.gpg' created 02:02:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:02:01 gpg: CAST5 encrypted data 02:02:01 gpg: encrypted with 1 passphrase 02:02:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:02:01 + mkdir /home/jenkins 02:02:01 + mkdir /home/jenkins/sigul [Pipeline] sh 02:02:01 + 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 02:02:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:02:02 ---> sigul-install.sh 02:02:02 Sigul already installed; skipping installation. [Pipeline] sh 02:02:02 + git tag --list 02:02:02 v1.0.0 02:02:02 v1.1.0 02:02:02 v1.1.1 02:02:02 v1.2.1 02:02:02 v1.2.2 02:02:02 v1.2.3 02:02:02 v1.3.0 02:02:02 v1.3.1 02:02:02 v2.0.0 02:02:02 v2.1.0 02:02:02 v2.1.1 02:02:02 v2.1.1-dev.1 02:02:02 v2.1.1-dev.2 02:02:02 v2.2.0 02:02:02 v2.2.1-dev.1 02:02:02 v2.2.1-dev.2 02:02:02 v2.2.1-dev.3 02:02:02 v2.2.1-dev.4 02:02:02 v2.2.1-dev.5 02:02:02 v2.2.1-dev.6 02:02:02 v2.2.1-dev.7 02:02:02 v2.2.1-dev.8 02:02:02 v2.3.0 02:02:02 v2.3.0-dev.10 02:02:02 v2.3.0-dev.11 02:02:02 v2.3.0-dev.12 02:02:02 v2.3.0-dev.13 02:02:02 v2.3.0-dev.14 02:02:02 v2.3.0-dev.15 02:02:02 v2.3.0-dev.16 02:02:02 v2.3.0-dev.17 02:02:02 v2.3.0-dev.18 02:02:02 v2.3.0-dev.19 02:02:02 v2.3.0-dev.20 02:02:02 v2.3.0-dev.21 02:02:02 v2.3.0-dev.22 02:02:02 v2.3.0-dev.23 02:02:02 v2.3.0-dev.24 02:02:02 v2.3.0-dev.25 02:02:02 v2.3.0-dev.26 02:02:02 v2.3.0-dev.27 02:02:02 v2.3.0-dev.28 02:02:02 v2.3.0-dev.29 02:02:02 v2.3.0-dev.30 02:02:02 v2.3.0-dev.8 02:02:02 v2.3.0-dev.9 02:02:02 v3.0.0-dev.1 02:02:02 v3.0.0-dev.10 02:02:02 v3.0.0-dev.11 02:02:02 v3.0.0-dev.12 02:02:02 v3.0.0-dev.13 02:02:02 v3.0.0-dev.14 02:02:02 v3.0.0-dev.15 02:02:02 v3.0.0-dev.16 02:02:02 v3.0.0-dev.17 02:02:02 v3.0.0-dev.18 02:02:02 v3.0.0-dev.19 02:02:02 v3.0.0-dev.2 02:02:02 v3.0.0-dev.20 02:02:02 v3.0.0-dev.21 02:02:02 v3.0.0-dev.22 02:02:02 v3.0.0-dev.23 02:02:02 v3.0.0-dev.24 02:02:02 v3.0.0-dev.25 02:02:02 v3.0.0-dev.26 02:02:02 v3.0.0-dev.27 02:02:02 v3.0.0-dev.28 02:02:02 v3.0.0-dev.29 02:02:02 v3.0.0-dev.3 02:02:02 v3.0.0-dev.30 02:02:02 v3.0.0-dev.31 02:02:02 v3.0.0-dev.32 02:02:02 v3.0.0-dev.33 02:02:02 v3.0.0-dev.34 02:02:02 v3.0.0-dev.35 02:02:02 v3.0.0-dev.36 02:02:02 v3.0.0-dev.37 02:02:02 v3.0.0-dev.38 02:02:02 v3.0.0-dev.4 02:02:02 v3.0.0-dev.5 02:02:02 v3.0.0-dev.6 02:02:02 v3.0.0-dev.7 02:02:02 v3.0.0-dev.8 02:02:02 v3.0.0-dev.9 [Pipeline] sh 02:02:02 + lftools sign git-tag v3.0.0-dev.38 02:02:03 Signing Git tag with Sigul... 02:02:03 Signing v3.0.0-dev.38 [Pipeline] echo 02:02:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:02:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:02:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:02:04 $ docker stop --time=1 7b7e5b37c65c58049b5b2cbf3cebe6dcd08a0d8d4ce349f63f5ddeb215e5302c 02:02:05 $ docker rm -f --volumes 7b7e5b37c65c58049b5b2cbf3cebe6dcd08a0d8d4ce349f63f5ddeb215e5302c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:02:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:02:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:02:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:06 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 02:02:06 $ 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 02:02:07 $ docker top cd48c2f541d6e349c3fcbcb392ee74eca39f022a0da0c4387eba3ecd3999f8cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:02:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:02:07 [ssh-agent] Looking for ssh-agent implementation... 02:02:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:02:07 $ docker exec cd48c2f541d6e349c3fcbcb392ee74eca39f022a0da0c4387eba3ecd3999f8cb ssh-agent 02:02:07 SSH_AUTH_SOCK=/tmp/ssh-i1sQbnNHor0s/agent.32 02:02:07 SSH_AGENT_PID=38 02:02:07 Running ssh-add (command line suppressed) 02:02:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15580190353014542066.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15580190353014542066.key) 02:02:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:02:07 + git semver bump pre 02:02:08 2023-05-05 02:02:08,062 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:02:08 2023-05-05 02:02:08,062 [bump_version] DEBUG bumping version:3.0.0-dev.38 on axis:pre with prefix:dev 02:02:08 2023-05-05 02:02:08,062 [bump_version] DEBUG bumped version:3.0.0-dev.39 02:02:08 2023-05-05 02:02:08,062 [write_version] DEBUG write version:3.0.0-dev.39 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 02:02:08 2023-05-05 02:02:08,062 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:02:08 2023-05-05 02:02:08,063 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:02:08 2023-05-05 02:02:08,064 [execute] INFO git cat-file --batch-check 02:02:08 2023-05-05 02:02:08,065 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:02:08 2023-05-05 02:02:08,071 [execute] INFO git cat-file --batch 02:02:08 2023-05-05 02:02:08,071 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:02:08 2023-05-05 02:02:08,077 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:02:08 3.0.0-dev.39 [Pipeline] } 02:02:08 $ docker exec --env ******** --env ******** cd48c2f541d6e349c3fcbcb392ee74eca39f022a0da0c4387eba3ecd3999f8cb ssh-agent -k 02:02:08 unset SSH_AUTH_SOCK; 02:02:08 unset SSH_AGENT_PID; 02:02:08 echo Agent pid 38 killed; 02:02:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:02:08 + git semver [Pipeline] } 02:02:08 $ docker stop --time=1 cd48c2f541d6e349c3fcbcb392ee74eca39f022a0da0c4387eba3ecd3999f8cb 02:02:10 $ docker rm -f --volumes cd48c2f541d6e349c3fcbcb392ee74eca39f022a0da0c4387eba3ecd3999f8cb [Pipeline] // withDockerContainer [Pipeline] sh 02:02:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:02:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:02:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:10 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 02:02:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:02:11 $ docker top 897e1c49bf339595047bd7ef39291e9a87432d811d9e077cff9f0127b7501a3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:02:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:02:11 [ssh-agent] Looking for ssh-agent implementation... 02:02:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:02:11 $ docker exec 897e1c49bf339595047bd7ef39291e9a87432d811d9e077cff9f0127b7501a3f ssh-agent 02:02:11 SSH_AUTH_SOCK=/tmp/ssh-M69FMCSnQiL9/agent.32 02:02:11 SSH_AGENT_PID=38 02:02:11 Running ssh-add (command line suppressed) 02:02:11 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14236219411435862548.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14236219411435862548.key) 02:02:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:02:12 + git semver push 02:02:12 2023-05-05 02:02:12,220 [run_push] DEBUG push 02:02:12 2023-05-05 02:02:12,220 [execute] INFO git cat-file --batch-check 02:02:12 2023-05-05 02:02:12,220 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:02:12 2023-05-05 02:02:12,224 [execute] INFO git rev-list 33cec2e9ab07de45444fb438dfb2b9159421ff1a -- 02:02:12 2023-05-05 02:02:12,224 [execute] DEBUG Popen(['git', 'rev-list', '33cec2e9ab07de45444fb438dfb2b9159421ff1a', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:02:12 2023-05-05 02:02:12,233 [execute] INFO git fetch -v origin 02:02:12 2023-05-05 02:02:12,233 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:02:12 2023-05-05 02:02:12,687 [run_push] DEBUG no remote changes detected 02:02:12 2023-05-05 02:02:12,688 [execute] INFO git push origin semver 02:02:12 2023-05-05 02:02:12,688 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:02:13 2023-05-05 02:02:13,485 [run_push] DEBUG push all version tags 02:02:13 2023-05-05 02:02:13,486 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:02:13 2023-05-05 02:02:13,486 [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) 02:02:14 2023-05-05 02:02:14,344 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 02:02:14 3.0.0-dev.39 [Pipeline] } 02:02:14 $ docker exec --env ******** --env ******** 897e1c49bf339595047bd7ef39291e9a87432d811d9e077cff9f0127b7501a3f ssh-agent -k 02:02:14 unset SSH_AUTH_SOCK; 02:02:14 unset SSH_AGENT_PID; 02:02:14 echo Agent pid 38 killed; 02:02:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:02:14 + git semver [Pipeline] } 02:02:15 $ docker stop --time=1 897e1c49bf339595047bd7ef39291e9a87432d811d9e077cff9f0127b7501a3f 02:02:16 $ docker rm -f --volumes 897e1c49bf339595047bd7ef39291e9a87432d811d9e077cff9f0127b7501a3f [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 02:02:17 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 02:02:17 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:02:17 total 16 02:02:17 drwxr-xr-x 3 root root 4096 May 5 01:51 . 02:02:17 drwxrwxr-x 10 jenkins jenkins 4096 May 5 02:02 .. 02:02:17 drwxr-xr-x 2 root root 4096 May 5 01:51 cost 02:02:17 -rw-r--r-- 1 root root 89 May 5 01:51 cost.csv 02:02:17 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 02:02:17 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 02:02:17 total 16 02:02:17 drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:51 . 02:02:17 drwxrwxr-x 10 jenkins jenkins 4096 May 5 02:02 .. 02:02:17 drwxr-xr-x 2 jenkins jenkins 4096 May 5 01:51 cost 02:02:17 -rw-r--r-- 1 jenkins jenkins 89 May 5 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:02:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:02:18 ---> package-listing.sh 02:02:18 ++ facter osfamily 02:02:18 ++ tr '[:upper:]' '[:lower:]' 02:02:18 + OS_FAMILY=debian 02:02:18 + workspace=/w/workspace/exfoundry_device-virtual-go_main 02:02:18 + START_PACKAGES=/tmp/packages_start.txt 02:02:18 + END_PACKAGES=/tmp/packages_end.txt 02:02:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:02:18 + PACKAGES=/tmp/packages_start.txt 02:02:18 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:02:18 + PACKAGES=/tmp/packages_end.txt 02:02:18 + case "${OS_FAMILY}" in 02:02:18 + dpkg -l 02:02:18 + grep '^ii' 02:02:18 + '[' -f /tmp/packages_start.txt ']' 02:02:18 + '[' -f /tmp/packages_end.txt ']' 02:02:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:02:18 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 02:02:18 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 02:02:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 02:02:18 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 02:02:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:19 prd-ubuntu20.04-docker-8c-8g-13341 does not seem to be running inside a container 02:02:19 $ 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 02:02:19 $ docker top 81778cd860b69bc59a6e719e0e46b0692b7845c10f7d2d1c3bc7cf9b8191909f -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:19 + touch /tmp/pre-build-complete [Pipeline] sh 02:02:20 + mkdir -p /var/log/sysstat [Pipeline] sh 02:02:20 + ls /var/log/sa-host 02:02:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:20 provisioning config files... 02:02:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10698898575556742993tmp [Pipeline] { [Pipeline] echo 02:02:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:02:20 ---> create-netrc.sh [Pipeline] } 02:02:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:02:21 ---> python-tools-install.sh [Pipeline] echo 02:02:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:02:21 ---> sudo-logs.sh 02:02:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:02:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:02:21 ---> job-cost.sh 02:02:21 lf-activate-venv: SKIPPING 02:02:21 DEBUG: total: 0.2199999988079071 02:02:21 INFO: Retrieving Stack Cost... 02:02:22 INFO: Retrieving Pricing Info for: v3-standard-8 02:02:22 INFO: Archiving Costs [Pipeline] echo 02:02:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:02:22 ---> logs-deploy.sh 02:02:22 lf-activate-venv: SKIPPING 02:02:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/110 02:02:22 INFO: archiving workspace using pattern(s): 02:02:23 Archives upload complete. 02:02:23 INFO: archiving logs to Nexus