Pull request #535 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-virtual-go Obtained Jenkinsfile from a3aff6999fdc4cbaf305d8de50844515a62aafb5+f1ae59df93e15168f5c84516dd369218cbd3ebf1 (b9c05a980480c7044711ae81c187b1663973a9b1) 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-ssh2510131629935327274.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-ssh8159996614978336348.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/PR-535/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/PR-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11902454951227578713.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-ssh4135528571864445307.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/PR-535/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/PR-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6290592491106375626.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 ‘prd-ubuntu20.04-docker-8c-8g-3555’ Running on prd-ubuntu20.04-docker-8c-8g-3556 in /w/workspace/foundry_device-virtual-go_PR-535 [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/foundry_device-virtual-go_PR-535 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f1ae59df93e15168f5c84516dd369218cbd3ebf1 into PR head commit a3aff6999fdc4cbaf305d8de50844515a62aafb5 Merge succeeded, producing a3aff6999fdc4cbaf305d8de50844515a62aafb5 Checking out Revision a3aff6999fdc4cbaf305d8de50844515a62aafb5 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f a3aff6999fdc4cbaf305d8de50844515a62aafb5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f1ae59df93e15168f5c84516dd369218cbd3ebf1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3aff6999fdc4cbaf305d8de50844515a62aafb5 # timeout=10 Commit message: "feat: Add support for ObjectArray reading" > git rev-list --no-walk b3c7ff59fceede4160216f127808d5041bc4a69e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:50:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:50:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:50:28 ========================================================= 15:50:28 EdgeX Global Pipelines Version Info 15:50:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:50:29 ------------------- 15:50:29 stable info: 15:50:29 ------------------- 15:50:29 Commited By: Ginny Guan ginny@iotechsys.com 15:50:29 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 15:50:29 Message: update stable to v1.0.274 15:50:29 ------------------- 15:50:29 experimental info: 15:50:29 ------------------- 15:50:29 Commited By: **** collab-it+edgex@linuxfoundation.org 15:50:29 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 15:50:29 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:50:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3aff6999fdc4cbaf305d8de50844515a62aafb5 [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a3aff69 [Pipeline] echo 15:50:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:30 provisioning config files... 15:50:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-535@tmp/config307828195296548116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:50:31 ---> ****-login.sh 15:50:31 nexus3.edgexfoundry.org:10001 15:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:31 Configure a credential helper to remove this warning. See 15:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:31 15:50:31 Login Succeeded 15:50:31 nexus3.edgexfoundry.org:10002 15:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:31 Configure a credential helper to remove this warning. See 15:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:31 15:50:31 Login Succeeded 15:50:31 nexus3.edgexfoundry.org:10003 15:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:31 Configure a credential helper to remove this warning. See 15:50:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:31 15:50:31 Login Succeeded 15:50:31 nexus3.edgexfoundry.org:10004 15:50:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:32 Configure a credential helper to remove this warning. See 15:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:32 15:50:32 Login Succeeded 15:50:32 ****.io 15:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:32 Configure a credential helper to remove this warning. See 15:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:32 15:50:32 Login Succeeded 15:50:32 ---> ****-login.sh ends [Pipeline] } 15:50:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:50:32 + git rev-list -1 --merges a3aff6999fdc4cbaf305d8de50844515a62aafb5~1..a3aff6999fdc4cbaf305d8de50844515a62aafb5 [Pipeline] echo 15:50:32 -----------> git rev-list -1 --merges a3aff6999fdc4cbaf305d8de50844515a62aafb5~1..a3aff6999fdc4cbaf305d8de50844515a62aafb5 a3aff6999fdc4cbaf305d8de50844515a62aafb5 [false] [Pipeline] sh 15:50:33 + git log --format=format:%s -1 a3aff6999fdc4cbaf305d8de50844515a62aafb5 [Pipeline] echo 15:50:33 ========================================================= 15:50:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:50:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:50:33 + git log --format=format:%s -1 a3aff6999fdc4cbaf305d8de50844515a62aafb5 [Pipeline] echo 15:50:33 [semverPrep] GIT_COMMIT: a3aff6999fdc4cbaf305d8de50844515a62aafb5, Commit Message: feat: Add support for ObjectArray reading [Pipeline] echo 15:50:33 [semverPrep] This is not a build commit. [Pipeline] sh 15:50:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:50:33 + grep -v github /etc/ssh/ssh_known_hosts 15:50:33 + [ -e /tmp/ssh_known_hosts ] 15:50:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:50:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:50:33 + sudo tee -a /etc/ssh/ssh_known_hosts 15:50:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:34 15:50:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:34 0.1.4: Pulling from edgex-devops/py-git-semver 15:50:34 3dae71ba6b94: Pulling fs layer 15:50:34 6bf1a483ea7c: Pulling fs layer 15:50:34 f5dfc541a4d3: Pulling fs layer 15:50:34 461d9e800cba: Pulling fs layer 15:50:34 80192f66455f: Pulling fs layer 15:50:34 2e8e34ca0e6c: Pulling fs layer 15:50:34 a29436f7fd5d: Pulling fs layer 15:50:34 923cac83aea3: Pulling fs layer 15:50:34 25ad8b0a4227: Pulling fs layer 15:50:34 db01528c6b51: Pulling fs layer 15:50:34 28988de357af: Pulling fs layer 15:50:34 923cac83aea3: Waiting 15:50:34 25ad8b0a4227: Waiting 15:50:34 db01528c6b51: Waiting 15:50:34 28988de357af: Waiting 15:50:34 80192f66455f: Waiting 15:50:34 2e8e34ca0e6c: Waiting 15:50:34 a29436f7fd5d: Waiting 15:50:34 6bf1a483ea7c: Verifying Checksum 15:50:34 6bf1a483ea7c: Download complete 15:50:34 461d9e800cba: Verifying Checksum 15:50:34 461d9e800cba: Download complete 15:50:34 80192f66455f: Verifying Checksum 15:50:34 80192f66455f: Download complete 15:50:34 f5dfc541a4d3: Verifying Checksum 15:50:34 f5dfc541a4d3: Download complete 15:50:34 3dae71ba6b94: Verifying Checksum 15:50:34 3dae71ba6b94: Download complete 15:50:34 923cac83aea3: Download complete 15:50:34 25ad8b0a4227: Verifying Checksum 15:50:34 25ad8b0a4227: Download complete 15:50:34 db01528c6b51: Download complete 15:50:35 28988de357af: Verifying Checksum 15:50:35 28988de357af: Download complete 15:50:35 a29436f7fd5d: Verifying Checksum 15:50:35 a29436f7fd5d: Download complete 15:50:35 2e8e34ca0e6c: Verifying Checksum 15:50:35 2e8e34ca0e6c: Download complete 15:50:35 3dae71ba6b94: Pull complete 15:50:36 6bf1a483ea7c: Pull complete 15:50:36 f5dfc541a4d3: Pull complete 15:50:36 461d9e800cba: Pull complete 15:50:36 80192f66455f: Pull complete 15:50:40 2e8e34ca0e6c: Pull complete 15:50:40 a29436f7fd5d: Pull complete 15:50:40 923cac83aea3: Pull complete 15:50:40 25ad8b0a4227: Pull complete 15:50:40 db01528c6b51: Pull complete 15:50:40 28988de357af: Pull complete 15:50:40 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 15:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:50:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:40 prd-ubuntu20.04-docker-8c-8g-3556 does not seem to be running inside a container 15:50:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:50:42 $ docker top 44072eaf568ecb959c2cf578b4591e5776da684bc75bb32c532c5c1b738fb574 -eo pid,comm 15:50:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:50:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:50:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:50:42 [ssh-agent] Looking for ssh-agent implementation... 15:50:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:50:42 $ docker exec 44072eaf568ecb959c2cf578b4591e5776da684bc75bb32c532c5c1b738fb574 ssh-agent 15:50:42 SSH_AUTH_SOCK=/tmp/ssh-aKTJ8lmVzQlS/agent.33 15:50:42 SSH_AGENT_PID=39 15:50:42 Running ssh-add (command line suppressed) 15:50:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-535@tmp/private_key_9807186739250086658.key (/w/workspace/foundry_device-virtual-go_PR-535@tmp/private_key_9807186739250086658.key) 15:50:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:50:43 + git tag --points-at HEAD [Pipeline] } 15:50:43 $ docker exec --env ******** --env ******** 44072eaf568ecb959c2cf578b4591e5776da684bc75bb32c532c5c1b738fb574 ssh-agent -k 15:50:43 unset SSH_AUTH_SOCK; 15:50:43 unset SSH_AGENT_PID; 15:50:43 echo Agent pid 39 killed; 15:50:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:50:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:50:43 [ssh-agent] Looking for ssh-agent implementation... 15:50:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:50:43 $ docker exec 44072eaf568ecb959c2cf578b4591e5776da684bc75bb32c532c5c1b738fb574 ssh-agent 15:50:43 SSH_AUTH_SOCK=/tmp/ssh-CrlRSNp5LQtT/agent.71 15:50:43 SSH_AGENT_PID=77 15:50:43 Running ssh-add (command line suppressed) 15:50:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-535@tmp/private_key_11773624097611938649.key (/w/workspace/foundry_device-virtual-go_PR-535@tmp/private_key_11773624097611938649.key) 15:50:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:50:44 + git semver init 15:50:44 2025-06-19 15:50:44,365 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 15:50:44 2025-06-19 15:50:44,370 [run_init] DEBUG init version:0.0.0 force:False 15:50:44 2025-06-19 15:50:44,370 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-535/.semver 15:50:44 2025-06-19 15:50:44,371 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-535/.semver 15:50:44 2025-06-19 15:50:44,371 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-535/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-535, stdin=None, shell=False, universal_newlines=False) 15:50:45 2025-06-19 15:50:45,697 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-535/.git/info/exclude 15:50:45 2025-06-19 15:50:45,698 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-535/.semver/PR-535 with force:False 15:50:45 2025-06-19 15:50:45,698 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-535/.semver/PR-535 15:50:45 2025-06-19 15:50:45,703 [execute] INFO git cat-file --batch-check 15:50:45 2025-06-19 15:50:45,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-535/.semver, stdin=, shell=False, universal_newlines=False) 15:50:45 2025-06-19 15:50:45,707 [execute] INFO git cat-file --batch 15:50:45 2025-06-19 15:50:45,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-535/.semver, stdin=, shell=False, universal_newlines=False) 15:50:45 2025-06-19 15:50:45,711 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-535/.semver/PR-535 15:50:45 0.0.0 [Pipeline] } 15:50:45 $ docker exec --env ******** --env ******** 44072eaf568ecb959c2cf578b4591e5776da684bc75bb32c532c5c1b738fb574 ssh-agent -k 15:50:45 unset SSH_AUTH_SOCK; 15:50:45 unset SSH_AGENT_PID; 15:50:45 echo Agent pid 77 killed; 15:50:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:50:46 + git semver [Pipeline] } 15:50:46 $ docker stop --time=1 44072eaf568ecb959c2cf578b4591e5776da684bc75bb32c532c5c1b738fb574 15:50:47 $ docker rm -f --volumes 44072eaf568ecb959c2cf578b4591e5776da684bc75bb32c532c5c1b738fb574 [Pipeline] // withDockerContainer [Pipeline] sh 15:50:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:50:48 Stashed 1 file(s) [Pipeline] echo 15:50:48 [edgeXSemver]: initialized semver on version 0.0.0 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:50:48 provisioning config files... 15:50:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-535@tmp/config17110250249588260916tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 15:50:48 ---> ****-login.sh 15:50:48 nexus3.edgexfoundry.org:10001 15:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:48 Configure a credential helper to remove this warning. See 15:50:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:48 15:50:48 Login Succeeded 15:50:48 nexus3.edgexfoundry.org:10002 15:50:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:48 Configure a credential helper to remove this warning. See 15:50:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:48 15:50:48 Login Succeeded 15:50:48 nexus3.edgexfoundry.org:10003 15:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:49 Configure a credential helper to remove this warning. See 15:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:49 15:50:49 Login Succeeded 15:50:49 nexus3.edgexfoundry.org:10004 15:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:49 Configure a credential helper to remove this warning. See 15:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:49 15:50:49 Login Succeeded 15:50:49 ****.io 15:50:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:50:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:50:49 Configure a credential helper to remove this warning. See 15:50:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:50:49 15:50:49 Login Succeeded 15:50:49 ---> ****-login.sh ends [Pipeline] } 15:50:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:50:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 15:50:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 15:50:49 ========================================================= 15:50:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 15:50:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:50 + 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 . 15:50:50 Sending build context to Docker daemon 40.77MB 15:50:50 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 15:50:50 Step 2/12 : FROM ${BASE} AS builder 15:50:50 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 15:50:50 0a9a5dfd008f: Pulling fs layer 15:50:50 36466aa92d05: Pulling fs layer 15:50:50 e10405b45d13: Pulling fs layer 15:50:50 096b7ceb2af7: Pulling fs layer 15:50:50 4f4fb700ef54: Pulling fs layer 15:50:50 8213a616a21b: Pulling fs layer 15:50:50 985586143405: Pulling fs layer 15:50:50 0eae2285b678: Pulling fs layer 15:50:50 d3ac315be8c5: Pulling fs layer 15:50:50 4f4fb700ef54: Waiting 15:50:50 8213a616a21b: Waiting 15:50:50 985586143405: Waiting 15:50:50 0eae2285b678: Waiting 15:50:50 096b7ceb2af7: Waiting 15:50:50 36466aa92d05: Verifying Checksum 15:50:50 36466aa92d05: Download complete 15:50:50 096b7ceb2af7: Verifying Checksum 15:50:50 096b7ceb2af7: Download complete 15:50:50 4f4fb700ef54: Verifying Checksum 15:50:50 4f4fb700ef54: Download complete 15:50:50 8213a616a21b: Verifying Checksum 15:50:50 8213a616a21b: Download complete 15:50:50 0a9a5dfd008f: Download complete 15:50:50 985586143405: Verifying Checksum 15:50:50 985586143405: Download complete 15:50:50 0a9a5dfd008f: Pull complete 15:50:50 36466aa92d05: Pull complete 15:50:50 d3ac315be8c5: Verifying Checksum 15:50:50 d3ac315be8c5: Download complete 15:50:51 e10405b45d13: Download complete 15:50:51 0eae2285b678: Verifying Checksum 15:50:51 0eae2285b678: Download complete 15:50:53 e10405b45d13: Pull complete 15:50:54 096b7ceb2af7: Pull complete 15:50:54 4f4fb700ef54: Pull complete 15:50:54 8213a616a21b: Pull complete 15:50:54 985586143405: Pull complete 15:50:56 0eae2285b678: Pull complete 15:50:56 d3ac315be8c5: Pull complete 15:50:56 Digest: sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 15:50:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 15:50:56 ---> ea6120ae94a0 15:50:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:50:58 ---> Running in aed8bb401058 15:50:58 Removing intermediate container aed8bb401058 15:50:58 ---> f85712dd3daa 15:50:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:50:58 ---> Running in 4c82910c339d 15:50:58 Removing intermediate container 4c82910c339d 15:50:58 ---> f6a8f7f1ba9b 15:50:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:50:58 ---> Running in 53e92a074b2d 15:50:58 Removing intermediate container 53e92a074b2d 15:50:58 ---> bdc9560f1f53 15:50:58 Step 6/12 : WORKDIR /device-virtual-go 15:50:58 ---> Running in 2dd54dd7e327 15:50:58 Removing intermediate container 2dd54dd7e327 15:50:58 ---> 21074ba94e32 15:50:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:50:58 ---> Running in afef97c40129 15:50:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 15:50:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 15:50:59 (1/4) Installing openssh-keygen (9.7_p1-r5) 15:50:59 (2/4) Installing libedit (20240517.3.1-r0) 15:50:59 (3/4) Installing openssh-client-common (9.7_p1-r5) 15:50:59 (4/4) Installing openssh-client-default (9.7_p1-r5) 15:50:59 Executing busybox-1.36.1-r29.trigger 15:50:59 OK: 252 MiB in 62 packages 15:50:59 Removing intermediate container afef97c40129 15:50:59 ---> d5d16169578d 15:50:59 Step 8/12 : COPY go.mod vendor* ./ 15:50:59 ---> 7a645b7a1c93 15:50:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:59 ---> Running in fce62dc7712b 15:52:07 Removing intermediate container fce62dc7712b 15:52:07 ---> 65699dfcd9c0 15:52:07 Step 10/12 : COPY . . 15:52:07 ---> 98cb0114a5b3 15:52:07 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:52:07 ---> Running in c6bbe9d5ad12 15:52:07 Removing intermediate container c6bbe9d5ad12 15:52:07 ---> b5095f4766ce 15:52:07 Step 12/12 : RUN $MAKE 15:52:07 ---> Running in 5f496c3f609c 15:52:07 noop 15:52:07 Removing intermediate container 5f496c3f609c 15:52:07 ---> 11a8ded6f97e 15:52:07 Successfully built 11a8ded6f97e 15:52:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:08 + docker inspect -f . ci-base-image-x86_64 15:52:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:08 prd-ubuntu20.04-docker-8c-8g-3556 does not seem to be running inside a container 15:52:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:52:08 $ docker top 40ce42d611599024936199b423d24a1410a92aab0cc5198da07dfab55e76b6c5 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:09 + go version 15:52:09 go version go1.23.9 linux/amd64 [Pipeline] } 15:52:09 $ docker stop --time=1 40ce42d611599024936199b423d24a1410a92aab0cc5198da07dfab55e76b6c5 15:52:10 $ docker rm -f --volumes 40ce42d611599024936199b423d24a1410a92aab0cc5198da07dfab55e76b6c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:10 + docker inspect -f . ci-base-image-x86_64 15:52:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:10 prd-ubuntu20.04-docker-8c-8g-3556 does not seem to be running inside a container 15:52:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:52:11 $ docker top 3247fbc89899cc63f780787ff66a9455c113458347910fe72b1c5390e84d1580 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:11 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-535 [Pipeline] fileExists [Pipeline] sh 15:52:11 + make test 15:52:11 go test ./... -coverprofile=coverage.out 15:52:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:52:23 # github.com/edgexfoundry/device-virtual-go/internal/driver 15:52:23 internal/driver/resourceobjectarray.go:34:30: param.ObjectArrayValue undefined (type *"github.com/edgexfoundry/device-sdk-go/v4/pkg/models".CommandValue has no field or method ObjectArrayValue) 15:52:31 FAIL github.com/edgexfoundry/device-virtual-go/cmd [build failed] 15:52:31 FAIL github.com/edgexfoundry/device-virtual-go/internal/driver [build failed] 15:52:31 FAIL 15:52:31 make: *** [Makefile:50: unittest] Error 1 [Pipeline] } 15:52:31 $ docker stop --time=1 3247fbc89899cc63f780787ff66a9455c113458347910fe72b1c5390e84d1580 15:52:33 $ docker rm -f --volumes 3247fbc89899cc63f780787ff66a9455c113458347910fe72b1c5390e84d1580 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [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 15:52:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:34 15:52:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:34 latest: Pulling from edgex-lftools-log-publisher 15:52:34 5eb5b503b376: Pulling fs layer 15:52:34 5c69ac0246d0: Pulling fs layer 15:52:34 ec43610c2a17: Pulling fs layer 15:52:34 3a2ae6a8a46f: Pulling fs layer 15:52:34 33b1e0a273af: Pulling fs layer 15:52:34 5d3b04190fa2: Pulling fs layer 15:52:34 2f39f015ded8: Pulling fs layer 15:52:34 3a2ae6a8a46f: Waiting 15:52:34 33b1e0a273af: Waiting 15:52:34 5d3b04190fa2: Waiting 15:52:34 2f39f015ded8: Waiting 15:52:34 5c69ac0246d0: Download complete 15:52:34 3a2ae6a8a46f: Verifying Checksum 15:52:34 3a2ae6a8a46f: Download complete 15:52:34 33b1e0a273af: Verifying Checksum 15:52:34 33b1e0a273af: Download complete 15:52:34 5d3b04190fa2: Download complete 15:52:34 ec43610c2a17: Verifying Checksum 15:52:34 5eb5b503b376: Verifying Checksum 15:52:34 5eb5b503b376: Download complete 15:52:35 2f39f015ded8: Verifying Checksum 15:52:35 2f39f015ded8: Download complete 15:52:35 5eb5b503b376: Pull complete 15:52:35 5c69ac0246d0: Pull complete 15:52:36 ec43610c2a17: Pull complete 15:52:36 3a2ae6a8a46f: Pull complete 15:52:36 33b1e0a273af: Pull complete 15:52:36 5d3b04190fa2: Pull complete 15:52:40 2f39f015ded8: Pull complete 15:52:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:40 prd-ubuntu20.04-docker-8c-8g-3556 does not seem to be running inside a container 15:52:41 $ 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/foundry_device-virtual-go_PR-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:52:42 $ docker top eec71644f0de7a69c360c0a00baa323f76d065d3a000270f12280f5c431c54c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:42 ---> job-cost.sh 15:52:42 lf-activate-venv: SKIPPING 15:52:42 INFO: No Stack... 15:52:42 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:43 INFO: Archiving Costs [Pipeline] sh 15:52:43 + cat /w/workspace/foundry_device-virtual-go_PR-535/archives/cost.csv 15:52:43 + cut -d, -f6 [Pipeline] lock 15:52:43 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-535-3-stack-cost] 15:52:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-535-3-stack-cost] did not exist. Created. 15:52:43 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-535-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:43 + echo total: 0.2199999988079071 [Pipeline] stash 15:52:43 Stashed 1 file(s) [Pipeline] } 15:52:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-535-3-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:43 $ docker stop --time=1 eec71644f0de7a69c360c0a00baa323f76d065d3a000270f12280f5c431c54c8 15:52:44 $ docker rm -f --volumes eec71644f0de7a69c360c0a00baa323f76d065d3a000270f12280f5c431c54c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:52:45 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 15:52:45 + [ -d /w/workspace/foundry_device-virtual-go_PR-535/archives ] 15:52:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-535/archives 15:52:45 total 16 15:52:45 drwxr-xr-x 3 root root 4096 Jun 19 15:52 . 15:52:45 drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 15:52 .. 15:52:45 drwxr-xr-x 2 root root 4096 Jun 19 15:52 cost 15:52:45 -rw-r--r-- 1 root root 89 Jun 19 15:52 cost.csv 15:52:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-535/archives 15:52:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-535/archives 15:52:45 total 16 15:52:45 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 15:52 . 15:52:45 drwxrwxr-x 9 jenkins jenkins 4096 Jun 19 15:52 .. 15:52:45 drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 15:52 cost 15:52:45 -rw-r--r-- 1 jenkins jenkins 89 Jun 19 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:52:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:52:47 ---> package-listing.sh 15:52:47 ++ facter osfamily 15:52:47 ++ tr '[:upper:]' '[:lower:]' 15:52:47 + OS_FAMILY=debian 15:52:47 + workspace=/w/workspace/foundry_device-virtual-go_PR-535 15:52:47 + START_PACKAGES=/tmp/packages_start.txt 15:52:47 + END_PACKAGES=/tmp/packages_end.txt 15:52:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:52:47 + PACKAGES=/tmp/packages_start.txt 15:52:47 + '[' /w/workspace/foundry_device-virtual-go_PR-535 ']' 15:52:47 + PACKAGES=/tmp/packages_end.txt 15:52:47 + case "${OS_FAMILY}" in 15:52:47 + dpkg -l 15:52:47 + grep '^ii' 15:52:47 + '[' -f /tmp/packages_start.txt ']' 15:52:47 + '[' -f /tmp/packages_end.txt ']' 15:52:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:52:47 + '[' /w/workspace/foundry_device-virtual-go_PR-535 ']' 15:52:47 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-535/archives/ 15:52:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-535/archives/ [Pipeline] echo 15:52:47 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/foundry_device-virtual-go_PR-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:52:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:48 prd-ubuntu20.04-docker-8c-8g-3556 does not seem to be running inside a container 15:52:48 $ 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/foundry_device-virtual-go_PR-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-535 -v /w/workspace/foundry_device-virtual-go_PR-535:/w/workspace/foundry_device-virtual-go_PR-535:rw,z -v /w/workspace/foundry_device-virtual-go_PR-535@tmp:/w/workspace/foundry_device-virtual-go_PR-535@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:52:48 $ docker top 9a2ae78f12cd334b7b37c0efaeda72faf58d1a06ab3027408bb17fe386df9050 -eo pid,comm [Pipeline] { [Pipeline] sh 15:52:48 + touch /tmp/pre-build-complete [Pipeline] sh 15:52:49 + mkdir -p /var/log/sysstat [Pipeline] sh 15:52:49 + ls /var/log/sa-host 15:52:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:49 provisioning config files... 15:52:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-535@tmp/config15039632275534071567tmp [Pipeline] { [Pipeline] echo 15:52:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:52:49 ---> create-netrc.sh [Pipeline] } 15:52:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:52:50 ---> python-tools-install.sh [Pipeline] echo 15:52:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:52:50 ---> sudo-logs.sh 15:52:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:52:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:52:50 ---> job-cost.sh 15:52:50 lf-activate-venv: SKIPPING 15:52:50 DEBUG: total: 0.2199999988079071 15:52:50 INFO: Retrieving Stack Cost... 15:52:50 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:51 INFO: Archiving Costs [Pipeline] echo 15:52:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:52:51 ---> logs-deploy.sh 15:52:51 lf-activate-venv: SKIPPING 15:52:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-535/3 15:52:51 INFO: archiving workspace using pattern(s): 15:52:52 Archives upload complete. 15:52:52 INFO: archiving logs to Nexus