Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 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-ssh10492835966264905087.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh17642362752560904622.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh10383602839551594995.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh18176867385927814372.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-ssh5156066216019828422.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22486 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a # timeout=10 Commit message: "Merge pull request #494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" > git rev-list --no-walk ecfa8c77d07a8ec4cc8db70b8565af04114a9f89 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:55:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:55:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:55:38 ========================================================= 06:55:38 EdgeX Global Pipelines Version Info 06:55:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:55:39 ------------------- 06:55:39 stable info: 06:55:39 ------------------- 06:55:39 Commited By: Ginny Guan ginny@iotechsys.com 06:55:39 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 06:55:39 Message: update stable to v1.0.265 06:55:39 ------------------- 06:55:39 experimental info: 06:55:39 ------------------- 06:55:39 Commited By: Cherry Wang cherry@iotechsys.com 06:55:39 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 06:55:39 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:55:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:55:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:55:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 356f58f [Pipeline] echo 06:55:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:55:40 provisioning config files... 06:55:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5377515519930107118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:41 ---> ****-login.sh 06:55:41 nexus3.edgexfoundry.org:10001 06:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:41 Configure a credential helper to remove this warning. See 06:55:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:41 06:55:41 Login Succeeded 06:55:41 nexus3.edgexfoundry.org:10002 06:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:41 Configure a credential helper to remove this warning. See 06:55:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:41 06:55:41 Login Succeeded 06:55:41 nexus3.edgexfoundry.org:10003 06:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:41 Configure a credential helper to remove this warning. See 06:55:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:41 06:55:41 Login Succeeded 06:55:41 nexus3.edgexfoundry.org:10004 06:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:41 Configure a credential helper to remove this warning. See 06:55:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:41 06:55:41 Login Succeeded 06:55:41 ****.io 06:55:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:42 Configure a credential helper to remove this warning. See 06:55:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:42 06:55:42 Login Succeeded 06:55:42 ---> ****-login.sh ends [Pipeline] } 06:55:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:55:42 + git rev-list -1 --merges 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a~1..356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [Pipeline] echo 06:55:42 -----------> git rev-list -1 --merges 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a~1..356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 06:55:42 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [false] [Pipeline] sh 06:55:42 + git log --format=format:%s -1 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [Pipeline] echo 06:55:42 ========================================================= 06:55:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:55:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:55:43 + git log --format=format:%s -1 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [Pipeline] echo 06:55:43 [semverPrep] GIT_COMMIT: 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a, Commit Message: Merge pull request #494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45 [Pipeline] echo 06:55:43 [semverPrep] This is not a build commit. [Pipeline] sh 06:55:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:55:43 + grep -v github /etc/ssh/ssh_known_hosts 06:55:43 + [ -e /tmp/ssh_known_hosts ] 06:55:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:55:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:55:43 + sudo tee -a /etc/ssh/ssh_known_hosts 06:55:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:55:44 06:55:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:55:44 0.1.4: Pulling from edgex-devops/py-git-semver 06:55:44 b85a868b505f: Pulling fs layer 06:55:44 e2be974225ed: Pulling fs layer 06:55:44 339a4e72a1f5: Pulling fs layer 06:55:44 988bab9f4d93: Pulling fs layer 06:55:44 1469e6f7b9e6: Pulling fs layer 06:55:44 eaf3925da568: Pulling fs layer 06:55:44 bab4dde63d76: Pulling fs layer 06:55:44 bde34c3a00c8: Pulling fs layer 06:55:44 b352a97aabf1: Pulling fs layer 06:55:44 4872d77fe225: Pulling fs layer 06:55:44 5851b861e8e6: Pulling fs layer 06:55:44 bab4dde63d76: Waiting 06:55:44 bde34c3a00c8: Waiting 06:55:44 b352a97aabf1: Waiting 06:55:44 4872d77fe225: Waiting 06:55:44 5851b861e8e6: Waiting 06:55:44 e2be974225ed: Download complete 06:55:44 988bab9f4d93: Verifying Checksum 06:55:44 988bab9f4d93: Download complete 06:55:44 1469e6f7b9e6: Verifying Checksum 06:55:44 1469e6f7b9e6: Download complete 06:55:44 eaf3925da568: Verifying Checksum 06:55:44 eaf3925da568: Download complete 06:55:44 339a4e72a1f5: Verifying Checksum 06:55:44 339a4e72a1f5: Download complete 06:55:44 bde34c3a00c8: Download complete 06:55:44 b352a97aabf1: Download complete 06:55:44 4872d77fe225: Verifying Checksum 06:55:44 4872d77fe225: Download complete 06:55:44 5851b861e8e6: Verifying Checksum 06:55:44 5851b861e8e6: Download complete 06:55:44 b85a868b505f: Verifying Checksum 06:55:44 b85a868b505f: Download complete 06:55:44 bab4dde63d76: Verifying Checksum 06:55:44 bab4dde63d76: Download complete 06:55:45 b85a868b505f: Pull complete 06:55:45 e2be974225ed: Pull complete 06:55:46 339a4e72a1f5: Pull complete 06:55:46 988bab9f4d93: Pull complete 06:55:46 1469e6f7b9e6: Pull complete 06:55:46 eaf3925da568: Pull complete 06:55:48 bab4dde63d76: Pull complete 06:55:48 bde34c3a00c8: Pull complete 06:55:48 b352a97aabf1: Pull complete 06:55:48 4872d77fe225: Pull complete 06:55:48 5851b861e8e6: Pull complete 06:55:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:55:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:55:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:55:48 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 06:55:48 $ 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 06:55:51 $ docker top adb7661ab1990ee7740937c56ccb194ee3fa415e3bd0d7f178126228151c0b09 -eo pid,comm 06:55:52 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). 06:55:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:55:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:55:52 [ssh-agent] Looking for ssh-agent implementation... 06:55:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:55:52 $ docker exec adb7661ab1990ee7740937c56ccb194ee3fa415e3bd0d7f178126228151c0b09 ssh-agent 06:55:52 SSH_AUTH_SOCK=/tmp/ssh-YgOQAmoNbXkI/agent.32 06:55:52 SSH_AGENT_PID=38 06:55:52 Running ssh-add (command line suppressed) 06:55:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11677392402432620114.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11677392402432620114.key) 06:55:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:55:52 + git tag --points-at HEAD [Pipeline] } 06:55:52 $ docker exec --env ******** --env ******** adb7661ab1990ee7740937c56ccb194ee3fa415e3bd0d7f178126228151c0b09 ssh-agent -k 06:55:52 unset SSH_AUTH_SOCK; 06:55:52 unset SSH_AGENT_PID; 06:55:52 echo Agent pid 38 killed; 06:55:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:55:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:55:52 [ssh-agent] Looking for ssh-agent implementation... 06:55:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:55:52 $ docker exec adb7661ab1990ee7740937c56ccb194ee3fa415e3bd0d7f178126228151c0b09 ssh-agent 06:55:53 SSH_AUTH_SOCK=/tmp/ssh-bB39q5k1XTuP/agent.71 06:55:53 SSH_AGENT_PID=77 06:55:53 Running ssh-add (command line suppressed) 06:55:53 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9177304337972659750.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9177304337972659750.key) 06:55:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:55:53 + git semver init 06:55:53 2024-10-11 06:55:53,702 [run_init] DEBUG init version:0.0.0 force:False 06:55:53 2024-10-11 06:55:53,703 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 06:55:53 2024-10-11 06:55:53,703 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 06:55:53 2024-10-11 06:55:53,703 [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) 06:55:55 2024-10-11 06:55:55,557 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 06:55:55 2024-10-11 06:55:55,557 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 06:55:55 2024-10-11 06:55:55,557 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:55:55 2024-10-11 06:55:55,557 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:55:55 3.2.0-dev.26 [Pipeline] } 06:55:55 $ docker exec --env ******** --env ******** adb7661ab1990ee7740937c56ccb194ee3fa415e3bd0d7f178126228151c0b09 ssh-agent -k 06:55:55 unset SSH_AUTH_SOCK; 06:55:55 unset SSH_AGENT_PID; 06:55:55 echo Agent pid 77 killed; 06:55:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:55:56 + git semver [Pipeline] } 06:55:56 $ docker stop --time=1 adb7661ab1990ee7740937c56ccb194ee3fa415e3bd0d7f178126228151c0b09 06:55:57 $ docker rm -f --volumes adb7661ab1990ee7740937c56ccb194ee3fa415e3bd0d7f178126228151c0b09 [Pipeline] // withDockerContainer [Pipeline] sh 06:55:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:55:58 Stashed 1 file(s) [Pipeline] echo 06:55:58 [edgeXSemver]: initialized semver on version 3.2.0-dev.26 [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 06:55:58 provisioning config files... 06:55:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2886509882922973106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:55:58 ---> ****-login.sh 06:55:58 nexus3.edgexfoundry.org:10001 06:55:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:58 Configure a credential helper to remove this warning. See 06:55:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:58 06:55:58 Login Succeeded 06:55:58 nexus3.edgexfoundry.org:10002 06:55:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:58 Configure a credential helper to remove this warning. See 06:55:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:58 06:55:58 Login Succeeded 06:55:58 nexus3.edgexfoundry.org:10003 06:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:59 Configure a credential helper to remove this warning. See 06:55:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:59 06:55:59 Login Succeeded 06:55:59 nexus3.edgexfoundry.org:10004 06:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:59 Configure a credential helper to remove this warning. See 06:55:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:59 06:55:59 Login Succeeded 06:55:59 ****.io 06:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:55:59 Configure a credential helper to remove this warning. See 06:55:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:55:59 06:55:59 Login Succeeded 06:55:59 ---> ****-login.sh ends [Pipeline] } 06:55:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:55:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:55:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:55:59 ========================================================= 06:55:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:55:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:55:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:55:59 Sending build context to Docker daemon 37.64MB 06:55:59 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:55:59 Step 2/12 : FROM ${BASE} AS builder 06:56:00 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:56:00 43c4264eed91: Pulling fs layer 06:56:00 4cc291be95ef: Pulling fs layer 06:56:00 2ac1f1163629: Pulling fs layer 06:56:00 5c3c966382ef: Pulling fs layer 06:56:00 4f4fb700ef54: Pulling fs layer 06:56:00 5d5c8e513c77: Pulling fs layer 06:56:00 9f66e0745190: Pulling fs layer 06:56:00 f49a43e4bbc0: Pulling fs layer 06:56:00 561ebcabdf7f: Pulling fs layer 06:56:00 9f66e0745190: Waiting 06:56:00 f49a43e4bbc0: Waiting 06:56:00 5c3c966382ef: Waiting 06:56:00 4f4fb700ef54: Waiting 06:56:00 561ebcabdf7f: Waiting 06:56:00 5d5c8e513c77: Waiting 06:56:00 4cc291be95ef: Verifying Checksum 06:56:00 4cc291be95ef: Download complete 06:56:00 5c3c966382ef: Verifying Checksum 06:56:00 5c3c966382ef: Download complete 06:56:00 4f4fb700ef54: Verifying Checksum 06:56:00 4f4fb700ef54: Download complete 06:56:00 5d5c8e513c77: Download complete 06:56:00 43c4264eed91: Download complete 06:56:00 9f66e0745190: Verifying Checksum 06:56:00 9f66e0745190: Download complete 06:56:00 43c4264eed91: Pull complete 06:56:00 561ebcabdf7f: Verifying Checksum 06:56:00 561ebcabdf7f: Download complete 06:56:00 4cc291be95ef: Pull complete 06:56:00 2ac1f1163629: Download complete 06:56:00 f49a43e4bbc0: Verifying Checksum 06:56:00 f49a43e4bbc0: Download complete 06:56:04 2ac1f1163629: Pull complete 06:56:04 5c3c966382ef: Pull complete 06:56:04 4f4fb700ef54: Pull complete 06:56:04 5d5c8e513c77: Pull complete 06:56:04 9f66e0745190: Pull complete 06:56:07 f49a43e4bbc0: Pull complete 06:56:07 561ebcabdf7f: Pull complete 06:56:07 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 06:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:56:07 ---> 3a752c3f9dda 06:56:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:56:13 Still waiting to schedule task 06:56:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:56:13 ---> Running in ed0f91faad8e 06:56:13 Removing intermediate container ed0f91faad8e 06:56:13 ---> c06b150bb58d 06:56:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:56:13 ---> Running in b42d9f091a29 06:56:13 Removing intermediate container b42d9f091a29 06:56:13 ---> 185667214576 06:56:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 06:56:13 ---> Running in 49d09cef8cb7 06:56:13 Removing intermediate container 49d09cef8cb7 06:56:13 ---> 5d566e773cee 06:56:13 Step 6/12 : WORKDIR /device-virtual-go 06:56:13 ---> Running in 0e8c8c407f21 06:56:13 Removing intermediate container 0e8c8c407f21 06:56:13 ---> 41a9ee3549a8 06:56:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:56:13 ---> Running in 28f4dc1fb158 06:56:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:56:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:56:14 (1/4) Installing openssh-keygen (9.7_p1-r4) 06:56:14 (2/4) Installing libedit (20240517.3.1-r0) 06:56:14 (3/4) Installing openssh-client-common (9.7_p1-r4) 06:56:14 (4/4) Installing openssh-client-default (9.7_p1-r4) 06:56:14 Executing busybox-1.36.1-r29.trigger 06:56:14 OK: 250 MiB in 58 packages 06:56:14 Removing intermediate container 28f4dc1fb158 06:56:14 ---> 0f18b8090d55 06:56:14 Step 8/12 : COPY go.mod vendor* ./ 06:56:14 ---> 32e6334d97e1 06:56:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:56:14 ---> Running in a4e09a30a407 06:57:22 Removing intermediate container a4e09a30a407 06:57:22 ---> fad1dd8dd72b 06:57:22 Step 10/12 : COPY . . 06:57:22 ---> 71a558cf8aaa 06:57:22 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:57:22 ---> Running in 62fa0e710618 06:57:22 Removing intermediate container 62fa0e710618 06:57:22 ---> 4ad97978992c 06:57:22 Step 12/12 : RUN $MAKE 06:57:22 ---> Running in fac6501f3914 06:57:22 noop 06:57:22 Removing intermediate container fac6501f3914 06:57:22 ---> 410d7bcda56c 06:57:22 Successfully built 410d7bcda56c 06:57:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:22 + docker inspect -f . ci-base-image-x86_64 06:57:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:23 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 06:57:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:57:23 $ docker top 6d38646b2995a52c692c99ea1cc83b2973dfc08487a13f4251d5b93809be4de9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:23 + go version 06:57:23 go version go1.23.2 linux/amd64 [Pipeline] } 06:57:23 $ docker stop --time=1 6d38646b2995a52c692c99ea1cc83b2973dfc08487a13f4251d5b93809be4de9 06:57:25 $ docker rm -f --volumes 6d38646b2995a52c692c99ea1cc83b2973dfc08487a13f4251d5b93809be4de9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:25 + docker inspect -f . ci-base-image-x86_64 06:57:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:57:25 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 06:57:25 $ 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 06:57:25 $ docker top 8202b358d0135049416704ef71b584dc9a9a1211caf775001e389a9c4dfc26a9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:57:26 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 06:57:26 + make test 06:57:26 go test ./... -coverprofile=coverage.out 06:57:28 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:57:46 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 06:57:46 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.012s coverage: 58.4% of statements 06:57:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22487 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 06:57:52 Running in /w/workspace/device-virtual-go/182 [Pipeline] { [Pipeline] checkout 06:57:54 go vet ./... 06:57:55 The recommended git tool is: git 06:58:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:58:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:58:01 ./bin/test-attribution-txt.sh [Pipeline] echo 06:58:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:58:01 $ docker stop --time=1 8202b358d0135049416704ef71b584dc9a9a1211caf775001e389a9c4dfc26a9 06:58:03 using credential edgex-jenkins-ssh 06:58:03 Cloning the remote Git repository 06:58:03 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:58:03 > git init /w/workspace/device-virtual-go/182 # timeout=10 06:58:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:58:04 > git --version # timeout=10 06:58:04 > git --version # 'git version 2.25.1' 06:58:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:58:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:58:06 $ docker rm -f --volumes 8202b358d0135049416704ef71b584dc9a9a1211caf775001e389a9c4dfc26a9 [Pipeline] // withDockerContainer [Pipeline] sh 06:58:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:58:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:58:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:58:08 + ls -al . 06:58:08 total 276 06:58:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 06:57 . 06:58:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 06:55 .. 06:58:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 06:57 .git 06:58:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:55 .github 06:58:08 -rw-rw-r-- 1 jenkins jenkins 272 Oct 11 06:55 .gitignore 06:58:08 -rw-rw-r-- 1 jenkins jenkins 199 Oct 11 06:55 .golangci.yml 06:58:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 06:55 .semver 06:58:08 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 11 06:55 Attribution.txt 06:58:08 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 11 06:55 CHANGELOG.md 06:58:08 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 11 06:55 Dockerfile 06:58:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 06:55 GOVERNANCE.md 06:58:08 -rw-rw-r-- 1 jenkins jenkins 660 Oct 11 06:55 Jenkinsfile 06:58:08 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 06:55 LICENSE 06:58:08 -rw-rw-r-- 1 jenkins jenkins 1953 Oct 11 06:55 Makefile 06:58:08 -rw-rw-r-- 1 jenkins jenkins 623 Oct 11 06:55 OWNERS.md 06:58:08 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 11 06:55 README.md 06:58:08 -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 06:55 VERSION 06:58:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 06:55 bin 06:58:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:55 cmd 06:58:08 -rw-r--r-- 1 jenkins jenkins 43316 Oct 11 06:57 coverage.out 06:58:08 -rw-rw-r-- 1 jenkins jenkins 6895 Oct 11 06:55 go.mod 06:58:08 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 11 06:55 go.sum 06:58:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:55 internal 06:58:08 -rw-rw-r-- 1 jenkins jenkins 235 Oct 11 06:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:08 + 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=356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a --label arch=amd64 --label version=3.2.0-dev.26 . 06:58:08 Sending build context to Docker daemon 37.68MB 06:58:08 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 06:58:08 Step 2/26 : FROM ${BASE} AS builder 06:58:08 ---> 410d7bcda56c 06:58:08 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:58:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:58:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:58:09 Avoid second fetch 06:58:09 Checking out Revision 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a (main) 06:58:09 ---> Running in 6dab56bfcb8b 06:58:09 Removing intermediate container 6dab56bfcb8b 06:58:09 ---> bd5e61378445 06:58:09 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:58:09 ---> Running in b02b5e10724d 06:58:09 Removing intermediate container b02b5e10724d 06:58:09 ---> a119eee5e3f2 06:58:09 Step 5/26 : ARG ADD_BUILD_TAGS="" 06:58:09 ---> Running in bec47ebb1c8a 06:58:09 Removing intermediate container bec47ebb1c8a 06:58:09 ---> a7553b8458cc 06:58:09 Step 6/26 : WORKDIR /device-virtual-go 06:58:09 ---> Running in 5a4473238c11 06:58:09 Removing intermediate container 5a4473238c11 06:58:09 ---> 0824ecf3d27a 06:58:09 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:58:09 ---> Running in 4f986ace9277 06:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:58:10 Commit message: "Merge pull request #494 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" 06:58:10 OK: 250 MiB in 58 packages 06:58:09 > git config core.sparsecheckout # timeout=10 06:58:09 > git checkout -f 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a # timeout=10 06:58:11 Removing intermediate container 4f986ace9277 06:58:11 ---> 0e5a3f0eb337 06:58:11 Step 8/26 : COPY go.mod vendor* ./ 06:58:11 ---> 0c6f86a0eb50 06:58:11 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:58:11 ---> Running in b3eaec8b94df 06:58:11 Removing intermediate container b3eaec8b94df 06:58:11 ---> 0970f2b7282b 06:58:11 Step 10/26 : COPY . . 06:58:12 ---> e01906a6b9b2 06:58:12 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:58:12 ---> Running in 719e79ea3058 06:58:12 Removing intermediate container 719e79ea3058 06:58:12 ---> 314655782a75 06:58:12 Step 12/26 : RUN $MAKE 06:58:12 ---> Running in 2805865d779c 06:58:13 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:58:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:58:15 % Total % Received % Xferd Average Speed Time Time Time Current 06:58:15 Dload Upload Total Spent Left Speed 06:58:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 73302 0 --:--:-- --:--:-- --:--:-- 73302 [Pipeline] sh 06:58:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:58:15 + sudo tee /etc/docker/daemon.new 06:58:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:58:15 { 06:58:15 "registry-mirrors": [ 06:58:15 "https://nexus3.edgexfoundry.org:10001" 06:58:15 ], 06:58:15 "bip": "10.250.0.254/24", 06:58:15 "hosts": [ 06:58:15 "tcp://0.0.0.0:5555", 06:58:15 "unix:///var/run/docker.sock" 06:58:15 ], 06:58:15 "mtu": 1458, 06:58:15 "selinux-enabled": true, 06:58:15 "seccomp-profile": "/etc/docker/seccomp.json" 06:58:15 } [Pipeline] sh 06:58:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:58:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:34 provisioning config files... 06:58:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/182@tmp/config13381362310254367607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:35 ---> ****-login.sh 06:58:35 nexus3.edgexfoundry.org:10001 06:58:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:35 Configure a credential helper to remove this warning. See 06:58:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:35 06:58:35 Login Succeeded 06:58:35 nexus3.edgexfoundry.org:10002 06:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:36 Configure a credential helper to remove this warning. See 06:58:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:36 06:58:36 Login Succeeded 06:58:36 nexus3.edgexfoundry.org:10003 06:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:36 Configure a credential helper to remove this warning. See 06:58:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:36 06:58:36 Login Succeeded 06:58:36 nexus3.edgexfoundry.org:10004 06:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:36 Configure a credential helper to remove this warning. See 06:58:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:36 06:58:36 Login Succeeded 06:58:36 ****.io 06:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:37 Configure a credential helper to remove this warning. See 06:58:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:37 06:58:37 Login Succeeded 06:58:37 ---> ****-login.sh ends [Pipeline] } 06:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:58:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:58:37 ========================================================= 06:58:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:58:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 06:58:38 Sending build context to Docker daemon 19MB 06:58:38 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:58:38 Step 2/12 : FROM ${BASE} AS builder 06:58:38 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:58:38 cf04c63912e1: Pulling fs layer 06:58:38 55b35a11ae5e: Pulling fs layer 06:58:38 a37a00ec5f00: Pulling fs layer 06:58:38 50b3750afda1: Pulling fs layer 06:58:38 4f4fb700ef54: Pulling fs layer 06:58:38 80978eb59214: Pulling fs layer 06:58:38 c9f46d7d2bd2: Pulling fs layer 06:58:38 c5a475d317c9: Pulling fs layer 06:58:38 80978eb59214: Waiting 06:58:38 50b3750afda1: Waiting 06:58:38 4f4fb700ef54: Waiting 06:58:38 c9f46d7d2bd2: Waiting 06:58:38 55b35a11ae5e: Download complete 06:58:38 50b3750afda1: Verifying Checksum 06:58:38 50b3750afda1: Download complete 06:58:38 4f4fb700ef54: Verifying Checksum 06:58:38 4f4fb700ef54: Download complete 06:58:38 80978eb59214: Verifying Checksum 06:58:38 80978eb59214: Download complete 06:58:38 cf04c63912e1: Verifying Checksum 06:58:38 cf04c63912e1: Download complete 06:58:38 c5a475d317c9: Verifying Checksum 06:58:38 c5a475d317c9: Download complete 06:58:39 cf04c63912e1: Pull complete 06:58:39 55b35a11ae5e: Pull complete 06:58:40 a37a00ec5f00: Verifying Checksum 06:58:40 a37a00ec5f00: Download complete 06:58:40 c9f46d7d2bd2: Verifying Checksum 06:58:40 c9f46d7d2bd2: Download complete 06:58:45 Removing intermediate container 2805865d779c 06:58:45 ---> f8eab35e36f7 06:58:45 Step 13/26 : FROM alpine:3.20 06:58:45 3.20: Pulling from library/alpine 06:58:45 43c4264eed91: Already exists 06:58:45 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 06:58:45 Status: Downloaded newer image for alpine:3.20 06:58:45 ---> 91ef0af61f39 06:58:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:58:45 ---> Running in 5d86a1865b7a 06:58:45 Removing intermediate container 5d86a1865b7a 06:58:45 ---> 17b238d755d0 06:58:45 Step 15/26 : RUN apk add --update --no-cache dumb-init 06:58:45 ---> Running in 612618ad3dc8 06:58:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:58:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:58:45 (1/1) Installing dumb-init (1.2.5-r3) 06:58:45 Executing busybox-1.36.1-r29.trigger 06:58:45 OK: 8 MiB in 15 packages 06:58:45 Removing intermediate container 612618ad3dc8 06:58:45 ---> 75f0b4ddb152 06:58:45 Step 16/26 : RUN apk --no-cache upgrade 06:58:45 ---> Running in 51dc3547a611 06:58:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:58:46 Upgrading critical system libraries and apk-tools: 06:58:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 06:58:46 Executing busybox-1.36.1-r29.trigger 06:58:46 Continuing the upgrade transaction with new apk-tools: 06:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:58:46 OK: 8 MiB in 15 packages 06:58:46 Removing intermediate container 51dc3547a611 06:58:46 ---> d9ba85d0d468 06:58:46 Step 17/26 : WORKDIR / 06:58:46 ---> Running in fb00ec2082fd 06:58:47 Removing intermediate container fb00ec2082fd 06:58:47 ---> 11d03ae8f32d 06:58:47 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:58:47 ---> 4c15d52b6d6c 06:58:47 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:58:47 ---> f6302552054c 06:58:47 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:58:48 ---> 3b6e65e38a01 06:58:48 Step 21/26 : EXPOSE 59900 06:58:48 ---> Running in 79e19ec5fd64 06:58:48 Removing intermediate container 79e19ec5fd64 06:58:48 ---> 2fa1900557a9 06:58:48 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:58:48 ---> Running in 2c018aeff477 06:58:48 Removing intermediate container 2c018aeff477 06:58:48 ---> 615391818159 06:58:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:58:48 ---> Running in a15b7b80c24e 06:58:48 Removing intermediate container a15b7b80c24e 06:58:48 ---> 6b55fb63771a 06:58:48 Step 24/26 : LABEL arch=amd64 06:58:48 ---> Running in dd8159d6a435 06:58:48 Removing intermediate container dd8159d6a435 06:58:48 ---> 4a70628d8b78 06:58:48 Step 25/26 : LABEL git_sha=356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 06:58:48 ---> Running in 9e6cc4ea6f52 06:58:48 Removing intermediate container 9e6cc4ea6f52 06:58:48 ---> 66e31d46bec6 06:58:48 Step 26/26 : LABEL version=3.2.0-dev.26 06:58:48 ---> Running in 458cb63279a3 06:58:48 Removing intermediate container 458cb63279a3 06:58:48 ---> fc2dd08f9325 06:58:48 [Warning] One or more build-args [ARCH] were not consumed 06:58:48 Successfully built fc2dd08f9325 06:58:48 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:58:49 provisioning config files... 06:58:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5826119767426441858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:58:49 ---> ****-login.sh 06:58:49 nexus3.edgexfoundry.org:10001 06:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:49 Configure a credential helper to remove this warning. See 06:58:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:49 06:58:49 Login Succeeded 06:58:49 nexus3.edgexfoundry.org:10002 06:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:49 Configure a credential helper to remove this warning. See 06:58:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:49 06:58:49 Login Succeeded 06:58:49 nexus3.edgexfoundry.org:10003 06:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:49 Configure a credential helper to remove this warning. See 06:58:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:49 06:58:49 Login Succeeded 06:58:49 nexus3.edgexfoundry.org:10004 06:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:49 Configure a credential helper to remove this warning. See 06:58:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:49 06:58:49 Login Succeeded 06:58:49 ****.io 06:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:58:49 Configure a credential helper to remove this warning. See 06:58:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:58:49 06:58:49 Login Succeeded 06:58:49 ---> ****-login.sh ends [Pipeline] } 06:58:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:58:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:58:49 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 06:58:49 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 06:58:49 latest 06:58:49 3.2.0-dev.26 06:58:49 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26 06:58:49 main 06:58:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:50 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 06:58:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:58:50 4728cb76abb2: Preparing 06:58:50 01125a223d70: Preparing 06:58:50 ce4f0f959d26: Preparing 06:58:50 28ebcf3f8c00: Preparing 06:58:50 77f45e59adff: Preparing 06:58:50 63ca1fbb43ae: Preparing 06:58:50 63ca1fbb43ae: Waiting 06:58:50 ce4f0f959d26: Pushed 06:58:50 28ebcf3f8c00: Pushed 06:58:50 01125a223d70: Pushed 06:58:50 63ca1fbb43ae: Layer already exists 06:58:50 77f45e59adff: Pushed 06:58:53 a37a00ec5f00: Pull complete 06:58:53 50b3750afda1: Pull complete 06:58:53 4f4fb700ef54: Pull complete 06:58:53 80978eb59214: Pull complete 06:58:53 4728cb76abb2: Pushed 06:58:53 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a: digest: sha256:81edaf75163333751567d3050e2e00c96d1e8f9b42e1770a4e26dc020c7582ee size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:54 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 06:58:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:58:54 4728cb76abb2: Preparing 06:58:54 01125a223d70: Preparing 06:58:54 ce4f0f959d26: Preparing 06:58:54 28ebcf3f8c00: Preparing 06:58:54 77f45e59adff: Preparing 06:58:54 63ca1fbb43ae: Preparing 06:58:54 63ca1fbb43ae: Waiting 06:58:54 28ebcf3f8c00: Layer already exists 06:58:54 ce4f0f959d26: Layer already exists 06:58:54 01125a223d70: Layer already exists 06:58:54 4728cb76abb2: Layer already exists 06:58:54 77f45e59adff: Layer already exists 06:58:54 63ca1fbb43ae: Layer already exists 06:58:54 latest: digest: sha256:81edaf75163333751567d3050e2e00c96d1e8f9b42e1770a4e26dc020c7582ee size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:54 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.26 06:58:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:58:55 4728cb76abb2: Preparing 06:58:55 01125a223d70: Preparing 06:58:55 ce4f0f959d26: Preparing 06:58:55 28ebcf3f8c00: Preparing 06:58:55 77f45e59adff: Preparing 06:58:55 63ca1fbb43ae: Preparing 06:58:55 63ca1fbb43ae: Waiting 06:58:55 4728cb76abb2: Layer already exists 06:58:55 28ebcf3f8c00: Layer already exists 06:58:55 01125a223d70: Layer already exists 06:58:55 77f45e59adff: Layer already exists 06:58:55 ce4f0f959d26: Layer already exists 06:58:55 63ca1fbb43ae: Layer already exists 06:58:55 3.2.0-dev.26: digest: sha256:81edaf75163333751567d3050e2e00c96d1e8f9b42e1770a4e26dc020c7582ee size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26 06:58:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:58:55 4728cb76abb2: Preparing 06:58:55 01125a223d70: Preparing 06:58:55 ce4f0f959d26: Preparing 06:58:55 28ebcf3f8c00: Preparing 06:58:55 77f45e59adff: Preparing 06:58:55 63ca1fbb43ae: Preparing 06:58:55 63ca1fbb43ae: Waiting 06:58:55 77f45e59adff: Layer already exists 06:58:55 28ebcf3f8c00: Layer already exists 06:58:55 01125a223d70: Layer already exists 06:58:55 ce4f0f959d26: Layer already exists 06:58:55 4728cb76abb2: Layer already exists 06:58:55 63ca1fbb43ae: Layer already exists 06:58:55 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26: digest: sha256:81edaf75163333751567d3050e2e00c96d1e8f9b42e1770a4e26dc020c7582ee size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 06:58:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:58:56 4728cb76abb2: Preparing 06:58:56 01125a223d70: Preparing 06:58:56 ce4f0f959d26: Preparing 06:58:56 28ebcf3f8c00: Preparing 06:58:56 77f45e59adff: Preparing 06:58:56 63ca1fbb43ae: Preparing 06:58:56 63ca1fbb43ae: Waiting 06:58:56 77f45e59adff: Layer already exists 06:58:56 01125a223d70: Layer already exists 06:58:56 ce4f0f959d26: Layer already exists 06:58:56 28ebcf3f8c00: Layer already exists 06:58:56 4728cb76abb2: Layer already exists 06:58:56 63ca1fbb43ae: Layer already exists 06:58:56 main: digest: sha256:81edaf75163333751567d3050e2e00c96d1e8f9b42e1770a4e26dc020c7582ee size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:58:56 ===================================================== [Pipeline] echo 06:58:56 taggedImages: 06:58:56 - nexus3.edgexfoundry.org:10004/device-virtual:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 06:58:56 - nexus3.edgexfoundry.org:10004/device-virtual:latest 06:58:56 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.26 06:58:56 - nexus3.edgexfoundry.org:10004/device-virtual:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26 06:58:56 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:58:57 06:58:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:58:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:58:57 latest: Pulling from edgex-lftools-log-publisher 06:58:57 5eb5b503b376: Pulling fs layer 06:58:57 5c69ac0246d0: Pulling fs layer 06:58:57 ec43610c2a17: Pulling fs layer 06:58:57 3a2ae6a8a46f: Pulling fs layer 06:58:57 33b1e0a273af: Pulling fs layer 06:58:57 5d3b04190fa2: Pulling fs layer 06:58:57 2f39f015ded8: Pulling fs layer 06:58:57 3a2ae6a8a46f: Waiting 06:58:57 33b1e0a273af: Waiting 06:58:57 5d3b04190fa2: Waiting 06:58:57 2f39f015ded8: Waiting 06:58:57 5c69ac0246d0: Download complete 06:58:57 3a2ae6a8a46f: Verifying Checksum 06:58:57 3a2ae6a8a46f: Download complete 06:58:57 33b1e0a273af: Verifying Checksum 06:58:57 33b1e0a273af: Download complete 06:58:57 ec43610c2a17: Verifying Checksum 06:58:57 ec43610c2a17: Download complete 06:58:57 5d3b04190fa2: Verifying Checksum 06:58:57 5d3b04190fa2: Download complete 06:58:57 5eb5b503b376: Verifying Checksum 06:58:57 5eb5b503b376: Download complete 06:58:58 2f39f015ded8: Download complete 06:58:58 5eb5b503b376: Pull complete 06:58:58 5c69ac0246d0: Pull complete 06:58:59 ec43610c2a17: Pull complete 06:58:59 3a2ae6a8a46f: Pull complete 06:58:59 33b1e0a273af: Pull complete 06:58:59 5d3b04190fa2: Pull complete 06:59:02 c9f46d7d2bd2: Pull complete 06:59:02 c5a475d317c9: Pull complete 06:59:02 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 06:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:59:02 ---> be29e6b0f0d4 06:59:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:59:03 2f39f015ded8: Pull complete 06:59:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:59:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:59:03 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 06:59:03 $ 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 06:59:04 ---> Running in 2dc2d5297858 06:59:04 Removing intermediate container 2dc2d5297858 06:59:04 ---> 05281ad1c741 06:59:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:59:04 ---> Running in f46d38ce8a7c 06:59:05 Removing intermediate container f46d38ce8a7c 06:59:05 ---> 8fbc2db74b82 06:59:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 06:59:05 ---> Running in f5ff8f0c2d56 06:59:05 Removing intermediate container f5ff8f0c2d56 06:59:05 ---> 2b773173a364 06:59:05 Step 6/12 : WORKDIR /device-virtual-go 06:59:05 ---> Running in 01bb33e4ea02 06:59:05 Removing intermediate container 01bb33e4ea02 06:59:05 ---> 6bf0771ebcc9 06:59:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:59:05 ---> Running in 41cb9b43d284 06:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:59:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:59:08 (1/4) Installing openssh-keygen (9.7_p1-r4) 06:59:08 (2/4) Installing libedit (20240517.3.1-r0) 06:59:08 (3/4) Installing openssh-client-common (9.7_p1-r4) 06:59:08 (4/4) Installing openssh-client-default (9.7_p1-r4) 06:59:08 Executing busybox-1.36.1-r29.trigger 06:59:08 OK: 242 MiB in 58 packages 06:59:09 $ docker top a782ce7dfca2bca320ad5d5a995a6b8d757c79746414543d0c1dccd7af83031d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:59:09 ---> job-cost.sh 06:59:09 lf-activate-venv: SKIPPING 06:59:09 INFO: No Stack... 06:59:10 INFO: Retrieving Pricing Info for: v3-standard-8 06:59:10 Removing intermediate container 41cb9b43d284 06:59:10 ---> fd9979425b01 06:59:10 Step 8/12 : COPY go.mod vendor* ./ 06:59:10 INFO: Archiving Costs [Pipeline] sh 06:59:10 ---> 94f0faf2e645 06:59:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:59:10 ---> Running in effc749be7b6 06:59:10 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 06:59:10 + cut -d, -f6 [Pipeline] lock 06:59:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-182-stack-cost] 06:59:10 Resource [jenkins-edgexfoundry-device-virtual-go-main-182-stack-cost] did not exist. Created. 06:59:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:59:11 + echo total: 0.2199999988079071 [Pipeline] stash 06:59:11 Stashed 1 file(s) [Pipeline] } 06:59:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-182-stack-cost] [Pipeline] // lock [Pipeline] } 06:59:11 $ docker stop --time=1 a782ce7dfca2bca320ad5d5a995a6b8d757c79746414543d0c1dccd7af83031d 06:59:12 $ docker rm -f --volumes a782ce7dfca2bca320ad5d5a995a6b8d757c79746414543d0c1dccd7af83031d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:01:02 Removing intermediate container effc749be7b6 07:01:02 ---> cdc8da3e996d 07:01:02 Step 10/12 : COPY . . 07:01:02 ---> 72fe0347eea0 07:01:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:01:02 ---> Running in fe7ea9902365 07:01:02 Removing intermediate container fe7ea9902365 07:01:02 ---> a4ce05139865 07:01:02 Step 12/12 : RUN $MAKE 07:01:02 ---> Running in 5e4a6415e278 07:01:02 noop 07:01:02 Removing intermediate container 5e4a6415e278 07:01:02 ---> 2a5c3c0e06d1 07:01:02 Successfully built 2a5c3c0e06d1 07:01:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:02 + docker inspect -f . ci-base-image-arm64 07:01:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:02 prd-ubuntu20.04-docker-arm64-4c-16g-22487 does not seem to be running inside a container 07:01:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/182 -v /w/workspace/device-virtual-go/182:/w/workspace/device-virtual-go/182:rw,z -v /w/workspace/device-virtual-go/182@tmp:/w/workspace/device-virtual-go/182@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 07:01:04 $ docker top 7963032e7307c9f157208f051fde1123052edbfdaacd7cd4ab83e7489ec8af7a -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:05 + go version 07:01:05 go version go1.23.2 linux/arm64 [Pipeline] } 07:01:05 $ docker stop --time=1 7963032e7307c9f157208f051fde1123052edbfdaacd7cd4ab83e7489ec8af7a 07:01:07 $ docker rm -f --volumes 7963032e7307c9f157208f051fde1123052edbfdaacd7cd4ab83e7489ec8af7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:11 + docker inspect -f . ci-base-image-arm64 07:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:11 prd-ubuntu20.04-docker-arm64-4c-16g-22487 does not seem to be running inside a container 07:01:11 $ 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/182 -v /w/workspace/device-virtual-go/182:/w/workspace/device-virtual-go/182:rw,z -v /w/workspace/device-virtual-go/182@tmp:/w/workspace/device-virtual-go/182@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 07:01:12 $ docker top c13a7477b7360f51faedd66858786c3c0e93571b03d7bb8705db3555a250cfbd -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:13 + git config --global --add safe.directory /w/workspace/device-virtual-go/182 [Pipeline] fileExists [Pipeline] sh 07:01:13 + make test 07:01:13 go test ./... -coverprofile=coverage.out 07:01:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:04:26 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 07:04:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.061s coverage: 58.3% of statements 07:04:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:04:26 go vet ./... 07:05:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:05:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:05:05 ./bin/test-attribution-txt.sh [Pipeline] echo 07:05:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:05:05 $ docker stop --time=1 c13a7477b7360f51faedd66858786c3c0e93571b03d7bb8705db3555a250cfbd 07:05:07 $ docker rm -f --volumes c13a7477b7360f51faedd66858786c3c0e93571b03d7bb8705db3555a250cfbd [Pipeline] // withDockerContainer [Pipeline] sh 07:05:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:05:09 Warning: overwriting stash ‘coverage-report’ 07:05:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:05:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:05:10 + ls -al . 07:05:10 total 272 07:05:10 drwxrwxr-x 7 jenkins jenkins 4096 Oct 11 07:01 . 07:05:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 06:58 .. 07:05:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 06:58 .git 07:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:58 .github 07:05:10 -rw-rw-r-- 1 jenkins jenkins 272 Oct 11 06:58 .gitignore 07:05:10 -rw-rw-r-- 1 jenkins jenkins 199 Oct 11 06:58 .golangci.yml 07:05:10 -rw-rw-r-- 1 jenkins jenkins 18321 Oct 11 06:58 Attribution.txt 07:05:10 -rw-rw-r-- 1 jenkins jenkins 15941 Oct 11 06:58 CHANGELOG.md 07:05:10 -rw-rw-r-- 1 jenkins jenkins 1755 Oct 11 06:58 Dockerfile 07:05:10 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 06:58 GOVERNANCE.md 07:05:10 -rw-rw-r-- 1 jenkins jenkins 660 Oct 11 06:58 Jenkinsfile 07:05:10 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 06:58 LICENSE 07:05:10 -rw-rw-r-- 1 jenkins jenkins 1953 Oct 11 06:58 Makefile 07:05:10 -rw-rw-r-- 1 jenkins jenkins 623 Oct 11 06:58 OWNERS.md 07:05:10 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 11 06:58 README.md 07:05:10 -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 06:55 VERSION 07:05:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 06:58 bin 07:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:58 cmd 07:05:10 -rw-r--r-- 1 jenkins jenkins 43316 Oct 11 07:04 coverage.out 07:05:10 -rw-rw-r-- 1 jenkins jenkins 6895 Oct 11 06:58 go.mod 07:05:10 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 11 06:58 go.sum 07:05:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 06:58 internal 07:05:10 -rw-rw-r-- 1 jenkins jenkins 235 Oct 11 06:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:05:10 + 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=356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a --label arch=arm64 --label version=3.2.0-dev.26 . 07:05:11 Sending build context to Docker daemon 19.05MB 07:05:11 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 07:05:11 Step 2/26 : FROM ${BASE} AS builder 07:05:11 ---> 2a5c3c0e06d1 07:05:11 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:05:11 ---> Running in c5193d1fcbbc 07:05:13 Removing intermediate container c5193d1fcbbc 07:05:13 ---> 10bfd8d68910 07:05:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 07:05:13 ---> Running in 17eadd1eb74a 07:05:13 Removing intermediate container 17eadd1eb74a 07:05:13 ---> f2ad9fd0d8c0 07:05:13 Step 5/26 : ARG ADD_BUILD_TAGS="" 07:05:13 ---> Running in 716227b77ac1 07:05:13 Removing intermediate container 716227b77ac1 07:05:13 ---> 28d225de1037 07:05:13 Step 6/26 : WORKDIR /device-virtual-go 07:05:13 ---> Running in 8e2775ddd3ba 07:05:13 Removing intermediate container 8e2775ddd3ba 07:05:13 ---> 3cccc8e75d95 07:05:13 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:05:13 ---> Running in d8e4bc7e7fdb 07:05:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:05:19 OK: 242 MiB in 58 packages 07:05:19 Removing intermediate container d8e4bc7e7fdb 07:05:19 ---> d8a2a7ff25b5 07:05:19 Step 8/26 : COPY go.mod vendor* ./ 07:05:19 ---> 090962aa6f9d 07:05:19 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:05:19 ---> Running in baa96b733c47 07:05:20 Removing intermediate container baa96b733c47 07:05:20 ---> e448842dea86 07:05:20 Step 10/26 : COPY . . 07:05:22 ---> 3bc5c2032533 07:05:22 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:05:22 ---> Running in 6a361611676c 07:05:22 Removing intermediate container 6a361611676c 07:05:22 ---> 07075702e568 07:05:22 Step 12/26 : RUN $MAKE 07:05:22 ---> Running in fa02629f1a90 07:05:23 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.26 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:08:55 Removing intermediate container fa02629f1a90 07:08:55 ---> 861b442fa237 07:08:55 Step 13/26 : FROM alpine:3.20 07:08:55 3.20: Pulling from library/alpine 07:08:55 cf04c63912e1: Already exists 07:08:55 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:08:55 Status: Downloaded newer image for alpine:3.20 07:08:55 ---> c157a85ed455 07:08:55 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:08:55 ---> Running in f6fe93fa6377 07:08:55 Removing intermediate container f6fe93fa6377 07:08:55 ---> aa1a814ab7a0 07:08:55 Step 15/26 : RUN apk add --update --no-cache dumb-init 07:08:55 ---> Running in ea14b44d9234 07:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:08:55 (1/1) Installing dumb-init (1.2.5-r3) 07:08:55 Executing busybox-1.36.1-r29.trigger 07:08:55 OK: 9 MiB in 15 packages 07:08:55 Removing intermediate container ea14b44d9234 07:08:55 ---> 2e1578cb7690 07:08:55 Step 16/26 : RUN apk --no-cache upgrade 07:08:55 ---> Running in 6b2cec8fc701 07:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:08:55 Upgrading critical system libraries and apk-tools: 07:08:55 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:08:55 Executing busybox-1.36.1-r29.trigger 07:08:55 Continuing the upgrade transaction with new apk-tools: 07:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:08:55 OK: 9 MiB in 15 packages 07:08:55 Removing intermediate container 6b2cec8fc701 07:08:55 ---> da82c284a2fe 07:08:55 Step 17/26 : WORKDIR / 07:08:55 ---> Running in a5c68dc37d4e 07:08:55 Removing intermediate container a5c68dc37d4e 07:08:55 ---> b63f44f26882 07:08:55 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:08:55 ---> d55f7a620d2d 07:08:55 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 07:08:55 ---> dbb7d5816da6 07:08:55 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 07:08:55 ---> e4cb25ced1a0 07:08:55 Step 21/26 : EXPOSE 59900 07:08:55 ---> Running in fd3a301ed0da 07:08:55 Removing intermediate container fd3a301ed0da 07:08:55 ---> e4a2f257962a 07:08:55 Step 22/26 : ENTRYPOINT ["/device-virtual"] 07:08:55 ---> Running in c1a3bd51d41f 07:08:55 Removing intermediate container c1a3bd51d41f 07:08:55 ---> 9e4cc82c7069 07:08:55 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:08:55 ---> Running in 7541c77e3006 07:08:55 Removing intermediate container 7541c77e3006 07:08:55 ---> ba822b7b28bd 07:08:55 Step 24/26 : LABEL arch=arm64 07:08:55 ---> Running in 217e7689761d 07:08:56 Removing intermediate container 217e7689761d 07:08:56 ---> 3111645a8b17 07:08:56 Step 25/26 : LABEL git_sha=356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 07:08:56 ---> Running in 59fc6a25423b 07:08:56 Removing intermediate container 59fc6a25423b 07:08:56 ---> f649c88350d1 07:08:56 Step 26/26 : LABEL version=3.2.0-dev.26 07:08:56 ---> Running in 710157884a73 07:08:56 Removing intermediate container 710157884a73 07:08:56 ---> 995d8e1e214b 07:08:56 [Warning] One or more build-args [ARCH] were not consumed 07:08:56 Successfully built 995d8e1e214b 07:08:56 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 07:08:56 provisioning config files... 07:08:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/182@tmp/config10173624383682721549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:08:57 ---> ****-login.sh 07:08:57 nexus3.edgexfoundry.org:10001 07:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:57 Configure a credential helper to remove this warning. See 07:08:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:57 07:08:57 Login Succeeded 07:08:57 nexus3.edgexfoundry.org:10002 07:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:57 Configure a credential helper to remove this warning. See 07:08:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:57 07:08:57 Login Succeeded 07:08:57 nexus3.edgexfoundry.org:10003 07:08:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:57 Configure a credential helper to remove this warning. See 07:08:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:57 07:08:57 Login Succeeded 07:08:57 nexus3.edgexfoundry.org:10004 07:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:58 Configure a credential helper to remove this warning. See 07:08:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:58 07:08:58 Login Succeeded 07:08:58 ****.io 07:08:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:08:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:08:58 Configure a credential helper to remove this warning. See 07:08:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:08:58 07:08:58 Login Succeeded 07:08:58 ---> ****-login.sh ends [Pipeline] } 07:08:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:08:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:08:58 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 07:08:58 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 07:08:58 latest 07:08:58 3.2.0-dev.26 07:08:58 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26 07:08:58 main 07:08:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:08:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 07:08:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:08:59 aa09f48dc8a3: Preparing 07:08:59 3c8be3806b0e: Preparing 07:08:59 4f041d9470c1: Preparing 07:08:59 235af9ba2300: Preparing 07:08:59 4b6c84516fb6: Preparing 07:08:59 16113d51b718: Preparing 07:08:59 16113d51b718: Waiting 07:08:59 4b6c84516fb6: Pushed 07:08:59 4f041d9470c1: Pushed 07:08:59 3c8be3806b0e: Pushed 07:08:59 235af9ba2300: Pushed 07:08:59 16113d51b718: Layer already exists 07:09:06 aa09f48dc8a3: Pushed 07:09:06 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a: digest: sha256:1280964585d526a4b466b32c3c3d1751f4ee8065bc373cd85b761407b54ea5bb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:06 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 07:09:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:09:07 aa09f48dc8a3: Preparing 07:09:07 3c8be3806b0e: Preparing 07:09:07 4f041d9470c1: Preparing 07:09:07 235af9ba2300: Preparing 07:09:07 4b6c84516fb6: Preparing 07:09:07 16113d51b718: Preparing 07:09:07 16113d51b718: Waiting 07:09:07 4b6c84516fb6: Layer already exists 07:09:07 aa09f48dc8a3: Layer already exists 07:09:07 235af9ba2300: Layer already exists 07:09:07 4f041d9470c1: Layer already exists 07:09:07 3c8be3806b0e: Layer already exists 07:09:07 16113d51b718: Layer already exists 07:09:07 latest: digest: sha256:1280964585d526a4b466b32c3c3d1751f4ee8065bc373cd85b761407b54ea5bb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.26 07:09:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:09:08 aa09f48dc8a3: Preparing 07:09:08 3c8be3806b0e: Preparing 07:09:08 4f041d9470c1: Preparing 07:09:08 235af9ba2300: Preparing 07:09:08 4b6c84516fb6: Preparing 07:09:08 16113d51b718: Preparing 07:09:08 16113d51b718: Waiting 07:09:08 4f041d9470c1: Layer already exists 07:09:08 4b6c84516fb6: Layer already exists 07:09:08 3c8be3806b0e: Layer already exists 07:09:08 aa09f48dc8a3: Layer already exists 07:09:08 235af9ba2300: Layer already exists 07:09:08 16113d51b718: Layer already exists 07:09:08 3.2.0-dev.26: digest: sha256:1280964585d526a4b466b32c3c3d1751f4ee8065bc373cd85b761407b54ea5bb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26 07:09:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:09:09 aa09f48dc8a3: Preparing 07:09:09 3c8be3806b0e: Preparing 07:09:09 4f041d9470c1: Preparing 07:09:09 235af9ba2300: Preparing 07:09:09 4b6c84516fb6: Preparing 07:09:09 16113d51b718: Preparing 07:09:09 16113d51b718: Waiting 07:09:09 3c8be3806b0e: Layer already exists 07:09:09 235af9ba2300: Layer already exists 07:09:09 4f041d9470c1: Layer already exists 07:09:09 aa09f48dc8a3: Layer already exists 07:09:09 4b6c84516fb6: Layer already exists 07:09:09 16113d51b718: Layer already exists 07:09:09 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26: digest: sha256:1280964585d526a4b466b32c3c3d1751f4ee8065bc373cd85b761407b54ea5bb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 07:09:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:09:10 aa09f48dc8a3: Preparing 07:09:10 3c8be3806b0e: Preparing 07:09:10 4f041d9470c1: Preparing 07:09:10 235af9ba2300: Preparing 07:09:10 4b6c84516fb6: Preparing 07:09:10 16113d51b718: Preparing 07:09:10 16113d51b718: Waiting 07:09:10 3c8be3806b0e: Layer already exists 07:09:10 aa09f48dc8a3: Layer already exists 07:09:10 4f041d9470c1: Layer already exists 07:09:10 235af9ba2300: Layer already exists 07:09:10 4b6c84516fb6: Layer already exists 07:09:10 16113d51b718: Layer already exists 07:09:10 main: digest: sha256:1280964585d526a4b466b32c3c3d1751f4ee8065bc373cd85b761407b54ea5bb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:09:10 ===================================================== [Pipeline] echo 07:09:10 taggedImages: 07:09:10 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a 07:09:10 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 07:09:10 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.26 07:09:10 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a-3.2.0-dev.26 07:09:10 - 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 07:09:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:09:10 07:09:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:09:10 arm64: Pulling from edgex-lftools-log-publisher 07:09:10 8998bd30e6a1: Pulling fs layer 07:09:10 04944245beec: Pulling fs layer 07:09:10 699f458cf7ca: Pulling fs layer 07:09:10 765212b225bb: Pulling fs layer 07:09:10 f23df028b6ca: Pulling fs layer 07:09:10 d65c8cfc05b1: Pulling fs layer 07:09:10 2437ff75d9bd: Pulling fs layer 07:09:10 f23df028b6ca: Waiting 07:09:10 765212b225bb: Waiting 07:09:10 d65c8cfc05b1: Waiting 07:09:10 2437ff75d9bd: Waiting 07:09:11 04944245beec: Verifying Checksum 07:09:11 04944245beec: Download complete 07:09:11 765212b225bb: Verifying Checksum 07:09:11 765212b225bb: Download complete 07:09:11 f23df028b6ca: Verifying Checksum 07:09:11 f23df028b6ca: Download complete 07:09:11 d65c8cfc05b1: Verifying Checksum 07:09:11 d65c8cfc05b1: Download complete 07:09:11 699f458cf7ca: Verifying Checksum 07:09:11 8998bd30e6a1: Download complete 07:09:14 2437ff75d9bd: Verifying Checksum 07:09:14 2437ff75d9bd: Download complete 07:09:16 8998bd30e6a1: Pull complete 07:09:16 04944245beec: Pull complete 07:09:17 699f458cf7ca: Pull complete 07:09:18 765212b225bb: Pull complete 07:09:19 f23df028b6ca: Pull complete 07:09:19 d65c8cfc05b1: Pull complete 07:09:37 2437ff75d9bd: Pull complete 07:09:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:09:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:09:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:37 prd-ubuntu20.04-docker-arm64-4c-16g-22487 does not seem to be running inside a container 07:09:37 $ 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/182 -v /w/workspace/device-virtual-go/182:/w/workspace/device-virtual-go/182:rw,z -v /w/workspace/device-virtual-go/182@tmp:/w/workspace/device-virtual-go/182@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 07:09:40 $ docker top 34c936f574d0f029298b5b83ee2176299ae0805c466bfd4fcf92c8963b31984b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:09:41 ---> job-cost.sh 07:09:41 lf-activate-venv: SKIPPING 07:09:41 INFO: No Stack... 07:09:41 INFO: Retrieving Pricing Info for: v3-standard-4 07:09:42 INFO: Archiving Costs [Pipeline] sh 07:09:42 + cat /w/workspace/device-virtual-go/182/archives/cost.csv 07:09:42 + cut -d, -f6 [Pipeline] lock 07:09:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-182-stack-cost] 07:09:43 Resource [jenkins-edgexfoundry-device-virtual-go-main-182-stack-cost] did not exist. Created. 07:09:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-182-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:09:43 /w/workspace/device-virtual-go/182@tmp/durable-4b176474/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:09:44 + echo total: 0.10999999940395355 [Pipeline] stash 07:09:44 Warning: overwriting stash ‘stack-cost’ 07:09:44 Stashed 1 file(s) [Pipeline] } 07:09:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-182-stack-cost] [Pipeline] // lock [Pipeline] } 07:09:44 $ docker stop --time=1 34c936f574d0f029298b5b83ee2176299ae0805c466bfd4fcf92c8963b31984b 07:09:45 $ docker rm -f --volumes 34c936f574d0f029298b5b83ee2176299ae0805c466bfd4fcf92c8963b31984b [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 07:09:46 provisioning config files... 07:09:46 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8914793894824501403tmp [Pipeline] { [Pipeline] sh 07:09:46 + set +x 07:09:46 + curl -s https://codecov.io/bash 07:09:46 + bash -s -- 07:09:46 07:09:46 _____ _ 07:09:46 / ____| | | 07:09:46 | | ___ __| | ___ ___ _____ __ 07:09:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:09:46 | |___| (_) | (_| | __/ (_| (_) \ V / 07:09:46 \_____\___/ \__,_|\___|\___\___/ \_/ 07:09:46 Bash-1.0.6 07:09:46 07:09:46 07:09:46 ==> git version 2.25.1 found 07:09:46 ==> 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 07:09:46 Release-Date: 2020-01-08 07:09:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:09:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:09:46 ==> Jenkins CI detected. 07:09:46 current dir:  /w/workspace/exfoundry_device-virtual-go_main 07:09:46 project root: . 07:09:46 --> token set from env 07:09:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:09:46 ==> Running gcov in . (disable via -X gcov) 07:09:46 ==> Python coveragepy not found 07:09:46 ==> Searching for coverage reports in: 07:09:46 + . 07:09:46 -> Found 1 reports 07:09:46 ==> Detecting git/mercurial file structure 07:09:46 ==> Reading reports 07:09:46 + ./coverage.out bytes=43316 07:09:46 ==> Appending adjustments 07:09:46 https://docs.codecov.io/docs/fixing-reports 07:09:46 + Found adjustments 07:09:46 ==> Gzipping contents 07:09:46 8.0K /tmp/codecov.087s6H.gz 07:09:46 ==> Uploading reports 07:09:46 url: https://codecov.io 07:09:46 query: branch=main&commit=356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F182%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:09:46 -> Pinging Codecov 07:09:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a&build=182&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F182%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:09:47 -> Uploading to 07:09:47 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-virtual-go/356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a/438b29e0-7646-4b9e-83ed-3186b0c869be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241011%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241011T070946Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5753edf315e0d0e56e16e9acd9c17cb866e16f27858bb84da9b0e1c453ad84c2 07:09:47 % Total % Received % Xferd Average Speed Time Time Time Current 07:09:47 Dload Upload Total Spent Left Speed 07:09:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5040 0 0 100 5040 0 19687 --:--:-- --:--:-- --:--:-- 19687 07:09:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [Pipeline] } 07:09:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:09:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:09:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:09:48 07:09:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:09:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:09:48 latest: Pulling from edgex-devops/edgex-snyk-go 07:09:48 43c4264eed91: Already exists 07:09:48 4cc291be95ef: Already exists 07:09:48 2ac1f1163629: Already exists 07:09:48 5c3c966382ef: Already exists 07:09:48 4f4fb700ef54: Already exists 07:09:48 d9c7d2e4e75e: Pulling fs layer 07:09:48 9c3e1370e548: Pulling fs layer 07:09:48 d9c7d2e4e75e: Download complete 07:09:48 d9c7d2e4e75e: Pull complete 07:09:49 9c3e1370e548: Download complete 07:09:51 9c3e1370e548: Pull complete 07:09:51 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 07:09:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 07:09:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:09:52 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 07:09:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 07:09:53 $ docker top 0b97f23452de1544f310252d68608335f2bb8ec66f0a95532ebbeadf03a6da6c -eo pid,comm [Pipeline] { [Pipeline] sh 07:09:53 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] echo 07:09:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 07:09:54 + set -o pipefail 07:09:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 07:10:07 07:10:07 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 07:10:07 07:10:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/4c51b4af-f1e0-4b23-b385-fd75a099f123/history/ffc3bec1-9bf1-4a31-8ff2-dde95463d693 07:10:07 07:10:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:10:07 07:10:07 07:10:07 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 07:10:07 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 07:10:07 $ docker stop --time=1 0b97f23452de1544f310252d68608335f2bb8ec66f0a95532ebbeadf03a6da6c 07:10:14 $ docker rm -f --volumes 0b97f23452de1544f310252d68608335f2bb8ec66f0a95532ebbeadf03a6da6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:10:15 + git log --format=format:%s -1 356f58f61f45ce4e49f4d4dc4c5a2eb3e202374a [Pipeline] sh 07:10:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:10:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:16 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 07:10:16 $ 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 07:10:16 $ docker top 7a38e5ded81d8e054623ef66b9f705c771d5c90944919110752054ca039ecef3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:10:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:16 [ssh-agent] Looking for ssh-agent implementation... 07:10:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:17 $ docker exec 7a38e5ded81d8e054623ef66b9f705c771d5c90944919110752054ca039ecef3 ssh-agent 07:10:17 SSH_AUTH_SOCK=/tmp/ssh-hRe6jjPfZLCq/agent.32 07:10:17 SSH_AGENT_PID=38 07:10:17 Running ssh-add (command line suppressed) 07:10:17 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5869800702212414035.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5869800702212414035.key) 07:10:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:17 + git semver tag 07:10:17 2024-10-11 07:10:17,734 [run_tag] DEBUG tag force:False 07:10:17 2024-10-11 07:10:17,734 [check_head_tag] DEBUG check head tag 07:10:17 2024-10-11 07:10:17,736 [execute] INFO git cat-file --batch-check 07:10:17 2024-10-11 07:10:17,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 07:10:17 2024-10-11 07:10:17,739 [execute] INFO git cat-file --batch 07:10:17 2024-10-11 07:10:17,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 07:10:17 2024-10-11 07:10:17,761 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:10:17 2024-10-11 07:10:17,761 [execute] INFO git tag -a v3.2.0-dev.26 -m v3.2.0-dev.26 07:10:17 2024-10-11 07:10:17,761 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.26', '-m', 'v3.2.0-dev.26'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 07:10:17 2024-10-11 07:10:17,765 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:10:17 3.2.0-dev.26 [Pipeline] } 07:10:17 $ docker exec --env ******** --env ******** 7a38e5ded81d8e054623ef66b9f705c771d5c90944919110752054ca039ecef3 ssh-agent -k 07:10:17 unset SSH_AUTH_SOCK; 07:10:17 unset SSH_AGENT_PID; 07:10:17 echo Agent pid 38 killed; 07:10:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:10:18 + git semver [Pipeline] } 07:10:18 $ docker stop --time=1 7a38e5ded81d8e054623ef66b9f705c771d5c90944919110752054ca039ecef3 07:10:19 $ docker rm -f --volumes 7a38e5ded81d8e054623ef66b9f705c771d5c90944919110752054ca039ecef3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:10:21 07:10:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:10:22 0.23.1-centos7: Pulling from edgex-lftools 07:10:22 ab5ef0e58194: Pulling fs layer 07:10:22 9712f1f96733: Pulling fs layer 07:10:22 63f879dbbcfc: Pulling fs layer 07:10:22 0d9ebad4ef96: Pulling fs layer 07:10:22 e9a5061849ea: Pulling fs layer 07:10:22 d747dcd14b5f: Pulling fs layer 07:10:22 2de7ff778b66: Pulling fs layer 07:10:22 d747dcd14b5f: Waiting 07:10:22 0d9ebad4ef96: Waiting 07:10:22 e9a5061849ea: Waiting 07:10:22 2de7ff778b66: Waiting 07:10:22 9712f1f96733: Verifying Checksum 07:10:22 9712f1f96733: Download complete 07:10:22 63f879dbbcfc: Verifying Checksum 07:10:22 63f879dbbcfc: Download complete 07:10:22 e9a5061849ea: Verifying Checksum 07:10:22 e9a5061849ea: Download complete 07:10:22 d747dcd14b5f: Verifying Checksum 07:10:22 d747dcd14b5f: Download complete 07:10:22 0d9ebad4ef96: Verifying Checksum 07:10:22 0d9ebad4ef96: Download complete 07:10:22 ab5ef0e58194: Download complete 07:10:22 2de7ff778b66: Verifying Checksum 07:10:22 2de7ff778b66: Download complete 07:10:25 ab5ef0e58194: Pull complete 07:10:25 9712f1f96733: Pull complete 07:10:25 63f879dbbcfc: Pull complete 07:10:29 0d9ebad4ef96: Pull complete 07:10:29 e9a5061849ea: Pull complete 07:10:29 d747dcd14b5f: Pull complete 07:10:30 2de7ff778b66: Pull complete 07:10:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:10:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:10:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:30 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 07:10:30 $ 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 07:10:37 $ docker top ac42d6b341a0f25551d0d8dae9a1ee998fce8a95711ddc4976a62d96bac03656 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:10:37 provisioning config files... 07:10:37 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6551258946162954265tmp 07:10:37 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5455184137358646856tmp 07:10:37 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5130727455970687495tmp [Pipeline] { [Pipeline] echo 07:10:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:10:38 ---> sigul-configuration.sh 07:10:38 gpg: directory `/root/.gnupg' created 07:10:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:10:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:10:38 gpg: keyring `/root/.gnupg/secring.gpg' created 07:10:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:10:38 gpg: CAST5 encrypted data 07:10:38 gpg: encrypted with 1 passphrase 07:10:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:10:38 + mkdir /home/jenkins 07:10:38 + mkdir /home/jenkins/sigul [Pipeline] sh 07:10:38 + 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 07:10:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:10:38 ---> sigul-install.sh 07:10:38 Sigul already installed; skipping installation. [Pipeline] sh 07:10:39 + git tag --list 07:10:39 v1.0.0 07:10:39 v1.1.0 07:10:39 v1.1.1 07:10:39 v1.2.1 07:10:39 v1.2.2 07:10:39 v1.2.3 07:10:39 v1.3.0 07:10:39 v1.3.1 07:10:39 v2.0.0 07:10:39 v2.1.0 07:10:39 v2.1.1 07:10:39 v2.2.0 07:10:39 v2.3.0 07:10:39 v3.0 07:10:39 v3.0.0 07:10:39 v3.1 07:10:39 v3.1.0 07:10:39 v3.1.0-dev.1 07:10:39 v3.1.0-dev.10 07:10:39 v3.1.0-dev.11 07:10:39 v3.1.0-dev.12 07:10:39 v3.1.0-dev.13 07:10:39 v3.1.0-dev.14 07:10:39 v3.1.0-dev.15 07:10:39 v3.1.0-dev.16 07:10:39 v3.1.0-dev.17 07:10:39 v3.1.0-dev.18 07:10:39 v3.1.0-dev.19 07:10:39 v3.1.0-dev.2 07:10:39 v3.1.0-dev.20 07:10:39 v3.1.0-dev.21 07:10:39 v3.1.0-dev.22 07:10:39 v3.1.0-dev.23 07:10:39 v3.1.0-dev.24 07:10:39 v3.1.0-dev.25 07:10:39 v3.1.0-dev.26 07:10:39 v3.1.0-dev.27 07:10:39 v3.1.0-dev.28 07:10:39 v3.1.0-dev.29 07:10:39 v3.1.0-dev.3 07:10:39 v3.1.0-dev.30 07:10:39 v3.1.0-dev.4 07:10:39 v3.1.0-dev.5 07:10:39 v3.1.0-dev.6 07:10:39 v3.1.0-dev.7 07:10:39 v3.1.0-dev.8 07:10:39 v3.1.0-dev.9 07:10:39 v3.1.1 07:10:39 v3.1.1-dev.1 07:10:39 v3.2.0-dev.1 07:10:39 v3.2.0-dev.10 07:10:39 v3.2.0-dev.11 07:10:39 v3.2.0-dev.12 07:10:39 v3.2.0-dev.13 07:10:39 v3.2.0-dev.14 07:10:39 v3.2.0-dev.15 07:10:39 v3.2.0-dev.16 07:10:39 v3.2.0-dev.17 07:10:39 v3.2.0-dev.18 07:10:39 v3.2.0-dev.19 07:10:39 v3.2.0-dev.2 07:10:39 v3.2.0-dev.20 07:10:39 v3.2.0-dev.21 07:10:39 v3.2.0-dev.22 07:10:39 v3.2.0-dev.23 07:10:39 v3.2.0-dev.24 07:10:39 v3.2.0-dev.25 07:10:39 v3.2.0-dev.26 07:10:39 v3.2.0-dev.3 07:10:39 v3.2.0-dev.4 07:10:39 v3.2.0-dev.5 07:10:39 v3.2.0-dev.6 07:10:39 v3.2.0-dev.7 07:10:39 v3.2.0-dev.8 07:10:39 v3.2.0-dev.9 [Pipeline] sh 07:10:39 + lftools sign git-tag v3.2.0-dev.26 07:10:40 Signing Git tag with Sigul... 07:10:40 Signing v3.2.0-dev.26 [Pipeline] echo 07:10:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:10:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:10:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:10:40 $ docker stop --time=1 ac42d6b341a0f25551d0d8dae9a1ee998fce8a95711ddc4976a62d96bac03656 07:10:41 $ docker rm -f --volumes ac42d6b341a0f25551d0d8dae9a1ee998fce8a95711ddc4976a62d96bac03656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:10:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:10:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:42 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 07:10:42 $ 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 07:10:43 $ docker top 2ee5c10f6dfa8f6ad32137a99431c5cff9acae689ea9ccfe06d92346cf527531 -eo pid,comm 07:10:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:10:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:10:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:43 [ssh-agent] Looking for ssh-agent implementation... 07:10:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:43 $ docker exec 2ee5c10f6dfa8f6ad32137a99431c5cff9acae689ea9ccfe06d92346cf527531 ssh-agent 07:10:43 SSH_AUTH_SOCK=/tmp/ssh-0NMJoBGbfhuv/agent.31 07:10:43 SSH_AGENT_PID=37 07:10:43 Running ssh-add (command line suppressed) 07:10:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18445261733301164194.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_18445261733301164194.key) 07:10:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:43 + git semver bump pre 07:10:44 2024-10-11 07:10:44,045 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:10:44 2024-10-11 07:10:44,046 [bump_version] DEBUG bumping version:3.2.0-dev.26 on axis:pre with prefix:dev 07:10:44 2024-10-11 07:10:44,046 [bump_version] DEBUG bumped version:3.2.0-dev.27 07:10:44 2024-10-11 07:10:44,046 [write_version] DEBUG write version:3.2.0-dev.27 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 07:10:44 2024-10-11 07:10:44,046 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:10:44 2024-10-11 07:10:44,046 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:10:44 2024-10-11 07:10:44,047 [execute] INFO git cat-file --batch-check 07:10:44 2024-10-11 07:10:44,048 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:10:44 2024-10-11 07:10:44,053 [execute] INFO git cat-file --batch 07:10:44 2024-10-11 07:10:44,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:10:44 2024-10-11 07:10:44,058 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:10:44 3.2.0-dev.27 [Pipeline] } 07:10:44 $ docker exec --env ******** --env ******** 2ee5c10f6dfa8f6ad32137a99431c5cff9acae689ea9ccfe06d92346cf527531 ssh-agent -k 07:10:44 unset SSH_AUTH_SOCK; 07:10:44 unset SSH_AGENT_PID; 07:10:44 echo Agent pid 37 killed; 07:10:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:10:44 + git semver [Pipeline] } 07:10:44 $ docker stop --time=1 2ee5c10f6dfa8f6ad32137a99431c5cff9acae689ea9ccfe06d92346cf527531 07:10:46 $ docker rm -f --volumes 2ee5c10f6dfa8f6ad32137a99431c5cff9acae689ea9ccfe06d92346cf527531 [Pipeline] // withDockerContainer [Pipeline] sh 07:10:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:10:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:46 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 07:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:10:47 $ docker top 59785711b5099585116ca5f44b33b1d8b942fa4417dedb2e4a157f4d56b6274c -eo pid,comm 07:10:47 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). 07:10:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:10:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:47 [ssh-agent] Looking for ssh-agent implementation... 07:10:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:47 $ docker exec 59785711b5099585116ca5f44b33b1d8b942fa4417dedb2e4a157f4d56b6274c ssh-agent 07:10:47 SSH_AUTH_SOCK=/tmp/ssh-ieoVvuDPVCJl/agent.31 07:10:47 SSH_AGENT_PID=37 07:10:47 Running ssh-add (command line suppressed) 07:10:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3734696644745199014.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3734696644745199014.key) 07:10:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:47 + git semver push 07:10:48 2024-10-11 07:10:48,127 [run_push] DEBUG push 07:10:48 2024-10-11 07:10:48,128 [execute] INFO git cat-file --batch-check 07:10:48 2024-10-11 07:10:48,129 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:10:48 2024-10-11 07:10:48,133 [execute] INFO git rev-list eca6b2b992081a10f73c23305434cf7ec8f09f05 -- 07:10:48 2024-10-11 07:10:48,133 [execute] DEBUG Popen(['git', 'rev-list', 'eca6b2b992081a10f73c23305434cf7ec8f09f05', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:10:48 2024-10-11 07:10:48,142 [execute] INFO git fetch -v origin 07:10:48 2024-10-11 07:10:48,143 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:10:48 2024-10-11 07:10:48,605 [run_push] DEBUG no remote changes detected 07:10:48 2024-10-11 07:10:48,606 [execute] INFO git push origin semver 07:10:48 2024-10-11 07:10:48,606 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:10:49 2024-10-11 07:10:49,368 [run_push] DEBUG push all version tags 07:10:49 2024-10-11 07:10:49,369 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:10:49 2024-10-11 07:10:49,369 [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) 07:10:50 2024-10-11 07:10:50,008 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:10:50 3.2.0-dev.27 [Pipeline] } 07:10:50 $ docker exec --env ******** --env ******** 59785711b5099585116ca5f44b33b1d8b942fa4417dedb2e4a157f4d56b6274c ssh-agent -k 07:10:50 unset SSH_AUTH_SOCK; 07:10:50 unset SSH_AGENT_PID; 07:10:50 echo Agent pid 37 killed; 07:10:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:10:50 + git semver [Pipeline] } 07:10:51 $ docker stop --time=1 59785711b5099585116ca5f44b33b1d8b942fa4417dedb2e4a157f4d56b6274c 07:10:52 $ docker rm -f --volumes 59785711b5099585116ca5f44b33b1d8b942fa4417dedb2e4a157f4d56b6274c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:10:52 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 07:10:52 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 07:10:52 total 16 07:10:52 drwxr-xr-x 3 root root 4096 Oct 11 06:59 . 07:10:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 07:10 .. 07:10:52 drwxr-xr-x 2 root root 4096 Oct 11 06:59 cost 07:10:52 -rw-r--r-- 1 root root 89 Oct 11 06:59 cost.csv 07:10:52 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 07:10:52 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 07:10:52 total 16 07:10:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 06:59 . 07:10:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 07:10 .. 07:10:52 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 06:59 cost 07:10:52 -rw-r--r-- 1 jenkins jenkins 89 Oct 11 06:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:10:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:10:54 ---> package-listing.sh 07:10:54 ++ facter osfamily 07:10:54 ++ tr '[:upper:]' '[:lower:]' 07:10:54 + OS_FAMILY=debian 07:10:54 + workspace=/w/workspace/exfoundry_device-virtual-go_main 07:10:54 + START_PACKAGES=/tmp/packages_start.txt 07:10:54 + END_PACKAGES=/tmp/packages_end.txt 07:10:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:10:54 + PACKAGES=/tmp/packages_start.txt 07:10:54 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 07:10:54 + PACKAGES=/tmp/packages_end.txt 07:10:54 + case "${OS_FAMILY}" in 07:10:54 + dpkg -l 07:10:54 + grep '^ii' 07:10:54 + '[' -f /tmp/packages_start.txt ']' 07:10:54 + '[' -f /tmp/packages_end.txt ']' 07:10:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:10:54 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 07:10:54 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 07:10:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 07:10:54 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 07:10:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:55 prd-ubuntu20.04-docker-8c-8g-22486 does not seem to be running inside a container 07:10:55 $ 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 07:10:55 $ docker top 184051a9b2b5c149e8e60529c62a08cde7978b51a1544a840b314d369f66b055 -eo pid,comm [Pipeline] { [Pipeline] sh 07:10:55 + touch /tmp/pre-build-complete [Pipeline] sh 07:10:56 + mkdir -p /var/log/sysstat [Pipeline] sh 07:10:56 + ls /var/log/sa-host 07:10:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:56 provisioning config files... 07:10:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12646532631244146800tmp [Pipeline] { [Pipeline] echo 07:10:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:10:56 ---> create-netrc.sh [Pipeline] } 07:10:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:10:57 ---> python-tools-install.sh [Pipeline] echo 07:10:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:10:57 ---> sudo-logs.sh 07:10:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:10:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:10:57 ---> job-cost.sh 07:10:57 lf-activate-venv: SKIPPING 07:10:57 DEBUG: total: 0.2199999988079071 07:10:57 INFO: Retrieving Stack Cost... 07:10:58 INFO: Retrieving Pricing Info for: v3-standard-8 07:10:58 INFO: Archiving Costs [Pipeline] echo 07:10:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:10:58 ---> logs-deploy.sh 07:10:58 lf-activate-venv: SKIPPING 07:10:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/182 07:10:58 INFO: archiving workspace using pattern(s): 07:10:59 Archives upload complete. 07:10:59 INFO: archiving logs to Nexus