Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Jenkins-Imposed API Limiter: Current quota for Github API usage has 675 remaining (1 over budget). Next quota of 5000 in 6 min 49 sec. Sleeping for 26 sec. Jenkins is attempting to evenly distribute GitHub API requests. To configure a different rate limiting strategy, such as having Jenkins restrict GitHub API requests only when near or above the GitHub rate limit, go to "GitHub API usage" under "Configure System" in the Jenkins settings. Obtained Jenkinsfile from df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 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-ssh13203588296035966500.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14195434658447831190.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11521670399363741808.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh9771580592228355551.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-ssh13548341617979441850.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 ‘prd-ubuntu20.04-docker-8c-8g-167’ is offline Running on prd-ubuntu20.04-docker-8c-8g-173 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 (main) Commit message: "Merge pull request #465 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11" > git config core.sparsecheckout # timeout=10 > git checkout -f df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 # timeout=10 > git rev-list --no-walk 924acc26038ae5c566a4069cec42ce4481862670 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:22:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:22:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:22:32 ========================================================= 03:22:32 EdgeX Global Pipelines Version Info 03:22:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:22:33 ------------------- 03:22:33 stable info: 03:22:33 ------------------- 03:22:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:22:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:22:33 Message: update stable to v1.0.258 03:22:34 ------------------- 03:22:34 experimental info: 03:22:34 ------------------- 03:22:34 Commited By: **** collab-it+edgex@linuxfoundation.org 03:22:34 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:22:34 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df5aa1d [Pipeline] echo 03:22:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:34 provisioning config files... 03:22:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8143878468616737497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:35 ---> ****-login.sh 03:22:35 nexus3.edgexfoundry.org:10001 03:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:35 Configure a credential helper to remove this warning. See 03:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:35 03:22:35 Login Succeeded 03:22:35 nexus3.edgexfoundry.org:10002 03:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:35 Configure a credential helper to remove this warning. See 03:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:35 03:22:35 Login Succeeded 03:22:35 nexus3.edgexfoundry.org:10003 03:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:35 Configure a credential helper to remove this warning. See 03:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:35 03:22:35 Login Succeeded 03:22:35 nexus3.edgexfoundry.org:10004 03:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:36 Configure a credential helper to remove this warning. See 03:22:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:36 03:22:36 Login Succeeded 03:22:36 ****.io 03:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:36 Configure a credential helper to remove this warning. See 03:22:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:36 03:22:36 Login Succeeded 03:22:36 ---> ****-login.sh ends [Pipeline] } 03:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:22:36 + git rev-list -1 --merges df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2~1..df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [Pipeline] echo 03:22:36 -----------> git rev-list -1 --merges df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2~1..df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:22:36 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [false] [Pipeline] sh 03:22:37 + git log --format=format:%s -1 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [Pipeline] echo 03:22:37 ========================================================= 03:22:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:22:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:22:37 + git log --format=format:%s -1 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [Pipeline] echo 03:22:37 [semverPrep] GIT_COMMIT: df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2, Commit Message: Merge pull request #465 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11 [Pipeline] echo 03:22:37 [semverPrep] This is not a build commit. [Pipeline] sh 03:22:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:22:37 + grep -v github /etc/ssh/ssh_known_hosts 03:22:37 + [ -e /tmp/ssh_known_hosts ] 03:22:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:22:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:22:37 + sudo tee -a /etc/ssh/ssh_known_hosts 03:22:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:38 03:22:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:38 0.1.4: Pulling from edgex-devops/py-git-semver 03:22:38 b85a868b505f: Pulling fs layer 03:22:38 e2be974225ed: Pulling fs layer 03:22:38 339a4e72a1f5: Pulling fs layer 03:22:38 988bab9f4d93: Pulling fs layer 03:22:38 1469e6f7b9e6: Pulling fs layer 03:22:38 eaf3925da568: Pulling fs layer 03:22:38 bab4dde63d76: Pulling fs layer 03:22:38 bde34c3a00c8: Pulling fs layer 03:22:38 b352a97aabf1: Pulling fs layer 03:22:38 4872d77fe225: Pulling fs layer 03:22:38 5851b861e8e6: Pulling fs layer 03:22:38 4872d77fe225: Waiting 03:22:38 5851b861e8e6: Waiting 03:22:38 bab4dde63d76: Waiting 03:22:38 988bab9f4d93: Waiting 03:22:38 b352a97aabf1: Waiting 03:22:38 bde34c3a00c8: Waiting 03:22:38 eaf3925da568: Waiting 03:22:38 e2be974225ed: Verifying Checksum 03:22:38 e2be974225ed: Download complete 03:22:38 988bab9f4d93: Verifying Checksum 03:22:38 988bab9f4d93: Download complete 03:22:38 1469e6f7b9e6: Verifying Checksum 03:22:38 1469e6f7b9e6: Download complete 03:22:38 eaf3925da568: Verifying Checksum 03:22:38 eaf3925da568: Download complete 03:22:38 339a4e72a1f5: Verifying Checksum 03:22:38 339a4e72a1f5: Download complete 03:22:38 bde34c3a00c8: Download complete 03:22:38 b352a97aabf1: Verifying Checksum 03:22:38 b352a97aabf1: Download complete 03:22:38 4872d77fe225: Download complete 03:22:38 b85a868b505f: Verifying Checksum 03:22:38 b85a868b505f: Download complete 03:22:38 5851b861e8e6: Verifying Checksum 03:22:38 5851b861e8e6: Download complete 03:22:38 bab4dde63d76: Verifying Checksum 03:22:38 bab4dde63d76: Download complete 03:22:39 b85a868b505f: Pull complete 03:22:40 e2be974225ed: Pull complete 03:22:40 339a4e72a1f5: Pull complete 03:22:40 988bab9f4d93: Pull complete 03:22:40 1469e6f7b9e6: Pull complete 03:22:40 eaf3925da568: Pull complete 03:22:42 bab4dde63d76: Pull complete 03:22:42 bde34c3a00c8: Pull complete 03:22:42 b352a97aabf1: Pull complete 03:22:43 4872d77fe225: Pull complete 03:22:43 5851b861e8e6: Pull complete 03:22:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:22:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:22:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:43 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:22:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:22:47 $ docker top 7827f2f6619a28d3ceb3c19774dfee9173adb1ecf13b68a4ef5a5c7df13d86ae -eo pid,comm 03:22:48 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). 03:22:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:22:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:48 [ssh-agent] Looking for ssh-agent implementation... 03:22:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:48 $ docker exec 7827f2f6619a28d3ceb3c19774dfee9173adb1ecf13b68a4ef5a5c7df13d86ae ssh-agent 03:22:48 SSH_AUTH_SOCK=/tmp/ssh-ts3AFZM0Q1JN/agent.32 03:22:48 SSH_AGENT_PID=38 03:22:48 Running ssh-add (command line suppressed) 03:22:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16441382176714076253.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16441382176714076253.key) 03:22:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:48 + git tag --points-at HEAD [Pipeline] } 03:22:48 $ docker exec --env ******** --env ******** 7827f2f6619a28d3ceb3c19774dfee9173adb1ecf13b68a4ef5a5c7df13d86ae ssh-agent -k 03:22:48 unset SSH_AUTH_SOCK; 03:22:48 unset SSH_AGENT_PID; 03:22:48 echo Agent pid 38 killed; 03:22:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:22:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:22:48 [ssh-agent] Looking for ssh-agent implementation... 03:22:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:22:49 $ docker exec 7827f2f6619a28d3ceb3c19774dfee9173adb1ecf13b68a4ef5a5c7df13d86ae ssh-agent 03:22:49 SSH_AUTH_SOCK=/tmp/ssh-VbaYTljOBzyJ/agent.71 03:22:49 SSH_AGENT_PID=77 03:22:49 Running ssh-add (command line suppressed) 03:22:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18279122584289318837.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18279122584289318837.key) 03:22:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:22:49 + git semver init 03:22:49 2024-03-17 03:22:49,722 [run_init] DEBUG init version:0.0.0 force:False 03:22:49 2024-03-17 03:22:49,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 03:22:49 2024-03-17 03:22:49,723 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 03:22:49 2024-03-17 03:22:49,724 [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) 03:22:51 2024-03-17 03:22:51,118 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 03:22:51 2024-03-17 03:22:51,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 03:22:51 2024-03-17 03:22:51,119 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:22:51 2024-03-17 03:22:51,119 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:22:51 3.2.0-dev.9 [Pipeline] } 03:22:51 $ docker exec --env ******** --env ******** 7827f2f6619a28d3ceb3c19774dfee9173adb1ecf13b68a4ef5a5c7df13d86ae ssh-agent -k 03:22:51 unset SSH_AUTH_SOCK; 03:22:51 unset SSH_AGENT_PID; 03:22:51 echo Agent pid 77 killed; 03:22:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:22:51 + git semver [Pipeline] } 03:22:51 $ docker stop --time=1 7827f2f6619a28d3ceb3c19774dfee9173adb1ecf13b68a4ef5a5c7df13d86ae 03:22:53 $ docker rm -f --volumes 7827f2f6619a28d3ceb3c19774dfee9173adb1ecf13b68a4ef5a5c7df13d86ae [Pipeline] // withDockerContainer [Pipeline] sh 03:22:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:22:54 Stashed 1 file(s) [Pipeline] echo 03:22:54 [edgeXSemver]: initialized semver on version 3.2.0-dev.9 [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 03:22:54 provisioning config files... 03:22:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15328444557409573134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:54 ---> ****-login.sh 03:22:54 nexus3.edgexfoundry.org:10001 03:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:54 Configure a credential helper to remove this warning. See 03:22:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:54 03:22:54 Login Succeeded 03:22:54 nexus3.edgexfoundry.org:10002 03:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:54 Configure a credential helper to remove this warning. See 03:22:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:54 03:22:54 Login Succeeded 03:22:54 nexus3.edgexfoundry.org:10003 03:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:54 Configure a credential helper to remove this warning. See 03:22:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:54 03:22:54 Login Succeeded 03:22:54 nexus3.edgexfoundry.org:10004 03:22:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:54 Configure a credential helper to remove this warning. See 03:22:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:54 03:22:54 Login Succeeded 03:22:54 ****.io 03:22:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:55 Configure a credential helper to remove this warning. See 03:22:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:55 03:22:55 Login Succeeded 03:22:55 ---> ****-login.sh ends [Pipeline] } 03:22:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:22:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:22:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:22:55 ========================================================= 03:22:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:22:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:55 + 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 . 03:22:55 Sending build context to Docker daemon 31.66MB 03:22:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:22:55 Step 2/12 : FROM ${BASE} AS builder 03:22:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:22:56 7264a8db6415: Pulling fs layer 03:22:56 c4d48a809fc2: Pulling fs layer 03:22:56 4f1c88b9dad5: Pulling fs layer 03:22:56 ad3a456e5733: Pulling fs layer 03:22:56 69c7f0334f64: Pulling fs layer 03:22:56 1f1c1a5573a3: Pulling fs layer 03:22:56 ce7588e14bc9: Pulling fs layer 03:22:56 b5e4710f87ac: Pulling fs layer 03:22:56 69c7f0334f64: Waiting 03:22:56 1f1c1a5573a3: Waiting 03:22:56 ce7588e14bc9: Waiting 03:22:56 b5e4710f87ac: Waiting 03:22:56 ad3a456e5733: Waiting 03:22:56 c4d48a809fc2: Download complete 03:22:56 ad3a456e5733: Verifying Checksum 03:22:56 ad3a456e5733: Download complete 03:22:56 69c7f0334f64: Verifying Checksum 03:22:56 69c7f0334f64: Download complete 03:22:56 7264a8db6415: Download complete 03:22:56 1f1c1a5573a3: Verifying Checksum 03:22:56 1f1c1a5573a3: Download complete 03:22:56 7264a8db6415: Pull complete 03:22:56 b5e4710f87ac: Verifying Checksum 03:22:56 b5e4710f87ac: Download complete 03:22:56 c4d48a809fc2: Pull complete 03:22:56 4f1c88b9dad5: Download complete 03:22:56 ce7588e14bc9: Verifying Checksum 03:22:56 ce7588e14bc9: Download complete 03:23:00 4f1c88b9dad5: Pull complete 03:23:00 ad3a456e5733: Pull complete 03:23:00 69c7f0334f64: Pull complete 03:23:00 1f1c1a5573a3: Pull complete 03:23:02 ce7588e14bc9: Pull complete 03:23:03 b5e4710f87ac: Pull complete 03:23:03 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 03:23:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:23:03 ---> 88b5674ff536 03:23:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:23:09 Still waiting to schedule task 03:23:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-172’ 03:23:09 ---> Running in a2569995ac02 03:23:09 Removing intermediate container a2569995ac02 03:23:09 ---> b358a3e5fc9c 03:23:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:23:09 ---> Running in 742219dce33a 03:23:09 Removing intermediate container 742219dce33a 03:23:09 ---> 6db6dbcd1524 03:23:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:23:09 ---> Running in 8b3cbdc34367 03:23:09 Removing intermediate container 8b3cbdc34367 03:23:09 ---> 56eb53258e1e 03:23:09 Step 6/12 : WORKDIR /device-virtual-go 03:23:09 ---> Running in c96399e9672e 03:23:09 Removing intermediate container c96399e9672e 03:23:09 ---> a2831359a584 03:23:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:23:09 ---> Running in b7a3d407a55c 03:23:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:23:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:23:09 (1/4) Installing openssh-keygen (9.3_p2-r1) 03:23:09 (2/4) Installing libedit (20221030.3.1-r1) 03:23:09 (3/4) Installing openssh-client-common (9.3_p2-r1) 03:23:09 (4/4) Installing openssh-client-default (9.3_p2-r1) 03:23:09 Executing busybox-1.36.1-r5.trigger 03:23:09 OK: 268 MiB in 56 packages 03:23:10 Removing intermediate container b7a3d407a55c 03:23:10 ---> da2c85cc0e9d 03:23:10 Step 8/12 : COPY go.mod vendor* ./ 03:23:11 ---> 1b69cf99623b 03:23:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:23:11 ---> Running in 60ebb11cf189 03:23:57 Removing intermediate container 60ebb11cf189 03:23:57 ---> 35e9db16c943 03:23:57 Step 10/12 : COPY . . 03:23:57 ---> 648e4895e339 03:23:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:23:57 ---> Running in aef954da9798 03:23:57 Removing intermediate container aef954da9798 03:23:57 ---> 585b2bf6a363 03:23:57 Step 12/12 : RUN $MAKE 03:23:57 ---> Running in f235482554e9 03:23:57 noop 03:23:57 Removing intermediate container f235482554e9 03:23:57 ---> 6a45aecd4d27 03:23:57 Successfully built 6a45aecd4d27 03:23:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:58 + docker inspect -f . ci-base-image-x86_64 03:23:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:58 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:23:58 $ docker top b155cd6e7044ee3e04f5b7611bba5b5d4bb83e5abe485cb61ad84ac27b059968 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:58 + go version 03:23:58 go version go1.21.0 linux/amd64 [Pipeline] } 03:23:58 $ docker stop --time=1 b155cd6e7044ee3e04f5b7611bba5b5d4bb83e5abe485cb61ad84ac27b059968 03:24:00 $ docker rm -f --volumes b155cd6e7044ee3e04f5b7611bba5b5d4bb83e5abe485cb61ad84ac27b059968 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:00 + docker inspect -f . ci-base-image-x86_64 03:24:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:00 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:24:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:24:01 $ docker top 7a80fafc76872337a9c5352d65a36d9720d6694c2cdd2539954f74320f33c878 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:01 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 03:24:01 + make test 03:24:01 go test ./... -coverprofile=coverage.out 03:24:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:24:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:24:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.014s coverage: 58.6% of statements 03:24:18 go vet ./... 03:24:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:24:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:24:21 ./bin/test-attribution-txt.sh 03:24:21 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:24:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:24:21 $ docker stop --time=1 7a80fafc76872337a9c5352d65a36d9720d6694c2cdd2539954f74320f33c878 03:24:25 $ docker rm -f --volumes 7a80fafc76872337a9c5352d65a36d9720d6694c2cdd2539954f74320f33c878 [Pipeline] // withDockerContainer [Pipeline] sh 03:24:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:24:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:24:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:24:27 + ls -al . 03:24:27 total 200 03:24:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:24 . 03:24:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:22 .. 03:24:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:24 .git 03:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 .github 03:24:27 -rw-rw-r-- 1 jenkins jenkins 272 Mar 17 03:22 .gitignore 03:24:27 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 03:22 .golangci.yml 03:24:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 03:22 .semver 03:24:27 -rw-rw-r-- 1 jenkins jenkins 9708 Mar 17 03:22 Attribution.txt 03:24:27 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 17 03:22 CHANGELOG.md 03:24:27 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 17 03:22 Dockerfile 03:24:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 03:22 GOVERNANCE.md 03:24:27 -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 03:22 Jenkinsfile 03:24:27 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 03:22 LICENSE 03:24:27 -rw-rw-r-- 1 jenkins jenkins 1953 Mar 17 03:22 Makefile 03:24:27 -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 03:22 OWNERS.md 03:24:27 -rw-rw-r-- 1 jenkins jenkins 4103 Mar 17 03:22 README.md 03:24:27 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 03:22 VERSION 03:24:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:22 bin 03:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 cmd 03:24:27 -rw-r--r-- 1 jenkins jenkins 43063 Mar 17 03:24 coverage.out 03:24:27 -rw-rw-r-- 1 jenkins jenkins 3683 Mar 17 03:22 go.mod 03:24:27 -rw-rw-r-- 1 jenkins jenkins 35612 Mar 17 03:22 go.sum 03:24:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:22 internal 03:24:27 -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 03:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:27 + 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=df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 --label arch=amd64 --label version=3.2.0-dev.9 . 03:24:27 Sending build context to Docker daemon 31.7MB 03:24:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:24:27 Step 2/26 : FROM ${BASE} AS builder 03:24:27 ---> 6a45aecd4d27 03:24:27 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:24:27 ---> Running in d422822a026d 03:24:28 Removing intermediate container d422822a026d 03:24:28 ---> a43d7f0dded9 03:24:28 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:24:28 ---> Running in b8a7f28b639d 03:24:28 Removing intermediate container b8a7f28b639d 03:24:28 ---> 629bbbce9c36 03:24:28 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:24:28 ---> Running in a53943b1f8dc 03:24:28 Removing intermediate container a53943b1f8dc 03:24:28 ---> fdd958b1fed9 03:24:28 Step 6/26 : WORKDIR /device-virtual-go 03:24:28 ---> Running in f5a298a973ac 03:24:28 Removing intermediate container f5a298a973ac 03:24:28 ---> fc324e4b1a6b 03:24:28 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:24:28 ---> Running in b95e80b5dd6a 03:24:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:24:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:24:29 OK: 268 MiB in 56 packages 03:24:29 Removing intermediate container b95e80b5dd6a 03:24:29 ---> e00d9798c358 03:24:29 Step 8/26 : COPY go.mod vendor* ./ 03:24:29 ---> 719a3092c201 03:24:29 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:29 ---> Running in 2f6f0188c3ad 03:24:30 Removing intermediate container 2f6f0188c3ad 03:24:30 ---> 8c3e74d1db0f 03:24:30 Step 10/26 : COPY . . 03:24:31 ---> b6308f23c1ce 03:24:31 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:24:31 ---> Running in b694a5cf428e 03:24:31 Removing intermediate container b694a5cf428e 03:24:31 ---> 49dd1b3255bc 03:24:31 Step 12/26 : RUN $MAKE 03:24:31 ---> Running in 33107b17cd8d 03:24:31 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 03:24:53 Removing intermediate container 33107b17cd8d 03:24:53 ---> e0cfb97b36b4 03:24:53 Step 13/26 : FROM alpine:3.18 03:24:53 3.18: Pulling from library/alpine 03:24:53 619be1103602: Pulling fs layer 03:24:53 619be1103602: Verifying Checksum 03:24:53 619be1103602: Download complete 03:24:53 619be1103602: Pull complete 03:24:53 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:24:53 Status: Downloaded newer image for alpine:3.18 03:24:53 ---> d3782b16ccc9 03:24:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:24:53 ---> Running in b2b393b845ec 03:24:53 Removing intermediate container b2b393b845ec 03:24:53 ---> 4265a9b4cbfd 03:24:53 Step 15/26 : RUN apk add --update --no-cache dumb-init 03:24:53 ---> Running in 6a1e31203a48 03:24:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:24:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:24:54 (1/1) Installing dumb-init (1.2.5-r2) 03:24:54 Executing busybox-1.36.1-r5.trigger 03:24:54 OK: 7 MiB in 16 packages 03:24:55 Removing intermediate container 6a1e31203a48 03:24:55 ---> 9411e0c5c90d 03:24:55 Step 16/26 : RUN apk --no-cache upgrade 03:24:55 ---> Running in 84d53c12c058 03:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:24:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:24:55 OK: 7 MiB in 16 packages 03:24:55 Removing intermediate container 84d53c12c058 03:24:55 ---> 0d59768a047a 03:24:55 Step 17/26 : WORKDIR / 03:24:55 ---> Running in 0c065b58c288 03:24:55 Removing intermediate container 0c065b58c288 03:24:55 ---> aa4a378853d2 03:24:55 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:24:56 ---> f3e9858156d4 03:24:56 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 03:24:56 ---> 4257059111af 03:24:56 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 03:24:57 ---> 5b3126b9e945 03:24:57 Step 21/26 : EXPOSE 59900 03:24:57 ---> Running in a5b621ad05b4 03:24:57 Removing intermediate container a5b621ad05b4 03:24:57 ---> cd62949cb920 03:24:57 Step 22/26 : ENTRYPOINT ["/device-virtual"] 03:24:57 ---> Running in 4f8bb5551f91 03:24:57 Removing intermediate container 4f8bb5551f91 03:24:57 ---> 6c7f63701d53 03:24:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:24:57 ---> Running in e5baca0e68cb 03:24:57 Removing intermediate container e5baca0e68cb 03:24:57 ---> 35da7f0fafa9 03:24:57 Step 24/26 : LABEL arch=amd64 03:24:57 ---> Running in b78c8f646195 03:24:57 Removing intermediate container b78c8f646195 03:24:57 ---> 5119cbd2083b 03:24:57 Step 25/26 : LABEL git_sha=df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:24:57 ---> Running in b1b0fc229f01 03:24:57 Removing intermediate container b1b0fc229f01 03:24:57 ---> 2ec8f6b94403 03:24:57 Step 26/26 : LABEL version=3.2.0-dev.9 03:24:57 ---> Running in f56d84aa0ce4 03:24:57 Removing intermediate container f56d84aa0ce4 03:24:57 ---> ba7d2d8cb47c 03:24:57 [Warning] One or more build-args [ARCH] were not consumed 03:24:57 Successfully built ba7d2d8cb47c 03:24:57 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:57 provisioning config files... 03:24:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9505165152854736740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:57 ---> ****-login.sh 03:24:57 nexus3.edgexfoundry.org:10001 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 nexus3.edgexfoundry.org:10002 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 nexus3.edgexfoundry.org:10003 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 nexus3.edgexfoundry.org:10004 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:57 Configure a credential helper to remove this warning. See 03:24:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:57 03:24:57 Login Succeeded 03:24:57 ****.io 03:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:58 Configure a credential helper to remove this warning. See 03:24:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:58 03:24:58 Login Succeeded 03:24:58 ---> ****-login.sh ends [Pipeline] } 03:24:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:24:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:24:58 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 03:24:58 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:24:58 latest 03:24:58 3.2.0-dev.9 03:24:58 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9 03:24:58 main 03:24:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:58 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:24:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:24:58 9ed4b54447d2: Preparing 03:24:58 fb9c2a06e588: Preparing 03:24:58 cd03651c9495: Preparing 03:24:58 1177b0bc3274: Preparing 03:24:58 2a9b8f18ffe3: Preparing 03:24:58 aedc3bda2944: Preparing 03:24:58 aedc3bda2944: Waiting 03:24:58 fb9c2a06e588: Pushed 03:24:58 1177b0bc3274: Pushed 03:24:58 aedc3bda2944: Layer already exists 03:24:58 2a9b8f18ffe3: Pushed 03:24:58 cd03651c9495: Pushed 03:25:00 9ed4b54447d2: Pushed 03:25:01 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2: digest: sha256:137a26e8c6eda0e6fe8258af811cb97ad5dcc5bd1e4ee7991089c868f3269a5c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:01 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 03:25:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:25:01 9ed4b54447d2: Preparing 03:25:01 fb9c2a06e588: Preparing 03:25:01 cd03651c9495: Preparing 03:25:01 1177b0bc3274: Preparing 03:25:01 2a9b8f18ffe3: Preparing 03:25:01 aedc3bda2944: Preparing 03:25:01 aedc3bda2944: Waiting 03:25:01 2a9b8f18ffe3: Layer already exists 03:25:01 cd03651c9495: Layer already exists 03:25:01 1177b0bc3274: Layer already exists 03:25:01 fb9c2a06e588: Layer already exists 03:25:01 9ed4b54447d2: Layer already exists 03:25:01 aedc3bda2944: Layer already exists 03:25:01 latest: digest: sha256:137a26e8c6eda0e6fe8258af811cb97ad5dcc5bd1e4ee7991089c868f3269a5c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:02 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.9 03:25:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:25:02 9ed4b54447d2: Preparing 03:25:02 fb9c2a06e588: Preparing 03:25:02 cd03651c9495: Preparing 03:25:02 1177b0bc3274: Preparing 03:25:02 2a9b8f18ffe3: Preparing 03:25:02 aedc3bda2944: Preparing 03:25:02 aedc3bda2944: Waiting 03:25:02 cd03651c9495: Layer already exists 03:25:02 2a9b8f18ffe3: Layer already exists 03:25:02 1177b0bc3274: Layer already exists 03:25:02 fb9c2a06e588: Layer already exists 03:25:02 9ed4b54447d2: Layer already exists 03:25:02 aedc3bda2944: Layer already exists 03:25:02 3.2.0-dev.9: digest: sha256:137a26e8c6eda0e6fe8258af811cb97ad5dcc5bd1e4ee7991089c868f3269a5c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:02 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9 03:25:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:25:03 9ed4b54447d2: Preparing 03:25:03 fb9c2a06e588: Preparing 03:25:03 cd03651c9495: Preparing 03:25:03 1177b0bc3274: Preparing 03:25:03 2a9b8f18ffe3: Preparing 03:25:03 aedc3bda2944: Preparing 03:25:03 aedc3bda2944: Waiting 03:25:03 9ed4b54447d2: Layer already exists 03:25:03 cd03651c9495: Layer already exists 03:25:03 fb9c2a06e588: Layer already exists 03:25:03 1177b0bc3274: Layer already exists 03:25:03 2a9b8f18ffe3: Layer already exists 03:25:03 aedc3bda2944: Layer already exists 03:25:03 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9: digest: sha256:137a26e8c6eda0e6fe8258af811cb97ad5dcc5bd1e4ee7991089c868f3269a5c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:03 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 03:25:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 03:25:03 9ed4b54447d2: Preparing 03:25:03 fb9c2a06e588: Preparing 03:25:03 cd03651c9495: Preparing 03:25:03 1177b0bc3274: Preparing 03:25:03 2a9b8f18ffe3: Preparing 03:25:03 aedc3bda2944: Preparing 03:25:03 aedc3bda2944: Waiting 03:25:03 fb9c2a06e588: Layer already exists 03:25:03 1177b0bc3274: Layer already exists 03:25:03 cd03651c9495: Layer already exists 03:25:03 2a9b8f18ffe3: Layer already exists 03:25:03 9ed4b54447d2: Layer already exists 03:25:03 aedc3bda2944: Layer already exists 03:25:03 main: digest: sha256:137a26e8c6eda0e6fe8258af811cb97ad5dcc5bd1e4ee7991089c868f3269a5c size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:25:03 ===================================================== [Pipeline] echo 03:25:03 taggedImages: 03:25:03 - nexus3.edgexfoundry.org:10004/device-virtual:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:25:03 - nexus3.edgexfoundry.org:10004/device-virtual:latest 03:25:03 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.9 03:25:03 - nexus3.edgexfoundry.org:10004/device-virtual:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9 03:25:03 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:04 03:25:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:04 latest: Pulling from edgex-lftools-log-publisher 03:25:04 5eb5b503b376: Pulling fs layer 03:25:04 5c69ac0246d0: Pulling fs layer 03:25:04 ec43610c2a17: Pulling fs layer 03:25:04 3a2ae6a8a46f: Pulling fs layer 03:25:04 33b1e0a273af: Pulling fs layer 03:25:04 5d3b04190fa2: Pulling fs layer 03:25:04 2f39f015ded8: Pulling fs layer 03:25:04 33b1e0a273af: Waiting 03:25:04 5d3b04190fa2: Waiting 03:25:04 2f39f015ded8: Waiting 03:25:04 3a2ae6a8a46f: Waiting 03:25:04 5c69ac0246d0: Download complete 03:25:04 3a2ae6a8a46f: Verifying Checksum 03:25:04 3a2ae6a8a46f: Download complete 03:25:04 33b1e0a273af: Verifying Checksum 03:25:04 33b1e0a273af: Download complete 03:25:04 ec43610c2a17: Verifying Checksum 03:25:04 ec43610c2a17: Download complete 03:25:04 5d3b04190fa2: Verifying Checksum 03:25:04 5d3b04190fa2: Download complete 03:25:04 5eb5b503b376: Verifying Checksum 03:25:04 5eb5b503b376: Download complete 03:25:05 2f39f015ded8: Download complete 03:25:05 5eb5b503b376: Pull complete 03:25:06 5c69ac0246d0: Pull complete 03:25:06 ec43610c2a17: Pull complete 03:25:06 3a2ae6a8a46f: Pull complete 03:25:06 33b1e0a273af: Pull complete 03:25:06 5d3b04190fa2: Pull complete 03:25:11 2f39f015ded8: Pull complete 03:25:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:25:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:25:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:11 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:25:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:25:21 $ docker top fad75cb846ad719c99b44d389d99a426dbb43b4c9cffb0a90cff4c28598dd1cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:21 ---> job-cost.sh 03:25:21 lf-activate-venv: SKIPPING 03:25:21 INFO: No Stack... 03:25:21 INFO: Retrieving Pricing Info for: v3-standard-8 03:25:21 INFO: Archiving Costs [Pipeline] sh 03:25:22 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 03:25:22 + cut -d, -f6 [Pipeline] lock 03:25:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-165-stack-cost] 03:25:22 Resource [jenkins-edgexfoundry-device-virtual-go-main-165-stack-cost] did not exist. Created. 03:25:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:25:22 + echo total: 0.2199999988079071 [Pipeline] stash 03:25:22 Stashed 1 file(s) [Pipeline] } 03:25:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 03:25:22 $ docker stop --time=1 fad75cb846ad719c99b44d389d99a426dbb43b4c9cffb0a90cff4c28598dd1cc 03:25:24 $ docker rm -f --volumes fad75cb846ad719c99b44d389d99a426dbb43b4c9cffb0a90cff4c28598dd1cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:25:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-178 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 03:25:46 Running in /w/workspace/device-virtual-go/165 [Pipeline] { [Pipeline] checkout 03:25:49 The recommended git tool is: git 03:25:55 using credential edgex-jenkins-ssh 03:25:55 Cloning the remote Git repository 03:25:55 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:25:55 > git init /w/workspace/device-virtual-go/165 # timeout=10 03:25:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:25:55 > git --version # timeout=10 03:25:55 > git --version # 'git version 2.25.1' 03:25:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:25:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:59 Avoid second fetch 03:25:59 Checking out Revision df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 (main) 03:26:00 Commit message: "Merge pull request #465 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.11" 03:25:59 > git config core.sparsecheckout # timeout=10 03:26:00 > git checkout -f df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:26:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:26:05 % Total % Received % Xferd Average Speed Time Time Time Current 03:26:05 Dload Upload Total Spent Left Speed 03:26:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 03:26:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:26:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:26:06 + sudo tee /etc/docker/daemon.new 03:26:06 { 03:26:06 "registry-mirrors": [ 03:26:06 "https://nexus3.edgexfoundry.org:10001" 03:26:06 ], 03:26:06 "bip": "10.250.0.254/24", 03:26:06 "hosts": [ 03:26:06 "tcp://0.0.0.0:5555", 03:26:06 "unix:///var/run/docker.sock" 03:26:06 ], 03:26:06 "mtu": 1458, 03:26:06 "selinux-enabled": true, 03:26:06 "seccomp-profile": "/etc/docker/seccomp.json" 03:26:06 } [Pipeline] sh 03:26:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:26:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:25 provisioning config files... 03:26:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/165@tmp/config13645989710575127812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:25 ---> ****-login.sh 03:26:25 nexus3.edgexfoundry.org:10001 03:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:26 Configure a credential helper to remove this warning. See 03:26:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:26 03:26:26 Login Succeeded 03:26:26 nexus3.edgexfoundry.org:10002 03:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:26 Configure a credential helper to remove this warning. See 03:26:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:26 03:26:26 Login Succeeded 03:26:26 nexus3.edgexfoundry.org:10003 03:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:27 Configure a credential helper to remove this warning. See 03:26:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:27 03:26:27 Login Succeeded 03:26:27 nexus3.edgexfoundry.org:10004 03:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:27 Configure a credential helper to remove this warning. See 03:26:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:27 03:26:27 Login Succeeded 03:26:27 ****.io 03:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:28 Configure a credential helper to remove this warning. See 03:26:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:28 03:26:28 Login Succeeded 03:26:28 ---> ****-login.sh ends [Pipeline] } 03:26:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:26:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:26:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:26:28 ========================================================= 03:26:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:26:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:28 + 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 . 03:26:29 Sending build context to Docker daemon 15.96MB 03:26:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:26:29 Step 2/12 : FROM ${BASE} AS builder 03:26:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:26:44 9fda8d8052c6: Pulling fs layer 03:26:44 5d54e960e981: Pulling fs layer 03:26:44 c4a7e357bf2a: Pulling fs layer 03:26:44 f0e02332f6b5: Pulling fs layer 03:26:44 872ee5b61b7b: Pulling fs layer 03:26:44 0c6a40ed1a82: Pulling fs layer 03:26:44 94ae7d8d031c: Pulling fs layer 03:26:44 872ee5b61b7b: Waiting 03:26:44 0c6a40ed1a82: Waiting 03:26:44 94ae7d8d031c: Waiting 03:26:44 f0e02332f6b5: Waiting 03:26:44 5d54e960e981: Verifying Checksum 03:26:44 5d54e960e981: Download complete 03:26:44 f0e02332f6b5: Verifying Checksum 03:26:44 f0e02332f6b5: Download complete 03:26:44 872ee5b61b7b: Download complete 03:26:44 9fda8d8052c6: Verifying Checksum 03:26:44 9fda8d8052c6: Download complete 03:26:45 94ae7d8d031c: Verifying Checksum 03:26:45 94ae7d8d031c: Download complete 03:26:45 9fda8d8052c6: Pull complete 03:26:46 5d54e960e981: Pull complete 03:26:46 c4a7e357bf2a: Verifying Checksum 03:26:46 c4a7e357bf2a: Download complete 03:26:47 0c6a40ed1a82: Download complete 03:27:03 c4a7e357bf2a: Pull complete 03:27:03 f0e02332f6b5: Pull complete 03:27:03 872ee5b61b7b: Pull complete 03:27:11 0c6a40ed1a82: Pull complete 03:27:12 94ae7d8d031c: Pull complete 03:27:12 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:27:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:27:12 ---> 86de565de09d 03:27:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:27:14 ---> Running in 087e22d9de87 03:27:14 Removing intermediate container 087e22d9de87 03:27:14 ---> 9c2aff1c4e28 03:27:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:27:14 ---> Running in 0d0c206b56de 03:27:14 Removing intermediate container 0d0c206b56de 03:27:14 ---> d64544a51234 03:27:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:27:14 ---> Running in b4509a1b3540 03:27:14 Removing intermediate container b4509a1b3540 03:27:14 ---> 493c7577e0d3 03:27:14 Step 6/12 : WORKDIR /device-virtual-go 03:27:15 ---> Running in 75f3b35fab7b 03:27:15 Removing intermediate container 75f3b35fab7b 03:27:15 ---> e96431f98e3e 03:27:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:27:15 ---> Running in 7ab2a6fdaee6 03:27:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:27:18 (1/4) Installing openssh-keygen (9.3_p2-r1) 03:27:18 (2/4) Installing libedit (20221030.3.1-r1) 03:27:18 (3/4) Installing openssh-client-common (9.3_p2-r1) 03:27:18 (4/4) Installing openssh-client-default (9.3_p2-r1) 03:27:18 Executing busybox-1.36.1-r5.trigger 03:27:18 OK: 271 MiB in 56 packages 03:27:20 Removing intermediate container 7ab2a6fdaee6 03:27:20 ---> 5993631721d0 03:27:20 Step 8/12 : COPY go.mod vendor* ./ 03:27:20 ---> b26c22465c1e 03:27:20 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:27:20 ---> Running in b6decc550ada 03:28:28 Removing intermediate container b6decc550ada 03:28:28 ---> 5f5e667e54ab 03:28:28 Step 10/12 : COPY . . 03:28:28 ---> 9c78d33f6729 03:28:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:28:28 ---> Running in 3814fecb9e15 03:28:28 Removing intermediate container 3814fecb9e15 03:28:28 ---> 81d87897ebdf 03:28:28 Step 12/12 : RUN $MAKE 03:28:28 ---> Running in c53a5fa82231 03:28:28 noop 03:28:28 Removing intermediate container c53a5fa82231 03:28:28 ---> 679eef67c71a 03:28:28 Successfully built 679eef67c71a 03:28:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:28 + docker inspect -f . ci-base-image-arm64 03:28:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:29 prd-ubuntu20.04-docker-arm64-4c-16g-178 does not seem to be running inside a container 03:28:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/165 -v /w/workspace/device-virtual-go/165:/w/workspace/device-virtual-go/165:rw,z -v /w/workspace/device-virtual-go/165@tmp:/w/workspace/device-virtual-go/165@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 03:28:30 $ docker top 33f027d1d9349198cbf71dd6d8ca3f34bf6c53e6056ca24f5515155a04a9ca4a -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:31 + go version 03:28:31 go version go1.21.0 linux/arm64 [Pipeline] } 03:28:31 $ docker stop --time=1 33f027d1d9349198cbf71dd6d8ca3f34bf6c53e6056ca24f5515155a04a9ca4a 03:28:33 $ docker rm -f --volumes 33f027d1d9349198cbf71dd6d8ca3f34bf6c53e6056ca24f5515155a04a9ca4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:34 + docker inspect -f . ci-base-image-arm64 03:28:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:34 prd-ubuntu20.04-docker-arm64-4c-16g-178 does not seem to be running inside a container 03:28:34 $ 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/165 -v /w/workspace/device-virtual-go/165:/w/workspace/device-virtual-go/165:rw,z -v /w/workspace/device-virtual-go/165@tmp:/w/workspace/device-virtual-go/165@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 03:28:35 $ docker top d4052786c688414f894c633449d49a5859d5a8befe77a358e9117bcc12c61da7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:36 + git config --global --add safe.directory /w/workspace/device-virtual-go/165 [Pipeline] fileExists [Pipeline] sh 03:28:37 + make test 03:28:37 go test ./... -coverprofile=coverage.out 03:28:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:30:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:30:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.085s coverage: 58.4% of statements 03:30:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:30:33 go vet ./... 03:31:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:31:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:31:00 ./bin/test-attribution-txt.sh 03:31:00 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:31:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:31:00 $ docker stop --time=1 d4052786c688414f894c633449d49a5859d5a8befe77a358e9117bcc12c61da7 03:31:02 $ docker rm -f --volumes d4052786c688414f894c633449d49a5859d5a8befe77a358e9117bcc12c61da7 [Pipeline] // withDockerContainer [Pipeline] sh 03:31:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:31:03 Warning: overwriting stash ‘coverage-report’ 03:31:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:31:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:31:05 + ls -al . 03:31:05 total 196 03:31:05 drwxrwxr-x 7 jenkins jenkins 4096 Mar 17 03:28 . 03:31:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 03:25 .. 03:31:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 03:26 .git 03:31:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:26 .github 03:31:05 -rw-rw-r-- 1 jenkins jenkins 272 Mar 17 03:26 .gitignore 03:31:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 03:26 .golangci.yml 03:31:05 -rw-rw-r-- 1 jenkins jenkins 9708 Mar 17 03:26 Attribution.txt 03:31:05 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 17 03:26 CHANGELOG.md 03:31:05 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 17 03:26 Dockerfile 03:31:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 03:26 GOVERNANCE.md 03:31:05 -rw-rw-r-- 1 jenkins jenkins 660 Mar 17 03:26 Jenkinsfile 03:31:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 03:26 LICENSE 03:31:05 -rw-rw-r-- 1 jenkins jenkins 1953 Mar 17 03:26 Makefile 03:31:05 -rw-rw-r-- 1 jenkins jenkins 623 Mar 17 03:26 OWNERS.md 03:31:05 -rw-rw-r-- 1 jenkins jenkins 4103 Mar 17 03:26 README.md 03:31:05 -rw-rw-r-- 1 jenkins jenkins 11 Mar 17 03:22 VERSION 03:31:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 03:26 bin 03:31:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:26 cmd 03:31:05 -rw-r--r-- 1 jenkins jenkins 43063 Mar 17 03:30 coverage.out 03:31:05 -rw-rw-r-- 1 jenkins jenkins 3683 Mar 17 03:26 go.mod 03:31:05 -rw-rw-r-- 1 jenkins jenkins 35612 Mar 17 03:26 go.sum 03:31:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 03:26 internal 03:31:05 -rw-rw-r-- 1 jenkins jenkins 235 Mar 17 03:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:31:05 + 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=df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 --label arch=arm64 --label version=3.2.0-dev.9 . 03:31:06 Sending build context to Docker daemon 16.01MB 03:31:06 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:31:06 Step 2/26 : FROM ${BASE} AS builder 03:31:06 ---> 679eef67c71a 03:31:06 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:31:06 ---> Running in dd6b15763a34 03:31:06 Removing intermediate container dd6b15763a34 03:31:06 ---> 9b3216afd344 03:31:06 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 03:31:07 ---> Running in 67d757442983 03:31:07 Removing intermediate container 67d757442983 03:31:07 ---> 4644c4e1dff5 03:31:07 Step 5/26 : ARG ADD_BUILD_TAGS="" 03:31:07 ---> Running in 46176f662b7c 03:31:07 Removing intermediate container 46176f662b7c 03:31:07 ---> e8bb93775b91 03:31:07 Step 6/26 : WORKDIR /device-virtual-go 03:31:07 ---> Running in 10cb8dacadbc 03:31:08 Removing intermediate container 10cb8dacadbc 03:31:08 ---> e35cd29bda59 03:31:08 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:31:08 ---> Running in 761d380d271f 03:31:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:31:11 OK: 271 MiB in 56 packages 03:31:11 Removing intermediate container 761d380d271f 03:31:11 ---> a2aa64822844 03:31:11 Step 8/26 : COPY go.mod vendor* ./ 03:31:12 ---> 6e0ea3085be6 03:31:12 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:31:12 ---> Running in 6976267ff747 03:31:15 Removing intermediate container 6976267ff747 03:31:15 ---> 93c5f51074a2 03:31:15 Step 10/26 : COPY . . 03:31:16 ---> 78b8a7f21297 03:31:16 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:31:16 ---> Running in f0972d6ab45c 03:31:16 Removing intermediate container f0972d6ab45c 03:31:16 ---> 16c224cb4860 03:31:16 Step 12/26 : RUN $MAKE 03:31:16 ---> Running in 50dc02aa8d7e 03:31:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.11" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 03:33:40 Removing intermediate container 50dc02aa8d7e 03:33:40 ---> 1898768a375a 03:33:40 Step 13/26 : FROM alpine:3.18 03:33:40 3.18: Pulling from library/alpine 03:33:40 c6b39de5b339: Pulling fs layer 03:33:40 c6b39de5b339: Verifying Checksum 03:33:40 c6b39de5b339: Download complete 03:33:40 c6b39de5b339: Pull complete 03:33:40 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 03:33:40 Status: Downloaded newer image for alpine:3.18 03:33:40 ---> 33abbf032149 03:33:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:33:40 ---> Running in 3d3c350b9d60 03:33:40 Removing intermediate container 3d3c350b9d60 03:33:40 ---> 919617a4c942 03:33:40 Step 15/26 : RUN apk add --update --no-cache dumb-init 03:33:40 ---> Running in a3e5c16eaf1c 03:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:33:40 (1/1) Installing dumb-init (1.2.5-r2) 03:33:40 Executing busybox-1.36.1-r5.trigger 03:33:40 OK: 8 MiB in 16 packages 03:33:40 Removing intermediate container a3e5c16eaf1c 03:33:40 ---> 42c772085363 03:33:40 Step 16/26 : RUN apk --no-cache upgrade 03:33:40 ---> Running in bff2c0641b85 03:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:33:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:33:40 OK: 8 MiB in 16 packages 03:33:40 Removing intermediate container bff2c0641b85 03:33:40 ---> 56040927262e 03:33:40 Step 17/26 : WORKDIR / 03:33:40 ---> Running in f9fb07d29f3f 03:33:40 Removing intermediate container f9fb07d29f3f 03:33:40 ---> 56ebcf279aef 03:33:40 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:33:40 ---> bab3ef2746be 03:33:40 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 03:33:40 ---> 87735b015f37 03:33:40 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 03:33:40 ---> 5373ebf37373 03:33:40 Step 21/26 : EXPOSE 59900 03:33:40 ---> Running in b07557d1f69c 03:33:40 Removing intermediate container b07557d1f69c 03:33:40 ---> e83787886ed7 03:33:40 Step 22/26 : ENTRYPOINT ["/device-virtual"] 03:33:40 ---> Running in c3680bf80d47 03:33:40 Removing intermediate container c3680bf80d47 03:33:40 ---> 588a8867b4a6 03:33:40 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:33:40 ---> Running in 53c9df3bb721 03:33:40 Removing intermediate container 53c9df3bb721 03:33:40 ---> 3a4d06234277 03:33:40 Step 24/26 : LABEL arch=arm64 03:33:40 ---> Running in 488eb436f7e0 03:33:40 Removing intermediate container 488eb436f7e0 03:33:40 ---> 7efa43b0f094 03:33:40 Step 25/26 : LABEL git_sha=df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:33:40 ---> Running in ce9948561e24 03:33:40 Removing intermediate container ce9948561e24 03:33:40 ---> bd4c2efd0401 03:33:40 Step 26/26 : LABEL version=3.2.0-dev.9 03:33:40 ---> Running in 6e64be362d23 03:33:40 Removing intermediate container 6e64be362d23 03:33:40 ---> 46629de80a79 03:33:40 [Warning] One or more build-args [ARCH] were not consumed 03:33:40 Successfully built 46629de80a79 03:33:40 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 03:33:40 provisioning config files... 03:33:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/165@tmp/config5458834873575267764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:40 ---> ****-login.sh 03:33:40 nexus3.edgexfoundry.org:10001 03:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:41 Configure a credential helper to remove this warning. See 03:33:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:41 03:33:41 Login Succeeded 03:33:41 nexus3.edgexfoundry.org:10002 03:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:41 Configure a credential helper to remove this warning. See 03:33:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:41 03:33:41 Login Succeeded 03:33:41 nexus3.edgexfoundry.org:10003 03:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:41 Configure a credential helper to remove this warning. See 03:33:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:41 03:33:41 Login Succeeded 03:33:41 nexus3.edgexfoundry.org:10004 03:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:42 Configure a credential helper to remove this warning. See 03:33:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:42 03:33:42 Login Succeeded 03:33:42 ****.io 03:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:33:43 Configure a credential helper to remove this warning. See 03:33:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:33:43 03:33:43 Login Succeeded 03:33:43 ---> ****-login.sh ends [Pipeline] } 03:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:33:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:33:43 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 03:33:43 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:33:43 latest 03:33:43 3.2.0-dev.9 03:33:43 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9 03:33:43 main 03:33:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:33:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:33:43 e8020358db0d: Preparing 03:33:43 89298f9074b6: Preparing 03:33:43 e3f3e5457307: Preparing 03:33:43 c3728c30dc5e: Preparing 03:33:43 4fa369aa3ecd: Preparing 03:33:43 7c504f21be85: Preparing 03:33:43 7c504f21be85: Waiting 03:33:44 e3f3e5457307: Pushed 03:33:44 89298f9074b6: Pushed 03:33:44 4fa369aa3ecd: Pushed 03:33:44 c3728c30dc5e: Pushed 03:33:44 7c504f21be85: Layer already exists 03:33:49 e8020358db0d: Pushed 03:33:49 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2: digest: sha256:a823ce98198a722f4d1382b5e22bb6d798d5c302397fa4dfa34985b1a174532e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 03:33:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:33:50 e8020358db0d: Preparing 03:33:50 89298f9074b6: Preparing 03:33:50 e3f3e5457307: Preparing 03:33:50 c3728c30dc5e: Preparing 03:33:50 4fa369aa3ecd: Preparing 03:33:50 7c504f21be85: Preparing 03:33:50 7c504f21be85: Waiting 03:33:50 e8020358db0d: Layer already exists 03:33:50 c3728c30dc5e: Layer already exists 03:33:50 4fa369aa3ecd: Layer already exists 03:33:50 89298f9074b6: Layer already exists 03:33:50 e3f3e5457307: Layer already exists 03:33:50 7c504f21be85: Layer already exists 03:33:50 latest: digest: sha256:a823ce98198a722f4d1382b5e22bb6d798d5c302397fa4dfa34985b1a174532e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.9 03:33:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:33:51 e8020358db0d: Preparing 03:33:51 89298f9074b6: Preparing 03:33:51 e3f3e5457307: Preparing 03:33:51 c3728c30dc5e: Preparing 03:33:51 4fa369aa3ecd: Preparing 03:33:51 7c504f21be85: Preparing 03:33:51 7c504f21be85: Waiting 03:33:51 4fa369aa3ecd: Layer already exists 03:33:51 c3728c30dc5e: Layer already exists 03:33:51 89298f9074b6: Layer already exists 03:33:51 e3f3e5457307: Layer already exists 03:33:51 e8020358db0d: Layer already exists 03:33:51 7c504f21be85: Layer already exists 03:33:51 3.2.0-dev.9: digest: sha256:a823ce98198a722f4d1382b5e22bb6d798d5c302397fa4dfa34985b1a174532e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9 03:33:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:33:52 e8020358db0d: Preparing 03:33:52 89298f9074b6: Preparing 03:33:52 e3f3e5457307: Preparing 03:33:52 c3728c30dc5e: Preparing 03:33:52 4fa369aa3ecd: Preparing 03:33:52 7c504f21be85: Preparing 03:33:52 7c504f21be85: Waiting 03:33:52 e3f3e5457307: Layer already exists 03:33:52 4fa369aa3ecd: Layer already exists 03:33:52 89298f9074b6: Layer already exists 03:33:52 c3728c30dc5e: Layer already exists 03:33:52 e8020358db0d: Layer already exists 03:33:52 7c504f21be85: Layer already exists 03:33:52 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9: digest: sha256:a823ce98198a722f4d1382b5e22bb6d798d5c302397fa4dfa34985b1a174532e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:52 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 03:33:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 03:33:53 e8020358db0d: Preparing 03:33:53 89298f9074b6: Preparing 03:33:53 e3f3e5457307: Preparing 03:33:53 c3728c30dc5e: Preparing 03:33:53 4fa369aa3ecd: Preparing 03:33:53 7c504f21be85: Preparing 03:33:53 7c504f21be85: Waiting 03:33:53 89298f9074b6: Layer already exists 03:33:53 e3f3e5457307: Layer already exists 03:33:53 c3728c30dc5e: Layer already exists 03:33:53 e8020358db0d: Layer already exists 03:33:53 4fa369aa3ecd: Layer already exists 03:33:53 7c504f21be85: Layer already exists 03:33:53 main: digest: sha256:a823ce98198a722f4d1382b5e22bb6d798d5c302397fa4dfa34985b1a174532e size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:33:53 ===================================================== [Pipeline] echo 03:33:53 taggedImages: 03:33:53 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 03:33:53 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 03:33:53 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.9 03:33:53 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2-3.2.0-dev.9 03:33:53 - 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 03:33:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:54 03:33:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:33:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:33:54 arm64: Pulling from edgex-lftools-log-publisher 03:33:54 8998bd30e6a1: Pulling fs layer 03:33:54 04944245beec: Pulling fs layer 03:33:54 699f458cf7ca: Pulling fs layer 03:33:54 765212b225bb: Pulling fs layer 03:33:54 f23df028b6ca: Pulling fs layer 03:33:54 765212b225bb: Waiting 03:33:54 d65c8cfc05b1: Pulling fs layer 03:33:54 2437ff75d9bd: Pulling fs layer 03:33:54 f23df028b6ca: Waiting 03:33:54 d65c8cfc05b1: Waiting 03:33:54 2437ff75d9bd: Waiting 03:33:54 04944245beec: Verifying Checksum 03:33:54 04944245beec: Download complete 03:33:54 765212b225bb: Verifying Checksum 03:33:54 765212b225bb: Download complete 03:33:54 f23df028b6ca: Verifying Checksum 03:33:54 f23df028b6ca: Download complete 03:33:54 d65c8cfc05b1: Verifying Checksum 03:33:54 d65c8cfc05b1: Download complete 03:33:54 699f458cf7ca: Verifying Checksum 03:33:54 699f458cf7ca: Download complete 03:33:55 8998bd30e6a1: Verifying Checksum 03:33:55 8998bd30e6a1: Download complete 03:33:58 2437ff75d9bd: Verifying Checksum 03:33:58 2437ff75d9bd: Download complete 03:34:00 8998bd30e6a1: Pull complete 03:34:01 04944245beec: Pull complete 03:34:02 699f458cf7ca: Pull complete 03:34:02 765212b225bb: Pull complete 03:34:03 f23df028b6ca: Pull complete 03:34:03 d65c8cfc05b1: Pull complete 03:34:22 2437ff75d9bd: Pull complete 03:34:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:34:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:34:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:22 prd-ubuntu20.04-docker-arm64-4c-16g-178 does not seem to be running inside a container 03:34:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/165 -v /w/workspace/device-virtual-go/165:/w/workspace/device-virtual-go/165:rw,z -v /w/workspace/device-virtual-go/165@tmp:/w/workspace/device-virtual-go/165@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 03:34:25 $ docker top 4fefb15c6bae557d9c8925d8c86ade43fee1409d550fd39fd136791c3df7bc04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:34:26 ---> job-cost.sh 03:34:26 lf-activate-venv: SKIPPING 03:34:26 INFO: No Stack... 03:34:26 INFO: Retrieving Pricing Info for: v3-standard-4 03:34:27 INFO: Archiving Costs [Pipeline] sh 03:34:27 + cat /w/workspace/device-virtual-go/165/archives/cost.csv 03:34:27 + cut -d, -f6 [Pipeline] lock 03:34:28 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-165-stack-cost] 03:34:28 Resource [jenkins-edgexfoundry-device-virtual-go-main-165-stack-cost] did not exist. Created. 03:34:28 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-165-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:34:28 /w/workspace/device-virtual-go/165@tmp/durable-42a99e0e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:34:29 + echo total: 0.10999999940395355 [Pipeline] stash 03:34:29 Warning: overwriting stash ‘stack-cost’ 03:34:29 Stashed 1 file(s) [Pipeline] } 03:34:29 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-165-stack-cost] [Pipeline] // lock [Pipeline] } 03:34:29 $ docker stop --time=1 4fefb15c6bae557d9c8925d8c86ade43fee1409d550fd39fd136791c3df7bc04 03:34:30 $ docker rm -f --volumes 4fefb15c6bae557d9c8925d8c86ade43fee1409d550fd39fd136791c3df7bc04 [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 03:34:31 provisioning config files... 03:34:31 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15651499626200866625tmp [Pipeline] { [Pipeline] sh 03:34:31 + set +x 03:34:31 + curl -s https://codecov.io/bash 03:34:31 + bash -s -- 03:34:31 03:34:31 _____ _ 03:34:31 / ____| | | 03:34:31 | | ___ __| | ___ ___ _____ __ 03:34:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:34:31 | |___| (_) | (_| | __/ (_| (_) \ V / 03:34:31 \_____\___/ \__,_|\___|\___\___/ \_/ 03:34:31 Bash-1.0.6 03:34:31 03:34:31 03:34:31 ==> git version 2.25.1 found 03:34:31 ==> 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 03:34:31 Release-Date: 2020-01-08 03:34:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:34:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:34:31 ==> Jenkins CI detected. 03:34:31 current dir:  /w/workspace/exfoundry_device-virtual-go_main 03:34:31 project root: . 03:34:31 --> token set from env 03:34:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:34:31 ==> Running gcov in . (disable via -X gcov) 03:34:31 ==> Python coveragepy not found 03:34:31 ==> Searching for coverage reports in: 03:34:31 + . 03:34:31 -> Found 1 reports 03:34:31 ==> Detecting git/mercurial file structure 03:34:31 ==> Reading reports 03:34:32 + ./coverage.out bytes=43063 03:34:32 ==> Appending adjustments 03:34:32 https://docs.codecov.io/docs/fixing-reports 03:34:32 + Found adjustments 03:34:32 ==> Gzipping contents 03:34:32 8.0K /tmp/codecov.XPBvtk.gz 03:34:32 ==> Uploading reports 03:34:32 url: https://codecov.io 03:34:32 query: branch=main&commit=df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:34:32 -> Pinging Codecov 03:34:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2&build=165&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F165%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:34:32 -> Uploading to 03:34:32 https://storage.googleapis.com/codecov/v4/raw/2024-03-17/5E52B4B073DB2E39498172D8E973AA87/df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2/08669d75-1249-47e5-b6da-93be2c00a8ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240317T033431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f08625292424df6c4c9767c196896c2fa944bb1133fde07b74e75c823ea65906 03:34:32 % Total % Received % Xferd Average Speed Time Time Time Current 03:34:32 Dload Upload Total Spent Left Speed 03:34:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 16828 --:--:-- --:--:-- --:--:-- 16828 03:34:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [Pipeline] } 03:34:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:34:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:34:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:34:32 03:34:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:34:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:34:33 df9b9388f04a: Pulling fs layer 03:34:33 52dc419b0ee2: Pulling fs layer 03:34:33 25bc292e5bac: Pulling fs layer 03:34:33 114826534d7a: Pulling fs layer 03:34:33 4657fd5d0bcf: Pulling fs layer 03:34:33 6ad1cebc031e: Pulling fs layer 03:34:33 8a3aa393b2d8: Pulling fs layer 03:34:33 4657fd5d0bcf: Waiting 03:34:33 114826534d7a: Waiting 03:34:33 6ad1cebc031e: Waiting 03:34:33 8a3aa393b2d8: Waiting 03:34:33 25bc292e5bac: Verifying Checksum 03:34:33 25bc292e5bac: Download complete 03:34:33 52dc419b0ee2: Verifying Checksum 03:34:33 52dc419b0ee2: Download complete 03:34:33 4657fd5d0bcf: Verifying Checksum 03:34:33 4657fd5d0bcf: Download complete 03:34:33 df9b9388f04a: Verifying Checksum 03:34:33 df9b9388f04a: Download complete 03:34:33 df9b9388f04a: Pull complete 03:34:33 6ad1cebc031e: Verifying Checksum 03:34:33 6ad1cebc031e: Download complete 03:34:33 52dc419b0ee2: Pull complete 03:34:33 25bc292e5bac: Pull complete 03:34:34 114826534d7a: Verifying Checksum 03:34:34 114826534d7a: Download complete 03:34:34 8a3aa393b2d8: Verifying Checksum 03:34:34 8a3aa393b2d8: Download complete 03:34:37 114826534d7a: Pull complete 03:34:37 4657fd5d0bcf: Pull complete 03:34:37 6ad1cebc031e: Pull complete 03:34:40 8a3aa393b2d8: Pull complete 03:34:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:34:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:34:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:40 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:34:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:34:46 $ docker top d00e120f22b87be539652d5039f047fee888faf5692980315997836a97278013 -eo pid,comm [Pipeline] { [Pipeline] echo 03:34:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 03:34:47 + set -o pipefail 03:34:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 03:34:53 03:34:53 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 03:34:53 03:34:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/70c2e74c-dd7b-41e7-b054-c8882d2573f2 03:34:53 03:34:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:34:53 03:34:53 03:34:53 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:34:53 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:34:53 More details here: https://snyk.co/ue1NS [Pipeline] } 03:34:53 $ docker stop --time=1 d00e120f22b87be539652d5039f047fee888faf5692980315997836a97278013 03:34:57 $ docker rm -f --volumes d00e120f22b87be539652d5039f047fee888faf5692980315997836a97278013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:34:57 + git log --format=format:%s -1 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 [Pipeline] sh 03:34:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:34:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:34:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:34:58 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:34:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:34:58 $ docker top 508c61a44bb2242d0f2767936a165f31dd81a1621ee5712e73dc46a1561fa308 -eo pid,comm 03:34:58 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). 03:34:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:34:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:34:58 [ssh-agent] Looking for ssh-agent implementation... 03:34:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:34:59 $ docker exec 508c61a44bb2242d0f2767936a165f31dd81a1621ee5712e73dc46a1561fa308 ssh-agent 03:34:59 SSH_AUTH_SOCK=/tmp/ssh-oD7yancAZSBI/agent.32 03:34:59 SSH_AGENT_PID=38 03:34:59 Running ssh-add (command line suppressed) 03:34:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3165672083574638458.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3165672083574638458.key) 03:34:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:34:59 + git semver tag 03:34:59 2024-03-17 03:34:59,747 [run_tag] DEBUG tag force:False 03:34:59 2024-03-17 03:34:59,747 [check_head_tag] DEBUG check head tag 03:34:59 2024-03-17 03:34:59,748 [execute] INFO git cat-file --batch-check 03:34:59 2024-03-17 03:34:59,748 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 03:34:59 2024-03-17 03:34:59,751 [execute] INFO git cat-file --batch 03:34:59 2024-03-17 03:34:59,752 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 03:34:59 2024-03-17 03:34:59,770 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:34:59 2024-03-17 03:34:59,770 [execute] INFO git tag -a v3.2.0-dev.9 -m v3.2.0-dev.9 03:34:59 2024-03-17 03:34:59,771 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.9', '-m', 'v3.2.0-dev.9'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 03:34:59 2024-03-17 03:34:59,775 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:34:59 3.2.0-dev.9 [Pipeline] } 03:34:59 $ docker exec --env ******** --env ******** 508c61a44bb2242d0f2767936a165f31dd81a1621ee5712e73dc46a1561fa308 ssh-agent -k 03:34:59 unset SSH_AUTH_SOCK; 03:34:59 unset SSH_AGENT_PID; 03:34:59 echo Agent pid 38 killed; 03:34:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:00 + git semver [Pipeline] } 03:35:00 $ docker stop --time=1 508c61a44bb2242d0f2767936a165f31dd81a1621ee5712e73dc46a1561fa308 03:35:01 $ docker rm -f --volumes 508c61a44bb2242d0f2767936a165f31dd81a1621ee5712e73dc46a1561fa308 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:35:02 03:35:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:35:02 0.23.1-centos7: Pulling from edgex-lftools 03:35:02 ab5ef0e58194: Pulling fs layer 03:35:02 9712f1f96733: Pulling fs layer 03:35:02 63f879dbbcfc: Pulling fs layer 03:35:02 0d9ebad4ef96: Pulling fs layer 03:35:02 e9a5061849ea: Pulling fs layer 03:35:02 d747dcd14b5f: Pulling fs layer 03:35:02 2de7ff778b66: Pulling fs layer 03:35:02 2de7ff778b66: Waiting 03:35:02 e9a5061849ea: Waiting 03:35:02 d747dcd14b5f: Waiting 03:35:02 0d9ebad4ef96: Waiting 03:35:02 9712f1f96733: Verifying Checksum 03:35:02 9712f1f96733: Download complete 03:35:02 63f879dbbcfc: Verifying Checksum 03:35:02 63f879dbbcfc: Download complete 03:35:03 0d9ebad4ef96: Verifying Checksum 03:35:03 0d9ebad4ef96: Download complete 03:35:03 d747dcd14b5f: Verifying Checksum 03:35:03 d747dcd14b5f: Download complete 03:35:03 e9a5061849ea: Verifying Checksum 03:35:03 e9a5061849ea: Download complete 03:35:03 ab5ef0e58194: Verifying Checksum 03:35:03 ab5ef0e58194: Download complete 03:35:03 2de7ff778b66: Verifying Checksum 03:35:03 2de7ff778b66: Download complete 03:35:05 ab5ef0e58194: Pull complete 03:35:05 9712f1f96733: Pull complete 03:35:06 63f879dbbcfc: Pull complete 03:35:10 0d9ebad4ef96: Pull complete 03:35:10 e9a5061849ea: Pull complete 03:35:10 d747dcd14b5f: Pull complete 03:35:10 2de7ff778b66: Pull complete 03:35:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:35:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:35:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:10 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:35:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:35:14 $ docker top d314a5b554ef9896ca1e23c537a409b6df10625ba6d1ba5e55054634211a6962 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:35:15 provisioning config files... 03:35:15 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7681132384328199728tmp 03:35:15 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10652643502319728387tmp 03:35:15 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11723744139853131971tmp [Pipeline] { [Pipeline] echo 03:35:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:35:15 ---> sigul-configuration.sh 03:35:15 gpg: directory `/root/.gnupg' created 03:35:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:35:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:35:15 gpg: keyring `/root/.gnupg/secring.gpg' created 03:35:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:35:15 gpg: CAST5 encrypted data 03:35:15 gpg: encrypted with 1 passphrase 03:35:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:35:15 + mkdir /home/jenkins 03:35:15 + mkdir /home/jenkins/sigul [Pipeline] sh 03:35:15 + 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 03:35:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:35:16 ---> sigul-install.sh 03:35:16 Sigul already installed; skipping installation. [Pipeline] sh 03:35:16 + git tag --list 03:35:16 v1.0.0 03:35:16 v1.1.0 03:35:16 v1.1.1 03:35:16 v1.2.1 03:35:16 v1.2.2 03:35:16 v1.2.3 03:35:16 v1.3.0 03:35:16 v1.3.1 03:35:16 v2.0.0 03:35:16 v2.1.0 03:35:16 v2.1.1 03:35:16 v2.2.0 03:35:16 v2.3.0 03:35:16 v3.0 03:35:16 v3.0.0 03:35:16 v3.1 03:35:16 v3.1.0 03:35:16 v3.1.0-dev.1 03:35:16 v3.1.0-dev.10 03:35:16 v3.1.0-dev.11 03:35:16 v3.1.0-dev.12 03:35:16 v3.1.0-dev.13 03:35:16 v3.1.0-dev.14 03:35:16 v3.1.0-dev.15 03:35:16 v3.1.0-dev.16 03:35:16 v3.1.0-dev.17 03:35:16 v3.1.0-dev.18 03:35:16 v3.1.0-dev.19 03:35:16 v3.1.0-dev.2 03:35:16 v3.1.0-dev.20 03:35:16 v3.1.0-dev.21 03:35:16 v3.1.0-dev.22 03:35:16 v3.1.0-dev.23 03:35:16 v3.1.0-dev.24 03:35:16 v3.1.0-dev.25 03:35:16 v3.1.0-dev.26 03:35:16 v3.1.0-dev.27 03:35:16 v3.1.0-dev.28 03:35:16 v3.1.0-dev.29 03:35:16 v3.1.0-dev.3 03:35:16 v3.1.0-dev.30 03:35:16 v3.1.0-dev.4 03:35:16 v3.1.0-dev.5 03:35:16 v3.1.0-dev.6 03:35:16 v3.1.0-dev.7 03:35:16 v3.1.0-dev.8 03:35:16 v3.1.0-dev.9 03:35:16 v3.2.0-dev.1 03:35:16 v3.2.0-dev.2 03:35:16 v3.2.0-dev.3 03:35:16 v3.2.0-dev.4 03:35:16 v3.2.0-dev.5 03:35:16 v3.2.0-dev.6 03:35:16 v3.2.0-dev.7 03:35:16 v3.2.0-dev.8 03:35:16 v3.2.0-dev.9 [Pipeline] sh 03:35:16 + lftools sign git-tag v3.2.0-dev.9 03:35:17 Signing Git tag with Sigul... 03:35:17 Signing v3.2.0-dev.9 [Pipeline] echo 03:35:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:35:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:35:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:35:18 $ docker stop --time=1 d314a5b554ef9896ca1e23c537a409b6df10625ba6d1ba5e55054634211a6962 03:35:19 $ docker rm -f --volumes d314a5b554ef9896ca1e23c537a409b6df10625ba6d1ba5e55054634211a6962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:35:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:35:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:20 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:35:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:35:20 $ docker top 6a5e7ea61cb609dc61bc234de3122ae8fa2358adcc289db85567e420572efcac -eo pid,comm 03:35:20 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). 03:35:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:20 [ssh-agent] Looking for ssh-agent implementation... 03:35:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:20 $ docker exec 6a5e7ea61cb609dc61bc234de3122ae8fa2358adcc289db85567e420572efcac ssh-agent 03:35:21 SSH_AUTH_SOCK=/tmp/ssh-ZkzGc6mDpmvq/agent.33 03:35:21 SSH_AGENT_PID=39 03:35:21 Running ssh-add (command line suppressed) 03:35:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7690264727280153725.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7690264727280153725.key) 03:35:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:21 + git semver bump pre 03:35:21 2024-03-17 03:35:21,632 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:35:21 2024-03-17 03:35:21,632 [bump_version] DEBUG bumping version:3.2.0-dev.9 on axis:pre with prefix:dev 03:35:21 2024-03-17 03:35:21,633 [bump_version] DEBUG bumped version:3.2.0-dev.10 03:35:21 2024-03-17 03:35:21,633 [write_version] DEBUG write version:3.2.0-dev.10 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 03:35:21 2024-03-17 03:35:21,633 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:35:21 2024-03-17 03:35:21,633 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:35:21 2024-03-17 03:35:21,634 [execute] INFO git cat-file --batch-check 03:35:21 2024-03-17 03:35:21,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:35:21 2024-03-17 03:35:21,639 [execute] INFO git cat-file --batch 03:35:21 2024-03-17 03:35:21,639 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:35:21 2024-03-17 03:35:21,644 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:35:21 3.2.0-dev.10 [Pipeline] } 03:35:21 $ docker exec --env ******** --env ******** 6a5e7ea61cb609dc61bc234de3122ae8fa2358adcc289db85567e420572efcac ssh-agent -k 03:35:21 unset SSH_AUTH_SOCK; 03:35:21 unset SSH_AGENT_PID; 03:35:21 echo Agent pid 39 killed; 03:35:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:22 + git semver [Pipeline] } 03:35:22 $ docker stop --time=1 6a5e7ea61cb609dc61bc234de3122ae8fa2358adcc289db85567e420572efcac 03:35:23 $ docker rm -f --volumes 6a5e7ea61cb609dc61bc234de3122ae8fa2358adcc289db85567e420572efcac [Pipeline] // withDockerContainer [Pipeline] sh 03:35:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:35:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:35:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:24 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:35:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:35:24 $ docker top d426482e3f92d6e9eabefe983e24c8b7b75ba6d14ff2d64df03fd37bbf283842 -eo pid,comm 03:35:24 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). 03:35:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:35:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:35:24 [ssh-agent] Looking for ssh-agent implementation... 03:35:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:35:25 $ docker exec d426482e3f92d6e9eabefe983e24c8b7b75ba6d14ff2d64df03fd37bbf283842 ssh-agent 03:35:25 SSH_AUTH_SOCK=/tmp/ssh-Zt6IZe1IgeCD/agent.32 03:35:25 SSH_AGENT_PID=38 03:35:25 Running ssh-add (command line suppressed) 03:35:25 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17719327073485950431.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17719327073485950431.key) 03:35:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:35:25 + git semver push 03:35:25 2024-03-17 03:35:25,745 [run_push] DEBUG push 03:35:25 2024-03-17 03:35:25,746 [execute] INFO git cat-file --batch-check 03:35:25 2024-03-17 03:35:25,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:35:25 2024-03-17 03:35:25,750 [execute] INFO git rev-list c7625d77fa93efce865f0b4ec11a1032c263adcc -- 03:35:25 2024-03-17 03:35:25,751 [execute] DEBUG Popen(['git', 'rev-list', 'c7625d77fa93efce865f0b4ec11a1032c263adcc', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:35:25 2024-03-17 03:35:25,760 [execute] INFO git fetch -v origin 03:35:25 2024-03-17 03:35:25,761 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:35:26 2024-03-17 03:35:26,276 [run_push] DEBUG no remote changes detected 03:35:26 2024-03-17 03:35:26,276 [execute] INFO git push origin semver 03:35:26 2024-03-17 03:35:26,277 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:35:27 2024-03-17 03:35:26,988 [run_push] DEBUG push all version tags 03:35:27 2024-03-17 03:35:26,988 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:35:27 2024-03-17 03:35:26,989 [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) 03:35:27 2024-03-17 03:35:27,836 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 03:35:27 3.2.0-dev.10 [Pipeline] } 03:35:27 $ docker exec --env ******** --env ******** d426482e3f92d6e9eabefe983e24c8b7b75ba6d14ff2d64df03fd37bbf283842 ssh-agent -k 03:35:28 unset SSH_AUTH_SOCK; 03:35:28 unset SSH_AGENT_PID; 03:35:28 echo Agent pid 38 killed; 03:35:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:35:28 + git semver [Pipeline] } 03:35:28 $ docker stop --time=1 d426482e3f92d6e9eabefe983e24c8b7b75ba6d14ff2d64df03fd37bbf283842 03:35:29 $ docker rm -f --volumes d426482e3f92d6e9eabefe983e24c8b7b75ba6d14ff2d64df03fd37bbf283842 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:35:30 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 03:35:30 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 03:35:30 total 16 03:35:30 drwxr-xr-x 3 root root 4096 Mar 17 03:25 . 03:35:30 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 03:35 .. 03:35:30 drwxr-xr-x 2 root root 4096 Mar 17 03:25 cost 03:35:30 -rw-r--r-- 1 root root 89 Mar 17 03:25 cost.csv 03:35:30 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 03:35:30 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 03:35:30 total 16 03:35:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 03:25 . 03:35:30 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 03:35 .. 03:35:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 03:25 cost 03:35:30 -rw-r--r-- 1 jenkins jenkins 89 Mar 17 03:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:35:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:35:31 ---> package-listing.sh 03:35:31 ++ facter osfamily 03:35:31 ++ tr '[:upper:]' '[:lower:]' 03:35:31 + OS_FAMILY=debian 03:35:31 + workspace=/w/workspace/exfoundry_device-virtual-go_main 03:35:31 + START_PACKAGES=/tmp/packages_start.txt 03:35:31 + END_PACKAGES=/tmp/packages_end.txt 03:35:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:35:31 + PACKAGES=/tmp/packages_start.txt 03:35:31 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 03:35:31 + PACKAGES=/tmp/packages_end.txt 03:35:31 + case "${OS_FAMILY}" in 03:35:31 + dpkg -l 03:35:31 + grep '^ii' 03:35:31 + '[' -f /tmp/packages_start.txt ']' 03:35:31 + '[' -f /tmp/packages_end.txt ']' 03:35:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:35:31 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 03:35:31 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 03:35: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 03:35: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 03:35:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:35:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:35:32 prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container 03:35: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:35:33 $ docker top 21a821284ae6ff6d623ea085c7e41da835f7cf286300a952f05d5bb82a93ad3e -eo pid,comm [Pipeline] { [Pipeline] sh 03:35:33 + touch /tmp/pre-build-complete [Pipeline] sh 03:35:33 + mkdir -p /var/log/sysstat [Pipeline] sh 03:35:33 + ls /var/log/sa-host 03:35:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:35:34 provisioning config files... 03:35:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15909353885315950494tmp [Pipeline] { [Pipeline] echo 03:35:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:35:34 ---> create-netrc.sh [Pipeline] } 03:35:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:35:34 ---> python-tools-install.sh [Pipeline] echo 03:35:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:35:34 ---> sudo-logs.sh 03:35:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:35:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:35:35 ---> job-cost.sh 03:35:35 lf-activate-venv: SKIPPING 03:35:35 DEBUG: total: 0.2199999988079071 03:35:35 INFO: Retrieving Stack Cost... 03:35:35 INFO: Retrieving Pricing Info for: v3-standard-8 03:35:36 INFO: Archiving Costs [Pipeline] echo 03:35:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:35:36 ---> logs-deploy.sh 03:35:36 lf-activate-venv: SKIPPING 03:35:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/165 03:35:36 INFO: archiving workspace using pattern(s): 03:35:37 Archives upload complete. 03:35:37 INFO: archiving logs to Nexus