Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 04ce07425684dc49eb1d346851a0a7d2d821c622 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-ssh1792332111746892275.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh11382486517238059776.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 f3350a1713306dce7682ed7e37d5774890d03277 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-ssh5248047982278752680.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh468314325026625373.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-ssh12072122822512287450.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.21 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 Running on prd-ubuntu20.04-docker-8c-8g-9854 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 04ce07425684dc49eb1d346851a0a7d2d821c622 (main) Commit message: "Merge pull request #488 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 04ce07425684dc49eb1d346851a0a7d2d821c622 # timeout=10 > git rev-list --no-walk 8966c26b49b103c4be0d1e0859a9f7a15856cd15 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:24:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:24:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:24:34 ========================================================= 12:24:34 EdgeX Global Pipelines Version Info 12:24:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:24:35 ------------------- 12:24:35 stable info: 12:24:35 ------------------- 12:24:35 Commited By: Cherry Wang cherry@iotechsys.com 12:24:35 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 12:24:35 Message: update stable to v1.0.263 12:24:36 ------------------- 12:24:36 experimental info: 12:24:36 ------------------- 12:24:36 Commited By: Cherry Wang cherry@iotechsys.com 12:24:36 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 12:24:36 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:24:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:24:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:24:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:24:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:24:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:24:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 04ce07425684dc49eb1d346851a0a7d2d821c622 [Pipeline] echo 12:24:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 04ce074 [Pipeline] echo 12:24:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:24:37 provisioning config files... 12:24:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10115181431641144626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:37 ---> ****-login.sh 12:24:37 nexus3.edgexfoundry.org:10001 12:24:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:37 Configure a credential helper to remove this warning. See 12:24:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:37 12:24:37 Login Succeeded 12:24:37 nexus3.edgexfoundry.org:10002 12:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:38 Configure a credential helper to remove this warning. See 12:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:38 12:24:38 Login Succeeded 12:24:38 nexus3.edgexfoundry.org:10003 12:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:38 Configure a credential helper to remove this warning. See 12:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:38 12:24:38 Login Succeeded 12:24:38 nexus3.edgexfoundry.org:10004 12:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:38 Configure a credential helper to remove this warning. See 12:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:38 12:24:38 Login Succeeded 12:24:38 ****.io 12:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:38 Configure a credential helper to remove this warning. See 12:24:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:38 12:24:38 Login Succeeded 12:24:38 ---> ****-login.sh ends [Pipeline] } 12:24:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:24:39 + git rev-list -1 --merges 04ce07425684dc49eb1d346851a0a7d2d821c622~1..04ce07425684dc49eb1d346851a0a7d2d821c622 [Pipeline] echo 12:24:39 -----------> git rev-list -1 --merges 04ce07425684dc49eb1d346851a0a7d2d821c622~1..04ce07425684dc49eb1d346851a0a7d2d821c622 04ce07425684dc49eb1d346851a0a7d2d821c622 12:24:39 04ce07425684dc49eb1d346851a0a7d2d821c622 [false] [Pipeline] sh 12:24:39 + git log --format=format:%s -1 04ce07425684dc49eb1d346851a0a7d2d821c622 [Pipeline] echo 12:24:39 ========================================================= 12:24:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:24:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:24:39 + git log --format=format:%s -1 04ce07425684dc49eb1d346851a0a7d2d821c622 [Pipeline] echo 12:24:39 [semverPrep] GIT_COMMIT: 04ce07425684dc49eb1d346851a0a7d2d821c622, Commit Message: Merge pull request #488 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37 [Pipeline] echo 12:24:39 [semverPrep] This is not a build commit. [Pipeline] sh 12:24:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:24:40 + grep -v github /etc/ssh/ssh_known_hosts 12:24:40 + [ -e /tmp/ssh_known_hosts ] 12:24:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:24:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:24:40 + sudo tee -a /etc/ssh/ssh_known_hosts 12:24:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:24:40 12:24:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:24:40 0.1.4: Pulling from edgex-devops/py-git-semver 12:24:40 b85a868b505f: Pulling fs layer 12:24:40 e2be974225ed: Pulling fs layer 12:24:40 339a4e72a1f5: Pulling fs layer 12:24:40 988bab9f4d93: Pulling fs layer 12:24:40 1469e6f7b9e6: Pulling fs layer 12:24:40 eaf3925da568: Pulling fs layer 12:24:40 bab4dde63d76: Pulling fs layer 12:24:40 bde34c3a00c8: Pulling fs layer 12:24:40 b352a97aabf1: Pulling fs layer 12:24:40 4872d77fe225: Pulling fs layer 12:24:40 5851b861e8e6: Pulling fs layer 12:24:40 bab4dde63d76: Waiting 12:24:40 bde34c3a00c8: Waiting 12:24:40 5851b861e8e6: Waiting 12:24:40 b352a97aabf1: Waiting 12:24:40 988bab9f4d93: Waiting 12:24:40 4872d77fe225: Waiting 12:24:40 eaf3925da568: Waiting 12:24:40 e2be974225ed: Download complete 12:24:40 988bab9f4d93: Verifying Checksum 12:24:40 988bab9f4d93: Download complete 12:24:41 1469e6f7b9e6: Verifying Checksum 12:24:41 1469e6f7b9e6: Download complete 12:24:41 eaf3925da568: Verifying Checksum 12:24:41 eaf3925da568: Download complete 12:24:41 339a4e72a1f5: Verifying Checksum 12:24:41 339a4e72a1f5: Download complete 12:24:41 bde34c3a00c8: Verifying Checksum 12:24:41 bde34c3a00c8: Download complete 12:24:41 b352a97aabf1: Verifying Checksum 12:24:41 b352a97aabf1: Download complete 12:24:41 4872d77fe225: Verifying Checksum 12:24:41 4872d77fe225: Download complete 12:24:41 5851b861e8e6: Verifying Checksum 12:24:41 5851b861e8e6: Download complete 12:24:41 b85a868b505f: Verifying Checksum 12:24:41 b85a868b505f: Download complete 12:24:41 bab4dde63d76: Verifying Checksum 12:24:41 bab4dde63d76: Download complete 12:24:43 b85a868b505f: Pull complete 12:24:43 e2be974225ed: Pull complete 12:24:43 339a4e72a1f5: Pull complete 12:24:43 988bab9f4d93: Pull complete 12:24:43 1469e6f7b9e6: Pull complete 12:24:43 eaf3925da568: Pull complete 12:24:45 bab4dde63d76: Pull complete 12:24:45 bde34c3a00c8: Pull complete 12:24:46 b352a97aabf1: Pull complete 12:24:46 4872d77fe225: Pull complete 12:24:46 5851b861e8e6: Pull complete 12:24:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:24:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:24:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:24:46 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:24:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:24:49 $ docker top 644134f93f0d82c0750702bd7e99b79ca0df748d9bc593421af612b61b6e2cf9 -eo pid,comm 12:24:49 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). 12:24:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:24:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:24:49 [ssh-agent] Looking for ssh-agent implementation... 12:24:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:24:50 $ docker exec 644134f93f0d82c0750702bd7e99b79ca0df748d9bc593421af612b61b6e2cf9 ssh-agent 12:24:50 SSH_AUTH_SOCK=/tmp/ssh-Aa3JIp9HKLVL/agent.32 12:24:50 SSH_AGENT_PID=38 12:24:50 Running ssh-add (command line suppressed) 12:24:50 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13422183927190392118.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13422183927190392118.key) 12:24:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:24:50 + git tag --points-at HEAD [Pipeline] } 12:24:50 $ docker exec --env ******** --env ******** 644134f93f0d82c0750702bd7e99b79ca0df748d9bc593421af612b61b6e2cf9 ssh-agent -k 12:24:50 unset SSH_AUTH_SOCK; 12:24:50 unset SSH_AGENT_PID; 12:24:50 echo Agent pid 38 killed; 12:24:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:24:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:24:50 [ssh-agent] Looking for ssh-agent implementation... 12:24:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:24:50 $ docker exec 644134f93f0d82c0750702bd7e99b79ca0df748d9bc593421af612b61b6e2cf9 ssh-agent 12:24:51 SSH_AUTH_SOCK=/tmp/ssh-qYWmETmz704d/agent.71 12:24:51 SSH_AGENT_PID=77 12:24:51 Running ssh-add (command line suppressed) 12:24:51 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16291254508244235950.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16291254508244235950.key) 12:24:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:24:51 + git semver init 12:24:51 2024-09-09 12:24:51,655 [run_init] DEBUG init version:0.0.0 force:False 12:24:51 2024-09-09 12:24:51,656 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 12:24:51 2024-09-09 12:24:51,656 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 12:24:51 2024-09-09 12:24:51,656 [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) 12:24:54 2024-09-09 12:24:53,687 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 12:24:54 2024-09-09 12:24:53,687 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 12:24:54 2024-09-09 12:24:53,688 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:24:54 2024-09-09 12:24:53,688 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:24:54 3.2.0-dev.24 [Pipeline] } 12:24:54 $ docker exec --env ******** --env ******** 644134f93f0d82c0750702bd7e99b79ca0df748d9bc593421af612b61b6e2cf9 ssh-agent -k 12:24:54 unset SSH_AUTH_SOCK; 12:24:54 unset SSH_AGENT_PID; 12:24:54 echo Agent pid 77 killed; 12:24:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:24:54 + git semver [Pipeline] } 12:24:54 $ docker stop --time=1 644134f93f0d82c0750702bd7e99b79ca0df748d9bc593421af612b61b6e2cf9 12:24:56 $ docker rm -f --volumes 644134f93f0d82c0750702bd7e99b79ca0df748d9bc593421af612b61b6e2cf9 [Pipeline] // withDockerContainer [Pipeline] sh 12:24:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:24:56 Stashed 1 file(s) [Pipeline] echo 12:24:56 [edgeXSemver]: initialized semver on version 3.2.0-dev.24 [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 12:24:57 provisioning config files... 12:24:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10135603401705973521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:57 ---> ****-login.sh 12:24:57 nexus3.edgexfoundry.org:10001 12:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:57 Configure a credential helper to remove this warning. See 12:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:57 12:24:57 Login Succeeded 12:24:57 nexus3.edgexfoundry.org:10002 12:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:57 Configure a credential helper to remove this warning. See 12:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:57 12:24:57 Login Succeeded 12:24:57 nexus3.edgexfoundry.org:10003 12:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:57 Configure a credential helper to remove this warning. See 12:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:57 12:24:57 Login Succeeded 12:24:57 nexus3.edgexfoundry.org:10004 12:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:57 Configure a credential helper to remove this warning. See 12:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:57 12:24:57 Login Succeeded 12:24:57 ****.io 12:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:24:57 Configure a credential helper to remove this warning. See 12:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:24:57 12:24:57 Login Succeeded 12:24:57 ---> ****-login.sh ends [Pipeline] } 12:24:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:24:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:24:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:24:58 ========================================================= 12:24:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:24:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:24:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:24:58 Sending build context to Docker daemon 37.6MB 12:24:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:24:58 Step 2/12 : FROM ${BASE} AS builder 12:24:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:24:58 619be1103602: Pulling fs layer 12:24:58 7862e08f4a3e: Pulling fs layer 12:24:58 5df492c9dc93: Pulling fs layer 12:24:58 7629e6793208: Pulling fs layer 12:24:58 4f4fb700ef54: Pulling fs layer 12:24:58 fb5054dd5b73: Pulling fs layer 12:24:58 eeca6798cff9: Pulling fs layer 12:24:58 aa269ceb94a6: Pulling fs layer 12:24:58 ada007ff1a6a: Pulling fs layer 12:24:58 4f4fb700ef54: Waiting 12:24:58 fb5054dd5b73: Waiting 12:24:58 7629e6793208: Waiting 12:24:58 eeca6798cff9: Waiting 12:24:58 aa269ceb94a6: Waiting 12:24:58 ada007ff1a6a: Waiting 12:24:58 7862e08f4a3e: Verifying Checksum 12:24:58 7862e08f4a3e: Download complete 12:24:58 7629e6793208: Verifying Checksum 12:24:58 7629e6793208: Download complete 12:24:58 4f4fb700ef54: Verifying Checksum 12:24:58 4f4fb700ef54: Download complete 12:24:58 619be1103602: Verifying Checksum 12:24:58 619be1103602: Download complete 12:24:58 fb5054dd5b73: Verifying Checksum 12:24:58 fb5054dd5b73: Download complete 12:24:58 eeca6798cff9: Verifying Checksum 12:24:58 eeca6798cff9: Download complete 12:24:59 619be1103602: Pull complete 12:24:59 ada007ff1a6a: Verifying Checksum 12:24:59 ada007ff1a6a: Download complete 12:24:59 7862e08f4a3e: Pull complete 12:24:59 5df492c9dc93: Verifying Checksum 12:24:59 5df492c9dc93: Download complete 12:24:59 aa269ceb94a6: Verifying Checksum 12:24:59 aa269ceb94a6: Download complete 12:25:02 5df492c9dc93: Pull complete 12:25:02 7629e6793208: Pull complete 12:25:02 4f4fb700ef54: Pull complete 12:25:02 fb5054dd5b73: Pull complete 12:25:03 eeca6798cff9: Pull complete 12:25:05 aa269ceb94a6: Pull complete 12:25:06 ada007ff1a6a: Pull complete 12:25:06 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 12:25:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:25:06 ---> f489d0715acc 12:25:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:25:11 ---> Running in 6ff5884fe361 12:25:11 Removing intermediate container 6ff5884fe361 12:25:11 ---> 74e31c2fab16 12:25:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:25:11 ---> Running in 462c223168c5 12:25:11 Removing intermediate container 462c223168c5 12:25:11 ---> e6dea92ae678 12:25:11 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:25:11 ---> Running in 0183df597a85 12:25:11 Removing intermediate container 0183df597a85 12:25:11 ---> 8aebe85123b5 12:25:11 Step 6/12 : WORKDIR /device-virtual-go 12:25:11 ---> Running in 39d574e971d7 12:25:11 Removing intermediate container 39d574e971d7 12:25:11 ---> 1d3a58d8ed8f 12:25:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:25:11 ---> Running in f08093f2a012 12:25:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:25:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:25:11 (1/4) Installing openssh-keygen (9.3_p2-r2) 12:25:11 (2/4) Installing libedit (20221030.3.1-r1) 12:25:12 Still waiting to schedule task 12:25:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:25:12 (3/4) Installing openssh-client-common (9.3_p2-r2) 12:25:12 (4/4) Installing openssh-client-default (9.3_p2-r2) 12:25:12 Executing busybox-1.36.1-r5.trigger 12:25:12 OK: 268 MiB in 56 packages 12:25:12 Removing intermediate container f08093f2a012 12:25:12 ---> f84c1ef4a7de 12:25:12 Step 8/12 : COPY go.mod vendor* ./ 12:25:12 ---> a383d83e4cb7 12:25:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:25:12 ---> Running in 37788273889f 12:26:23 Removing intermediate container 37788273889f 12:26:23 ---> d07770a97b4d 12:26:23 Step 10/12 : COPY . . 12:26:23 ---> 0881b9a330e4 12:26:23 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:26:23 ---> Running in 0e32f127b81c 12:26:23 Removing intermediate container 0e32f127b81c 12:26:23 ---> 8fcd8aa1f6b0 12:26:23 Step 12/12 : RUN $MAKE 12:26:23 ---> Running in d1ee02e4310b 12:26:23 noop 12:26:23 Removing intermediate container d1ee02e4310b 12:26:23 ---> 8cac0e594a18 12:26:23 Successfully built 8cac0e594a18 12:26:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:23 + docker inspect -f . ci-base-image-x86_64 12:26:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:26:23 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:26:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:26:24 $ docker top bb738a44258f41a358453eb0a1f126175a9014ea7788cb8e87f42c91e3c1eab7 -eo pid,comm [Pipeline] { [Pipeline] sh 12:26:24 + go version 12:26:24 go version go1.21.9 linux/amd64 [Pipeline] } 12:26:24 $ docker stop --time=1 bb738a44258f41a358453eb0a1f126175a9014ea7788cb8e87f42c91e3c1eab7 12:26:25 $ docker rm -f --volumes bb738a44258f41a358453eb0a1f126175a9014ea7788cb8e87f42c91e3c1eab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:26:26 + docker inspect -f . ci-base-image-x86_64 12:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:26:26 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:26:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:26:26 $ docker top f97d23fc9739e7a3d7bfd7857d7421d8921b527b11b400b57f196d13b4cf23ad -eo pid,comm [Pipeline] { [Pipeline] sh 12:26:27 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 12:26:27 + make test 12:26:27 go test ./... -coverprofile=coverage.out 12:26:29 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:26:47 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:26:47 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements 12:26:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9856 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 12:26:51 Running in /w/workspace/device-virtual-go/180 [Pipeline] { [Pipeline] checkout 12:26:54 The recommended git tool is: git 12:26:55 go vet ./... 12:27:00 using credential edgex-jenkins-ssh 12:27:00 Cloning the remote Git repository 12:27:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:27:00 > git init /w/workspace/device-virtual-go/180 # timeout=10 12:27:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:27:00 > git --version # timeout=10 12:27:00 > git --version # 'git version 2.25.1' 12:27:00 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:27:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:27:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:27:01 ./bin/test-attribution-txt.sh 12:27:01 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 12:27:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:27:02 $ docker stop --time=1 f97d23fc9739e7a3d7bfd7857d7421d8921b527b11b400b57f196d13b4cf23ad 12:27:03 $ docker rm -f --volumes f97d23fc9739e7a3d7bfd7857d7421d8921b527b11b400b57f196d13b4cf23ad [Pipeline] // withDockerContainer [Pipeline] sh 12:27:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:27:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:27:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:27:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:27:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:27:05 + ls -al . 12:27:05 total 276 12:27:05 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 12:26 . 12:27:05 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 12:24 .. 12:27:05 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 12:26 .git 12:27:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 12:24 .github 12:27:05 -rw-rw-r-- 1 jenkins jenkins 272 Sep 9 12:24 .gitignore 12:27:05 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 12:24 .golangci.yml 12:27:05 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 12:24 .semver 12:27:05 -rw-rw-r-- 1 jenkins jenkins 17933 Sep 9 12:24 Attribution.txt 12:27:05 -rw-rw-r-- 1 jenkins jenkins 15941 Sep 9 12:24 CHANGELOG.md 12:27:05 -rw-rw-r-- 1 jenkins jenkins 1755 Sep 9 12:24 Dockerfile 12:27:05 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 12:24 GOVERNANCE.md 12:27:05 -rw-rw-r-- 1 jenkins jenkins 660 Sep 9 12:24 Jenkinsfile 12:27:05 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 12:24 LICENSE 12:27:05 -rw-rw-r-- 1 jenkins jenkins 1953 Sep 9 12:24 Makefile 12:27:05 -rw-rw-r-- 1 jenkins jenkins 623 Sep 9 12:24 OWNERS.md 12:27:05 -rw-rw-r-- 1 jenkins jenkins 4103 Sep 9 12:24 README.md 12:27:05 -rw-rw-r-- 1 jenkins jenkins 12 Sep 9 12:24 VERSION 12:27:05 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 12:24 bin 12:27:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 12:24 cmd 12:27:05 -rw-r--r-- 1 jenkins jenkins 43247 Sep 9 12:26 coverage.out 12:27:05 -rw-rw-r-- 1 jenkins jenkins 6924 Sep 9 12:24 go.mod 12:27:05 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 12:24 go.sum 12:27:05 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 12:24 internal 12:27:05 -rw-rw-r-- 1 jenkins jenkins 235 Sep 9 12:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:05 + 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=04ce07425684dc49eb1d346851a0a7d2d821c622 --label arch=amd64 --label version=3.2.0-dev.24 . 12:27:05 Sending build context to Docker daemon 37.64MB 12:27:05 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:27:05 Step 2/26 : FROM ${BASE} AS builder 12:27:05 ---> 8cac0e594a18 12:27:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:27:05 Avoid second fetch 12:27:05 Checking out Revision 04ce07425684dc49eb1d346851a0a7d2d821c622 (main) 12:27:05 ---> Running in 579ab9dcc42c 12:27:05 Removing intermediate container 579ab9dcc42c 12:27:05 ---> fcc312ca47d1 12:27:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:27:05 ---> Running in bb5e13ff1aa4 12:27:05 Removing intermediate container bb5e13ff1aa4 12:27:05 ---> 016b83faae24 12:27:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:27:05 ---> Running in 972ad51f1aac 12:27:05 > git config core.sparsecheckout # timeout=10 12:27:05 > git checkout -f 04ce07425684dc49eb1d346851a0a7d2d821c622 # timeout=10 12:27:06 Commit message: "Merge pull request #488 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.37" 12:27:06 Removing intermediate container 972ad51f1aac 12:27:06 ---> 7f5f71699619 12:27:06 Step 6/26 : WORKDIR /device-virtual-go 12:27:06 ---> Running in 97d2390d5f96 12:27:06 Removing intermediate container 97d2390d5f96 12:27:06 ---> 4dcda3118353 12:27:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:27:06 ---> Running in 4119084ccb1c 12:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:27:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:27:06 OK: 268 MiB in 56 packages 12:27:07 Removing intermediate container 4119084ccb1c 12:27:07 ---> f410168dcda5 12:27:07 Step 8/26 : COPY go.mod vendor* ./ 12:27:07 ---> f399989190f9 12:27:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:27:07 ---> Running in 55bfbda619df 12:27:08 Removing intermediate container 55bfbda619df 12:27:08 ---> dc7b805a09e1 12:27:08 Step 10/26 : COPY . . 12:27:09 ---> 591f1308b0c9 12:27:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:27:09 ---> Running in 0a604d707e2a 12:27:09 Removing intermediate container 0a604d707e2a 12:27:09 ---> 237bd3b55f95 12:27:09 Step 12/26 : RUN $MAKE 12:27:09 ---> Running in 49440ed05216 12:27:09 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:27:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:27:10 % Total % Received % Xferd Average Speed Time Time Time Current 12:27:10 Dload Upload Total Spent Left Speed 12:27:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh 12:27:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:27:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:27:11 + sudo tee /etc/docker/daemon.new 12:27:11 { 12:27:11 "registry-mirrors": [ 12:27:11 "https://nexus3.edgexfoundry.org:10001" 12:27:11 ], 12:27:11 "bip": "10.250.0.254/24", 12:27:11 "hosts": [ 12:27:11 "tcp://0.0.0.0:5555", 12:27:11 "unix:///var/run/docker.sock" 12:27:11 ], 12:27:11 "mtu": 1458, 12:27:11 "selinux-enabled": true, 12:27:11 "seccomp-profile": "/etc/docker/seccomp.json" 12:27:11 } [Pipeline] sh 12:27:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:27:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:27:30 provisioning config files... 12:27:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/180@tmp/config12063047459516782347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:27:30 ---> ****-login.sh 12:27:30 nexus3.edgexfoundry.org:10001 12:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:31 Configure a credential helper to remove this warning. See 12:27:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:31 12:27:31 Login Succeeded 12:27:31 nexus3.edgexfoundry.org:10002 12:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:31 Configure a credential helper to remove this warning. See 12:27:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:31 12:27:31 Login Succeeded 12:27:31 nexus3.edgexfoundry.org:10003 12:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:32 Configure a credential helper to remove this warning. See 12:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:32 12:27:32 Login Succeeded 12:27:32 nexus3.edgexfoundry.org:10004 12:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:32 Configure a credential helper to remove this warning. See 12:27:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:32 12:27:32 Login Succeeded 12:27:32 ****.io 12:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:33 Configure a credential helper to remove this warning. See 12:27:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:33 12:27:33 Login Succeeded 12:27:33 ---> ****-login.sh ends [Pipeline] } 12:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:27:33 ========================================================= 12:27:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:27:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 12:27:34 Sending build context to Docker daemon 18.98MB 12:27:34 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 12:27:34 Step 2/12 : FROM ${BASE} AS builder 12:27:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:27:34 c6b39de5b339: Pulling fs layer 12:27:34 a69c41024577: Pulling fs layer 12:27:34 d6de4b400683: Pulling fs layer 12:27:34 35cb2a7552d0: Pulling fs layer 12:27:34 4f4fb700ef54: Pulling fs layer 12:27:34 464afbd9ba4c: Pulling fs layer 12:27:34 00f215d4a9da: Pulling fs layer 12:27:34 d496ad576159: Pulling fs layer 12:27:34 464afbd9ba4c: Waiting 12:27:34 35cb2a7552d0: Waiting 12:27:34 00f215d4a9da: Waiting 12:27:34 4f4fb700ef54: Waiting 12:27:34 a69c41024577: Verifying Checksum 12:27:34 a69c41024577: Download complete 12:27:34 35cb2a7552d0: Verifying Checksum 12:27:34 35cb2a7552d0: Download complete 12:27:34 4f4fb700ef54: Verifying Checksum 12:27:34 4f4fb700ef54: Download complete 12:27:34 c6b39de5b339: Verifying Checksum 12:27:34 464afbd9ba4c: Verifying Checksum 12:27:34 464afbd9ba4c: Download complete 12:27:34 c6b39de5b339: Download complete 12:27:35 d496ad576159: Verifying Checksum 12:27:35 d496ad576159: Download complete 12:27:35 c6b39de5b339: Pull complete 12:27:36 a69c41024577: Pull complete 12:27:36 d6de4b400683: Verifying Checksum 12:27:36 d6de4b400683: Download complete 12:27:37 00f215d4a9da: Verifying Checksum 12:27:37 00f215d4a9da: Download complete 12:27:41 Removing intermediate container 49440ed05216 12:27:41 ---> f0ed84c9b24b 12:27:41 Step 13/26 : FROM alpine:3.18 12:27:41 3.18: Pulling from library/alpine 12:27:41 1cc3d825d8b2: Pulling fs layer 12:27:41 1cc3d825d8b2: Verifying Checksum 12:27:41 1cc3d825d8b2: Download complete 12:27:42 1cc3d825d8b2: Pull complete 12:27:42 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 12:27:42 Status: Downloaded newer image for alpine:3.18 12:27:42 ---> 2c64cf60f6f0 12:27:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:27:42 ---> Running in 473e54e4fb33 12:27:42 Removing intermediate container 473e54e4fb33 12:27:42 ---> 7afa8699169e 12:27:42 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:27:42 ---> Running in 2bc4b0e2479c 12:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:27:42 (1/1) Installing dumb-init (1.2.5-r2) 12:27:42 Executing busybox-1.36.1-r7.trigger 12:27:42 OK: 7 MiB in 16 packages 12:27:43 Removing intermediate container 2bc4b0e2479c 12:27:43 ---> 10a0fd4d3746 12:27:43 Step 16/26 : RUN apk --no-cache upgrade 12:27:43 ---> Running in 155b00042d69 12:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:27:43 OK: 7 MiB in 16 packages 12:27:44 Removing intermediate container 155b00042d69 12:27:44 ---> a744495fbe1e 12:27:44 Step 17/26 : WORKDIR / 12:27:44 ---> Running in 251a1ef6deb3 12:27:44 Removing intermediate container 251a1ef6deb3 12:27:44 ---> 3de5ffee4ce4 12:27:44 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:27:44 ---> ce464a0fb7cd 12:27:44 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:27:44 ---> 283860b3319f 12:27:44 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:27:45 ---> 65b247fef6dc 12:27:45 Step 21/26 : EXPOSE 59900 12:27:45 ---> Running in 4bc39aab3137 12:27:45 Removing intermediate container 4bc39aab3137 12:27:45 ---> 8df6ccc8603e 12:27:45 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:27:45 ---> Running in 087be2e787ec 12:27:45 Removing intermediate container 087be2e787ec 12:27:45 ---> 5b86820cd910 12:27:45 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:27:45 ---> Running in 5c80fdcc715c 12:27:45 Removing intermediate container 5c80fdcc715c 12:27:45 ---> 57a872a97659 12:27:45 Step 24/26 : LABEL arch=amd64 12:27:45 ---> Running in 60a77e666431 12:27:46 Removing intermediate container 60a77e666431 12:27:46 ---> c6621f537134 12:27:46 Step 25/26 : LABEL git_sha=04ce07425684dc49eb1d346851a0a7d2d821c622 12:27:46 ---> Running in 436c849f0f67 12:27:46 Removing intermediate container 436c849f0f67 12:27:46 ---> 3cea2b62fa00 12:27:46 Step 26/26 : LABEL version=3.2.0-dev.24 12:27:46 ---> Running in a09b63b739f1 12:27:46 Removing intermediate container a09b63b739f1 12:27:46 ---> 3653a032b83c 12:27:46 [Warning] One or more build-args [ARCH] were not consumed 12:27:46 Successfully built 3653a032b83c 12:27:46 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:27:46 provisioning config files... 12:27:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10108148591916548158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:27:46 ---> ****-login.sh 12:27:46 nexus3.edgexfoundry.org:10001 12:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:46 Configure a credential helper to remove this warning. See 12:27:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:46 12:27:46 Login Succeeded 12:27:46 nexus3.edgexfoundry.org:10002 12:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:46 Configure a credential helper to remove this warning. See 12:27:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:46 12:27:46 Login Succeeded 12:27:46 nexus3.edgexfoundry.org:10003 12:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:46 Configure a credential helper to remove this warning. See 12:27:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:46 12:27:46 Login Succeeded 12:27:46 nexus3.edgexfoundry.org:10004 12:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:46 Configure a credential helper to remove this warning. See 12:27:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:46 12:27:46 Login Succeeded 12:27:46 ****.io 12:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:27:47 Configure a credential helper to remove this warning. See 12:27:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:27:47 12:27:47 Login Succeeded 12:27:47 ---> ****-login.sh ends [Pipeline] } 12:27:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:27:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:27:47 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 12:27:47 04ce07425684dc49eb1d346851a0a7d2d821c622 12:27:47 latest 12:27:47 3.2.0-dev.24 12:27:47 04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24 12:27:47 main 12:27:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:47 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:04ce07425684dc49eb1d346851a0a7d2d821c622 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual:04ce07425684dc49eb1d346851a0a7d2d821c622 12:27:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:27:47 766369e9e360: Preparing 12:27:47 3f69de33c814: Preparing 12:27:47 01027c51e8b0: Preparing 12:27:47 a1eb101826f6: Preparing 12:27:47 af6df1908482: Preparing 12:27:47 d62a02444d39: Preparing 12:27:47 d62a02444d39: Waiting 12:27:47 a1eb101826f6: Pushed 12:27:47 3f69de33c814: Pushed 12:27:47 d62a02444d39: Layer already exists 12:27:47 af6df1908482: Pushed 12:27:47 01027c51e8b0: Pushed 12:27:50 d6de4b400683: Pull complete 12:27:50 35cb2a7552d0: Pull complete 12:27:50 4f4fb700ef54: Pull complete 12:27:50 464afbd9ba4c: Pull complete 12:27:51 766369e9e360: Pushed 12:27:51 04ce07425684dc49eb1d346851a0a7d2d821c622: digest: sha256:c4411263c2cc1ad9343fb274949351ed77c7babc949448982d36d2cf40e4db36 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:51 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 12:27:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:27:51 766369e9e360: Preparing 12:27:51 3f69de33c814: Preparing 12:27:51 01027c51e8b0: Preparing 12:27:51 a1eb101826f6: Preparing 12:27:51 af6df1908482: Preparing 12:27:51 d62a02444d39: Preparing 12:27:51 d62a02444d39: Waiting 12:27:51 766369e9e360: Layer already exists 12:27:51 01027c51e8b0: Layer already exists 12:27:51 3f69de33c814: Layer already exists 12:27:51 a1eb101826f6: Layer already exists 12:27:51 af6df1908482: Layer already exists 12:27:51 d62a02444d39: Layer already exists 12:27:51 latest: digest: sha256:c4411263c2cc1ad9343fb274949351ed77c7babc949448982d36d2cf40e4db36 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.24 12:27:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:27:52 766369e9e360: Preparing 12:27:52 3f69de33c814: Preparing 12:27:52 01027c51e8b0: Preparing 12:27:52 a1eb101826f6: Preparing 12:27:52 af6df1908482: Preparing 12:27:52 d62a02444d39: Preparing 12:27:52 d62a02444d39: Waiting 12:27:52 3f69de33c814: Layer already exists 12:27:52 01027c51e8b0: Layer already exists 12:27:52 766369e9e360: Layer already exists 12:27:52 af6df1908482: Layer already exists 12:27:52 a1eb101826f6: Layer already exists 12:27:52 d62a02444d39: Layer already exists 12:27:52 3.2.0-dev.24: digest: sha256:c4411263c2cc1ad9343fb274949351ed77c7babc949448982d36d2cf40e4db36 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24 12:27:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:27:53 766369e9e360: Preparing 12:27:53 3f69de33c814: Preparing 12:27:53 01027c51e8b0: Preparing 12:27:53 a1eb101826f6: Preparing 12:27:53 af6df1908482: Preparing 12:27:53 d62a02444d39: Preparing 12:27:53 d62a02444d39: Waiting 12:27:53 01027c51e8b0: Layer already exists 12:27:53 af6df1908482: Layer already exists 12:27:53 3f69de33c814: Layer already exists 12:27:53 a1eb101826f6: Layer already exists 12:27:53 766369e9e360: Layer already exists 12:27:53 d62a02444d39: Layer already exists 12:27:53 04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24: digest: sha256:c4411263c2cc1ad9343fb274949351ed77c7babc949448982d36d2cf40e4db36 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:53 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 12:27:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 12:27:53 766369e9e360: Preparing 12:27:53 3f69de33c814: Preparing 12:27:53 01027c51e8b0: Preparing 12:27:53 a1eb101826f6: Preparing 12:27:53 af6df1908482: Preparing 12:27:53 d62a02444d39: Preparing 12:27:53 d62a02444d39: Waiting 12:27:53 a1eb101826f6: Layer already exists 12:27:53 01027c51e8b0: Layer already exists 12:27:53 766369e9e360: Layer already exists 12:27:53 3f69de33c814: Layer already exists 12:27:53 af6df1908482: Layer already exists 12:27:53 d62a02444d39: Layer already exists 12:27:53 main: digest: sha256:c4411263c2cc1ad9343fb274949351ed77c7babc949448982d36d2cf40e4db36 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:27:53 ===================================================== [Pipeline] echo 12:27:53 taggedImages: 12:27:53 - nexus3.edgexfoundry.org:10004/device-virtual:04ce07425684dc49eb1d346851a0a7d2d821c622 12:27:53 - nexus3.edgexfoundry.org:10004/device-virtual:latest 12:27:53 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.24 12:27:53 - nexus3.edgexfoundry.org:10004/device-virtual:04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24 12:27:53 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:27:54 12:27:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:27:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:27:54 latest: Pulling from edgex-lftools-log-publisher 12:27:54 5eb5b503b376: Pulling fs layer 12:27:54 5c69ac0246d0: Pulling fs layer 12:27:54 ec43610c2a17: Pulling fs layer 12:27:54 3a2ae6a8a46f: Pulling fs layer 12:27:54 33b1e0a273af: Pulling fs layer 12:27:54 5d3b04190fa2: Pulling fs layer 12:27:54 2f39f015ded8: Pulling fs layer 12:27:54 33b1e0a273af: Waiting 12:27:54 5d3b04190fa2: Waiting 12:27:54 2f39f015ded8: Waiting 12:27:54 3a2ae6a8a46f: Waiting 12:27:54 5c69ac0246d0: Verifying Checksum 12:27:54 5c69ac0246d0: Download complete 12:27:54 3a2ae6a8a46f: Verifying Checksum 12:27:54 3a2ae6a8a46f: Download complete 12:27:54 33b1e0a273af: Verifying Checksum 12:27:54 33b1e0a273af: Download complete 12:27:54 5d3b04190fa2: Verifying Checksum 12:27:54 5d3b04190fa2: Download complete 12:27:54 ec43610c2a17: Verifying Checksum 12:27:54 ec43610c2a17: Download complete 12:27:54 5eb5b503b376: Verifying Checksum 12:27:54 5eb5b503b376: Download complete 12:27:55 2f39f015ded8: Verifying Checksum 12:27:55 2f39f015ded8: Download complete 12:27:55 5eb5b503b376: Pull complete 12:27:56 5c69ac0246d0: Pull complete 12:27:56 ec43610c2a17: Pull complete 12:27:56 3a2ae6a8a46f: Pull complete 12:27:57 33b1e0a273af: Pull complete 12:27:57 5d3b04190fa2: Pull complete 12:27:58 00f215d4a9da: Pull complete 12:28:00 d496ad576159: Pull complete 12:28:00 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 12:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:28:00 ---> f246e2811388 12:28:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:28:02 2f39f015ded8: Pull complete 12:28:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:28:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:28:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:28:02 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:28:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:28:02 ---> Running in 797ccfeca728 12:28:02 Removing intermediate container 797ccfeca728 12:28:02 ---> cef619764b95 12:28:02 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:28:02 ---> Running in bf9f725f147f 12:28:03 Removing intermediate container bf9f725f147f 12:28:03 ---> a850cf0afe25 12:28:03 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:28:03 ---> Running in f7c28facfa3f 12:28:03 Removing intermediate container f7c28facfa3f 12:28:03 ---> 99287d16ddd3 12:28:03 Step 6/12 : WORKDIR /device-virtual-go 12:28:03 ---> Running in 8e578f3cf848 12:28:04 Removing intermediate container 8e578f3cf848 12:28:04 ---> 984efb1c7641 12:28:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:28:04 ---> Running in c58329e9c304 12:28:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:28:07 (1/4) Installing openssh-keygen (9.3_p2-r2) 12:28:07 (2/4) Installing libedit (20221030.3.1-r1) 12:28:07 (3/4) Installing openssh-client-common (9.3_p2-r2) 12:28:07 (4/4) Installing openssh-client-default (9.3_p2-r2) 12:28:07 Executing busybox-1.36.1-r5.trigger 12:28:07 OK: 271 MiB in 56 packages 12:28:08 $ docker top 6520581a639b426eb1d5a11291a98747ba48d72154b1fcec220dd1545cd40f0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:28:08 ---> job-cost.sh 12:28:08 lf-activate-venv: SKIPPING 12:28:08 INFO: No Stack... 12:28:08 INFO: Retrieving Pricing Info for: v3-standard-8 12:28:08 Removing intermediate container c58329e9c304 12:28:08 ---> 58b29da47557 12:28:08 Step 8/12 : COPY go.mod vendor* ./ 12:28:09 INFO: Archiving Costs [Pipeline] sh 12:28:09 ---> 7afae853b548 12:28:09 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:28:09 ---> Running in 5412a0088667 12:28:09 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 12:28:09 + cut -d, -f6 [Pipeline] lock 12:28:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-180-stack-cost] 12:28:09 Resource [jenkins-edgexfoundry-device-virtual-go-main-180-stack-cost] did not exist. Created. 12:28:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:28:09 + echo total: 0.2199999988079071 [Pipeline] stash 12:28:10 Stashed 1 file(s) [Pipeline] } 12:28:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 12:28:10 $ docker stop --time=1 6520581a639b426eb1d5a11291a98747ba48d72154b1fcec220dd1545cd40f0c 12:28:11 $ docker rm -f --volumes 6520581a639b426eb1d5a11291a98747ba48d72154b1fcec220dd1545cd40f0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:30:16 Removing intermediate container 5412a0088667 12:30:16 ---> 95394e788d04 12:30:16 Step 10/12 : COPY . . 12:30:16 ---> 9cce36f6b970 12:30:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:30:16 ---> Running in 7d31ed06a405 12:30:16 Removing intermediate container 7d31ed06a405 12:30:16 ---> ddf0c81ae661 12:30:16 Step 12/12 : RUN $MAKE 12:30:16 ---> Running in 5f588e98d12c 12:30:16 noop 12:30:16 Removing intermediate container 5f588e98d12c 12:30:16 ---> 3c2e6a64dfbd 12:30:16 Successfully built 3c2e6a64dfbd 12:30:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:16 + docker inspect -f . ci-base-image-arm64 12:30:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:30:16 prd-ubuntu20.04-docker-arm64-4c-16g-9856 does not seem to be running inside a container 12:30:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/180 -v /w/workspace/device-virtual-go/180:/w/workspace/device-virtual-go/180:rw,z -v /w/workspace/device-virtual-go/180@tmp:/w/workspace/device-virtual-go/180@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 12:30:18 $ docker top 409610b610049bdeebe9f2262d6d1107ffeae526a8527fced4605a4824e06df6 -eo pid,comm [Pipeline] { [Pipeline] sh 12:30:19 + go version 12:30:19 go version go1.21.9 linux/arm64 [Pipeline] } 12:30:19 $ docker stop --time=1 409610b610049bdeebe9f2262d6d1107ffeae526a8527fced4605a4824e06df6 12:30:20 $ docker rm -f --volumes 409610b610049bdeebe9f2262d6d1107ffeae526a8527fced4605a4824e06df6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:30:21 + docker inspect -f . ci-base-image-arm64 12:30:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:30:21 prd-ubuntu20.04-docker-arm64-4c-16g-9856 does not seem to be running inside a container 12:30:21 $ 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/180 -v /w/workspace/device-virtual-go/180:/w/workspace/device-virtual-go/180:rw,z -v /w/workspace/device-virtual-go/180@tmp:/w/workspace/device-virtual-go/180@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 12:30:22 $ docker top 1e4b2a3f4e3d5850b2722463584ccc62bb41e37338f2c319e0a7dab01d108444 -eo pid,comm [Pipeline] { [Pipeline] sh 12:30:23 + git config --global --add safe.directory /w/workspace/device-virtual-go/180 [Pipeline] fileExists [Pipeline] sh 12:30:24 + make test 12:30:24 go test ./... -coverprofile=coverage.out 12:30:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:34:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:34:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.059s coverage: 58.3% of statements 12:34:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:34:38 go vet ./... 12:35:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:35:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:35:24 ./bin/test-attribution-txt.sh 12:35:24 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo 12:35:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:35:24 $ docker stop --time=1 1e4b2a3f4e3d5850b2722463584ccc62bb41e37338f2c319e0a7dab01d108444 12:35:26 $ docker rm -f --volumes 1e4b2a3f4e3d5850b2722463584ccc62bb41e37338f2c319e0a7dab01d108444 [Pipeline] // withDockerContainer [Pipeline] sh 12:35:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:35:28 Warning: overwriting stash ‘coverage-report’ 12:35:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:35:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:35:29 + ls -al . 12:35:29 total 272 12:35:29 drwxrwxr-x 7 jenkins jenkins 4096 Sep 9 12:30 . 12:35:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 12:27 .. 12:35:29 drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 12:27 .git 12:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 12:27 .github 12:35:29 -rw-rw-r-- 1 jenkins jenkins 272 Sep 9 12:27 .gitignore 12:35:29 -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 12:27 .golangci.yml 12:35:29 -rw-rw-r-- 1 jenkins jenkins 17933 Sep 9 12:27 Attribution.txt 12:35:29 -rw-rw-r-- 1 jenkins jenkins 15941 Sep 9 12:27 CHANGELOG.md 12:35:29 -rw-rw-r-- 1 jenkins jenkins 1755 Sep 9 12:27 Dockerfile 12:35:29 -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 12:27 GOVERNANCE.md 12:35:29 -rw-rw-r-- 1 jenkins jenkins 660 Sep 9 12:27 Jenkinsfile 12:35:29 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 12:27 LICENSE 12:35:29 -rw-rw-r-- 1 jenkins jenkins 1953 Sep 9 12:27 Makefile 12:35:29 -rw-rw-r-- 1 jenkins jenkins 623 Sep 9 12:27 OWNERS.md 12:35:29 -rw-rw-r-- 1 jenkins jenkins 4103 Sep 9 12:27 README.md 12:35:29 -rw-rw-r-- 1 jenkins jenkins 12 Sep 9 12:24 VERSION 12:35:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 12:27 bin 12:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 12:27 cmd 12:35:29 -rw-r--r-- 1 jenkins jenkins 43247 Sep 9 12:34 coverage.out 12:35:29 -rw-rw-r-- 1 jenkins jenkins 6924 Sep 9 12:27 go.mod 12:35:29 -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 12:27 go.sum 12:35:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 12:27 internal 12:35:29 -rw-rw-r-- 1 jenkins jenkins 235 Sep 9 12:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:35:30 + 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=04ce07425684dc49eb1d346851a0a7d2d821c622 --label arch=arm64 --label version=3.2.0-dev.24 . 12:35:30 Sending build context to Docker daemon 19.03MB 12:35:30 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 12:35:30 Step 2/26 : FROM ${BASE} AS builder 12:35:30 ---> 3c2e6a64dfbd 12:35:30 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:35:30 ---> Running in efc64ce5d6ab 12:35:31 Removing intermediate container efc64ce5d6ab 12:35:31 ---> a948d4576ae3 12:35:31 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 12:35:31 ---> Running in e5a4f818e6cb 12:35:31 Removing intermediate container e5a4f818e6cb 12:35:31 ---> 3a055948713a 12:35:31 Step 5/26 : ARG ADD_BUILD_TAGS="" 12:35:31 ---> Running in 05526bb58273 12:35:31 Removing intermediate container 05526bb58273 12:35:31 ---> c2d4eead4b21 12:35:31 Step 6/26 : WORKDIR /device-virtual-go 12:35:32 ---> Running in ce2f1f8e7637 12:35:32 Removing intermediate container ce2f1f8e7637 12:35:32 ---> cb411ecc3390 12:35:32 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:35:32 ---> Running in da051f39ddc5 12:35:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:35:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:35:34 OK: 271 MiB in 56 packages 12:35:35 Removing intermediate container da051f39ddc5 12:35:35 ---> 69605a1a21cf 12:35:35 Step 8/26 : COPY go.mod vendor* ./ 12:35:36 ---> c1833b683ec9 12:35:36 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:35:36 ---> Running in 98bd9252615e 12:35:39 Removing intermediate container 98bd9252615e 12:35:39 ---> ffa0e337dc93 12:35:39 Step 10/26 : COPY . . 12:35:40 ---> ed74658004d4 12:35:40 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:35:40 ---> Running in 1b5779aa2990 12:35:40 Removing intermediate container 1b5779aa2990 12:35:40 ---> ca555c96096d 12:35:40 Step 12/26 : RUN $MAKE 12:35:40 ---> Running in 9956e40cb4b7 12:35:41 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:39:18 Removing intermediate container 9956e40cb4b7 12:39:18 ---> 724256ce0894 12:39:18 Step 13/26 : FROM alpine:3.18 12:39:18 3.18: Pulling from library/alpine 12:39:18 720f3032cd11: Pulling fs layer 12:39:18 720f3032cd11: Verifying Checksum 12:39:18 720f3032cd11: Download complete 12:39:18 720f3032cd11: Pull complete 12:39:18 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 12:39:18 Status: Downloaded newer image for alpine:3.18 12:39:18 ---> 3e834921e367 12:39:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:39:18 ---> Running in d98b380a5147 12:39:18 Removing intermediate container d98b380a5147 12:39:18 ---> e43939451441 12:39:18 Step 15/26 : RUN apk add --update --no-cache dumb-init 12:39:18 ---> Running in 419493556bd4 12:39:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:39:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:39:20 (1/1) Installing dumb-init (1.2.5-r2) 12:39:20 Executing busybox-1.36.1-r7.trigger 12:39:20 OK: 8 MiB in 16 packages 12:39:21 Removing intermediate container 419493556bd4 12:39:21 ---> 65db7dd139c1 12:39:21 Step 16/26 : RUN apk --no-cache upgrade 12:39:21 ---> Running in 6adee3400008 12:39:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:39:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:39:23 OK: 8 MiB in 16 packages 12:39:24 Removing intermediate container 6adee3400008 12:39:24 ---> 8233ebd725d8 12:39:24 Step 17/26 : WORKDIR / 12:39:24 ---> Running in b445150dc9fa 12:39:25 Removing intermediate container b445150dc9fa 12:39:25 ---> b3338333fd44 12:39:25 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:39:25 ---> 7180059655c2 12:39:25 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 12:39:25 ---> 6f087f3c722a 12:39:25 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 12:39:27 ---> 75668bc1835a 12:39:27 Step 21/26 : EXPOSE 59900 12:39:27 ---> Running in c7512f75b4c4 12:39:27 Removing intermediate container c7512f75b4c4 12:39:27 ---> 30b7d6dc5c1f 12:39:27 Step 22/26 : ENTRYPOINT ["/device-virtual"] 12:39:27 ---> Running in 436b59b3bd4a 12:39:28 Removing intermediate container 436b59b3bd4a 12:39:28 ---> 42eb034bb76b 12:39:28 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:39:28 ---> Running in 2fa47c034cae 12:39:28 Removing intermediate container 2fa47c034cae 12:39:28 ---> a840604ae130 12:39:28 Step 24/26 : LABEL arch=arm64 12:39:28 ---> Running in c621867c5949 12:39:28 Removing intermediate container c621867c5949 12:39:28 ---> 66eda0cc1d13 12:39:28 Step 25/26 : LABEL git_sha=04ce07425684dc49eb1d346851a0a7d2d821c622 12:39:29 ---> Running in b06e8c72b655 12:39:29 Removing intermediate container b06e8c72b655 12:39:29 ---> e20e8fd0b537 12:39:29 Step 26/26 : LABEL version=3.2.0-dev.24 12:39:29 ---> Running in e341cafebf41 12:39:29 Removing intermediate container e341cafebf41 12:39:29 ---> 4210beb41aba 12:39:29 [Warning] One or more build-args [ARCH] were not consumed 12:39:29 Successfully built 4210beb41aba 12:39:29 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 12:39:29 provisioning config files... 12:39:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/180@tmp/config3228457213889094073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:39:30 ---> ****-login.sh 12:39:30 nexus3.edgexfoundry.org:10001 12:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:30 Configure a credential helper to remove this warning. See 12:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:30 12:39:30 Login Succeeded 12:39:30 nexus3.edgexfoundry.org:10002 12:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:30 Configure a credential helper to remove this warning. See 12:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:30 12:39:30 Login Succeeded 12:39:30 nexus3.edgexfoundry.org:10003 12:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:31 Configure a credential helper to remove this warning. See 12:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:31 12:39:31 Login Succeeded 12:39:31 nexus3.edgexfoundry.org:10004 12:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:31 Configure a credential helper to remove this warning. See 12:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:31 12:39:31 Login Succeeded 12:39:31 ****.io 12:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:39:32 Configure a credential helper to remove this warning. See 12:39:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:39:32 12:39:32 Login Succeeded 12:39:32 ---> ****-login.sh ends [Pipeline] } 12:39:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:39:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:39:32 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 12:39:32 04ce07425684dc49eb1d346851a0a7d2d821c622 12:39:32 latest 12:39:32 3.2.0-dev.24 12:39:32 04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24 12:39:32 main 12:39:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:32 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:04ce07425684dc49eb1d346851a0a7d2d821c622 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:04ce07425684dc49eb1d346851a0a7d2d821c622 12:39:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:39:32 db7128996cdf: Preparing 12:39:32 f1132efc214d: Preparing 12:39:32 8087df28b7fd: Preparing 12:39:32 9f66b26a0f7a: Preparing 12:39:32 cbb35a2ac09a: Preparing 12:39:32 4aeaa0e7d41f: Preparing 12:39:32 4aeaa0e7d41f: Waiting 12:39:33 9f66b26a0f7a: Pushed 12:39:33 cbb35a2ac09a: Pushed 12:39:33 8087df28b7fd: Pushed 12:39:33 f1132efc214d: Pushed 12:39:33 4aeaa0e7d41f: Layer already exists 12:39:39 db7128996cdf: Pushed 12:39:39 04ce07425684dc49eb1d346851a0a7d2d821c622: digest: sha256:3773376c17f5ec6594c1077b55f2ff58dd4cfb8367548c42b12602ae08fbe692 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:39:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:39:40 db7128996cdf: Preparing 12:39:40 f1132efc214d: Preparing 12:39:40 8087df28b7fd: Preparing 12:39:40 9f66b26a0f7a: Preparing 12:39:40 cbb35a2ac09a: Preparing 12:39:40 4aeaa0e7d41f: Preparing 12:39:40 4aeaa0e7d41f: Waiting 12:39:40 db7128996cdf: Layer already exists 12:39:40 cbb35a2ac09a: Layer already exists 12:39:40 8087df28b7fd: Layer already exists 12:39:40 9f66b26a0f7a: Layer already exists 12:39:40 f1132efc214d: Layer already exists 12:39:40 4aeaa0e7d41f: Layer already exists 12:39:40 latest: digest: sha256:3773376c17f5ec6594c1077b55f2ff58dd4cfb8367548c42b12602ae08fbe692 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.24 12:39:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:39:41 db7128996cdf: Preparing 12:39:41 f1132efc214d: Preparing 12:39:41 8087df28b7fd: Preparing 12:39:41 9f66b26a0f7a: Preparing 12:39:41 cbb35a2ac09a: Preparing 12:39:41 4aeaa0e7d41f: Preparing 12:39:41 cbb35a2ac09a: Layer already exists 12:39:41 8087df28b7fd: Layer already exists 12:39:41 9f66b26a0f7a: Layer already exists 12:39:41 f1132efc214d: Layer already exists 12:39:41 db7128996cdf: Layer already exists 12:39:41 4aeaa0e7d41f: Layer already exists 12:39:41 3.2.0-dev.24: digest: sha256:3773376c17f5ec6594c1077b55f2ff58dd4cfb8367548c42b12602ae08fbe692 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24 12:39:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:39:42 db7128996cdf: Preparing 12:39:42 f1132efc214d: Preparing 12:39:42 8087df28b7fd: Preparing 12:39:42 9f66b26a0f7a: Preparing 12:39:42 cbb35a2ac09a: Preparing 12:39:42 4aeaa0e7d41f: Preparing 12:39:42 4aeaa0e7d41f: Waiting 12:39:42 9f66b26a0f7a: Layer already exists 12:39:42 8087df28b7fd: Layer already exists 12:39:42 db7128996cdf: Layer already exists 12:39:42 cbb35a2ac09a: Layer already exists 12:39:42 f1132efc214d: Layer already exists 12:39:42 4aeaa0e7d41f: Layer already exists 12:39:42 04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24: digest: sha256:3773376c17f5ec6594c1077b55f2ff58dd4cfb8367548c42b12602ae08fbe692 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 12:39:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:39:43 db7128996cdf: Preparing 12:39:43 f1132efc214d: Preparing 12:39:43 8087df28b7fd: Preparing 12:39:43 9f66b26a0f7a: Preparing 12:39:43 cbb35a2ac09a: Preparing 12:39:43 4aeaa0e7d41f: Preparing 12:39:43 4aeaa0e7d41f: Waiting 12:39:43 f1132efc214d: Layer already exists 12:39:43 db7128996cdf: Layer already exists 12:39:43 cbb35a2ac09a: Layer already exists 12:39:43 8087df28b7fd: Layer already exists 12:39:43 9f66b26a0f7a: Layer already exists 12:39:43 4aeaa0e7d41f: Layer already exists 12:39:43 main: digest: sha256:3773376c17f5ec6594c1077b55f2ff58dd4cfb8367548c42b12602ae08fbe692 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:39:43 ===================================================== [Pipeline] echo 12:39:43 taggedImages: 12:39:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:04ce07425684dc49eb1d346851a0a7d2d821c622 12:39:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:39:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.24 12:39:43 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:04ce07425684dc49eb1d346851a0a7d2d821c622-3.2.0-dev.24 12:39:43 - 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 12:39:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:39:44 12:39:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:39:44 arm64: Pulling from edgex-lftools-log-publisher 12:39:44 8998bd30e6a1: Pulling fs layer 12:39:44 04944245beec: Pulling fs layer 12:39:44 699f458cf7ca: Pulling fs layer 12:39:44 765212b225bb: Pulling fs layer 12:39:44 f23df028b6ca: Pulling fs layer 12:39:44 d65c8cfc05b1: Pulling fs layer 12:39:44 2437ff75d9bd: Pulling fs layer 12:39:44 765212b225bb: Waiting 12:39:44 f23df028b6ca: Waiting 12:39:44 d65c8cfc05b1: Waiting 12:39:44 2437ff75d9bd: Waiting 12:39:44 04944245beec: Verifying Checksum 12:39:44 04944245beec: Download complete 12:39:44 765212b225bb: Verifying Checksum 12:39:44 765212b225bb: Download complete 12:39:44 f23df028b6ca: Download complete 12:39:44 d65c8cfc05b1: Verifying Checksum 12:39:44 d65c8cfc05b1: Download complete 12:39:45 699f458cf7ca: Verifying Checksum 12:39:45 699f458cf7ca: Download complete 12:39:45 8998bd30e6a1: Verifying Checksum 12:39:45 8998bd30e6a1: Download complete 12:39:48 2437ff75d9bd: Verifying Checksum 12:39:48 2437ff75d9bd: Download complete 12:39:50 8998bd30e6a1: Pull complete 12:39:50 04944245beec: Pull complete 12:39:52 699f458cf7ca: Pull complete 12:39:52 765212b225bb: Pull complete 12:39:53 f23df028b6ca: Pull complete 12:39:53 d65c8cfc05b1: Pull complete 12:40:12 2437ff75d9bd: Pull complete 12:40:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:40:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:40:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:40:12 prd-ubuntu20.04-docker-arm64-4c-16g-9856 does not seem to be running inside a container 12:40:12 $ 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/180 -v /w/workspace/device-virtual-go/180:/w/workspace/device-virtual-go/180:rw,z -v /w/workspace/device-virtual-go/180@tmp:/w/workspace/device-virtual-go/180@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 12:40:15 $ docker top afdd3bcfb907ea2aa04f02209e236140d0e6da8b7519cd1468abc33750dc7d46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:40:16 ---> job-cost.sh 12:40:16 lf-activate-venv: SKIPPING 12:40:16 INFO: No Stack... 12:40:16 INFO: Retrieving Pricing Info for: v3-standard-4 12:40:17 INFO: Archiving Costs [Pipeline] sh 12:40:18 + cat /w/workspace/device-virtual-go/180/archives/cost.csv 12:40:18 + cut -d, -f6 [Pipeline] lock 12:40:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-180-stack-cost] 12:40:18 Resource [jenkins-edgexfoundry-device-virtual-go-main-180-stack-cost] did not exist. Created. 12:40:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:40:19 /w/workspace/device-virtual-go/180@tmp/durable-3f387894/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:40:19 + echo total: 0.10999999940395355 [Pipeline] stash 12:40:19 Warning: overwriting stash ‘stack-cost’ 12:40:19 Stashed 1 file(s) [Pipeline] } 12:40:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 12:40:19 $ docker stop --time=1 afdd3bcfb907ea2aa04f02209e236140d0e6da8b7519cd1468abc33750dc7d46 12:40:21 $ docker rm -f --volumes afdd3bcfb907ea2aa04f02209e236140d0e6da8b7519cd1468abc33750dc7d46 [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 12:40:21 provisioning config files... 12:40:21 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2367507785717105584tmp [Pipeline] { [Pipeline] sh 12:40:22 + set +x 12:40:22 + curl -s https://codecov.io/bash 12:40:22 + bash -s -- 12:40:22 12:40:22 _____ _ 12:40:22 / ____| | | 12:40:22 | | ___ __| | ___ ___ _____ __ 12:40:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:40:22 | |___| (_) | (_| | __/ (_| (_) \ V / 12:40:22 \_____\___/ \__,_|\___|\___\___/ \_/ 12:40:22 Bash-1.0.6 12:40:22 12:40:22 12:40:22 ==> git version 2.25.1 found 12:40:22 ==> 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 12:40:22 Release-Date: 2020-01-08 12:40:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:40:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:40:22 ==> Jenkins CI detected. 12:40:22 current dir:  /w/workspace/exfoundry_device-virtual-go_main 12:40:22 project root: . 12:40:22 --> token set from env 12:40:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:40:22 ==> Running gcov in . (disable via -X gcov) 12:40:22 ==> Python coveragepy not found 12:40:22 ==> Searching for coverage reports in: 12:40:22 + . 12:40:22 -> Found 1 reports 12:40:22 ==> Detecting git/mercurial file structure 12:40:22 ==> Reading reports 12:40:22 + ./coverage.out bytes=43247 12:40:22 ==> Appending adjustments 12:40:22 https://docs.codecov.io/docs/fixing-reports 12:40:22 + Found adjustments 12:40:22 ==> Gzipping contents 12:40:22 8.0K /tmp/codecov.RpaV6f.gz 12:40:22 ==> Uploading reports 12:40:22 url: https://codecov.io 12:40:22 query: branch=main&commit=04ce07425684dc49eb1d346851a0a7d2d821c622&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:40:22 -> Pinging Codecov 12:40:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=04ce07425684dc49eb1d346851a0a7d2d821c622&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:40:22 -> Uploading to 12:40:22 https://storage.googleapis.com/codecov/v4/raw/2024-09-09/5E52B4B073DB2E39498172D8E973AA87/04ce07425684dc49eb1d346851a0a7d2d821c622/09700c51-d841-48fe-8dca-cb9a39eb2978.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T124022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbc2275c9f523e7cf4e664c6efbc0c3ff8447c7172e0f0c20271a83f2d6ab5c8 12:40:22 % Total % Received % Xferd Average Speed Time Time Time Current 12:40:22 Dload Upload Total Spent Left Speed 12:40:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 19540 --:--:-- --:--:-- --:--:-- 19465 12:40:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/04ce07425684dc49eb1d346851a0a7d2d821c622 [Pipeline] } 12:40:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:40:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:40:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:40:23 12:40:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:40:23 latest: Pulling from edgex-devops/edgex-snyk-go 12:40:23 619be1103602: Already exists 12:40:23 f8ea3408117e: Pulling fs layer 12:40:23 91320369b822: Pulling fs layer 12:40:23 0406650e8295: Pulling fs layer 12:40:23 4f4fb700ef54: Pulling fs layer 12:40:23 4f4fb700ef54: Waiting 12:40:23 96d80e3f36e1: Pulling fs layer 12:40:23 bcf3aedb951c: Pulling fs layer 12:40:23 96d80e3f36e1: Waiting 12:40:23 bcf3aedb951c: Waiting 12:40:23 0406650e8295: Verifying Checksum 12:40:23 0406650e8295: Download complete 12:40:23 f8ea3408117e: Verifying Checksum 12:40:23 f8ea3408117e: Download complete 12:40:23 4f4fb700ef54: Verifying Checksum 12:40:23 4f4fb700ef54: Download complete 12:40:23 f8ea3408117e: Pull complete 12:40:24 96d80e3f36e1: Download complete 12:40:24 91320369b822: Verifying Checksum 12:40:24 91320369b822: Download complete 12:40:25 bcf3aedb951c: Verifying Checksum 12:40:25 bcf3aedb951c: Download complete 12:40:27 91320369b822: Pull complete 12:40:27 0406650e8295: Pull complete 12:40:27 4f4fb700ef54: Pull complete 12:40:28 96d80e3f36e1: Pull complete 12:40:31 bcf3aedb951c: Pull complete 12:40:31 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 12:40:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 12:40:32 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:40:32 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:40:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 12:40:36 $ docker top b7f3da350d637a6e04a3ef628da9ff9721332096ff0de2dfa58c6a73f1b261cd -eo pid,comm [Pipeline] { [Pipeline] sh 12:40:36 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 12:40:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 12:40:36 + set -o pipefail 12:40:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 12:40:44 12:40:44 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 12:40:44 12:40:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/1d853574-2036-4c06-ab74-da706e923c68 12:40:44 12:40:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:40:44 12:40:44 12:40:44 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 12:40:44 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 12:40:44 $ docker stop --time=1 b7f3da350d637a6e04a3ef628da9ff9721332096ff0de2dfa58c6a73f1b261cd 12:40:49 $ docker rm -f --volumes b7f3da350d637a6e04a3ef628da9ff9721332096ff0de2dfa58c6a73f1b261cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:40:50 + git log --format=format:%s -1 04ce07425684dc49eb1d346851a0a7d2d821c622 [Pipeline] sh 12:40:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:40:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:40:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:40:51 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:40:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:40:51 $ docker top cc4af1385af036d55d329d628ea432c350ec3d9aa5dcc562b99b1e9593812a25 -eo pid,comm 12:40:51 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). 12:40:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:40:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:40:52 [ssh-agent] Looking for ssh-agent implementation... 12:40:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:40:52 $ docker exec cc4af1385af036d55d329d628ea432c350ec3d9aa5dcc562b99b1e9593812a25 ssh-agent 12:40:52 SSH_AUTH_SOCK=/tmp/ssh-YjK6zznZbOGb/agent.32 12:40:52 SSH_AGENT_PID=38 12:40:52 Running ssh-add (command line suppressed) 12:40:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9225266642827755927.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9225266642827755927.key) 12:40:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:40:52 + git semver tag 12:40:52 2024-09-09 12:40:52,820 [run_tag] DEBUG tag force:False 12:40:52 2024-09-09 12:40:52,821 [check_head_tag] DEBUG check head tag 12:40:52 2024-09-09 12:40:52,822 [execute] INFO git cat-file --batch-check 12:40:52 2024-09-09 12:40:52,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:40:52 2024-09-09 12:40:52,825 [execute] INFO git cat-file --batch 12:40:52 2024-09-09 12:40:52,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:40:52 2024-09-09 12:40:52,849 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:40:52 2024-09-09 12:40:52,850 [execute] INFO git tag -a v3.2.0-dev.24 -m v3.2.0-dev.24 12:40:52 2024-09-09 12:40:52,850 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.24', '-m', 'v3.2.0-dev.24'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:40:52 2024-09-09 12:40:52,855 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:40:52 3.2.0-dev.24 [Pipeline] } 12:40:52 $ docker exec --env ******** --env ******** cc4af1385af036d55d329d628ea432c350ec3d9aa5dcc562b99b1e9593812a25 ssh-agent -k 12:40:53 unset SSH_AUTH_SOCK; 12:40:53 unset SSH_AGENT_PID; 12:40:53 echo Agent pid 38 killed; 12:40:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:40:53 + git semver [Pipeline] } 12:40:53 $ docker stop --time=1 cc4af1385af036d55d329d628ea432c350ec3d9aa5dcc562b99b1e9593812a25 12:40:54 $ docker rm -f --volumes cc4af1385af036d55d329d628ea432c350ec3d9aa5dcc562b99b1e9593812a25 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:40:55 12:40:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:40:55 0.23.1-centos7: Pulling from edgex-lftools 12:40:55 ab5ef0e58194: Pulling fs layer 12:40:55 9712f1f96733: Pulling fs layer 12:40:55 63f879dbbcfc: Pulling fs layer 12:40:55 0d9ebad4ef96: Pulling fs layer 12:40:55 e9a5061849ea: Pulling fs layer 12:40:55 d747dcd14b5f: Pulling fs layer 12:40:55 2de7ff778b66: Pulling fs layer 12:40:55 e9a5061849ea: Waiting 12:40:55 d747dcd14b5f: Waiting 12:40:55 0d9ebad4ef96: Waiting 12:40:55 9712f1f96733: Verifying Checksum 12:40:55 9712f1f96733: Download complete 12:40:55 63f879dbbcfc: Download complete 12:40:55 e9a5061849ea: Verifying Checksum 12:40:55 e9a5061849ea: Download complete 12:40:55 d747dcd14b5f: Verifying Checksum 12:40:55 d747dcd14b5f: Download complete 12:40:56 0d9ebad4ef96: Verifying Checksum 12:40:56 ab5ef0e58194: Verifying Checksum 12:40:56 ab5ef0e58194: Download complete 12:40:56 2de7ff778b66: Verifying Checksum 12:40:56 2de7ff778b66: Download complete 12:40:59 ab5ef0e58194: Pull complete 12:40:59 9712f1f96733: Pull complete 12:40:59 63f879dbbcfc: Pull complete 12:41:03 0d9ebad4ef96: Pull complete 12:41:04 e9a5061849ea: Pull complete 12:41:04 d747dcd14b5f: Pull complete 12:41:05 2de7ff778b66: Pull complete 12:41:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:41:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:41:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:05 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:41:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:41:12 $ docker top f2bb8eadcf7496421f9947953c6cf68bdb2c6c1fa936e159198736abcdb2a6bf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:41:12 provisioning config files... 12:41:12 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5527924612610125527tmp 12:41:12 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3082543953687504126tmp 12:41:12 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9042212574902168818tmp [Pipeline] { [Pipeline] echo 12:41:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:41:13 ---> sigul-configuration.sh 12:41:13 gpg: directory `/root/.gnupg' created 12:41:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:41:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:41:13 gpg: keyring `/root/.gnupg/secring.gpg' created 12:41:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:41:13 gpg: CAST5 encrypted data 12:41:13 gpg: encrypted with 1 passphrase 12:41:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:41:13 + mkdir /home/jenkins 12:41:13 + mkdir /home/jenkins/sigul [Pipeline] sh 12:41:13 + 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 12:41:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:41:14 ---> sigul-install.sh 12:41:14 Sigul already installed; skipping installation. [Pipeline] sh 12:41:14 + git tag --list 12:41:14 v1.0.0 12:41:14 v1.1.0 12:41:14 v1.1.1 12:41:14 v1.2.1 12:41:14 v1.2.2 12:41:14 v1.2.3 12:41:14 v1.3.0 12:41:14 v1.3.1 12:41:14 v2.0.0 12:41:14 v2.1.0 12:41:14 v2.1.1 12:41:14 v2.2.0 12:41:14 v2.3.0 12:41:14 v3.0 12:41:14 v3.0.0 12:41:14 v3.1 12:41:14 v3.1.0 12:41:14 v3.1.0-dev.1 12:41:14 v3.1.0-dev.10 12:41:14 v3.1.0-dev.11 12:41:14 v3.1.0-dev.12 12:41:14 v3.1.0-dev.13 12:41:14 v3.1.0-dev.14 12:41:14 v3.1.0-dev.15 12:41:14 v3.1.0-dev.16 12:41:14 v3.1.0-dev.17 12:41:14 v3.1.0-dev.18 12:41:14 v3.1.0-dev.19 12:41:14 v3.1.0-dev.2 12:41:14 v3.1.0-dev.20 12:41:14 v3.1.0-dev.21 12:41:14 v3.1.0-dev.22 12:41:14 v3.1.0-dev.23 12:41:14 v3.1.0-dev.24 12:41:14 v3.1.0-dev.25 12:41:14 v3.1.0-dev.26 12:41:14 v3.1.0-dev.27 12:41:14 v3.1.0-dev.28 12:41:14 v3.1.0-dev.29 12:41:14 v3.1.0-dev.3 12:41:14 v3.1.0-dev.30 12:41:14 v3.1.0-dev.4 12:41:14 v3.1.0-dev.5 12:41:14 v3.1.0-dev.6 12:41:14 v3.1.0-dev.7 12:41:14 v3.1.0-dev.8 12:41:14 v3.1.0-dev.9 12:41:14 v3.1.1 12:41:14 v3.1.1-dev.1 12:41:14 v3.2.0-dev.1 12:41:14 v3.2.0-dev.10 12:41:14 v3.2.0-dev.11 12:41:14 v3.2.0-dev.12 12:41:14 v3.2.0-dev.13 12:41:14 v3.2.0-dev.14 12:41:14 v3.2.0-dev.15 12:41:14 v3.2.0-dev.16 12:41:14 v3.2.0-dev.17 12:41:14 v3.2.0-dev.18 12:41:14 v3.2.0-dev.19 12:41:14 v3.2.0-dev.2 12:41:14 v3.2.0-dev.20 12:41:14 v3.2.0-dev.21 12:41:14 v3.2.0-dev.22 12:41:14 v3.2.0-dev.23 12:41:14 v3.2.0-dev.24 12:41:14 v3.2.0-dev.3 12:41:14 v3.2.0-dev.4 12:41:14 v3.2.0-dev.5 12:41:14 v3.2.0-dev.6 12:41:14 v3.2.0-dev.7 12:41:14 v3.2.0-dev.8 12:41:14 v3.2.0-dev.9 [Pipeline] sh 12:41:14 + lftools sign git-tag v3.2.0-dev.24 12:41:15 Signing Git tag with Sigul... 12:41:15 Signing v3.2.0-dev.24 [Pipeline] echo 12:41:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:41:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:41:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:41:16 $ docker stop --time=1 f2bb8eadcf7496421f9947953c6cf68bdb2c6c1fa936e159198736abcdb2a6bf 12:41:17 $ docker rm -f --volumes f2bb8eadcf7496421f9947953c6cf68bdb2c6c1fa936e159198736abcdb2a6bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:41:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:41:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:41:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:18 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:41:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:41:18 $ docker top de31679f2fc81490928bd5f1c420a3d22f95fb8be84819f8b4af6f6557808041 -eo pid,comm 12:41:18 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). 12:41:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:41:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:41:18 [ssh-agent] Looking for ssh-agent implementation... 12:41:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:41:18 $ docker exec de31679f2fc81490928bd5f1c420a3d22f95fb8be84819f8b4af6f6557808041 ssh-agent 12:41:19 SSH_AUTH_SOCK=/tmp/ssh-cz1GZ4dRtNZU/agent.32 12:41:19 SSH_AGENT_PID=39 12:41:19 Running ssh-add (command line suppressed) 12:41:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14308997408332263037.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14308997408332263037.key) 12:41:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:41:19 + git semver bump pre 12:41:19 2024-09-09 12:41:19,639 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:41:19 2024-09-09 12:41:19,639 [bump_version] DEBUG bumping version:3.2.0-dev.24 on axis:pre with prefix:dev 12:41:19 2024-09-09 12:41:19,639 [bump_version] DEBUG bumped version:3.2.0-dev.25 12:41:19 2024-09-09 12:41:19,639 [write_version] DEBUG write version:3.2.0-dev.25 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 12:41:19 2024-09-09 12:41:19,639 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:41:19 2024-09-09 12:41:19,639 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:41:19 2024-09-09 12:41:19,641 [execute] INFO git cat-file --batch-check 12:41:19 2024-09-09 12:41:19,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:41:19 2024-09-09 12:41:19,647 [execute] INFO git cat-file --batch 12:41:19 2024-09-09 12:41:19,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:41:19 2024-09-09 12:41:19,653 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:41:19 3.2.0-dev.25 [Pipeline] } 12:41:19 $ docker exec --env ******** --env ******** de31679f2fc81490928bd5f1c420a3d22f95fb8be84819f8b4af6f6557808041 ssh-agent -k 12:41:19 unset SSH_AUTH_SOCK; 12:41:19 unset SSH_AGENT_PID; 12:41:19 echo Agent pid 39 killed; 12:41:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:41:20 + git semver [Pipeline] } 12:41:20 $ docker stop --time=1 de31679f2fc81490928bd5f1c420a3d22f95fb8be84819f8b4af6f6557808041 12:41:21 $ docker rm -f --volumes de31679f2fc81490928bd5f1c420a3d22f95fb8be84819f8b4af6f6557808041 [Pipeline] // withDockerContainer [Pipeline] sh 12:41:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:41:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:41:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:22 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:41:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:41:22 $ docker top 010f4e6a01f6590bd78abe1b4d208d5218eb0ae7f77fd70f5314b9e9195b5996 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:41:22 [ssh-agent] Looking for ssh-agent implementation... 12:41:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:41:23 $ docker exec 010f4e6a01f6590bd78abe1b4d208d5218eb0ae7f77fd70f5314b9e9195b5996 ssh-agent 12:41:23 SSH_AUTH_SOCK=/tmp/ssh-kgnlnX3roZ8r/agent.32 12:41:23 SSH_AGENT_PID=38 12:41:23 Running ssh-add (command line suppressed) 12:41:23 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1248037416493066300.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1248037416493066300.key) 12:41:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:41:23 + git semver push 12:41:23 2024-09-09 12:41:23,821 [run_push] DEBUG push 12:41:23 2024-09-09 12:41:23,822 [execute] INFO git cat-file --batch-check 12:41:23 2024-09-09 12:41:23,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:41:23 2024-09-09 12:41:23,826 [execute] INFO git rev-list b1a748214e9bdd908708a1f430bc7b4738621c8c -- 12:41:23 2024-09-09 12:41:23,826 [execute] DEBUG Popen(['git', 'rev-list', 'b1a748214e9bdd908708a1f430bc7b4738621c8c', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:41:23 2024-09-09 12:41:23,836 [execute] INFO git fetch -v origin 12:41:23 2024-09-09 12:41:23,837 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:41:24 2024-09-09 12:41:24,305 [run_push] DEBUG no remote changes detected 12:41:24 2024-09-09 12:41:24,306 [execute] INFO git push origin semver 12:41:24 2024-09-09 12:41:24,306 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:41:25 2024-09-09 12:41:25,035 [run_push] DEBUG push all version tags 12:41:25 2024-09-09 12:41:25,036 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:41:25 2024-09-09 12:41:25,037 [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) 12:41:25 2024-09-09 12:41:25,745 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:41:25 3.2.0-dev.25 [Pipeline] } 12:41:25 $ docker exec --env ******** --env ******** 010f4e6a01f6590bd78abe1b4d208d5218eb0ae7f77fd70f5314b9e9195b5996 ssh-agent -k 12:41:26 unset SSH_AUTH_SOCK; 12:41:26 unset SSH_AGENT_PID; 12:41:26 echo Agent pid 38 killed; 12:41:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:41:26 + git semver [Pipeline] } 12:41:26 $ docker stop --time=1 010f4e6a01f6590bd78abe1b4d208d5218eb0ae7f77fd70f5314b9e9195b5996 12:41:27 $ docker rm -f --volumes 010f4e6a01f6590bd78abe1b4d208d5218eb0ae7f77fd70f5314b9e9195b5996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:41:29 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 12:41:29 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:41:29 total 16 12:41:29 drwxr-xr-x 3 root root 4096 Sep 9 12:28 . 12:41:29 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 12:41 .. 12:41:29 drwxr-xr-x 2 root root 4096 Sep 9 12:28 cost 12:41:29 -rw-r--r-- 1 root root 89 Sep 9 12:28 cost.csv 12:41:29 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 12:41:29 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:41:29 total 16 12:41:29 drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 12:28 . 12:41:29 drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 12:41 .. 12:41:29 drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 12:28 cost 12:41:29 -rw-r--r-- 1 jenkins jenkins 89 Sep 9 12:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:41:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:41:31 ---> package-listing.sh 12:41:31 ++ facter osfamily 12:41:31 ++ tr '[:upper:]' '[:lower:]' 12:41:31 + OS_FAMILY=debian 12:41:31 + workspace=/w/workspace/exfoundry_device-virtual-go_main 12:41:31 + START_PACKAGES=/tmp/packages_start.txt 12:41:31 + END_PACKAGES=/tmp/packages_end.txt 12:41:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:41:31 + PACKAGES=/tmp/packages_start.txt 12:41:31 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:41:31 + PACKAGES=/tmp/packages_end.txt 12:41:31 + case "${OS_FAMILY}" in 12:41:31 + dpkg -l 12:41:31 + grep '^ii' 12:41:31 + '[' -f /tmp/packages_start.txt ']' 12:41:31 + '[' -f /tmp/packages_end.txt ']' 12:41:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:41:31 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:41:31 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 12:41:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 12:41:31 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 12:41:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:41:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:32 prd-ubuntu20.04-docker-8c-8g-9854 does not seem to be running inside a container 12:41:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:41:32 $ docker top 6f48802ba833b4e4275ca5b494026cc3a6e3acae343e7cf68e63b44bd42ab679 -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:32 + touch /tmp/pre-build-complete [Pipeline] sh 12:41:33 + mkdir -p /var/log/sysstat [Pipeline] sh 12:41:33 + ls /var/log/sa-host 12:41:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:41:33 provisioning config files... 12:41:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14243676364349342630tmp [Pipeline] { [Pipeline] echo 12:41:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:41:33 ---> create-netrc.sh [Pipeline] } 12:41:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:41:34 ---> python-tools-install.sh [Pipeline] echo 12:41:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:41:34 ---> sudo-logs.sh 12:41:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:41:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:41:34 ---> job-cost.sh 12:41:34 lf-activate-venv: SKIPPING 12:41:34 DEBUG: total: 0.2199999988079071 12:41:34 INFO: Retrieving Stack Cost... 12:41:35 INFO: Retrieving Pricing Info for: v3-standard-8 12:41:35 INFO: Archiving Costs [Pipeline] echo 12:41:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:41:35 ---> logs-deploy.sh 12:41:35 lf-activate-venv: SKIPPING 12:41:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/180 12:41:35 INFO: archiving workspace using pattern(s): 12:41:36 Archives upload complete. 12:41:37 INFO: archiving logs to Nexus