Push event to branch main Started by user Jin Lin Guan Rebuilds build #204 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f1ae59df93e15168f5c84516dd369218cbd3ebf1 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-ssh8131782486372895601.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh3624179270940507132.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh1640763027600637668.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh19062232610045650.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-ssh18301304943790331505.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-42412 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 f1ae59df93e15168f5c84516dd369218cbd3ebf1 (main) Commit message: "Merge pull request #529 from judehung/update-odesa" > 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 f1ae59df93e15168f5c84516dd369218cbd3ebf1 # timeout=10 > git rev-list --no-walk f1ae59df93e15168f5c84516dd369218cbd3ebf1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:07:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:07:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:07:45 ========================================================= 06:07:45 EdgeX Global Pipelines Version Info 06:07:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:07:46 ------------------- 06:07:46 stable info: 06:07:46 ------------------- 06:07:46 Commited By: Ginny Guan ginny@iotechsys.com 06:07:46 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 06:07:46 Message: update stable to v1.0.274 06:07:46 ------------------- 06:07:46 experimental info: 06:07:46 ------------------- 06:07:46 Commited By: Ginny Guan ginny@iotechsys.com 06:07:46 Commit SHA: e63c24b3e3d9a84dc1e69f593cedf07ec71d9018 06:07:46 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:07:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1ae59d [Pipeline] echo 06:07:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:47 provisioning config files... 06:07:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15053529657270755326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:47 ---> ****-login.sh 06:07:47 nexus3.edgexfoundry.org:10001 06:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:48 Configure a credential helper to remove this warning. See 06:07:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:48 06:07:48 Login Succeeded 06:07:48 nexus3.edgexfoundry.org:10002 06:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:48 Configure a credential helper to remove this warning. See 06:07:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:48 06:07:48 Login Succeeded 06:07:48 nexus3.edgexfoundry.org:10003 06:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:48 Configure a credential helper to remove this warning. See 06:07:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:48 06:07:48 Login Succeeded 06:07:48 nexus3.edgexfoundry.org:10004 06:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:48 Configure a credential helper to remove this warning. See 06:07:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:48 06:07:48 Login Succeeded 06:07:48 ****.io 06:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:07:49 Configure a credential helper to remove this warning. See 06:07:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:07:49 06:07:49 Login Succeeded 06:07:49 ---> ****-login.sh ends [Pipeline] } 06:07:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:07:49 + git rev-list -1 --merges f1ae59df93e15168f5c84516dd369218cbd3ebf1~1..f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 06:07:49 -----------> git rev-list -1 --merges f1ae59df93e15168f5c84516dd369218cbd3ebf1~1..f1ae59df93e15168f5c84516dd369218cbd3ebf1 f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:07:49 f1ae59df93e15168f5c84516dd369218cbd3ebf1 [false] [Pipeline] sh 06:07:49 + git log --format=format:%s -1 f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 06:07:49 ========================================================= 06:07:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:07:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:50 + git log --format=format:%s -1 f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 06:07:50 [semverPrep] GIT_COMMIT: f1ae59df93e15168f5c84516dd369218cbd3ebf1, Commit Message: Merge pull request #529 from judehung/update-odesa [Pipeline] echo 06:07:50 [semverPrep] This is not a build commit. [Pipeline] sh 06:07:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:07:50 + grep -v github /etc/ssh/ssh_known_hosts 06:07:50 + [ -e /tmp/ssh_known_hosts ] 06:07:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:07:50 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:07:50 sudo tee -a /etc/ssh/ssh_known_hosts 06:07:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:07:51 06:07:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:07:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:07:51 0.1.4: Pulling from edgex-devops/py-git-semver 06:07:51 b85a868b505f: Pulling fs layer 06:07:51 e2be974225ed: Pulling fs layer 06:07:51 339a4e72a1f5: Pulling fs layer 06:07:51 988bab9f4d93: Pulling fs layer 06:07:51 1469e6f7b9e6: Pulling fs layer 06:07:51 eaf3925da568: Pulling fs layer 06:07:51 bab4dde63d76: Pulling fs layer 06:07:51 bde34c3a00c8: Pulling fs layer 06:07:51 b352a97aabf1: Pulling fs layer 06:07:51 4872d77fe225: Pulling fs layer 06:07:51 5851b861e8e6: Pulling fs layer 06:07:51 988bab9f4d93: Waiting 06:07:51 1469e6f7b9e6: Waiting 06:07:51 bab4dde63d76: Waiting 06:07:51 eaf3925da568: Waiting 06:07:51 5851b861e8e6: Waiting 06:07:51 4872d77fe225: Waiting 06:07:51 bde34c3a00c8: Waiting 06:07:51 e2be974225ed: Verifying Checksum 06:07:51 e2be974225ed: Download complete 06:07:51 988bab9f4d93: Download complete 06:07:51 1469e6f7b9e6: Verifying Checksum 06:07:51 1469e6f7b9e6: Download complete 06:07:51 339a4e72a1f5: Verifying Checksum 06:07:51 339a4e72a1f5: Download complete 06:07:51 eaf3925da568: Download complete 06:07:51 bde34c3a00c8: Verifying Checksum 06:07:51 bde34c3a00c8: Download complete 06:07:51 b352a97aabf1: Verifying Checksum 06:07:51 b352a97aabf1: Download complete 06:07:51 4872d77fe225: Download complete 06:07:51 5851b861e8e6: Download complete 06:07:51 b85a868b505f: Verifying Checksum 06:07:51 b85a868b505f: Download complete 06:07:51 bab4dde63d76: Verifying Checksum 06:07:51 bab4dde63d76: Download complete 06:07:52 b85a868b505f: Pull complete 06:07:53 e2be974225ed: Pull complete 06:07:53 339a4e72a1f5: Pull complete 06:07:53 988bab9f4d93: Pull complete 06:07:53 1469e6f7b9e6: Pull complete 06:07:53 eaf3925da568: Pull complete 06:07:55 bab4dde63d76: Pull complete 06:07:55 bde34c3a00c8: Pull complete 06:07:55 b352a97aabf1: Pull complete 06:07:55 4872d77fe225: Pull complete 06:07:55 5851b861e8e6: Pull complete 06:07:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:07:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:07:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:07:56 prd-ubuntu20.04-docker-8c-8g-42412 does not seem to be running inside a container 06:07:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:07:57 $ docker top e73bc36ce19aa4c086687bd0ad2c279c033d48e37c1a62dbae6c974deefcc5b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:07:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:57 [ssh-agent] Looking for ssh-agent implementation... 06:07:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:57 $ docker exec e73bc36ce19aa4c086687bd0ad2c279c033d48e37c1a62dbae6c974deefcc5b9 ssh-agent 06:07:58 SSH_AUTH_SOCK=/tmp/ssh-eHzSmLWcKwgD/agent.34 06:07:58 SSH_AGENT_PID=40 06:07:58 Running ssh-add (command line suppressed) 06:07:58 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17582023948553801367.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_17582023948553801367.key) 06:07:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:58 + git tag --points-at HEAD [Pipeline] } 06:07:58 $ docker exec --env ******** --env ******** e73bc36ce19aa4c086687bd0ad2c279c033d48e37c1a62dbae6c974deefcc5b9 ssh-agent -k 06:07:58 unset SSH_AUTH_SOCK; 06:07:58 unset SSH_AGENT_PID; 06:07:58 echo Agent pid 40 killed; 06:07:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:07:58 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0-dev.19' [Pipeline] sshagent 06:07:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:07:58 [ssh-agent] Looking for ssh-agent implementation... 06:07:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:07:58 $ docker exec e73bc36ce19aa4c086687bd0ad2c279c033d48e37c1a62dbae6c974deefcc5b9 ssh-agent 06:07:58 SSH_AUTH_SOCK=/tmp/ssh-WHNeGABPcPU0/agent.73 06:07:58 SSH_AGENT_PID=79 06:07:58 Running ssh-add (command line suppressed) 06:07:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12827928090323440906.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12827928090323440906.key) 06:07:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:07:59 + git semver init 06:07:59 2025-03-31 06:07:59,593 [run_init] DEBUG init version:0.0.0 force:False 06:07:59 2025-03-31 06:07:59,594 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 06:07:59 2025-03-31 06:07:59,594 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 06:07:59 2025-03-31 06:07:59,595 [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:08:01 2025-03-31 06:08:00,960 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 06:08:01 2025-03-31 06:08:00,961 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 06:08:01 2025-03-31 06:08:00,961 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:08:01 2025-03-31 06:08:00,961 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 06:08:01 4.1.0-dev.1 [Pipeline] } 06:08:01 $ docker exec --env ******** --env ******** e73bc36ce19aa4c086687bd0ad2c279c033d48e37c1a62dbae6c974deefcc5b9 ssh-agent -k 06:08:01 unset SSH_AUTH_SOCK; 06:08:01 unset SSH_AGENT_PID; 06:08:01 echo Agent pid 79 killed; 06:08:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:08:01 + git semver [Pipeline] } 06:08:01 $ docker stop --time=1 e73bc36ce19aa4c086687bd0ad2c279c033d48e37c1a62dbae6c974deefcc5b9 06:08:03 $ docker rm -f --volumes e73bc36ce19aa4c086687bd0ad2c279c033d48e37c1a62dbae6c974deefcc5b9 [Pipeline] // withDockerContainer [Pipeline] sh 06:08:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:08:03 Stashed 1 file(s) [Pipeline] echo 06:08:03 [edgeXSemver]: initialized semver on version 4.1.0-dev.1 [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:08:03 provisioning config files... 06:08:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14576313335333705243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:04 ---> ****-login.sh 06:08:04 nexus3.edgexfoundry.org:10001 06:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:04 Configure a credential helper to remove this warning. See 06:08:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:04 06:08:04 Login Succeeded 06:08:04 nexus3.edgexfoundry.org:10002 06:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:04 Configure a credential helper to remove this warning. See 06:08:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:04 06:08:04 Login Succeeded 06:08:04 nexus3.edgexfoundry.org:10003 06:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:04 Configure a credential helper to remove this warning. See 06:08:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:04 06:08:04 Login Succeeded 06:08:04 nexus3.edgexfoundry.org:10004 06:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:04 Configure a credential helper to remove this warning. See 06:08:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:04 06:08:04 Login Succeeded 06:08:04 ****.io 06:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:08:04 Configure a credential helper to remove this warning. See 06:08:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:08:04 06:08:04 Login Succeeded 06:08:04 ---> ****-login.sh ends [Pipeline] } 06:08:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:08:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:08:04 ========================================================= 06:08:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 06:08:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:05 + 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:08:05 Sending build context to Docker daemon 40.74MB 06:08:05 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:08:05 Step 2/12 : FROM ${BASE} AS builder 06:08:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 06:08:05 da9db072f522: Pulling fs layer 06:08:05 6ef4a4ee8ca5: Pulling fs layer 06:08:05 06f05ace1117: Pulling fs layer 06:08:05 5fe327b54edc: Pulling fs layer 06:08:05 4f4fb700ef54: Pulling fs layer 06:08:05 92a5565b7b96: Pulling fs layer 06:08:05 ff9bb7016b71: Pulling fs layer 06:08:05 b67dba6c2c7d: Pulling fs layer 06:08:05 a813b0c90790: Pulling fs layer 06:08:05 92a5565b7b96: Waiting 06:08:05 ff9bb7016b71: Waiting 06:08:05 b67dba6c2c7d: Waiting 06:08:05 a813b0c90790: Waiting 06:08:05 5fe327b54edc: Waiting 06:08:05 4f4fb700ef54: Waiting 06:08:05 6ef4a4ee8ca5: Verifying Checksum 06:08:05 6ef4a4ee8ca5: Download complete 06:08:05 5fe327b54edc: Download complete 06:08:05 4f4fb700ef54: Verifying Checksum 06:08:05 4f4fb700ef54: Download complete 06:08:05 92a5565b7b96: Download complete 06:08:05 da9db072f522: Verifying Checksum 06:08:05 da9db072f522: Download complete 06:08:05 ff9bb7016b71: Verifying Checksum 06:08:05 ff9bb7016b71: Download complete 06:08:05 da9db072f522: Pull complete 06:08:05 a813b0c90790: Verifying Checksum 06:08:05 a813b0c90790: Download complete 06:08:05 6ef4a4ee8ca5: Pull complete 06:08:05 06f05ace1117: Download complete 06:08:06 b67dba6c2c7d: Verifying Checksum 06:08:06 b67dba6c2c7d: Download complete 06:08:09 06f05ace1117: Pull complete 06:08:09 5fe327b54edc: Pull complete 06:08:09 4f4fb700ef54: Pull complete 06:08:09 92a5565b7b96: Pull complete 06:08:09 ff9bb7016b71: Pull complete 06:08:12 b67dba6c2c7d: Pull complete 06:08:12 a813b0c90790: Pull complete 06:08:12 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 06:08:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 06:08:12 ---> 3ba60ce46760 06:08:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:08:14 ---> Running in 3126e40c3aab 06:08:14 Removing intermediate container 3126e40c3aab 06:08:14 ---> 86d500c232c3 06:08:14 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:08:14 ---> Running in 24e6e965e25e 06:08:14 Removing intermediate container 24e6e965e25e 06:08:14 ---> bd0d1464d4db 06:08:14 Step 5/12 : ARG ADD_BUILD_TAGS="" 06:08:14 ---> Running in f7b92669944b 06:08:14 Removing intermediate container f7b92669944b 06:08:14 ---> 9d4debdf2b5d 06:08:14 Step 6/12 : WORKDIR /device-virtual-go 06:08:14 ---> Running in 5fc3fad15e17 06:08:14 Removing intermediate container 5fc3fad15e17 06:08:14 ---> 54ea46c85f62 06:08:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:08:14 ---> Running in ce24dbac3628 06:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:08:15 (1/4) Installing openssh-keygen (9.7_p1-r5) 06:08:15 (2/4) Installing libedit (20240517.3.1-r0) 06:08:15 (3/4) Installing openssh-client-common (9.7_p1-r5) 06:08:15 (4/4) Installing openssh-client-default (9.7_p1-r5) 06:08:15 Executing busybox-1.36.1-r29.trigger 06:08:15 OK: 252 MiB in 62 packages 06:08:16 Removing intermediate container ce24dbac3628 06:08:16 ---> 24d48fb41d6e 06:08:16 Step 8/12 : COPY go.mod vendor* ./ 06:08:16 ---> 0cf51d557683 06:08:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:16 ---> Running in 86e4b56b5e12 06:08:18 Still waiting to schedule task 06:08:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:08:55 Removing intermediate container 86e4b56b5e12 06:08:55 ---> be8a91cd3b65 06:08:55 Step 10/12 : COPY . . 06:08:55 ---> 0efc2f050b24 06:08:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:55 ---> Running in e15069d027d5 06:08:55 Removing intermediate container e15069d027d5 06:08:55 ---> 2b5c287bd691 06:08:55 Step 12/12 : RUN $MAKE 06:08:55 ---> Running in 71b3db8b9516 06:08:55 noop 06:08:55 Removing intermediate container 71b3db8b9516 06:08:55 ---> bc2b147c5fd5 06:08:55 Successfully built bc2b147c5fd5 06:08:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:55 + docker inspect -f . ci-base-image-x86_64 06:08:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:55 prd-ubuntu20.04-docker-8c-8g-42412 does not seem to be running inside a container 06:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:08:55 $ docker top 1a8a54aed309817f868bd734ef8835b315202000617b8c7503829324fc2d51bb -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:56 + go version 06:08:56 go version go1.23.4 linux/amd64 [Pipeline] } 06:08:56 $ docker stop --time=1 1a8a54aed309817f868bd734ef8835b315202000617b8c7503829324fc2d51bb 06:08:57 $ docker rm -f --volumes 1a8a54aed309817f868bd734ef8835b315202000617b8c7503829324fc2d51bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:57 + docker inspect -f . ci-base-image-x86_64 06:08:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:58 prd-ubuntu20.04-docker-8c-8g-42412 does not seem to be running inside a container 06:08:58 $ 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:08:58 $ docker top a922b0597157611b927004c52bbc0b2bc5fd7699717d4d308e063d79edfb79a9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:58 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 06:08:59 + make test 06:08:59 go test ./... -coverprofile=coverage.out 06:09:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:09:18 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 06:09:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.010s coverage: 58.4% of statements 06:09:30 go vet ./... 06:09:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:09:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:09:36 ./bin/test-attribution-txt.sh [Pipeline] echo 06:09:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:09:36 $ docker stop --time=1 a922b0597157611b927004c52bbc0b2bc5fd7699717d4d308e063d79edfb79a9 06:09:38 $ docker rm -f --volumes a922b0597157611b927004c52bbc0b2bc5fd7699717d4d308e063d79edfb79a9 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:09:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:09:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:09:40 + ls -al . 06:09:40 total 268 06:09:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 06:08 . 06:09:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 06:07 .. 06:09:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 06:09 .git 06:09:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 06:07 .github 06:09:40 -rw-rw-r-- 1 jenkins jenkins 272 Mar 31 06:07 .gitignore 06:09:40 -rw-rw-r-- 1 jenkins jenkins 199 Mar 31 06:07 .golangci.yml 06:09:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 06:08 .semver 06:09:40 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 31 06:07 Attribution.txt 06:09:40 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 31 06:07 CHANGELOG.md 06:09:40 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 31 06:07 Dockerfile 06:09:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 06:07 GOVERNANCE.md 06:09:40 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 06:07 Jenkinsfile 06:09:40 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 06:07 LICENSE 06:09:40 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 31 06:07 Makefile 06:09:40 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 06:07 OWNERS.md 06:09:40 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 31 06:07 README.md 06:09:40 -rw-rw-r-- 1 jenkins jenkins 11 Mar 31 06:08 VERSION 06:09:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 06:07 bin 06:09:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 06:07 cmd 06:09:40 -rw-r--r-- 1 jenkins jenkins 43316 Mar 31 06:09 coverage.out 06:09:40 -rw-rw-r-- 1 jenkins jenkins 6032 Mar 31 06:07 go.mod 06:09:40 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 31 06:07 go.sum 06:09:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 06:07 internal 06:09:40 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 06:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:40 + 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=f1ae59df93e15168f5c84516dd369218cbd3ebf1 --label arch=amd64 --label version=4.1.0-dev.1 . 06:09:40 Sending build context to Docker daemon 40.78MB 06:09:40 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 06:09:40 Step 2/26 : FROM ${BASE} AS builder 06:09:40 ---> bc2b147c5fd5 06:09:40 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:09:40 ---> Running in 8f70cd2d3828 06:09:40 Removing intermediate container 8f70cd2d3828 06:09:40 ---> ef0bc80fc199 06:09:40 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:09:40 ---> Running in 3b8c9d7f95c5 06:09:40 Removing intermediate container 3b8c9d7f95c5 06:09:40 ---> aff7d10d7142 06:09:40 Step 5/26 : ARG ADD_BUILD_TAGS="" 06:09:40 ---> Running in 153ad5e56359 06:09:40 Removing intermediate container 153ad5e56359 06:09:40 ---> 4ecb70188347 06:09:40 Step 6/26 : WORKDIR /device-virtual-go 06:09:40 ---> Running in a3107539849b 06:09:40 Removing intermediate container a3107539849b 06:09:40 ---> 7f1f637433c5 06:09:40 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:09:40 ---> Running in c6f649c93822 06:09:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:09:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:09:41 OK: 252 MiB in 62 packages 06:09:42 Removing intermediate container c6f649c93822 06:09:42 ---> 05b98fcd2064 06:09:42 Step 8/26 : COPY go.mod vendor* ./ 06:09:42 ---> 2d0f5702e714 06:09:42 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:09:42 ---> Running in af39be7391f9 06:09:43 Removing intermediate container af39be7391f9 06:09:43 ---> 212f73df89f3 06:09:43 Step 10/26 : COPY . . 06:09:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-42414 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 06:09:43 Running in /w/workspace/device-virtual-go/206 [Pipeline] { [Pipeline] checkout 06:09:43 ---> 18b6ef98883c 06:09:43 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:09:43 ---> Running in 433b952084a8 06:09:43 Removing intermediate container 433b952084a8 06:09:43 ---> ce250d2e54b8 06:09:43 Step 12/26 : RUN $MAKE 06:09:43 ---> Running in ace0731645a8 06:09:44 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 06:09:46 The recommended git tool is: git 06:09:50 using credential edgex-jenkins-ssh 06:09:50 Cloning the remote Git repository 06:09:50 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:09:50 > git init /w/workspace/device-virtual-go/206 # timeout=10 06:09:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:09:51 > git --version # timeout=10 06:09:51 > git --version # 'git version 2.25.1' 06:09:51 using GIT_SSH to set credentials SSH Credentials for GitHub 06:09:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:09:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:09:55 Avoid second fetch 06:09:55 Checking out Revision f1ae59df93e15168f5c84516dd369218cbd3ebf1 (main) 06:09:56 Commit message: "Merge pull request #529 from judehung/update-odesa" 06:09:55 > git config core.sparsecheckout # timeout=10 06:09:55 > git checkout -f f1ae59df93e15168f5c84516dd369218cbd3ebf1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:10:00 % Total % Received % Xferd Average Speed Time Time Time Current 06:10:00 Dload Upload Total Spent Left Speed 06:10:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86675 0 --:--:-- --:--:-- --:--:-- 86675 [Pipeline] sh 06:10:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:10:01 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 06:10:01 06:10:01 { 06:10:01 "registry-mirrors": [ 06:10:01 "https://nexus3.edgexfoundry.org:10001" 06:10:01 ], 06:10:01 "bip": "10.250.0.254/24", 06:10:01 "hosts": [ 06:10:01 "tcp://0.0.0.0:5555", 06:10:01 "unix:///var/run/docker.sock" 06:10:01 ], 06:10:01 "mtu": 1458, 06:10:01 "selinux-enabled": true, 06:10:01 "seccomp-profile": "/etc/docker/seccomp.json" 06:10:01 } [Pipeline] sh 06:10:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:10:02 + sudo service docker restart 06:10:16 Removing intermediate container ace0731645a8 06:10:16 ---> 513544d0bee1 06:10:16 Step 13/26 : FROM alpine:3.20 06:10:16 3.20: Pulling from library/alpine 06:10:16 0a9a5dfd008f: Pulling fs layer 06:10:16 0a9a5dfd008f: Verifying Checksum 06:10:16 0a9a5dfd008f: Download complete 06:10:16 0a9a5dfd008f: Pull complete 06:10:16 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 06:10:16 Status: Downloaded newer image for alpine:3.20 06:10:16 ---> ff221270b9fb 06:10:16 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:10:16 ---> Running in 2a484eb1840d 06:10:16 Removing intermediate container 2a484eb1840d 06:10:16 ---> c1d0e86b1c32 06:10:16 Step 15/26 : RUN apk add --update --no-cache dumb-init 06:10:16 ---> Running in 4ca07bd8f978 06:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:10:16 (1/1) Installing dumb-init (1.2.5-r3) 06:10:16 Executing busybox-1.36.1-r29.trigger 06:10:16 OK: 8 MiB in 15 packages 06:10:16 Removing intermediate container 4ca07bd8f978 06:10:16 ---> 306464bbb772 06:10:16 Step 16/26 : RUN apk --no-cache upgrade 06:10:16 ---> Running in c353775f4e84 06:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 06:10:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 06:10:16 OK: 8 MiB in 15 packages 06:10:16 Removing intermediate container c353775f4e84 06:10:16 ---> 171f756f9b96 06:10:16 Step 17/26 : WORKDIR / 06:10:16 ---> Running in 8fc9544b8e35 06:10:16 Removing intermediate container 8fc9544b8e35 06:10:16 ---> dc682aa63b87 06:10:16 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:10:16 ---> 58ef6ca1a8f9 06:10:16 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:10:16 ---> 9b41ef9c8405 06:10:16 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:10:16 ---> b53c588858cb 06:10:16 Step 21/26 : EXPOSE 59900 06:10:16 ---> Running in 41807e088013 06:10:16 Removing intermediate container 41807e088013 06:10:16 ---> d076c4b3b774 06:10:16 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:10:16 ---> Running in ccc80a77c53b 06:10:16 Removing intermediate container ccc80a77c53b 06:10:16 ---> 82f153cb775c 06:10:16 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:10:16 ---> Running in 19815f00fed9 06:10:16 Removing intermediate container 19815f00fed9 06:10:16 ---> a262d13dbeea 06:10:16 Step 24/26 : LABEL arch=amd64 06:10:16 ---> Running in 6c29c21b05dd 06:10:16 Removing intermediate container 6c29c21b05dd 06:10:16 ---> 2aeff8d3ec9c 06:10:16 Step 25/26 : LABEL git_sha=f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:10:16 ---> Running in 27cd202100b7 06:10:16 Removing intermediate container 27cd202100b7 06:10:16 ---> 935d531b3530 06:10:16 Step 26/26 : LABEL version=4.1.0-dev.1 06:10:16 ---> Running in 54f2402590c8 06:10:16 Removing intermediate container 54f2402590c8 06:10:16 ---> 9dc3dc87297e 06:10:16 [Warning] One or more build-args [ARCH] were not consumed 06:10:16 Successfully built 9dc3dc87297e 06:10:16 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:10:17 provisioning config files... 06:10:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11158662895001656316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:17 ---> ****-login.sh 06:10:17 nexus3.edgexfoundry.org:10001 06:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:17 Configure a credential helper to remove this warning. See 06:10:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:17 06:10:17 Login Succeeded 06:10:17 nexus3.edgexfoundry.org:10002 06:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:17 Configure a credential helper to remove this warning. See 06:10:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:17 06:10:17 Login Succeeded 06:10:17 nexus3.edgexfoundry.org:10003 06:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:17 Configure a credential helper to remove this warning. See 06:10:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:17 06:10:17 Login Succeeded 06:10:17 nexus3.edgexfoundry.org:10004 06:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:17 Configure a credential helper to remove this warning. See 06:10:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:17 06:10:17 Login Succeeded 06:10:17 ****.io 06:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:17 Configure a credential helper to remove this warning. See 06:10:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:17 06:10:17 Login Succeeded 06:10:17 ---> ****-login.sh ends [Pipeline] } 06:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:10:18 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 06:10:18 f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:10:18 latest 06:10:18 4.1.0-dev.1 06:10:18 f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 06:10:18 main 06:10:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:10:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:10:18 1b63d2d64ce3: Preparing 06:10:18 44c49010ca74: Preparing 06:10:18 3f28a9d3558f: Preparing 06:10:18 f3e84aef22f3: Preparing 06:10:18 ac50b071fca4: Preparing 06:10:18 994456c4fd7b: Preparing 06:10:18 994456c4fd7b: Waiting 06:10:18 f3e84aef22f3: Pushed 06:10:18 3f28a9d3558f: Pushed 06:10:18 ac50b071fca4: Pushed 06:10:18 44c49010ca74: Pushed 06:10:18 994456c4fd7b: Layer already exists [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:20 provisioning config files... 06:10:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/206@tmp/config10988527889773767990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:10:20 ---> ****-login.sh 06:10:20 nexus3.edgexfoundry.org:10001 06:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:21 Configure a credential helper to remove this warning. See 06:10:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:21 06:10:21 Login Succeeded 06:10:21 nexus3.edgexfoundry.org:10002 06:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:21 Configure a credential helper to remove this warning. See 06:10:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:21 06:10:21 Login Succeeded 06:10:21 nexus3.edgexfoundry.org:10003 06:10:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:21 Configure a credential helper to remove this warning. See 06:10:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:21 06:10:21 Login Succeeded 06:10:21 nexus3.edgexfoundry.org:10004 06:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:22 Configure a credential helper to remove this warning. See 06:10:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:22 06:10:22 Login Succeeded 06:10:22 ****.io 06:10:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:10:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:10:22 Configure a credential helper to remove this warning. See 06:10:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:10:22 06:10:22 1b63d2d64ce3: Pushed 06:10:22 f1ae59df93e15168f5c84516dd369218cbd3ebf1: digest: sha256:b3ec8d31a5ff5d8c3f048a92a010c369a51a159722327465e8fafbecaf1cdab0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 06:10:23 Login Succeeded 06:10:23 ---> ****-login.sh ends [Pipeline] } 06:10:23 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:10:23 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:10:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh [Pipeline] echo 06:10:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:10:23 ========================================================= 06:10:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 06:10:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:23 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 06:10:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:10:23 1b63d2d64ce3: Preparing 06:10:23 44c49010ca74: Preparing 06:10:23 3f28a9d3558f: Preparing 06:10:23 f3e84aef22f3: Preparing 06:10:23 ac50b071fca4: Preparing 06:10:23 994456c4fd7b: Preparing 06:10:23 994456c4fd7b: Waiting 06:10:23 1b63d2d64ce3: Layer already exists 06:10:23 44c49010ca74: Layer already exists 06:10:23 3f28a9d3558f: Layer already exists 06:10:23 f3e84aef22f3: Layer already exists 06:10:23 ac50b071fca4: Layer already exists 06:10:23 994456c4fd7b: Layer already exists 06:10:23 latest: digest: sha256:b3ec8d31a5ff5d8c3f048a92a010c369a51a159722327465e8fafbecaf1cdab0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:24 + 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:10:24 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:24 + docker push nexus3.edgexfoundry.org:10004/device-virtual:4.1.0-dev.1 06:10:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:10:24 1b63d2d64ce3: Preparing 06:10:24 44c49010ca74: Preparing 06:10:24 3f28a9d3558f: Preparing 06:10:24 f3e84aef22f3: Preparing 06:10:24 ac50b071fca4: Preparing 06:10:24 994456c4fd7b: Preparing 06:10:24 994456c4fd7b: Waiting 06:10:24 1b63d2d64ce3: Layer already exists 06:10:24 44c49010ca74: Layer already exists 06:10:24 3f28a9d3558f: Layer already exists 06:10:24 ac50b071fca4: Layer already exists 06:10:24 f3e84aef22f3: Layer already exists 06:10:24 994456c4fd7b: Layer already exists 06:10:24 4.1.0-dev.1: digest: sha256:b3ec8d31a5ff5d8c3f048a92a010c369a51a159722327465e8fafbecaf1cdab0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:24 Sending build context to Docker daemon 20.54MB 06:10:24 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 06:10:24 Step 2/12 : FROM ${BASE} AS builder 06:10:24 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 [Pipeline] } 06:10:24 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:10:24 9986a736f7d3: Pulling fs layer 06:10:24 1f018df60701: Pulling fs layer 06:10:24 39f8f326b044: Pulling fs layer 06:10:24 e6a1e7a6a96a: Pulling fs layer 06:10:24 4f4fb700ef54: Pulling fs layer 06:10:24 d45d956e0dbf: Pulling fs layer 06:10:24 d7702b0d1db1: Pulling fs layer 06:10:24 5c7f0f088c93: Pulling fs layer 06:10:24 4fdc064ae6cf: Pulling fs layer 06:10:24 e6a1e7a6a96a: Waiting 06:10:24 4f4fb700ef54: Waiting 06:10:24 d45d956e0dbf: Waiting 06:10:24 d7702b0d1db1: Waiting 06:10:24 5c7f0f088c93: Waiting 06:10:24 4fdc064ae6cf: Waiting 06:10:24 1f018df60701: Download complete 06:10:24 e6a1e7a6a96a: Verifying Checksum 06:10:24 e6a1e7a6a96a: Download complete 06:10:24 4f4fb700ef54: Verifying Checksum 06:10:24 4f4fb700ef54: Download complete 06:10:24 d45d956e0dbf: Verifying Checksum 06:10:24 d45d956e0dbf: Download complete 06:10:24 d7702b0d1db1: Verifying Checksum 06:10:24 d7702b0d1db1: Download complete 06:10:24 9986a736f7d3: Verifying Checksum 06:10:24 9986a736f7d3: Download complete [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 06:10:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:10:25 1b63d2d64ce3: Preparing 06:10:25 44c49010ca74: Preparing 06:10:25 3f28a9d3558f: Preparing 06:10:25 f3e84aef22f3: Preparing 06:10:25 ac50b071fca4: Preparing 06:10:25 994456c4fd7b: Preparing 06:10:25 994456c4fd7b: Waiting 06:10:25 1b63d2d64ce3: Layer already exists 06:10:25 ac50b071fca4: Layer already exists 06:10:25 f3e84aef22f3: Layer already exists 06:10:25 3f28a9d3558f: Layer already exists 06:10:25 44c49010ca74: Layer already exists 06:10:25 994456c4fd7b: Layer already exists 06:10:25 f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1: digest: sha256:b3ec8d31a5ff5d8c3f048a92a010c369a51a159722327465e8fafbecaf1cdab0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:25 4fdc064ae6cf: Verifying Checksum 06:10:25 4fdc064ae6cf: Download complete 06:10:25 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:25 9986a736f7d3: Pull complete 06:10:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 06:10:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 06:10:25 1b63d2d64ce3: Preparing 06:10:25 44c49010ca74: Preparing 06:10:25 3f28a9d3558f: Preparing 06:10:25 f3e84aef22f3: Preparing 06:10:25 ac50b071fca4: Preparing 06:10:25 994456c4fd7b: Preparing 06:10:25 994456c4fd7b: Waiting 06:10:25 44c49010ca74: Layer already exists 06:10:25 3f28a9d3558f: Layer already exists 06:10:25 ac50b071fca4: Layer already exists 06:10:25 1b63d2d64ce3: Layer already exists 06:10:25 f3e84aef22f3: Layer already exists 06:10:25 994456c4fd7b: Layer already exists 06:10:25 main: digest: sha256:b3ec8d31a5ff5d8c3f048a92a010c369a51a159722327465e8fafbecaf1cdab0 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:10:25 ===================================================== [Pipeline] echo 06:10:26 taggedImages: 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:latest 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:4.1.0-dev.1 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] echo 06:10:26 ========================================================= 06:10:26 [edgeXBuildMultiArch] RAW Config: 06:10:26 images: 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:latest 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:4.1.0-dev.1 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 06:10:26 - nexus3.edgexfoundry.org:10004/device-virtual:main 06:10:26 settingsFile: 06:10:26 device-virtual-go-settings 06:10:26 ========================================================= [Pipeline] node 06:10:26 1f018df60701: Pull complete 06:10:26 39f8f326b044: Verifying Checksum 06:10:26 39f8f326b044: Download complete 06:10:27 5c7f0f088c93: Verifying Checksum 06:10:27 5c7f0f088c93: Download complete 06:10:39 39f8f326b044: Pull complete 06:10:39 e6a1e7a6a96a: Pull complete 06:10:40 4f4fb700ef54: Pull complete 06:10:40 d45d956e0dbf: Pull complete 06:10:40 d7702b0d1db1: Pull complete 06:10:41 Still waiting to schedule task 06:10:41 All nodes of label ‘centos7-docker-4c-2g’ are offline 06:10:48 5c7f0f088c93: Pull complete 06:10:50 4fdc064ae6cf: Pull complete 06:10:50 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 06:10:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 06:10:50 ---> 63f30b955cb9 06:10:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:10:52 ---> Running in 2214c80b53bc 06:10:52 Removing intermediate container 2214c80b53bc 06:10:52 ---> 7db157d28686 06:10:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:10:52 ---> Running in 6543dd8bf283 06:10:52 Removing intermediate container 6543dd8bf283 06:10:52 ---> 3b95ff1ce8bc 06:10:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 06:10:52 ---> Running in df6317e7a404 06:10:53 Removing intermediate container df6317e7a404 06:10:53 ---> 6dc2b6a66734 06:10:53 Step 6/12 : WORKDIR /device-virtual-go 06:10:53 ---> Running in 10c117aa2b2d 06:10:53 Removing intermediate container 10c117aa2b2d 06:10:53 ---> 276f8ae1189e 06:10:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:53 ---> Running in 202d27d7639b 06:10:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:10:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:10:56 (1/4) Installing openssh-keygen (9.7_p1-r5) 06:10:56 (2/4) Installing libedit (20240517.3.1-r0) 06:10:56 (3/4) Installing openssh-client-common (9.7_p1-r5) 06:10:56 (4/4) Installing openssh-client-default (9.7_p1-r5) 06:10:56 Executing busybox-1.36.1-r29.trigger 06:10:56 OK: 244 MiB in 62 packages 06:10:57 Removing intermediate container 202d27d7639b 06:10:57 ---> fe6c8bd5d590 06:10:57 Step 8/12 : COPY go.mod vendor* ./ 06:10:58 ---> 2ff0bb006e5c 06:10:58 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:58 ---> Running in 4c678a08d8ff 06:11:11 Running on prd-centos7-docker-4c-2g-42415 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:11:11 provisioning config files... 06:11:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16964343616177553318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:11:12 ---> ****-login.sh 06:11:12 nexus3.edgexfoundry.org:10001 06:12:49 Removing intermediate container 4c678a08d8ff 06:12:49 ---> b2cf9956a50d 06:12:49 Step 10/12 : COPY . . 06:12:49 ---> f05ca020a49f 06:12:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:12:49 ---> Running in cd8ff4a756e6 06:12:49 Removing intermediate container cd8ff4a756e6 06:12:49 ---> 214e43a93c9e 06:12:49 Step 12/12 : RUN $MAKE 06:12:49 ---> Running in 443b0a0741d2 06:12:49 noop 06:12:49 Removing intermediate container 443b0a0741d2 06:12:49 ---> a6958d4b5f96 06:12:49 Successfully built a6958d4b5f96 06:12:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:50 + docker inspect -f . ci-base-image-arm64 06:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:50 prd-ubuntu20.04-docker-arm64-4c-16g-42414 does not seem to be running inside a container 06:12:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/206 -v /w/workspace/device-virtual-go/206:/w/workspace/device-virtual-go/206:rw,z -v /w/workspace/device-virtual-go/206@tmp:/w/workspace/device-virtual-go/206@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 ******** -e ******** ci-base-image-arm64 cat 06:12:51 $ docker top eda28a9904facc6cfbf1c15ded6272cd0411c979efa202d3866df3184db6782b -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:52 + go version 06:12:52 go version go1.23.4 linux/arm64 [Pipeline] } 06:12:52 $ docker stop --time=1 eda28a9904facc6cfbf1c15ded6272cd0411c979efa202d3866df3184db6782b 06:12:54 $ docker rm -f --volumes eda28a9904facc6cfbf1c15ded6272cd0411c979efa202d3866df3184db6782b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:12:54 + docker inspect -f . ci-base-image-arm64 06:12:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:12:55 prd-ubuntu20.04-docker-arm64-4c-16g-42414 does not seem to be running inside a container 06:12:55 $ 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/206 -v /w/workspace/device-virtual-go/206:/w/workspace/device-virtual-go/206:rw,z -v /w/workspace/device-virtual-go/206@tmp:/w/workspace/device-virtual-go/206@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 ******** -e ******** ci-base-image-arm64 cat 06:12:56 $ docker top 4aec47071748254886bbe4b6cdcec4b0d1d269182222bba63d9bba37a6a2992c -eo pid,comm [Pipeline] { [Pipeline] sh 06:12:57 + git config --global --add safe.directory /w/workspace/device-virtual-go/206 [Pipeline] fileExists [Pipeline] sh 06:12:57 + make test 06:12:57 go test ./... -coverprofile=coverage.out 06:13:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:16:24 github.com/edgexfoundry/device-virtual-go/cmd coverage: 0.0% of statements 06:16:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.058s coverage: 58.3% of statements 06:16:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:16:24 go vet ./... 06:17:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:17:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:17:03 ./bin/test-attribution-txt.sh [Pipeline] echo 06:17:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 06:17:03 $ docker stop --time=1 4aec47071748254886bbe4b6cdcec4b0d1d269182222bba63d9bba37a6a2992c 06:17:05 $ docker rm -f --volumes 4aec47071748254886bbe4b6cdcec4b0d1d269182222bba63d9bba37a6a2992c [Pipeline] // withDockerContainer [Pipeline] sh 06:17:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:17:07 Warning: overwriting stash ‘coverage-report’ 06:17:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:08 + ls -al . 06:17:08 total 264 06:17:08 drwxrwxr-x 7 jenkins jenkins 4096 Mar 31 06:13 . 06:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 06:09 .. 06:17:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 06:09 .git 06:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 06:09 .github 06:17:08 -rw-rw-r-- 1 jenkins jenkins 272 Mar 31 06:09 .gitignore 06:17:08 -rw-rw-r-- 1 jenkins jenkins 199 Mar 31 06:09 .golangci.yml 06:17:08 -rw-rw-r-- 1 jenkins jenkins 18321 Mar 31 06:09 Attribution.txt 06:17:08 -rw-rw-r-- 1 jenkins jenkins 17302 Mar 31 06:09 CHANGELOG.md 06:17:08 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 31 06:09 Dockerfile 06:17:08 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 06:09 GOVERNANCE.md 06:17:08 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 06:09 Jenkinsfile 06:17:08 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 06:09 LICENSE 06:17:08 -rw-rw-r-- 1 jenkins jenkins 2652 Mar 31 06:09 Makefile 06:17:08 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 06:09 OWNERS.md 06:17:08 -rw-rw-r-- 1 jenkins jenkins 4473 Mar 31 06:09 README.md 06:17:08 -rw-rw-r-- 1 jenkins jenkins 11 Mar 31 06:08 VERSION 06:17:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 06:09 bin 06:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 06:09 cmd 06:17:08 -rw-r--r-- 1 jenkins jenkins 43316 Mar 31 06:16 coverage.out 06:17:08 -rw-rw-r-- 1 jenkins jenkins 6032 Mar 31 06:09 go.mod 06:17:08 -rw-rw-r-- 1 jenkins jenkins 86532 Mar 31 06:09 go.sum 06:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 06:09 internal 06:17:08 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 06:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:09 + 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=f1ae59df93e15168f5c84516dd369218cbd3ebf1 --label arch=arm64 --label version=4.1.0-dev.1 . 06:17:09 Sending build context to Docker daemon 20.58MB 06:17:09 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 06:17:09 Step 2/26 : FROM ${BASE} AS builder 06:17:09 ---> a6958d4b5f96 06:17:09 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:17:09 ---> Running in 8d13d2422164 06:17:10 Removing intermediate container 8d13d2422164 06:17:10 ---> d7b4583ebedd 06:17:10 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:17:10 ---> Running in 95728ce3a602 06:17:10 Removing intermediate container 95728ce3a602 06:17:10 ---> 49c4ac68cfec 06:17:10 Step 5/26 : ARG ADD_BUILD_TAGS="" 06:17:10 ---> Running in 37a47644c63a 06:17:10 Removing intermediate container 37a47644c63a 06:17:10 ---> 2858545476a5 06:17:10 Step 6/26 : WORKDIR /device-virtual-go 06:17:10 ---> Running in bb2576bebab1 06:17:11 Removing intermediate container bb2576bebab1 06:17:11 ---> 7c03de55b889 06:17:11 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:17:11 ---> Running in 0f9fb4c94dea 06:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:17:14 OK: 244 MiB in 62 packages 06:17:14 Removing intermediate container 0f9fb4c94dea 06:17:14 ---> 4223accd265b 06:17:14 Step 8/26 : COPY go.mod vendor* ./ 06:17:15 ---> 37ddab8f0e72 06:17:15 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:15 ---> Running in bb8a50e3a6fe 06:17:17 Removing intermediate container bb8a50e3a6fe 06:17:17 ---> d0183b869397 06:17:17 Step 10/26 : COPY . . 06:17:18 ---> 790e072ded43 06:17:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:17:18 ---> Running in 8916564ed5a9 06:17:19 Removing intermediate container 8916564ed5a9 06:17:19 ---> e14669d04a6c 06:17:19 Step 12/26 : RUN $MAKE 06:17:19 ---> Running in b265278534a4 06:17:20 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 06:20:42 Removing intermediate container b265278534a4 06:20:42 ---> c2807a57c7bc 06:20:42 Step 13/26 : FROM alpine:3.20 06:20:42 3.20: Pulling from library/alpine 06:20:42 94e9d8af2201: Pulling fs layer 06:20:42 94e9d8af2201: Verifying Checksum 06:20:42 94e9d8af2201: Download complete 06:20:42 94e9d8af2201: Pull complete 06:20:42 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 06:20:42 Status: Downloaded newer image for alpine:3.20 06:20:42 ---> 7aab056cecc6 06:20:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:20:42 ---> Running in 85f8006e0599 06:20:42 Removing intermediate container 85f8006e0599 06:20:42 ---> 88f67ed8afa7 06:20:42 Step 15/26 : RUN apk add --update --no-cache dumb-init 06:20:42 ---> Running in 13c7845b821b 06:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:20:42 (1/1) Installing dumb-init (1.2.5-r3) 06:20:42 Executing busybox-1.36.1-r29.trigger 06:20:42 OK: 9 MiB in 15 packages 06:20:42 Removing intermediate container 13c7845b821b 06:20:42 ---> 08cb9d148702 06:20:42 Step 16/26 : RUN apk --no-cache upgrade 06:20:42 ---> Running in 9a92f9cedf1b 06:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 06:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 06:20:42 OK: 9 MiB in 15 packages 06:20:42 Removing intermediate container 9a92f9cedf1b 06:20:42 ---> 3ba554c303a9 06:20:42 Step 17/26 : WORKDIR / 06:20:42 ---> Running in 6675eef9825b 06:20:42 Removing intermediate container 6675eef9825b 06:20:42 ---> 949b0c01f773 06:20:42 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:20:42 ---> a5903e8f59ef 06:20:42 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:20:42 ---> 14cbfc562ec5 06:20:42 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:20:43 ---> 1eca4b465115 06:20:43 Step 21/26 : EXPOSE 59900 06:20:43 ---> Running in 6bd1c3ac96bc 06:20:44 Removing intermediate container 6bd1c3ac96bc 06:20:44 ---> b05185f62432 06:20:44 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:20:44 ---> Running in ed87df1e82e4 06:20:44 Removing intermediate container ed87df1e82e4 06:20:44 ---> f5219e318fd6 06:20:44 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 06:20:44 ---> Running in aa35b4eb6d3f 06:20:44 Removing intermediate container aa35b4eb6d3f 06:20:44 ---> 57d4e2dd7935 06:20:44 Step 24/26 : LABEL arch=arm64 06:20:44 ---> Running in cf3eb577b927 06:20:45 Removing intermediate container cf3eb577b927 06:20:45 ---> 3bf718977f20 06:20:45 Step 25/26 : LABEL git_sha=f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:20:45 ---> Running in 42e3a8e6c456 06:20:45 Removing intermediate container 42e3a8e6c456 06:20:45 ---> f76d32435da0 06:20:45 Step 26/26 : LABEL version=4.1.0-dev.1 06:20:45 ---> Running in 5c3e3a3f6d99 06:20:45 Removing intermediate container 5c3e3a3f6d99 06:20:45 ---> 4dbf7d498454 06:20:45 [Warning] One or more build-args [ARCH] were not consumed 06:20:45 Successfully built 4dbf7d498454 06:20:45 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 06:20:45 provisioning config files... 06:20:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/206@tmp/config14291166953333147844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:46 ---> ****-login.sh 06:20:46 nexus3.edgexfoundry.org:10001 06:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:46 Configure a credential helper to remove this warning. See 06:20:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:46 06:20:46 Login Succeeded 06:20:46 nexus3.edgexfoundry.org:10002 06:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:46 Configure a credential helper to remove this warning. See 06:20:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:46 06:20:46 Login Succeeded 06:20:46 nexus3.edgexfoundry.org:10003 06:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:47 Configure a credential helper to remove this warning. See 06:20:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:47 06:20:47 Login Succeeded 06:20:47 nexus3.edgexfoundry.org:10004 06:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:47 Configure a credential helper to remove this warning. See 06:20:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:47 06:20:47 Login Succeeded 06:20:47 ****.io 06:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:48 Configure a credential helper to remove this warning. See 06:20:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:48 06:20:48 Login Succeeded 06:20:48 ---> ****-login.sh ends [Pipeline] } 06:20:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:20:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 06:20:48 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 06:20:48 f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:20:48 latest 06:20:48 4.1.0-dev.1 06:20:48 f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 06:20:48 main 06:20:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:20:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:20:48 9ebf2088bc96: Preparing 06:20:48 443cd53f5a0c: Preparing 06:20:48 fc30945c48e3: Preparing 06:20:48 79ccb50fc506: Preparing 06:20:48 96b2dee71a00: Preparing 06:20:48 dd9c8f8612c8: Preparing 06:20:48 dd9c8f8612c8: Waiting 06:20:49 443cd53f5a0c: Pushed 06:20:49 fc30945c48e3: Pushed 06:20:49 79ccb50fc506: Pushed 06:20:49 96b2dee71a00: Pushed 06:20:49 dd9c8f8612c8: Layer already exists 06:20:57 9ebf2088bc96: Pushed 06:20:57 f1ae59df93e15168f5c84516dd369218cbd3ebf1: digest: sha256:9aba3cde2bb39c63ddf0f2c34ea806db922a25d241b1e0df4576c14b91a01d11 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 06:20:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:20:58 9ebf2088bc96: Preparing 06:20:58 443cd53f5a0c: Preparing 06:20:58 fc30945c48e3: Preparing 06:20:58 79ccb50fc506: Preparing 06:20:58 96b2dee71a00: Preparing 06:20:58 dd9c8f8612c8: Preparing 06:20:58 dd9c8f8612c8: Waiting 06:20:58 79ccb50fc506: Layer already exists 06:20:58 96b2dee71a00: Layer already exists 06:20:58 fc30945c48e3: Layer already exists 06:20:58 443cd53f5a0c: Layer already exists 06:20:58 9ebf2088bc96: Layer already exists 06:20:58 dd9c8f8612c8: Layer already exists 06:20:58 latest: digest: sha256:9aba3cde2bb39c63ddf0f2c34ea806db922a25d241b1e0df4576c14b91a01d11 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.1.0-dev.1 06:20:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:20:59 9ebf2088bc96: Preparing 06:20:59 443cd53f5a0c: Preparing 06:20:59 fc30945c48e3: Preparing 06:20:59 79ccb50fc506: Preparing 06:20:59 96b2dee71a00: Preparing 06:20:59 dd9c8f8612c8: Preparing 06:20:59 dd9c8f8612c8: Waiting 06:20:59 9ebf2088bc96: Layer already exists 06:20:59 443cd53f5a0c: Layer already exists 06:20:59 fc30945c48e3: Layer already exists 06:20:59 96b2dee71a00: Layer already exists 06:20:59 79ccb50fc506: Layer already exists 06:20:59 dd9c8f8612c8: Layer already exists 06:20:59 4.1.0-dev.1: digest: sha256:9aba3cde2bb39c63ddf0f2c34ea806db922a25d241b1e0df4576c14b91a01d11 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 06:21:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:21:00 9ebf2088bc96: Preparing 06:21:00 443cd53f5a0c: Preparing 06:21:00 fc30945c48e3: Preparing 06:21:00 79ccb50fc506: Preparing 06:21:00 96b2dee71a00: Preparing 06:21:00 dd9c8f8612c8: Preparing 06:21:00 dd9c8f8612c8: Waiting 06:21:00 96b2dee71a00: Layer already exists 06:21:00 443cd53f5a0c: Layer already exists 06:21:00 79ccb50fc506: Layer already exists 06:21:00 9ebf2088bc96: Layer already exists 06:21:00 fc30945c48e3: Layer already exists 06:21:00 dd9c8f8612c8: Layer already exists 06:21:00 f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1: digest: sha256:9aba3cde2bb39c63ddf0f2c34ea806db922a25d241b1e0df4576c14b91a01d11 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 06:21:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 06:21:00 9ebf2088bc96: Preparing 06:21:00 443cd53f5a0c: Preparing 06:21:00 fc30945c48e3: Preparing 06:21:00 79ccb50fc506: Preparing 06:21:00 96b2dee71a00: Preparing 06:21:00 dd9c8f8612c8: Preparing 06:21:00 dd9c8f8612c8: Waiting 06:21:00 96b2dee71a00: Layer already exists 06:21:00 fc30945c48e3: Layer already exists 06:21:00 9ebf2088bc96: Layer already exists 06:21:00 443cd53f5a0c: Layer already exists 06:21:00 79ccb50fc506: Layer already exists 06:21:00 dd9c8f8612c8: Layer already exists 06:21:00 main: digest: sha256:9aba3cde2bb39c63ddf0f2c34ea806db922a25d241b1e0df4576c14b91a01d11 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:21:01 ===================================================== [Pipeline] echo 06:21:01 taggedImages: 06:21:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1 06:21:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 06:21:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.1.0-dev.1 06:21:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 06:21:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] echo 06:21:01 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1 [Pipeline] echo 06:21:01 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] echo 06:21:01 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-virtual-arm64:4.1.0-dev.1 [Pipeline] echo 06:21:01 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-virtual-arm64:f1ae59df93e15168f5c84516dd369218cbd3ebf1-4.1.0-dev.1 [Pipeline] echo 06:21:01 Skip building multi-arch image for 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 06:21:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:01 06:21:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:02 arm64: Pulling from edgex-lftools-log-publisher 06:21:02 8998bd30e6a1: Pulling fs layer 06:21:02 04944245beec: Pulling fs layer 06:21:02 699f458cf7ca: Pulling fs layer 06:21:02 765212b225bb: Pulling fs layer 06:21:02 f23df028b6ca: Pulling fs layer 06:21:02 d65c8cfc05b1: Pulling fs layer 06:21:02 2437ff75d9bd: Pulling fs layer 06:21:02 765212b225bb: Waiting 06:21:02 f23df028b6ca: Waiting 06:21:02 d65c8cfc05b1: Waiting 06:21:02 2437ff75d9bd: Waiting 06:21:02 04944245beec: Verifying Checksum 06:21:02 04944245beec: Download complete 06:21:02 765212b225bb: Download complete 06:21:02 f23df028b6ca: Verifying Checksum 06:21:02 f23df028b6ca: Download complete 06:21:02 d65c8cfc05b1: Verifying Checksum 06:21:02 d65c8cfc05b1: Download complete 06:21:02 699f458cf7ca: Verifying Checksum 06:21:02 699f458cf7ca: Download complete 06:21:03 8998bd30e6a1: Verifying Checksum 06:21:03 8998bd30e6a1: Download complete 06:21:05 2437ff75d9bd: Verifying Checksum 06:21:05 2437ff75d9bd: Download complete 06:21:07 8998bd30e6a1: Pull complete 06:21:08 04944245beec: Pull complete 06:21:10 699f458cf7ca: Pull complete 06:21:10 765212b225bb: Pull complete 06:21:11 f23df028b6ca: Pull complete 06:21:11 d65c8cfc05b1: Pull complete 06:21:29 2437ff75d9bd: Pull complete 06:21:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:21:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:21:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:29 prd-ubuntu20.04-docker-arm64-4c-16g-42414 does not seem to be running inside a container 06:21:29 $ 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/206 -v /w/workspace/device-virtual-go/206:/w/workspace/device-virtual-go/206:rw,z -v /w/workspace/device-virtual-go/206@tmp:/w/workspace/device-virtual-go/206@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:21:32 $ docker top e35c82a19f0ce34648b48c1254d96ba4abd61bb14ca435ceb09d89cf4937cb51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:21:33 ---> job-cost.sh 06:21:33 lf-activate-venv: SKIPPING 06:21:33 INFO: No Stack... 06:21:33 INFO: Retrieving Pricing Info for: v3-standard-4 06:21:34 INFO: Archiving Costs [Pipeline] sh 06:21:34 + cut -d, -f6 06:21:34 + cat /w/workspace/device-virtual-go/206/archives/cost.csv [Pipeline] lock 06:21:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-206-stack-cost] 06:21:35 Resource [jenkins-edgexfoundry-device-virtual-go-main-206-stack-cost] did not exist. Created. 06:21:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-206-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:21:35 + echo total: 0.10999999940395355 [Pipeline] stash 06:21:35 Stashed 1 file(s) [Pipeline] } 06:21:35 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-206-stack-cost] [Pipeline] // lock [Pipeline] } 06:21:35 $ docker stop --time=1 e35c82a19f0ce34648b48c1254d96ba4abd61bb14ca435ceb09d89cf4937cb51 06:21:36 $ docker rm -f --volumes e35c82a19f0ce34648b48c1254d96ba4abd61bb14ca435ceb09d89cf4937cb51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Aborted by Jin Lin Guan 06:49:13 Sending interrupt signal to process 06:49:20 script returned exit code 143 [Pipeline] } 06:49:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:49:21 + '[' -d /w/workspace/exfoundry_device-virtual-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 06:49:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:49:22 ---> package-listing.sh 06:49:22 ++ facter osfamily 06:49:22 ++ tr '[:upper:]' '[:lower:]' 06:49:22 + OS_FAMILY=redhat 06:49:22 + workspace=/w/workspace/exfoundry_device-virtual-go_main 06:49:22 + START_PACKAGES=/tmp/packages_start.txt 06:49:22 + END_PACKAGES=/tmp/packages_end.txt 06:49:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:49:22 + PACKAGES=/tmp/packages_start.txt 06:49:22 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:49:22 + PACKAGES=/tmp/packages_end.txt 06:49:22 + case "${OS_FAMILY}" in 06:49:22 + rpm -qa 06:49:22 + sort 06:49:22 + '[' -f /tmp/packages_start.txt ']' 06:49:22 + '[' -f /tmp/packages_end.txt ']' 06:49:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:49:22 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:49:22 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 06:49:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 06:49:22 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 06:49:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:49:23 06:49:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:49:24 latest: Pulling from edgex-lftools-log-publisher 06:49:24 5eb5b503b376: Pulling fs layer 06:49:24 5c69ac0246d0: Pulling fs layer 06:49:24 ec43610c2a17: Pulling fs layer 06:49:24 3a2ae6a8a46f: Pulling fs layer 06:49:24 33b1e0a273af: Pulling fs layer 06:49:24 5d3b04190fa2: Pulling fs layer 06:49:24 2f39f015ded8: Pulling fs layer 06:49:24 3a2ae6a8a46f: Waiting 06:49:24 33b1e0a273af: Waiting 06:49:24 5d3b04190fa2: Waiting 06:49:24 2f39f015ded8: Waiting 06:49:24 5c69ac0246d0: Verifying Checksum 06:49:24 5c69ac0246d0: Download complete 06:49:24 3a2ae6a8a46f: Verifying Checksum 06:49:24 3a2ae6a8a46f: Download complete 06:49:24 33b1e0a273af: Verifying Checksum 06:49:24 33b1e0a273af: Download complete 06:49:24 ec43610c2a17: Verifying Checksum 06:49:24 ec43610c2a17: Download complete 06:49:24 5d3b04190fa2: Verifying Checksum 06:49:24 5d3b04190fa2: Download complete 06:49:24 5eb5b503b376: Verifying Checksum 06:49:24 5eb5b503b376: Download complete 06:49:24 2f39f015ded8: Verifying Checksum 06:49:24 2f39f015ded8: Download complete 06:49:25 5eb5b503b376: Pull complete 06:49:25 5c69ac0246d0: Pull complete 06:49:26 ec43610c2a17: Pull complete 06:49:26 3a2ae6a8a46f: Pull complete 06:49:26 33b1e0a273af: Pull complete 06:49:26 5d3b04190fa2: Pull complete Click here to forcibly terminate running steps 06:49:30 2f39f015ded8: Pull complete 06:49:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:49:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:49:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:31 prd-centos7-docker-4c-2g-42415 does not seem to be running inside a container 06:49:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:49:34 $ docker top 6e6dce97d32e0426b80790b40fbf0e06f1d132191ab62070dcd86091dc8ce44f -eo pid,comm [Pipeline] { Terminating withDockerContainer [Pipeline] sh 06:49:34 + touch /tmp/pre-build-complete [Pipeline] sh 06:49:34 + mkdir -p /var/log/sysstat [Pipeline] sh 06:49:35 + ls /var/log/sa-host 06:49:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:49:35 provisioning config files... 06:49:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1694254358919538087tmp [Pipeline] { [Pipeline] echo 06:49:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:49:35 ---> create-netrc.sh [Pipeline] } 06:49:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:49:36 ---> python-tools-install.sh [Pipeline] echo 06:49:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:49:36 ---> sudo-logs.sh 06:49:36 Archiving 'sudo' log.. 06:49:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-42415.novalocal: Name or service not known 06:49:36 sudo: unable to resolve host prd-centos7-docker-4c-2g-42415.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 06:49:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:49:36 ---> job-cost.sh 06:49:36 lf-activate-venv: SKIPPING 06:49:36 DEBUG: total: 0.10999999940395355 06:49:36 INFO: Retrieving Stack Cost... 06:49:36 INFO: Retrieving Pricing Info for: v3-standard-2 06:49:37 INFO: Archiving Costs [Pipeline] echo 06:49:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:49:37 ---> logs-deploy.sh 06:49:37 lf-activate-venv: SKIPPING 06:49:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/206 06:49:37 INFO: archiving workspace using pattern(s): 06:49:38 Archives upload complete. 06:49:38 INFO: archiving logs to Nexus 06:49:39 ---> uname -a: 06:49:39 Linux prd-centos7-docker-4c-2g-42415.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 06:49:39 06:49:39 06:49:39 ---> lscpu: 06:49:39 Architecture: x86_64 06:49:39 CPU op-mode(s): 32-bit, 64-bit 06:49:39 Byte Order: Little Endian 06:49:39 Address sizes: 40 bits physical, 48 bits virtual 06:49:39 CPU(s): 2 06:49:39 On-line CPU(s) list: 0,1 06:49:39 Thread(s) per core: 1 06:49:39 Core(s) per socket: 1 06:49:39 Socket(s): 2 06:49:39 NUMA node(s): 1 06:49:39 Vendor ID: AuthenticAMD 06:49:39 CPU family: 23 06:49:39 Model: 49 06:49:39 Model name: AMD EPYC-Rome Processor 06:49:39 Stepping: 0 06:49:39 CPU MHz: 2799.998 06:49:39 BogoMIPS: 5599.99 06:49:39 Virtualization: AMD-V 06:49:39 Hypervisor vendor: KVM 06:49:39 Virtualization type: full 06:49:39 L1d cache: 64 KiB 06:49:39 L1i cache: 64 KiB 06:49:39 L2 cache: 1 MiB 06:49:39 L3 cache: 32 MiB 06:49:39 NUMA node0 CPU(s): 0,1 06:49:39 Vulnerability Itlb multihit: Not affected 06:49:39 Vulnerability L1tf: Not affected 06:49:39 Vulnerability Mds: Not affected 06:49:39 Vulnerability Meltdown: Not affected 06:49:39 Vulnerability Mmio stale data: Not affected 06:49:39 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:49:39 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:49:39 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:49:39 Vulnerability Srbds: Not affected 06:49:39 Vulnerability Tsx async abort: Not affected 06:49:39 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 06:49:39 06:49:39 06:49:39 ---> nproc: 06:49:39 2 06:49:39 06:49:39 06:49:39 ---> df -h: 06:49:39 Filesystem Size Used Avail Use% Mounted on 06:49:39 overlay 40G 6.8G 34G 17% / 06:49:39 tmpfs 64M 0 64M 0% /dev 06:49:39 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 06:49:39 shm 64M 0 64M 0% /dev/shm 06:49:39 /dev/vda1 40G 6.8G 34G 17% /facter-os 06:49:39 06:49:39 06:49:39 Cannot open /var/log/sysstat/sa31: No such file or directory 06:49:39 Please check if data collecting is enabled 06:49:39 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:49:39 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 06:49:39 $ docker stop --time=1 6e6dce97d32e0426b80790b40fbf0e06f1d132191ab62070dcd86091dc8ce44f 06:49:40 $ docker rm -f --volumes 6e6dce97d32e0426b80790b40fbf0e06f1d132191ab62070dcd86091dc8ce44f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:49:41 06:49:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:49:41 latest: Pulling from edgex-lftools-log-publisher 06:49:41 5eb5b503b376: Pulling fs layer 06:49:41 5c69ac0246d0: Pulling fs layer 06:49:41 ec43610c2a17: Pulling fs layer 06:49:41 3a2ae6a8a46f: Pulling fs layer 06:49:41 33b1e0a273af: Pulling fs layer 06:49:41 5d3b04190fa2: Pulling fs layer 06:49:41 2f39f015ded8: Pulling fs layer 06:49:41 5d3b04190fa2: Waiting 06:49:41 3a2ae6a8a46f: Waiting 06:49:41 2f39f015ded8: Waiting 06:49:41 33b1e0a273af: Waiting 06:49:41 5c69ac0246d0: Download complete 06:49:41 3a2ae6a8a46f: Verifying Checksum 06:49:41 3a2ae6a8a46f: Download complete 06:49:41 33b1e0a273af: Verifying Checksum 06:49:41 33b1e0a273af: Download complete 06:49:41 5d3b04190fa2: Download complete 06:49:41 ec43610c2a17: Verifying Checksum 06:49:41 ec43610c2a17: Download complete 06:49:41 5eb5b503b376: Verifying Checksum 06:49:41 5eb5b503b376: Download complete 06:49:42 2f39f015ded8: Download complete 06:49:42 5eb5b503b376: Pull complete 06:49:42 5c69ac0246d0: Pull complete 06:49:43 ec43610c2a17: Pull complete 06:49:43 3a2ae6a8a46f: Pull complete 06:49:43 33b1e0a273af: Pull complete 06:49:43 5d3b04190fa2: Pull complete Click here to forcibly kill entire build 06:49:47 2f39f015ded8: Pull complete 06:49:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:49:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:49:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:47 prd-ubuntu20.04-docker-8c-8g-42412 does not seem to be running inside a container 06:49:47 $ 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:49:49 $ docker top fa22cd8df0ee2be83ca2cf43cc12e71a9856d1b25fa661dd263c42caa17a7cbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:49:49 ---> job-cost.sh 06:49:49 lf-activate-venv: SKIPPING 06:49:49 INFO: No Stack... 06:49:49 INFO: Retrieving Pricing Info for: v3-standard-8 06:49:50 INFO: Archiving Costs [Pipeline] sh 06:49:50 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 06:49:50 + cut -d, -f6 [Pipeline] lock 06:49:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-main-206-stack-cost] 06:49:50 Resource [jenkins-edgexfoundry-device-virtual-go-main-206-stack-cost] did not exist. Created. 06:49:50 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-main-206-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:49:51 /w/workspace/exfoundry_device-virtual-go_main@tmp/durable-8b4a72ed/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:49:51 + echo total: 0.2199999988079071 [Pipeline] stash 06:49:51 Warning: overwriting stash ‘stack-cost’ 06:49:51 Stashed 1 file(s) [Pipeline] } 06:49:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-main-206-stack-cost] [Pipeline] // lock [Pipeline] } 06:49:51 $ docker stop --time=1 fa22cd8df0ee2be83ca2cf43cc12e71a9856d1b25fa661dd263c42caa17a7cbc 06:49:52 $ docker rm -f --volumes fa22cd8df0ee2be83ca2cf43cc12e71a9856d1b25fa661dd263c42caa17a7cbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:49:52 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 06:49:53 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 06:49:53 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 06:49:53 total 16 06:49:53 drwxr-xr-x 3 root root 4096 Mar 31 06:49 . 06:49:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 06:49 .. 06:49:53 drwxr-xr-x 2 root root 4096 Mar 31 06:49 cost 06:49:53 -rw-r--r-- 1 root root 90 Mar 31 06:49 cost.csv 06:49:53 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 06:49:53 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 06:49:53 total 16 06:49:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 06:49 . 06:49:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 06:49 .. 06:49:53 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 06:49 cost 06:49:53 -rw-r--r-- 1 jenkins jenkins 90 Mar 31 06:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:49:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:49:54 ---> package-listing.sh 06:49:54 ++ facter osfamily 06:49:54 ++ tr '[:upper:]' '[:lower:]' 06:49:55 + OS_FAMILY=debian 06:49:55 + workspace=/w/workspace/exfoundry_device-virtual-go_main 06:49:55 + START_PACKAGES=/tmp/packages_start.txt 06:49:55 + END_PACKAGES=/tmp/packages_end.txt 06:49:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:49:55 + PACKAGES=/tmp/packages_start.txt 06:49:55 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:49:55 + PACKAGES=/tmp/packages_end.txt 06:49:55 + case "${OS_FAMILY}" in 06:49:55 + dpkg -l 06:49:55 + grep '^ii' 06:49:55 + '[' -f /tmp/packages_start.txt ']' 06:49:55 + '[' -f /tmp/packages_end.txt ']' 06:49:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:49:55 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 06:49:55 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 06:49:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 06:49:55 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 06:49:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:49:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:56 prd-ubuntu20.04-docker-8c-8g-42412 does not seem to be running inside a container 06:49:56 $ 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 06:49:56 $ docker top 3883e06271fd1f94f1c373f18f846abf95ac08e7a8f67b39ce2cc277c2bd2951 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:56 + touch /tmp/pre-build-complete [Pipeline] sh 06:49:57 + mkdir -p /var/log/sysstat [Pipeline] sh 06:49:57 + ls /var/log/sa-host 06:49:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:49:57 provisioning config files... 06:49:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9505565793352187277tmp [Pipeline] { [Pipeline] echo 06:49:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:49:57 ---> create-netrc.sh [Pipeline] } 06:49:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:49:57 ---> python-tools-install.sh [Pipeline] echo 06:49:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:49:58 ---> sudo-logs.sh 06:49:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:49:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:49:58 ---> job-cost.sh 06:49:58 lf-activate-venv: SKIPPING 06:49:58 DEBUG: total: 0.2199999988079071 06:49:58 INFO: Retrieving Stack Cost... 06:49:58 INFO: Retrieving Pricing Info for: v3-standard-8 06:49:58 INFO: Archiving Costs [Pipeline] echo 06:49:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:49:59 ---> logs-deploy.sh 06:49:59 lf-activate-venv: SKIPPING 06:49:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/206 06:49:59 INFO: archiving workspace using pattern(s): 06:50:00 Archives upload complete. 06:50:00 INFO: archiving logs to Nexus