Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 14494e7562879e41062c7461f1813d33e0fc95a7 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-ssh17679139629971735282.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13199018236912814646.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh906872967786621607.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15597552608224432590.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-ssh17961674253871780037.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-572 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 14494e7562879e41062c7461f1813d33e0fc95a7 (main) Commit message: "feat: update device-sdk to pick up openziti support (#467)" > git config core.sparsecheckout # timeout=10 > git checkout -f 14494e7562879e41062c7461f1813d33e0fc95a7 # timeout=10 > git rev-list --no-walk 49f2c786d2e1c3183c72c91a175eb4976d923778 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:27:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:27:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:27:04 ========================================================= 13:27:04 EdgeX Global Pipelines Version Info 13:27:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:27:04 ------------------- 13:27:04 stable info: 13:27:04 ------------------- 13:27:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:27:04 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:27:04 Message: update stable to v1.0.258 13:27:05 ------------------- 13:27:05 experimental info: 13:27:05 ------------------- 13:27:05 Commited By: **** collab-it+edgex@linuxfoundation.org 13:27:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:27:05 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:27:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 14494e7562879e41062c7461f1813d33e0fc95a7 [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 14494e7 [Pipeline] echo 13:27:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:27:06 provisioning config files... 13:27:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15828822531900601499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:27:06 ---> ****-login.sh 13:27:06 nexus3.edgexfoundry.org:10001 13:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:06 Configure a credential helper to remove this warning. See 13:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:06 13:27:06 Login Succeeded 13:27:06 nexus3.edgexfoundry.org:10002 13:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:06 Configure a credential helper to remove this warning. See 13:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:06 13:27:06 Login Succeeded 13:27:06 nexus3.edgexfoundry.org:10003 13:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:07 Configure a credential helper to remove this warning. See 13:27:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:07 13:27:07 Login Succeeded 13:27:07 nexus3.edgexfoundry.org:10004 13:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:07 Configure a credential helper to remove this warning. See 13:27:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:07 13:27:07 Login Succeeded 13:27:07 ****.io 13:27:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:07 Configure a credential helper to remove this warning. See 13:27:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:07 13:27:07 Login Succeeded 13:27:07 ---> ****-login.sh ends [Pipeline] } 13:27:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:27:08 + git rev-list -1 --merges 14494e7562879e41062c7461f1813d33e0fc95a7~1..14494e7562879e41062c7461f1813d33e0fc95a7 [Pipeline] echo 13:27:08 -----------> git rev-list -1 --merges 14494e7562879e41062c7461f1813d33e0fc95a7~1..14494e7562879e41062c7461f1813d33e0fc95a7 14494e7562879e41062c7461f1813d33e0fc95a7 [false] [Pipeline] sh 13:27:08 + git log --format=format:%s -1 14494e7562879e41062c7461f1813d33e0fc95a7 [Pipeline] echo 13:27:08 ========================================================= 13:27:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:27:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:27:08 + git log --format=format:%s -1 14494e7562879e41062c7461f1813d33e0fc95a7 [Pipeline] echo 13:27:08 [semverPrep] GIT_COMMIT: 14494e7562879e41062c7461f1813d33e0fc95a7, Commit Message: feat: update device-sdk to pick up openziti support (#467) [Pipeline] echo 13:27:08 [semverPrep] This is not a build commit. [Pipeline] sh 13:27:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:27:09 + grep -v github /etc/ssh/ssh_known_hosts 13:27:09 + [ -e /tmp/ssh_known_hosts ] 13:27:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:27:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:27:09 + sudo tee -a /etc/ssh/ssh_known_hosts 13:27:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:09 13:27:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:10 0.1.4: Pulling from edgex-devops/py-git-semver 13:27:10 b85a868b505f: Pulling fs layer 13:27:10 e2be974225ed: Pulling fs layer 13:27:10 339a4e72a1f5: Pulling fs layer 13:27:10 988bab9f4d93: Pulling fs layer 13:27:10 1469e6f7b9e6: Pulling fs layer 13:27:10 eaf3925da568: Pulling fs layer 13:27:10 bab4dde63d76: Pulling fs layer 13:27:10 bde34c3a00c8: Pulling fs layer 13:27:10 b352a97aabf1: Pulling fs layer 13:27:10 4872d77fe225: Pulling fs layer 13:27:10 5851b861e8e6: Pulling fs layer 13:27:10 bde34c3a00c8: Waiting 13:27:10 988bab9f4d93: Waiting 13:27:10 b352a97aabf1: Waiting 13:27:10 4872d77fe225: Waiting 13:27:10 1469e6f7b9e6: Waiting 13:27:10 eaf3925da568: Waiting 13:27:10 5851b861e8e6: Waiting 13:27:10 bab4dde63d76: Waiting 13:27:10 e2be974225ed: Download complete 13:27:10 988bab9f4d93: Verifying Checksum 13:27:10 988bab9f4d93: Download complete 13:27:10 1469e6f7b9e6: Verifying Checksum 13:27:10 1469e6f7b9e6: Download complete 13:27:10 339a4e72a1f5: Verifying Checksum 13:27:10 339a4e72a1f5: Download complete 13:27:10 eaf3925da568: Verifying Checksum 13:27:10 eaf3925da568: Download complete 13:27:10 bde34c3a00c8: Verifying Checksum 13:27:10 bde34c3a00c8: Download complete 13:27:10 b352a97aabf1: Download complete 13:27:10 4872d77fe225: Verifying Checksum 13:27:10 4872d77fe225: Download complete 13:27:10 5851b861e8e6: Verifying Checksum 13:27:10 5851b861e8e6: Download complete 13:27:10 b85a868b505f: Verifying Checksum 13:27:10 b85a868b505f: Download complete 13:27:10 bab4dde63d76: Verifying Checksum 13:27:10 bab4dde63d76: Download complete 13:27:11 b85a868b505f: Pull complete 13:27:11 e2be974225ed: Pull complete 13:27:12 339a4e72a1f5: Pull complete 13:27:12 988bab9f4d93: Pull complete 13:27:12 1469e6f7b9e6: Pull complete 13:27:12 eaf3925da568: Pull complete 13:27:14 bab4dde63d76: Pull complete 13:27:14 bde34c3a00c8: Pull complete 13:27:14 b352a97aabf1: Pull complete 13:27:14 4872d77fe225: Pull complete 13:27:14 5851b861e8e6: Pull complete 13:27:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:27:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:27:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:15 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:27:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:27:18 $ docker top fac92da656ed076fde3a544626c5ed6549b417ce355287b3f451652c0851badf -eo pid,comm 13:27:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:27:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:27:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:27:18 [ssh-agent] Looking for ssh-agent implementation... 13:27:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:27:19 $ docker exec fac92da656ed076fde3a544626c5ed6549b417ce355287b3f451652c0851badf ssh-agent 13:27:19 SSH_AUTH_SOCK=/tmp/ssh-ceJGNOuFKIcv/agent.32 13:27:19 SSH_AGENT_PID=38 13:27:19 Running ssh-add (command line suppressed) 13:27:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3966980664511448257.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3966980664511448257.key) 13:27:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:27:19 + git tag --points-at HEAD [Pipeline] } 13:27:19 $ docker exec --env ******** --env ******** fac92da656ed076fde3a544626c5ed6549b417ce355287b3f451652c0851badf ssh-agent -k 13:27:19 unset SSH_AUTH_SOCK; 13:27:19 unset SSH_AGENT_PID; 13:27:19 echo Agent pid 38 killed; 13:27:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:27:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:27:19 [ssh-agent] Looking for ssh-agent implementation... 13:27:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:27:19 $ docker exec fac92da656ed076fde3a544626c5ed6549b417ce355287b3f451652c0851badf ssh-agent 13:27:20 SSH_AUTH_SOCK=/tmp/ssh-rFhGhUAKW0cJ/agent.71 13:27:20 SSH_AGENT_PID=77 13:27:20 Running ssh-add (command line suppressed) 13:27:20 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5818315371411616278.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5818315371411616278.key) 13:27:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:27:20 + git semver init 13:27:20 2024-03-21 13:27:20,716 [run_init] DEBUG init version:0.0.0 force:False 13:27:20 2024-03-21 13:27:20,717 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 13:27:20 2024-03-21 13:27:20,717 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 13:27:20 2024-03-21 13:27:20,718 [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) 13:27:22 2024-03-21 13:27:22,013 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 13:27:22 2024-03-21 13:27:22,014 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 13:27:22 2024-03-21 13:27:22,014 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:27:22 2024-03-21 13:27:22,014 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:27:22 3.2.0-dev.11 [Pipeline] } 13:27:22 $ docker exec --env ******** --env ******** fac92da656ed076fde3a544626c5ed6549b417ce355287b3f451652c0851badf ssh-agent -k 13:27:22 unset SSH_AUTH_SOCK; 13:27:22 unset SSH_AGENT_PID; 13:27:22 echo Agent pid 77 killed; 13:27:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:27:22 + git semver [Pipeline] } 13:27:22 $ docker stop --time=1 fac92da656ed076fde3a544626c5ed6549b417ce355287b3f451652c0851badf 13:27:24 $ docker rm -f --volumes fac92da656ed076fde3a544626c5ed6549b417ce355287b3f451652c0851badf [Pipeline] // withDockerContainer [Pipeline] sh 13:27:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:27:24 Stashed 1 file(s) [Pipeline] echo 13:27:24 [edgeXSemver]: initialized semver on version 3.2.0-dev.11 [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 13:27:24 provisioning config files... 13:27:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4631524969164516675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:27:25 ---> ****-login.sh 13:27:25 nexus3.edgexfoundry.org:10001 13:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:25 Configure a credential helper to remove this warning. See 13:27:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:25 13:27:25 Login Succeeded 13:27:25 nexus3.edgexfoundry.org:10002 13:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:25 Configure a credential helper to remove this warning. See 13:27:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:25 13:27:25 Login Succeeded 13:27:25 nexus3.edgexfoundry.org:10003 13:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:25 Configure a credential helper to remove this warning. See 13:27:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:25 13:27:25 Login Succeeded 13:27:25 nexus3.edgexfoundry.org:10004 13:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:25 Configure a credential helper to remove this warning. See 13:27:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:25 13:27:25 Login Succeeded 13:27:25 ****.io 13:27:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:27:25 Configure a credential helper to remove this warning. See 13:27:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:27:25 13:27:25 Login Succeeded 13:27:25 ---> ****-login.sh ends [Pipeline] } 13:27:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:27:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:27:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:27:26 ========================================================= 13:27:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:27:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:27:26 Sending build context to Docker daemon 31.78MB 13:27:26 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:27:26 Step 2/12 : FROM ${BASE} AS builder 13:27:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:27:26 7264a8db6415: Pulling fs layer 13:27:26 c4d48a809fc2: Pulling fs layer 13:27:26 4f1c88b9dad5: Pulling fs layer 13:27:26 ad3a456e5733: Pulling fs layer 13:27:26 69c7f0334f64: Pulling fs layer 13:27:26 1f1c1a5573a3: Pulling fs layer 13:27:26 ce7588e14bc9: Pulling fs layer 13:27:26 b5e4710f87ac: Pulling fs layer 13:27:26 ad3a456e5733: Waiting 13:27:26 69c7f0334f64: Waiting 13:27:26 1f1c1a5573a3: Waiting 13:27:26 ce7588e14bc9: Waiting 13:27:26 b5e4710f87ac: Waiting 13:27:26 c4d48a809fc2: Verifying Checksum 13:27:26 c4d48a809fc2: Download complete 13:27:26 ad3a456e5733: Verifying Checksum 13:27:26 ad3a456e5733: Download complete 13:27:26 69c7f0334f64: Verifying Checksum 13:27:26 69c7f0334f64: Download complete 13:27:26 7264a8db6415: Verifying Checksum 13:27:26 7264a8db6415: Download complete 13:27:26 1f1c1a5573a3: Verifying Checksum 13:27:26 1f1c1a5573a3: Download complete 13:27:26 7264a8db6415: Pull complete 13:27:26 b5e4710f87ac: Verifying Checksum 13:27:26 b5e4710f87ac: Download complete 13:27:26 c4d48a809fc2: Pull complete 13:27:27 4f1c88b9dad5: Verifying Checksum 13:27:27 4f1c88b9dad5: Download complete 13:27:27 ce7588e14bc9: Verifying Checksum 13:27:27 ce7588e14bc9: Download complete 13:27:30 4f1c88b9dad5: Pull complete 13:27:30 ad3a456e5733: Pull complete 13:27:30 69c7f0334f64: Pull complete 13:27:30 1f1c1a5573a3: Pull complete 13:27:33 ce7588e14bc9: Pull complete 13:27:33 b5e4710f87ac: Pull complete 13:27:33 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 13:27:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:27:33 ---> 88b5674ff536 13:27:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:27:39 Still waiting to schedule task 13:27:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:27:40 ---> Running in 288efb948a7d 13:27:40 Removing intermediate container 288efb948a7d 13:27:40 ---> 0b352ac2092a 13:27:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:27:40 ---> Running in 804736c3a1f7 13:27:40 Removing intermediate container 804736c3a1f7 13:27:40 ---> 2f088a529f28 13:27:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:27:40 ---> Running in 76120cbd65e7 13:27:40 Removing intermediate container 76120cbd65e7 13:27:40 ---> 5e5144d0e289 13:27:40 Step 6/12 : WORKDIR /device-virtual-go 13:27:40 ---> Running in 48b543b9702e 13:27:40 Removing intermediate container 48b543b9702e 13:27:40 ---> 4219894d9577 13:27:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:27:40 ---> Running in 08a620ce9c19 13:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:27:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:27:40 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:27:40 (2/4) Installing libedit (20221030.3.1-r1) 13:27:40 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:27:40 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:27:40 Executing busybox-1.36.1-r5.trigger 13:27:40 OK: 268 MiB in 56 packages 13:27:41 Removing intermediate container 08a620ce9c19 13:27:41 ---> 25140743d445 13:27:41 Step 8/12 : COPY go.mod vendor* ./ 13:27:41 ---> 174cef85501f 13:27:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:27:41 ---> Running in c517912040ac 13:28:37 Removing intermediate container c517912040ac 13:28:37 ---> a1ad323bad92 13:28:37 Step 10/12 : COPY . . 13:28:39 ---> 9193bd414481 13:28:39 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:28:39 ---> Running in fde0065242de 13:28:39 Removing intermediate container fde0065242de 13:28:39 ---> 862f3e12ff47 13:28:39 Step 12/12 : RUN $MAKE 13:28:39 ---> Running in 7bc4a76fd70a 13:28:39 noop 13:28:39 Removing intermediate container 7bc4a76fd70a 13:28:39 ---> d632922cd9f8 13:28:39 Successfully built d632922cd9f8 13:28:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:39 + docker inspect -f . ci-base-image-x86_64 13:28:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:39 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:28:39 $ 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 13:28:40 $ docker top d2530b7220b6df4095675356a49b457fdcf92ed3f160067007e47760d8baa0c2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:40 + go version 13:28:40 go version go1.21.0 linux/amd64 [Pipeline] } 13:28:40 $ docker stop --time=1 d2530b7220b6df4095675356a49b457fdcf92ed3f160067007e47760d8baa0c2 13:28:42 $ docker rm -f --volumes d2530b7220b6df4095675356a49b457fdcf92ed3f160067007e47760d8baa0c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:42 + docker inspect -f . ci-base-image-x86_64 13:28:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:28:42 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:28:42 $ 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 13:28:42 $ docker top fca57a300a582646914bc855d5e32292afbcef77b0f35a4ab5d28b4bbe91fe90 -eo pid,comm [Pipeline] { [Pipeline] sh 13:28:43 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 13:28:43 + make test 13:28:43 go test ./... -coverprofile=coverage.out 13:28:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:29:03 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:29:03 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements 13:29:11 go vet ./... 13:29:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-573 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 13:29:14 Running in /w/workspace/device-virtual-go/167 [Pipeline] { [Pipeline] checkout 13:29:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:29:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:29:16 ./bin/test-attribution-txt.sh 13:29:16 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:29:16 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:29:16 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:29:16 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:29:16 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:29:16 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:29:16 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:29:16 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:29:16 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:29:16 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:29:16 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:29:16 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add 13:29:17 The recommended git tool is: git [Pipeline] echo 13:29:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:29:17 $ docker stop --time=1 fca57a300a582646914bc855d5e32292afbcef77b0f35a4ab5d28b4bbe91fe90 13:29:21 $ docker rm -f --volumes fca57a300a582646914bc855d5e32292afbcef77b0f35a4ab5d28b4bbe91fe90 [Pipeline] // withDockerContainer [Pipeline] sh 13:29:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:29:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 13:29:22 using credential edgex-jenkins-ssh 13:29:22 Cloning the remote Git repository [Pipeline] sh 13:29:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:29:22 > git init /w/workspace/device-virtual-go/167 # timeout=10 13:29:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:29:22 + ls -al . 13:29:22 total 268 13:29:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:28 . 13:29:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 13:26 .. 13:29:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:29 .git 13:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:26 .github 13:29:22 -rw-rw-r-- 1 jenkins jenkins 272 Mar 21 13:26 .gitignore 13:29:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 13:26 .golangci.yml 13:29:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:27 .semver 13:29:22 -rw-rw-r-- 1 jenkins jenkins 9708 Mar 21 13:26 Attribution.txt 13:29:22 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 21 13:26 CHANGELOG.md 13:29:22 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 21 13:26 Dockerfile 13:29:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 13:26 GOVERNANCE.md 13:29:22 -rw-rw-r-- 1 jenkins jenkins 660 Mar 21 13:26 Jenkinsfile 13:29:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 13:26 LICENSE 13:29:22 -rw-rw-r-- 1 jenkins jenkins 1953 Mar 21 13:26 Makefile 13:29:22 -rw-rw-r-- 1 jenkins jenkins 623 Mar 21 13:26 OWNERS.md 13:29:22 -rw-rw-r-- 1 jenkins jenkins 4103 Mar 21 13:26 README.md 13:29:22 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 13:27 VERSION 13:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:26 bin 13:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:26 cmd 13:29:22 -rw-r--r-- 1 jenkins jenkins 43063 Mar 21 13:29 coverage.out 13:29:22 -rw-rw-r-- 1 jenkins jenkins 6985 Mar 21 13:26 go.mod 13:29:22 -rw-rw-r-- 1 jenkins jenkins 101177 Mar 21 13:26 go.sum 13:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:26 internal 13:29:22 -rw-rw-r-- 1 jenkins jenkins 235 Mar 21 13:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:23 + 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=14494e7562879e41062c7461f1813d33e0fc95a7 --label arch=amd64 --label version=3.2.0-dev.11 . 13:29:23 Sending build context to Docker daemon 31.82MB 13:29:23 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:29:23 Step 2/26 : FROM ${BASE} AS builder 13:29:23 ---> d632922cd9f8 13:29:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:29:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:29:22 > git --version # timeout=10 13:29:22 > git --version # 'git version 2.25.1' 13:29:22 using GIT_SSH to set credentials SSH Credentials for GitHub 13:29:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:29:23 ---> Running in 2ee93a2a7045 13:29:24 Removing intermediate container 2ee93a2a7045 13:29:24 ---> 4b083a06b386 13:29:24 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:29:24 ---> Running in 340d8921b50f 13:29:24 Removing intermediate container 340d8921b50f 13:29:24 ---> 77add57c9a76 13:29:24 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:29:24 ---> Running in 4755e9b21e98 13:29:24 Removing intermediate container 4755e9b21e98 13:29:24 ---> aa903e91f236 13:29:24 Step 6/26 : WORKDIR /device-virtual-go 13:29:24 ---> Running in 04597c9d4009 13:29:24 Removing intermediate container 04597c9d4009 13:29:24 ---> 77b3ca30a127 13:29:24 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:29:24 ---> Running in a4c7e8904512 13:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:29:24 OK: 268 MiB in 56 packages 13:29:25 Removing intermediate container a4c7e8904512 13:29:25 ---> 92588bd524fe 13:29:25 Step 8/26 : COPY go.mod vendor* ./ 13:29:25 ---> 25ab6afb2288 13:29:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:29:25 ---> Running in 122961557e33 13:29:25 Avoid second fetch 13:29:25 Checking out Revision 14494e7562879e41062c7461f1813d33e0fc95a7 (main) 13:29:25 Removing intermediate container 122961557e33 13:29:25 ---> 892bfd48e27c 13:29:25 Step 10/26 : COPY . . 13:29:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:29:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:29:25 > git config core.sparsecheckout # timeout=10 13:29:26 > git checkout -f 14494e7562879e41062c7461f1813d33e0fc95a7 # timeout=10 13:29:26 Commit message: "feat: update device-sdk to pick up openziti support (#467)" 13:29:26 ---> f2908639ed47 13:29:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:29:26 ---> Running in 724e21c06c78 13:29:26 Removing intermediate container 724e21c06c78 13:29:26 ---> ed8c5209eb2b 13:29:26 Step 12/26 : RUN $MAKE 13:29:26 ---> Running in 0a776ad4b076 13:29:27 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:29:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:29:31 % Total % Received % Xferd Average Speed Time Time Time Current 13:29:31 Dload Upload Total Spent Left Speed 13:29:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 122k 0 --:--:-- --:--:-- --:--:-- 124k [Pipeline] sh 13:29:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:29:31 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 13:29:31 /etc/docker/daemon.json 13:29:31 { 13:29:31 "registry-mirrors": [ 13:29:31 "https://nexus3.edgexfoundry.org:10001" 13:29:31 ], 13:29:31 "bip": "10.250.0.254/24", 13:29:31 "hosts": [ 13:29:31 "tcp://0.0.0.0:5555", 13:29:31 "unix:///var/run/docker.sock" 13:29:31 ], 13:29:31 "mtu": 1458, 13:29:31 "selinux-enabled": true, 13:29:31 "seccomp-profile": "/etc/docker/seccomp.json" 13:29:31 } [Pipeline] sh 13:29:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:29:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:29:50 provisioning config files... 13:29:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/167@tmp/config17868405150956762946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:51 ---> ****-login.sh 13:29:51 nexus3.edgexfoundry.org:10001 13:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:29:51 Configure a credential helper to remove this warning. See 13:29:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:29:51 13:29:51 Login Succeeded 13:29:51 nexus3.edgexfoundry.org:10002 13:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:29:51 Configure a credential helper to remove this warning. See 13:29:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:29:51 13:29:51 Login Succeeded 13:29:51 nexus3.edgexfoundry.org:10003 13:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:29:52 Configure a credential helper to remove this warning. See 13:29:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:29:52 13:29:52 Login Succeeded 13:29:52 nexus3.edgexfoundry.org:10004 13:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:29:52 Configure a credential helper to remove this warning. See 13:29:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:29:52 13:29:52 Login Succeeded 13:29:52 ****.io 13:29:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:29:53 Configure a credential helper to remove this warning. See 13:29:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:29:53 13:29:53 Login Succeeded 13:29:53 ---> ****-login.sh ends [Pipeline] } 13:29:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:29:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:29:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:29:53 ========================================================= 13:29:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:29:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:29:53 Sending build context to Docker daemon 16.06MB 13:29:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:29:54 Step 2/12 : FROM ${BASE} AS builder 13:29:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:29:54 9fda8d8052c6: Pulling fs layer 13:29:54 5d54e960e981: Pulling fs layer 13:29:54 c4a7e357bf2a: Pulling fs layer 13:29:54 f0e02332f6b5: Pulling fs layer 13:29:54 872ee5b61b7b: Pulling fs layer 13:29:54 0c6a40ed1a82: Pulling fs layer 13:29:54 94ae7d8d031c: Pulling fs layer 13:29:54 f0e02332f6b5: Waiting 13:29:54 872ee5b61b7b: Waiting 13:29:54 0c6a40ed1a82: Waiting 13:29:54 94ae7d8d031c: Waiting 13:29:54 5d54e960e981: Download complete 13:29:54 f0e02332f6b5: Verifying Checksum 13:29:54 f0e02332f6b5: Download complete 13:29:54 872ee5b61b7b: Download complete 13:29:54 9fda8d8052c6: Download complete 13:29:54 94ae7d8d031c: Verifying Checksum 13:29:54 94ae7d8d031c: Download complete 13:29:55 9fda8d8052c6: Pull complete 13:29:55 5d54e960e981: Pull complete 13:29:56 c4a7e357bf2a: Verifying Checksum 13:29:56 c4a7e357bf2a: Download complete 13:29:57 0c6a40ed1a82: Verifying Checksum 13:29:57 0c6a40ed1a82: Download complete 13:29:59 Removing intermediate container 0a776ad4b076 13:29:59 ---> e29bb10b05b6 13:29:59 Step 13/26 : FROM alpine:3.18 13:29:59 3.18: Pulling from library/alpine 13:29:59 619be1103602: Pulling fs layer 13:29:59 619be1103602: Verifying Checksum 13:29:59 619be1103602: Pull complete 13:29:59 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:29:59 Status: Downloaded newer image for alpine:3.18 13:29:59 ---> d3782b16ccc9 13:29:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:29:59 ---> Running in 65e016f5c9ce 13:29:59 Removing intermediate container 65e016f5c9ce 13:29:59 ---> 7f461b9e0ee8 13:29:59 Step 15/26 : RUN apk add --update --no-cache dumb-init 13:29:59 ---> Running in f58d7beb005a 13:29:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:29:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:29:59 (1/1) Installing dumb-init (1.2.5-r2) 13:29:59 Executing busybox-1.36.1-r5.trigger 13:29:59 OK: 7 MiB in 16 packages 13:29:59 Removing intermediate container f58d7beb005a 13:29:59 ---> 7e0e78916b51 13:29:59 Step 16/26 : RUN apk --no-cache upgrade 13:29:59 ---> Running in fb613e0cf38a 13:29:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:29:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:29:59 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:29:59 OK: 7 MiB in 16 packages 13:29:59 Removing intermediate container fb613e0cf38a 13:29:59 ---> 7d5e55913845 13:29:59 Step 17/26 : WORKDIR / 13:29:59 ---> Running in a7e7a0724149 13:30:01 Removing intermediate container a7e7a0724149 13:30:01 ---> ccf86e334df1 13:30:01 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:30:01 ---> e4342d7da6b3 13:30:01 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:30:01 ---> 7a345e842ac4 13:30:01 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:30:03 ---> e336105c082f 13:30:03 Step 21/26 : EXPOSE 59900 13:30:03 ---> Running in 61c113ab3c6e 13:30:09 c4a7e357bf2a: Pull complete 13:30:09 f0e02332f6b5: Pull complete 13:30:09 872ee5b61b7b: Pull complete 13:30:10 Removing intermediate container 61c113ab3c6e 13:30:10 ---> 2f8a1b13a331 13:30:10 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:30:10 ---> Running in 929ceed3c78c 13:30:10 Removing intermediate container 929ceed3c78c 13:30:10 ---> cb5d19140921 13:30:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:30:10 ---> Running in 4fabd162c7f7 13:30:16 Removing intermediate container 4fabd162c7f7 13:30:16 ---> 1d04d7150277 13:30:16 Step 24/26 : LABEL arch=amd64 13:30:16 ---> Running in f0c57f0f78b0 13:30:16 Removing intermediate container f0c57f0f78b0 13:30:16 ---> 08a61af98378 13:30:16 Step 25/26 : LABEL git_sha=14494e7562879e41062c7461f1813d33e0fc95a7 13:30:16 ---> Running in f699e5400e0c 13:30:16 Removing intermediate container f699e5400e0c 13:30:16 ---> 0cb1cdf704f3 13:30:16 Step 26/26 : LABEL version=3.2.0-dev.11 13:30:16 ---> Running in 84f18089fd6a 13:30:16 Removing intermediate container 84f18089fd6a 13:30:16 ---> b374e381f358 13:30:16 [Warning] One or more build-args [ARCH] were not consumed 13:30:16 Successfully built b374e381f358 13:30: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 13:30:16 provisioning config files... 13:30:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14594938077896306710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:16 ---> ****-login.sh 13:30:16 nexus3.edgexfoundry.org:10001 13:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:30:16 Configure a credential helper to remove this warning. See 13:30:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:30:16 13:30:16 Login Succeeded 13:30:16 nexus3.edgexfoundry.org:10002 13:30:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:30:16 Configure a credential helper to remove this warning. See 13:30:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:30:16 13:30:16 Login Succeeded 13:30:16 nexus3.edgexfoundry.org:10003 13:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:30:17 Configure a credential helper to remove this warning. See 13:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:30:17 13:30:17 Login Succeeded 13:30:17 nexus3.edgexfoundry.org:10004 13:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:30:17 Configure a credential helper to remove this warning. See 13:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:30:17 13:30:17 Login Succeeded 13:30:17 ****.io 13:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:30:17 Configure a credential helper to remove this warning. See 13:30:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:30:17 13:30:17 Login Succeeded 13:30:17 ---> ****-login.sh ends [Pipeline] } 13:30:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:30:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:30:17 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 13:30:17 14494e7562879e41062c7461f1813d33e0fc95a7 13:30:17 latest 13:30:17 3.2.0-dev.11 13:30:17 14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11 13:30:17 main 13:30:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:17 0c6a40ed1a82: Pull complete 13:30:18 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:14494e7562879e41062c7461f1813d33e0fc95a7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual:14494e7562879e41062c7461f1813d33e0fc95a7 13:30:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:30:18 8e7d00d4d425: Preparing 13:30:18 73deeba0db7a: Preparing 13:30:18 698461bb6dea: Preparing 13:30:18 20bb443e9c19: Preparing 13:30:18 ef4c2a86e312: Preparing 13:30:18 aedc3bda2944: Preparing 13:30:18 aedc3bda2944: Waiting 13:30:18 ef4c2a86e312: Pushed 13:30:18 73deeba0db7a: Pushed 13:30:18 698461bb6dea: Pushed 13:30:18 aedc3bda2944: Layer already exists 13:30:18 20bb443e9c19: Pushed 13:30:19 94ae7d8d031c: Pull complete 13:30:19 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 13:30:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:30:19 ---> 86de565de09d 13:30:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:30:21 ---> Running in 6ae9eb5c34a4 13:30:21 Removing intermediate container 6ae9eb5c34a4 13:30:21 ---> 7ceae14e8871 13:30:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:30:21 ---> Running in abde951bade7 13:30:21 Removing intermediate container abde951bade7 13:30:21 ---> 4f0e2cb3e732 13:30:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:30:21 ---> Running in c418143573d1 13:30:21 Removing intermediate container c418143573d1 13:30:21 ---> 2502a7a763d2 13:30:21 Step 6/12 : WORKDIR /device-virtual-go 13:30:22 ---> Running in b1f5a3a72212 13:30:22 Removing intermediate container b1f5a3a72212 13:30:22 ---> ed2983dd2df3 13:30:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:30:22 ---> Running in 6e18177ee947 13:30:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:30:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:30:25 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:30:25 (2/4) Installing libedit (20221030.3.1-r1) 13:30:25 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:30:25 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:30:25 Executing busybox-1.36.1-r5.trigger 13:30:25 OK: 271 MiB in 56 packages 13:30:26 Removing intermediate container 6e18177ee947 13:30:26 ---> b4191486ff56 13:30:26 Step 8/12 : COPY go.mod vendor* ./ 13:30:26 ---> b18a3c848936 13:30:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:30:26 ---> Running in 15c75942ffcc 13:30:33 8e7d00d4d425: Pushed 13:30:33 14494e7562879e41062c7461f1813d33e0fc95a7: digest: sha256:d1e4b9f925910ef3d733a122c4cad085efe66b786eb19895bcf667e670862609 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:33 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:34 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 13:30:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:30:34 8e7d00d4d425: Preparing 13:30:34 73deeba0db7a: Preparing 13:30:34 698461bb6dea: Preparing 13:30:34 20bb443e9c19: Preparing 13:30:34 ef4c2a86e312: Preparing 13:30:34 aedc3bda2944: Preparing 13:30:34 aedc3bda2944: Waiting 13:30:34 20bb443e9c19: Layer already exists 13:30:34 73deeba0db7a: Layer already exists 13:30:34 698461bb6dea: Layer already exists 13:30:34 8e7d00d4d425: Layer already exists 13:30:34 ef4c2a86e312: Layer already exists 13:30:34 aedc3bda2944: Layer already exists 13:30:34 latest: digest: sha256:d1e4b9f925910ef3d733a122c4cad085efe66b786eb19895bcf667e670862609 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.11 13:30:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:30:38 8e7d00d4d425: Preparing 13:30:38 73deeba0db7a: Preparing 13:30:38 698461bb6dea: Preparing 13:30:38 20bb443e9c19: Preparing 13:30:38 ef4c2a86e312: Preparing 13:30:38 aedc3bda2944: Preparing 13:30:38 aedc3bda2944: Waiting 13:30:38 20bb443e9c19: Layer already exists 13:30:38 698461bb6dea: Layer already exists 13:30:38 73deeba0db7a: Layer already exists 13:30:38 8e7d00d4d425: Layer already exists 13:30:38 ef4c2a86e312: Layer already exists 13:30:38 aedc3bda2944: Layer already exists 13:30:38 3.2.0-dev.11: digest: sha256:d1e4b9f925910ef3d733a122c4cad085efe66b786eb19895bcf667e670862609 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11 13:30:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:30:39 8e7d00d4d425: Preparing 13:30:39 73deeba0db7a: Preparing 13:30:39 698461bb6dea: Preparing 13:30:39 20bb443e9c19: Preparing 13:30:39 ef4c2a86e312: Preparing 13:30:39 aedc3bda2944: Preparing 13:30:39 aedc3bda2944: Waiting 13:30:39 698461bb6dea: Layer already exists 13:30:39 8e7d00d4d425: Layer already exists 13:30:39 73deeba0db7a: Layer already exists 13:30:39 20bb443e9c19: Layer already exists 13:30:39 ef4c2a86e312: Layer already exists 13:30:39 aedc3bda2944: Layer already exists 13:30:39 14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11: digest: sha256:d1e4b9f925910ef3d733a122c4cad085efe66b786eb19895bcf667e670862609 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:39 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 13:30:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:30:39 8e7d00d4d425: Preparing 13:30:39 73deeba0db7a: Preparing 13:30:39 698461bb6dea: Preparing 13:30:39 20bb443e9c19: Preparing 13:30:39 ef4c2a86e312: Preparing 13:30:39 aedc3bda2944: Preparing 13:30:39 aedc3bda2944: Waiting 13:30:39 698461bb6dea: Layer already exists 13:30:39 20bb443e9c19: Layer already exists 13:30:39 73deeba0db7a: Layer already exists 13:30:39 8e7d00d4d425: Layer already exists 13:30:39 ef4c2a86e312: Layer already exists 13:30:39 aedc3bda2944: Layer already exists 13:30:39 main: digest: sha256:d1e4b9f925910ef3d733a122c4cad085efe66b786eb19895bcf667e670862609 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:30:39 ===================================================== [Pipeline] echo 13:30:39 taggedImages: 13:30:39 - nexus3.edgexfoundry.org:10004/device-virtual:14494e7562879e41062c7461f1813d33e0fc95a7 13:30:39 - nexus3.edgexfoundry.org:10004/device-virtual:latest 13:30:39 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.11 13:30:39 - nexus3.edgexfoundry.org:10004/device-virtual:14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11 13:30:39 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:40 13:30:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:30:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:40 latest: Pulling from edgex-lftools-log-publisher 13:30:40 5eb5b503b376: Pulling fs layer 13:30:40 5c69ac0246d0: Pulling fs layer 13:30:40 ec43610c2a17: Pulling fs layer 13:30:40 3a2ae6a8a46f: Pulling fs layer 13:30:40 33b1e0a273af: Pulling fs layer 13:30:40 5d3b04190fa2: Pulling fs layer 13:30:40 2f39f015ded8: Pulling fs layer 13:30:40 3a2ae6a8a46f: Waiting 13:30:40 33b1e0a273af: Waiting 13:30:40 5d3b04190fa2: Waiting 13:30:40 2f39f015ded8: Waiting 13:30:40 5c69ac0246d0: Verifying Checksum 13:30:40 5c69ac0246d0: Download complete 13:30:40 3a2ae6a8a46f: Verifying Checksum 13:30:40 3a2ae6a8a46f: Download complete 13:30:40 33b1e0a273af: Verifying Checksum 13:30:40 33b1e0a273af: Download complete 13:30:40 5d3b04190fa2: Verifying Checksum 13:30:40 5d3b04190fa2: Download complete 13:30:40 ec43610c2a17: Verifying Checksum 13:30:40 ec43610c2a17: Download complete 13:30:40 5eb5b503b376: Verifying Checksum 13:30:40 5eb5b503b376: Download complete 13:30:41 2f39f015ded8: Download complete 13:30:41 5eb5b503b376: Pull complete 13:30:42 5c69ac0246d0: Pull complete 13:30:42 ec43610c2a17: Pull complete 13:30:42 3a2ae6a8a46f: Pull complete 13:30:43 33b1e0a273af: Pull complete 13:30:43 5d3b04190fa2: Pull complete 13:30:48 2f39f015ded8: Pull complete 13:30:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:30:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:30:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:30:48 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:30:48 $ 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 13:30:52 $ docker top bbc6b097d06ad02dd9376aa9ef5723116cf3a0c074da973302b975eba3b6d8ae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:30:52 ---> job-cost.sh 13:30:52 lf-activate-venv: SKIPPING 13:30:52 INFO: No Stack... 13:30:53 INFO: Retrieving Pricing Info for: v3-standard-8 13:30:53 INFO: Archiving Costs [Pipeline] sh 13:30:54 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 13:30:54 + cut -d, -f6 [Pipeline] lock 13:30:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-167-stack-cost] 13:30:54 Resource [jenkins-edgexfoundry-device-virtual-go-main-167-stack-cost] did not exist. Created. 13:30:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:30:54 + echo total: 0.2199999988079071 [Pipeline] stash 13:30:54 Stashed 1 file(s) [Pipeline] } 13:30:54 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 13:30:54 $ docker stop --time=1 bbc6b097d06ad02dd9376aa9ef5723116cf3a0c074da973302b975eba3b6d8ae 13:30:55 $ docker rm -f --volumes bbc6b097d06ad02dd9376aa9ef5723116cf3a0c074da973302b975eba3b6d8ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:32:33 Removing intermediate container 15c75942ffcc 13:32:33 ---> 7c54238c1c7d 13:32:33 Step 10/12 : COPY . . 13:32:33 ---> 312e227ab2b8 13:32:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:32:33 ---> Running in 535c7f2b6449 13:32:33 Removing intermediate container 535c7f2b6449 13:32:33 ---> a2e0c45a75a6 13:32:33 Step 12/12 : RUN $MAKE 13:32:33 ---> Running in 7c800d739c8c 13:32:33 noop 13:32:33 Removing intermediate container 7c800d739c8c 13:32:33 ---> bedab9542697 13:32:33 Successfully built bedab9542697 13:32:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:33 + docker inspect -f . ci-base-image-arm64 13:32:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:34 prd-ubuntu20.04-docker-arm64-4c-16g-573 does not seem to be running inside a container 13:32:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/167 -v /w/workspace/device-virtual-go/167:/w/workspace/device-virtual-go/167:rw,z -v /w/workspace/device-virtual-go/167@tmp:/w/workspace/device-virtual-go/167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:32:35 $ docker top efb6f24dd50d6f3e71ca7213ba933ce71b265e03ed11034a03fc709d6e6db3e8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:36 + go version 13:32:36 go version go1.21.0 linux/arm64 [Pipeline] } 13:32:36 $ docker stop --time=1 efb6f24dd50d6f3e71ca7213ba933ce71b265e03ed11034a03fc709d6e6db3e8 13:32:37 $ docker rm -f --volumes efb6f24dd50d6f3e71ca7213ba933ce71b265e03ed11034a03fc709d6e6db3e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:32:38 + docker inspect -f . ci-base-image-arm64 13:32:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:32:38 prd-ubuntu20.04-docker-arm64-4c-16g-573 does not seem to be running inside a container 13:32:38 $ 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/167 -v /w/workspace/device-virtual-go/167:/w/workspace/device-virtual-go/167:rw,z -v /w/workspace/device-virtual-go/167@tmp:/w/workspace/device-virtual-go/167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:32:39 $ docker top 94768de0870b5f45c79bf39fd4243f98ae46352c4fceacf75ced02e288338113 -eo pid,comm [Pipeline] { [Pipeline] sh 13:32:40 + git config --global --add safe.directory /w/workspace/device-virtual-go/167 [Pipeline] fileExists [Pipeline] sh 13:32:41 + make test 13:32:41 go test ./... -coverprofile=coverage.out 13:32:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:35:08 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:35:08 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.067s coverage: 58.4% of statements 13:35:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:35:08 go vet ./... 13:35:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:35:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:35:40 ./bin/test-attribution-txt.sh 13:35:40 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:35:40 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:35:40 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:35:40 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:35:40 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:35:40 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:35:40 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:35:40 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:35:40 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:35:40 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:35:40 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:35:40 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:35:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:35:40 $ docker stop --time=1 94768de0870b5f45c79bf39fd4243f98ae46352c4fceacf75ced02e288338113 13:35:42 $ docker rm -f --volumes 94768de0870b5f45c79bf39fd4243f98ae46352c4fceacf75ced02e288338113 [Pipeline] // withDockerContainer [Pipeline] sh 13:35:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:35:44 Warning: overwriting stash ‘coverage-report’ 13:35:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:35:45 + ls -al . 13:35:45 total 264 13:35:45 drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 13:32 . 13:35:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 13:29 .. 13:35:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:29 .git 13:35:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:29 .github 13:35:45 -rw-rw-r-- 1 jenkins jenkins 272 Mar 21 13:29 .gitignore 13:35:45 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 13:29 .golangci.yml 13:35:45 -rw-rw-r-- 1 jenkins jenkins 9708 Mar 21 13:29 Attribution.txt 13:35:45 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 21 13:29 CHANGELOG.md 13:35:45 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 21 13:29 Dockerfile 13:35:45 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 13:29 GOVERNANCE.md 13:35:45 -rw-rw-r-- 1 jenkins jenkins 660 Mar 21 13:29 Jenkinsfile 13:35:45 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 13:29 LICENSE 13:35:45 -rw-rw-r-- 1 jenkins jenkins 1953 Mar 21 13:29 Makefile 13:35:45 -rw-rw-r-- 1 jenkins jenkins 623 Mar 21 13:29 OWNERS.md 13:35:45 -rw-rw-r-- 1 jenkins jenkins 4103 Mar 21 13:29 README.md 13:35:45 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 13:27 VERSION 13:35:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:29 bin 13:35:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:29 cmd 13:35:45 -rw-r--r-- 1 jenkins jenkins 43063 Mar 21 13:35 coverage.out 13:35:45 -rw-rw-r-- 1 jenkins jenkins 6985 Mar 21 13:29 go.mod 13:35:45 -rw-rw-r-- 1 jenkins jenkins 101177 Mar 21 13:29 go.sum 13:35:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:29 internal 13:35:45 -rw-rw-r-- 1 jenkins jenkins 235 Mar 21 13:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:45 + 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=14494e7562879e41062c7461f1813d33e0fc95a7 --label arch=arm64 --label version=3.2.0-dev.11 . 13:35:46 Sending build context to Docker daemon 16.11MB 13:35:46 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:35:46 Step 2/26 : FROM ${BASE} AS builder 13:35:46 ---> bedab9542697 13:35:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:35:46 ---> Running in f5096e59e751 13:35:46 Removing intermediate container f5096e59e751 13:35:46 ---> ebec05fa056c 13:35:46 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:35:46 ---> Running in 0f95cf5fc008 13:35:47 Removing intermediate container 0f95cf5fc008 13:35:47 ---> ef62074b7c53 13:35:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:35:47 ---> Running in a4a35ec791c8 13:35:47 Removing intermediate container a4a35ec791c8 13:35:47 ---> aabb00e5f88c 13:35:47 Step 6/26 : WORKDIR /device-virtual-go 13:35:47 ---> Running in 84888d8f5849 13:35:47 Removing intermediate container 84888d8f5849 13:35:47 ---> b765dcb93aa3 13:35:47 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:35:47 ---> Running in 18bd235f0dca 13:35:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:35:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:35:50 OK: 271 MiB in 56 packages 13:35:51 Removing intermediate container 18bd235f0dca 13:35:51 ---> 1d1915a2d1b5 13:35:51 Step 8/26 : COPY go.mod vendor* ./ 13:35:51 ---> bbba3287be49 13:35:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:35:51 ---> Running in e080d537b4b0 13:35:54 Removing intermediate container e080d537b4b0 13:35:54 ---> e08eff74d449 13:35:54 Step 10/26 : COPY . . 13:35:55 ---> 29bd2b123e0b 13:35:55 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:35:55 ---> Running in b77f6fb49673 13:35:55 Removing intermediate container b77f6fb49673 13:35:55 ---> aac4560be6f0 13:35:55 Step 12/26 : RUN $MAKE 13:35:55 ---> Running in 5541e1107aba 13:35:56 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 13:38:33 Removing intermediate container 5541e1107aba 13:38:33 ---> 44ab4cb5f8bd 13:38:33 Step 13/26 : FROM alpine:3.18 13:38:33 3.18: Pulling from library/alpine 13:38:33 c6b39de5b339: Pulling fs layer 13:38:33 c6b39de5b339: Download complete 13:38:33 c6b39de5b339: Pull complete 13:38:33 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:38:33 Status: Downloaded newer image for alpine:3.18 13:38:33 ---> 33abbf032149 13:38:33 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:38:33 ---> Running in f33b4cbac14b 13:38:33 Removing intermediate container f33b4cbac14b 13:38:33 ---> ed6253eb54cf 13:38:33 Step 15/26 : RUN apk add --update --no-cache dumb-init 13:38:33 ---> Running in e57811bdeb2d 13:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:38:33 (1/1) Installing dumb-init (1.2.5-r2) 13:38:33 Executing busybox-1.36.1-r5.trigger 13:38:33 OK: 8 MiB in 16 packages 13:38:33 Removing intermediate container e57811bdeb2d 13:38:33 ---> 7b12792a7e9a 13:38:33 Step 16/26 : RUN apk --no-cache upgrade 13:38:33 ---> Running in 2dcfced08697 13:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:38:33 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:38:33 OK: 8 MiB in 16 packages 13:38:33 Removing intermediate container 2dcfced08697 13:38:33 ---> da5fa2468385 13:38:33 Step 17/26 : WORKDIR / 13:38:33 ---> Running in 724be1ed310c 13:38:33 Removing intermediate container 724be1ed310c 13:38:33 ---> e5a70564b93e 13:38:33 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:38:33 ---> 94038aed5077 13:38:33 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:38:33 ---> 62ebd2b871c0 13:38:33 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:38:33 ---> ad33b7cc17d0 13:38:33 Step 21/26 : EXPOSE 59900 13:38:33 ---> Running in 3ed97b7c6496 13:38:33 Removing intermediate container 3ed97b7c6496 13:38:33 ---> 2a39cec38786 13:38:33 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:38:33 ---> Running in 91a4a20bda18 13:38:33 Removing intermediate container 91a4a20bda18 13:38:33 ---> d43aea114507 13:38:33 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:38:33 ---> Running in 41704326e470 13:38:33 Removing intermediate container 41704326e470 13:38:33 ---> ab20f597a1dc 13:38:33 Step 24/26 : LABEL arch=arm64 13:38:33 ---> Running in a909c3d3d8d2 13:38:33 Removing intermediate container a909c3d3d8d2 13:38:33 ---> 33cd8dd5e976 13:38:33 Step 25/26 : LABEL git_sha=14494e7562879e41062c7461f1813d33e0fc95a7 13:38:33 ---> Running in e9214fcca419 13:38:34 Removing intermediate container e9214fcca419 13:38:34 ---> 2a00567aa202 13:38:34 Step 26/26 : LABEL version=3.2.0-dev.11 13:38:34 ---> Running in 20abfd04f215 13:38:34 Removing intermediate container 20abfd04f215 13:38:34 ---> 2e5c58061910 13:38:34 [Warning] One or more build-args [ARCH] were not consumed 13:38:34 Successfully built 2e5c58061910 13:38:34 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 13:38:34 provisioning config files... 13:38:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/167@tmp/config902749428878911494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:38:34 ---> ****-login.sh 13:38:34 nexus3.edgexfoundry.org:10001 13:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:38:35 Configure a credential helper to remove this warning. See 13:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:38:35 13:38:35 Login Succeeded 13:38:35 nexus3.edgexfoundry.org:10002 13:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:38:35 Configure a credential helper to remove this warning. See 13:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:38:35 13:38:35 Login Succeeded 13:38:35 nexus3.edgexfoundry.org:10003 13:38:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:38:35 Configure a credential helper to remove this warning. See 13:38:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:38:35 13:38:36 Login Succeeded 13:38:36 nexus3.edgexfoundry.org:10004 13:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:38:36 Configure a credential helper to remove this warning. See 13:38:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:38:36 13:38:36 Login Succeeded 13:38:36 ****.io 13:38:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:38:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:38:36 Configure a credential helper to remove this warning. See 13:38:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:38:36 13:38:36 Login Succeeded 13:38:36 ---> ****-login.sh ends [Pipeline] } 13:38:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:38:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:38:36 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 13:38:36 14494e7562879e41062c7461f1813d33e0fc95a7 13:38:36 latest 13:38:36 3.2.0-dev.11 13:38:36 14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11 13:38:36 main 13:38:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:14494e7562879e41062c7461f1813d33e0fc95a7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:14494e7562879e41062c7461f1813d33e0fc95a7 13:38:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:37 966d598d3303: Preparing 13:38:37 0219097a4bb2: Preparing 13:38:37 ddc91ee687cd: Preparing 13:38:37 6f353ff3ceaf: Preparing 13:38:37 d4455665ccc9: Preparing 13:38:37 7c504f21be85: Preparing 13:38:37 7c504f21be85: Waiting 13:38:37 ddc91ee687cd: Pushed 13:38:37 0219097a4bb2: Pushed 13:38:37 7c504f21be85: Layer already exists 13:38:37 d4455665ccc9: Pushed 13:38:37 6f353ff3ceaf: Pushed 13:38:44 966d598d3303: Pushed 13:38:44 14494e7562879e41062c7461f1813d33e0fc95a7: digest: sha256:ae175a62262cc54ca57386351100e1099fa94c37a88c0c343d3af6345761107a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:38:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:45 966d598d3303: Preparing 13:38:45 0219097a4bb2: Preparing 13:38:45 ddc91ee687cd: Preparing 13:38:45 6f353ff3ceaf: Preparing 13:38:45 d4455665ccc9: Preparing 13:38:45 7c504f21be85: Preparing 13:38:45 7c504f21be85: Waiting 13:38:45 0219097a4bb2: Layer already exists 13:38:45 d4455665ccc9: Layer already exists 13:38:45 6f353ff3ceaf: Layer already exists 13:38:45 ddc91ee687cd: Layer already exists 13:38:45 966d598d3303: Layer already exists 13:38:45 7c504f21be85: Layer already exists 13:38:45 latest: digest: sha256:ae175a62262cc54ca57386351100e1099fa94c37a88c0c343d3af6345761107a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.11 13:38:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:46 966d598d3303: Preparing 13:38:46 0219097a4bb2: Preparing 13:38:46 ddc91ee687cd: Preparing 13:38:46 6f353ff3ceaf: Preparing 13:38:46 d4455665ccc9: Preparing 13:38:46 7c504f21be85: Preparing 13:38:46 7c504f21be85: Waiting 13:38:46 0219097a4bb2: Layer already exists 13:38:46 6f353ff3ceaf: Layer already exists 13:38:46 d4455665ccc9: Layer already exists 13:38:46 966d598d3303: Layer already exists 13:38:46 ddc91ee687cd: Layer already exists 13:38:46 7c504f21be85: Layer already exists 13:38:46 3.2.0-dev.11: digest: sha256:ae175a62262cc54ca57386351100e1099fa94c37a88c0c343d3af6345761107a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11 13:38:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:46 966d598d3303: Preparing 13:38:46 0219097a4bb2: Preparing 13:38:46 ddc91ee687cd: Preparing 13:38:46 6f353ff3ceaf: Preparing 13:38:46 d4455665ccc9: Preparing 13:38:46 7c504f21be85: Preparing 13:38:46 7c504f21be85: Waiting 13:38:46 966d598d3303: Layer already exists 13:38:46 ddc91ee687cd: Layer already exists 13:38:46 6f353ff3ceaf: Layer already exists 13:38:46 0219097a4bb2: Layer already exists 13:38:46 d4455665ccc9: Layer already exists 13:38:46 7c504f21be85: Layer already exists 13:38:46 14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11: digest: sha256:ae175a62262cc54ca57386351100e1099fa94c37a88c0c343d3af6345761107a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 13:38:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:38:47 966d598d3303: Preparing 13:38:47 0219097a4bb2: Preparing 13:38:47 ddc91ee687cd: Preparing 13:38:47 6f353ff3ceaf: Preparing 13:38:47 d4455665ccc9: Preparing 13:38:47 7c504f21be85: Preparing 13:38:47 7c504f21be85: Waiting 13:38:47 966d598d3303: Layer already exists 13:38:47 6f353ff3ceaf: Layer already exists 13:38:47 d4455665ccc9: Layer already exists 13:38:47 0219097a4bb2: Layer already exists 13:38:47 ddc91ee687cd: Layer already exists 13:38:47 7c504f21be85: Layer already exists 13:38:47 main: digest: sha256:ae175a62262cc54ca57386351100e1099fa94c37a88c0c343d3af6345761107a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:38:48 ===================================================== [Pipeline] echo 13:38:48 taggedImages: 13:38:48 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:14494e7562879e41062c7461f1813d33e0fc95a7 13:38:48 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:38:48 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.11 13:38:48 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:14494e7562879e41062c7461f1813d33e0fc95a7-3.2.0-dev.11 13:38:48 - 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 13:38:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:48 13:38:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:48 arm64: Pulling from edgex-lftools-log-publisher 13:38:48 8998bd30e6a1: Pulling fs layer 13:38:48 04944245beec: Pulling fs layer 13:38:48 699f458cf7ca: Pulling fs layer 13:38:48 765212b225bb: Pulling fs layer 13:38:48 f23df028b6ca: Pulling fs layer 13:38:48 d65c8cfc05b1: Pulling fs layer 13:38:48 2437ff75d9bd: Pulling fs layer 13:38:48 765212b225bb: Waiting 13:38:48 d65c8cfc05b1: Waiting 13:38:48 f23df028b6ca: Waiting 13:38:48 2437ff75d9bd: Waiting 13:38:49 04944245beec: Verifying Checksum 13:38:49 04944245beec: Download complete 13:38:49 765212b225bb: Download complete 13:38:49 f23df028b6ca: Verifying Checksum 13:38:49 f23df028b6ca: Download complete 13:38:49 d65c8cfc05b1: Verifying Checksum 13:38:49 d65c8cfc05b1: Download complete 13:38:49 699f458cf7ca: Verifying Checksum 13:38:49 699f458cf7ca: Download complete 13:38:49 8998bd30e6a1: Verifying Checksum 13:38:49 8998bd30e6a1: Download complete 13:38:52 2437ff75d9bd: Verifying Checksum 13:38:52 2437ff75d9bd: Download complete 13:38:54 8998bd30e6a1: Pull complete 13:38:54 04944245beec: Pull complete 13:38:56 699f458cf7ca: Pull complete 13:38:56 765212b225bb: Pull complete 13:38:57 f23df028b6ca: Pull complete 13:38:57 d65c8cfc05b1: Pull complete 13:39:15 2437ff75d9bd: Pull complete 13:39:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:39:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:39:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:15 prd-ubuntu20.04-docker-arm64-4c-16g-573 does not seem to be running inside a container 13:39:15 $ 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/167 -v /w/workspace/device-virtual-go/167:/w/workspace/device-virtual-go/167:rw,z -v /w/workspace/device-virtual-go/167@tmp:/w/workspace/device-virtual-go/167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:39:18 $ docker top d27b9ae95c7c46a8efddbbbf83297d9320f88a21a85a8e66a06de32486c41ae2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:39:18 ---> job-cost.sh 13:39:19 lf-activate-venv: SKIPPING 13:39:19 INFO: No Stack... 13:39:19 INFO: Retrieving Pricing Info for: v3-standard-4 13:39:20 INFO: Archiving Costs [Pipeline] sh 13:39:20 + cat /w/workspace/device-virtual-go/167/archives/cost.csv 13:39:20 + cut -d, -f6 [Pipeline] lock 13:39:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-167-stack-cost] 13:39:20 Resource [jenkins-edgexfoundry-device-virtual-go-main-167-stack-cost] did not exist. Created. 13:39:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-167-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:39:21 /w/workspace/device-virtual-go/167@tmp/durable-82a6840c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:39:21 + echo total: 0.10999999940395355 [Pipeline] stash 13:39:21 Warning: overwriting stash ‘stack-cost’ 13:39:21 Stashed 1 file(s) [Pipeline] } 13:39:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-167-stack-cost] [Pipeline] // lock [Pipeline] } 13:39:21 $ docker stop --time=1 d27b9ae95c7c46a8efddbbbf83297d9320f88a21a85a8e66a06de32486c41ae2 13:39:23 $ docker rm -f --volumes d27b9ae95c7c46a8efddbbbf83297d9320f88a21a85a8e66a06de32486c41ae2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 13:39:23 provisioning config files... 13:39:23 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config64133792629575595tmp [Pipeline] { [Pipeline] sh 13:39:24 + set +x 13:39:24 + + curlbash -s -s https://codecov.io/bash -- 13:39:24 13:39:24 13:39:24 _____ _ 13:39:24 / ____| | | 13:39:24 | | ___ __| | ___ ___ _____ __ 13:39:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:39:24 | |___| (_) | (_| | __/ (_| (_) \ V / 13:39:24 \_____\___/ \__,_|\___|\___\___/ \_/ 13:39:24 Bash-1.0.6 13:39:24 13:39:24 13:39:24 ==> git version 2.25.1 found 13:39:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 13:39:24 Release-Date: 2020-01-08 13:39:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:39:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:39:24 ==> Jenkins CI detected. 13:39:24 current dir:  /w/workspace/exfoundry_device-virtual-go_main 13:39:24 project root: . 13:39:24 --> token set from env 13:39:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:39:24 ==> Running gcov in . (disable via -X gcov) 13:39:24 ==> Python coveragepy not found 13:39:24 ==> Searching for coverage reports in: 13:39:24 + . 13:39:24 -> Found 1 reports 13:39:24 ==> Detecting git/mercurial file structure 13:39:24 ==> Reading reports 13:39:24 + ./coverage.out bytes=43063 13:39:24 ==> Appending adjustments 13:39:24 https://docs.codecov.io/docs/fixing-reports 13:39:24 + Found adjustments 13:39:24 ==> Gzipping contents 13:39:24 8.0K /tmp/codecov.5XrViU.gz 13:39:24 ==> Uploading reports 13:39:24 url: https://codecov.io 13:39:24 query: branch=main&commit=14494e7562879e41062c7461f1813d33e0fc95a7&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:39:24 -> Pinging Codecov 13:39:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=14494e7562879e41062c7461f1813d33e0fc95a7&build=167&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F167%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:39:24 -> Uploading to 13:39:24 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/5E52B4B073DB2E39498172D8E973AA87/14494e7562879e41062c7461f1813d33e0fc95a7/0c88dc92-68ad-4a46-a0e4-4575cb63188d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T133924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f53bb333a200def43d11e0a0637a8f6c68c8d365dcce95fee1b5a6a34a6f73f8 13:39:24 % Total % Received % Xferd Average Speed Time Time Time Current 13:39:24 Dload Upload Total Spent Left Speed 13:39:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 18240 --:--:-- --:--:-- --:--:-- 18240 13:39:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/14494e7562879e41062c7461f1813d33e0fc95a7 [Pipeline] } 13:39:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:39:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:39:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:39:25 13:39:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:39:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:39:25 df9b9388f04a: Pulling fs layer 13:39:25 52dc419b0ee2: Pulling fs layer 13:39:25 25bc292e5bac: Pulling fs layer 13:39:25 114826534d7a: Pulling fs layer 13:39:25 4657fd5d0bcf: Pulling fs layer 13:39:25 6ad1cebc031e: Pulling fs layer 13:39:25 8a3aa393b2d8: Pulling fs layer 13:39:25 114826534d7a: Waiting 13:39:25 4657fd5d0bcf: Waiting 13:39:25 6ad1cebc031e: Waiting 13:39:25 25bc292e5bac: Verifying Checksum 13:39:25 25bc292e5bac: Download complete 13:39:25 52dc419b0ee2: Verifying Checksum 13:39:25 52dc419b0ee2: Download complete 13:39:25 4657fd5d0bcf: Verifying Checksum 13:39:25 4657fd5d0bcf: Download complete 13:39:25 df9b9388f04a: Verifying Checksum 13:39:25 df9b9388f04a: Download complete 13:39:26 6ad1cebc031e: Verifying Checksum 13:39:26 6ad1cebc031e: Download complete 13:39:26 df9b9388f04a: Pull complete 13:39:26 52dc419b0ee2: Pull complete 13:39:26 25bc292e5bac: Pull complete 13:39:26 114826534d7a: Verifying Checksum 13:39:26 114826534d7a: Download complete 13:39:26 8a3aa393b2d8: Verifying Checksum 13:39:26 8a3aa393b2d8: Download complete 13:39:30 114826534d7a: Pull complete 13:39:30 4657fd5d0bcf: Pull complete 13:39:30 6ad1cebc031e: Pull complete 13:39:33 8a3aa393b2d8: Pull complete 13:39:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 13:39:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:39:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:34 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:39:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 13:39:37 $ docker top d14fba6409d8def9adcc20700f166e6c6743b9617a9588cff44574d0e308dce0 -eo pid,comm [Pipeline] { [Pipeline] echo 13:39:37 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 13:39:37 + set -o pipefail 13:39:37 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 13:39:45 13:39:45 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 13:39:45 13:39:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/3611205f-1a19-41f9-865d-69c379f60329 13:39:45 13:39:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:39:45 13:39:45 13:39:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 13:39:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 13:39:45 More details here: https://snyk.co/ue1NS [Pipeline] } 13:39:45 $ docker stop --time=1 d14fba6409d8def9adcc20700f166e6c6743b9617a9588cff44574d0e308dce0 13:39:49 $ docker rm -f --volumes d14fba6409d8def9adcc20700f166e6c6743b9617a9588cff44574d0e308dce0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:39:50 + git log --format=format:%s -1 14494e7562879e41062c7461f1813d33e0fc95a7 [Pipeline] sh 13:39:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:39:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:39:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:51 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:39:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:39:52 $ docker top cff1d98d9ca51c1d6d795726ca33b2ff28856d1bfe4e34ac6f4a83b5a2d7896b -eo pid,comm 13:39:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:39:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:39:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:39:52 [ssh-agent] Looking for ssh-agent implementation... 13:39:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:39:52 $ docker exec cff1d98d9ca51c1d6d795726ca33b2ff28856d1bfe4e34ac6f4a83b5a2d7896b ssh-agent 13:39:52 SSH_AUTH_SOCK=/tmp/ssh-2pJ8kXUPYAYb/agent.33 13:39:52 SSH_AGENT_PID=39 13:39:52 Running ssh-add (command line suppressed) 13:39:52 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3753052429467007655.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3753052429467007655.key) 13:39:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:39:52 + git semver tag 13:39:53 2024-03-21 13:39:53,034 [run_tag] DEBUG tag force:False 13:39:53 2024-03-21 13:39:53,034 [check_head_tag] DEBUG check head tag 13:39:53 2024-03-21 13:39:53,035 [execute] INFO git cat-file --batch-check 13:39:53 2024-03-21 13:39:53,035 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:39:53 2024-03-21 13:39:53,039 [execute] INFO git cat-file --batch 13:39:53 2024-03-21 13:39:53,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:39:53 2024-03-21 13:39:53,054 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:39:53 2024-03-21 13:39:53,054 [execute] INFO git tag -a v3.2.0-dev.11 -m v3.2.0-dev.11 13:39:53 2024-03-21 13:39:53,054 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.11', '-m', 'v3.2.0-dev.11'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:39:53 2024-03-21 13:39:53,059 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:39:53 3.2.0-dev.11 [Pipeline] } 13:39:53 $ docker exec --env ******** --env ******** cff1d98d9ca51c1d6d795726ca33b2ff28856d1bfe4e34ac6f4a83b5a2d7896b ssh-agent -k 13:39:53 unset SSH_AUTH_SOCK; 13:39:53 unset SSH_AGENT_PID; 13:39:53 echo Agent pid 39 killed; 13:39:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:39:53 + git semver [Pipeline] } 13:39:53 $ docker stop --time=1 cff1d98d9ca51c1d6d795726ca33b2ff28856d1bfe4e34ac6f4a83b5a2d7896b 13:39:55 $ docker rm -f --volumes cff1d98d9ca51c1d6d795726ca33b2ff28856d1bfe4e34ac6f4a83b5a2d7896b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:39:55 13:39:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:39:55 0.23.1-centos7: Pulling from edgex-lftools 13:39:55 ab5ef0e58194: Pulling fs layer 13:39:55 9712f1f96733: Pulling fs layer 13:39:55 63f879dbbcfc: Pulling fs layer 13:39:55 0d9ebad4ef96: Pulling fs layer 13:39:55 e9a5061849ea: Pulling fs layer 13:39:55 d747dcd14b5f: Pulling fs layer 13:39:55 2de7ff778b66: Pulling fs layer 13:39:55 d747dcd14b5f: Waiting 13:39:55 0d9ebad4ef96: Waiting 13:39:55 2de7ff778b66: Waiting 13:39:55 9712f1f96733: Verifying Checksum 13:39:55 9712f1f96733: Download complete 13:39:56 63f879dbbcfc: Verifying Checksum 13:39:56 63f879dbbcfc: Download complete 13:39:56 e9a5061849ea: Verifying Checksum 13:39:56 e9a5061849ea: Download complete 13:39:56 d747dcd14b5f: Verifying Checksum 13:39:56 d747dcd14b5f: Download complete 13:39:56 ab5ef0e58194: Verifying Checksum 13:39:56 ab5ef0e58194: Download complete 13:39:56 2de7ff778b66: Verifying Checksum 13:39:56 2de7ff778b66: Download complete 13:39:56 0d9ebad4ef96: Verifying Checksum 13:39:56 0d9ebad4ef96: Download complete 13:39:59 ab5ef0e58194: Pull complete 13:39:59 9712f1f96733: Pull complete 13:40:00 63f879dbbcfc: Pull complete 13:40:04 0d9ebad4ef96: Pull complete 13:40:04 e9a5061849ea: Pull complete 13:40:04 d747dcd14b5f: Pull complete 13:40:06 2de7ff778b66: Pull complete 13:40:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:40:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:40:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:06 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:40:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:40:17 $ docker top 6b03b4f724d7086ad780765310b76a1b54c8fcaec561b8ca978825e028c3339b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:40:17 provisioning config files... 13:40:17 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2278865409666394079tmp 13:40:17 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12139524499994034463tmp 13:40:17 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14628299878806056902tmp [Pipeline] { [Pipeline] echo 13:40:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:40:18 ---> sigul-configuration.sh 13:40:18 gpg: directory `/root/.gnupg' created 13:40:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:40:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:40:18 gpg: keyring `/root/.gnupg/secring.gpg' created 13:40:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:40:18 gpg: CAST5 encrypted data 13:40:18 gpg: encrypted with 1 passphrase 13:40:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:40:18 + mkdir /home/jenkins 13:40:18 + mkdir /home/jenkins/sigul [Pipeline] sh 13:40:18 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 13:40:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:40:19 ---> sigul-install.sh 13:40:19 Sigul already installed; skipping installation. [Pipeline] sh 13:40:19 + git tag --list 13:40:19 v1.0.0 13:40:19 v1.1.0 13:40:19 v1.1.1 13:40:19 v1.2.1 13:40:19 v1.2.2 13:40:19 v1.2.3 13:40:19 v1.3.0 13:40:19 v1.3.1 13:40:19 v2.0.0 13:40:19 v2.1.0 13:40:19 v2.1.1 13:40:19 v2.2.0 13:40:19 v2.3.0 13:40:19 v3.0 13:40:19 v3.0.0 13:40:19 v3.1 13:40:19 v3.1.0 13:40:19 v3.1.0-dev.1 13:40:19 v3.1.0-dev.10 13:40:19 v3.1.0-dev.11 13:40:19 v3.1.0-dev.12 13:40:19 v3.1.0-dev.13 13:40:19 v3.1.0-dev.14 13:40:19 v3.1.0-dev.15 13:40:19 v3.1.0-dev.16 13:40:19 v3.1.0-dev.17 13:40:19 v3.1.0-dev.18 13:40:19 v3.1.0-dev.19 13:40:19 v3.1.0-dev.2 13:40:19 v3.1.0-dev.20 13:40:19 v3.1.0-dev.21 13:40:19 v3.1.0-dev.22 13:40:19 v3.1.0-dev.23 13:40:19 v3.1.0-dev.24 13:40:19 v3.1.0-dev.25 13:40:19 v3.1.0-dev.26 13:40:19 v3.1.0-dev.27 13:40:19 v3.1.0-dev.28 13:40:19 v3.1.0-dev.29 13:40:19 v3.1.0-dev.3 13:40:19 v3.1.0-dev.30 13:40:19 v3.1.0-dev.4 13:40:19 v3.1.0-dev.5 13:40:19 v3.1.0-dev.6 13:40:19 v3.1.0-dev.7 13:40:19 v3.1.0-dev.8 13:40:19 v3.1.0-dev.9 13:40:19 v3.2.0-dev.1 13:40:19 v3.2.0-dev.10 13:40:19 v3.2.0-dev.11 13:40:19 v3.2.0-dev.2 13:40:19 v3.2.0-dev.3 13:40:19 v3.2.0-dev.4 13:40:19 v3.2.0-dev.5 13:40:19 v3.2.0-dev.6 13:40:19 v3.2.0-dev.7 13:40:19 v3.2.0-dev.8 13:40:19 v3.2.0-dev.9 [Pipeline] sh 13:40:19 + lftools sign git-tag v3.2.0-dev.11 13:40:20 Signing Git tag with Sigul... 13:40:20 Signing v3.2.0-dev.11 [Pipeline] echo 13:40:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:40:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:40:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:40:20 $ docker stop --time=1 6b03b4f724d7086ad780765310b76a1b54c8fcaec561b8ca978825e028c3339b 13:40:22 $ docker rm -f --volumes 6b03b4f724d7086ad780765310b76a1b54c8fcaec561b8ca978825e028c3339b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:40:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:40:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:40:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:23 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:40:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:40:23 $ docker top 9f38fa85c625d55aa91638644cb2860ce884986e37b641b91eb1c6847ebb9375 -eo pid,comm 13:40:23 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). 13:40:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:40:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:40:23 [ssh-agent] Looking for ssh-agent implementation... 13:40:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:40:23 $ docker exec 9f38fa85c625d55aa91638644cb2860ce884986e37b641b91eb1c6847ebb9375 ssh-agent 13:40:23 SSH_AUTH_SOCK=/tmp/ssh-OjDRfLTA1XBN/agent.32 13:40:23 SSH_AGENT_PID=38 13:40:23 Running ssh-add (command line suppressed) 13:40:23 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16196308702900214206.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16196308702900214206.key) 13:40:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:40:24 + git semver bump pre 13:40:24 2024-03-21 13:40:24,388 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:40:24 2024-03-21 13:40:24,388 [bump_version] DEBUG bumping version:3.2.0-dev.11 on axis:pre with prefix:dev 13:40:24 2024-03-21 13:40:24,389 [bump_version] DEBUG bumped version:3.2.0-dev.12 13:40:24 2024-03-21 13:40:24,389 [write_version] DEBUG write version:3.2.0-dev.12 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 13:40:24 2024-03-21 13:40:24,389 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:40:24 2024-03-21 13:40:24,389 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:40:24 2024-03-21 13:40:24,391 [execute] INFO git cat-file --batch-check 13:40:24 2024-03-21 13:40:24,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:40:24 2024-03-21 13:40:24,397 [execute] INFO git cat-file --batch 13:40:24 2024-03-21 13:40:24,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:40:24 2024-03-21 13:40:24,403 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:40:24 3.2.0-dev.12 [Pipeline] } 13:40:24 $ docker exec --env ******** --env ******** 9f38fa85c625d55aa91638644cb2860ce884986e37b641b91eb1c6847ebb9375 ssh-agent -k 13:40:24 unset SSH_AUTH_SOCK; 13:40:24 unset SSH_AGENT_PID; 13:40:24 echo Agent pid 38 killed; 13:40:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:40:24 + git semver [Pipeline] } 13:40:25 $ docker stop --time=1 9f38fa85c625d55aa91638644cb2860ce884986e37b641b91eb1c6847ebb9375 13:40:26 $ docker rm -f --volumes 9f38fa85c625d55aa91638644cb2860ce884986e37b641b91eb1c6847ebb9375 [Pipeline] // withDockerContainer [Pipeline] sh 13:40:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:40:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:40:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:27 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:40:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:40:27 $ docker top 5701ede928ac4f9b2f58256c717cf578d9aa1dbd4622423efdff11c3f7c269a7 -eo pid,comm 13:40:27 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). 13:40:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:40:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:40:27 [ssh-agent] Looking for ssh-agent implementation... 13:40:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:40:27 $ docker exec 5701ede928ac4f9b2f58256c717cf578d9aa1dbd4622423efdff11c3f7c269a7 ssh-agent 13:40:27 SSH_AUTH_SOCK=/tmp/ssh-FA3ZdeFkSTUL/agent.32 13:40:27 SSH_AGENT_PID=38 13:40:27 Running ssh-add (command line suppressed) 13:40:28 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5841386927838397969.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5841386927838397969.key) 13:40:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:40:28 + git semver push 13:40:28 2024-03-21 13:40:28,497 [run_push] DEBUG push 13:40:28 2024-03-21 13:40:28,498 [execute] INFO git cat-file --batch-check 13:40:28 2024-03-21 13:40:28,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:40:28 2024-03-21 13:40:28,501 [execute] INFO git rev-list d7ba41d0db83a94925beb93301f95cf3a0edf0ad -- 13:40:28 2024-03-21 13:40:28,502 [execute] DEBUG Popen(['git', 'rev-list', 'd7ba41d0db83a94925beb93301f95cf3a0edf0ad', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:40:28 2024-03-21 13:40:28,512 [execute] INFO git fetch -v origin 13:40:28 2024-03-21 13:40:28,512 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 13:40:29 2024-03-21 13:40:29,016 [run_push] DEBUG no remote changes detected 13:40:29 2024-03-21 13:40:29,016 [execute] INFO git push origin semver 13:40:29 2024-03-21 13:40:29,016 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:40:30 2024-03-21 13:40:29,806 [run_push] DEBUG push all version tags 13:40:30 2024-03-21 13:40:29,807 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:40:30 2024-03-21 13:40:29,807 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:40:30 2024-03-21 13:40:30,571 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:40:30 3.2.0-dev.12 [Pipeline] } 13:40:30 $ docker exec --env ******** --env ******** 5701ede928ac4f9b2f58256c717cf578d9aa1dbd4622423efdff11c3f7c269a7 ssh-agent -k 13:40:30 unset SSH_AUTH_SOCK; 13:40:30 unset SSH_AGENT_PID; 13:40:30 echo Agent pid 38 killed; 13:40:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:40:31 + git semver [Pipeline] } 13:40:31 $ docker stop --time=1 5701ede928ac4f9b2f58256c717cf578d9aa1dbd4622423efdff11c3f7c269a7 13:40:32 $ docker rm -f --volumes 5701ede928ac4f9b2f58256c717cf578d9aa1dbd4622423efdff11c3f7c269a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:40:33 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 13:40:33 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:40:33 total 16 13:40:33 drwxr-xr-x 3 root root 4096 Mar 21 13:30 . 13:40:33 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 13:40 .. 13:40:33 drwxr-xr-x 2 root root 4096 Mar 21 13:30 cost 13:40:33 -rw-r--r-- 1 root root 89 Mar 21 13:30 cost.csv 13:40:33 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 13:40:33 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:40:33 total 16 13:40:33 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:30 . 13:40:33 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 13:40 .. 13:40:33 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 13:30 cost 13:40:33 -rw-r--r-- 1 jenkins jenkins 89 Mar 21 13:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:40:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:40:34 ---> package-listing.sh 13:40:34 ++ facter osfamily 13:40:34 ++ tr '[:upper:]' '[:lower:]' 13:40:34 + OS_FAMILY=debian 13:40:34 + workspace=/w/workspace/exfoundry_device-virtual-go_main 13:40:34 + START_PACKAGES=/tmp/packages_start.txt 13:40:34 + END_PACKAGES=/tmp/packages_end.txt 13:40:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:40:34 + PACKAGES=/tmp/packages_start.txt 13:40:34 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:40:34 + PACKAGES=/tmp/packages_end.txt 13:40:34 + case "${OS_FAMILY}" in 13:40:34 + dpkg -l 13:40:34 + grep '^ii' 13:40:34 + '[' -f /tmp/packages_start.txt ']' 13:40:34 + '[' -f /tmp/packages_end.txt ']' 13:40:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:40:34 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:40:34 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 13:40:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 13:40:34 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 13:40:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:40:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:40:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:40:35 prd-ubuntu20.04-docker-8c-8g-572 does not seem to be running inside a container 13:40:35 $ 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 13:40:35 $ docker top 7f0f8d47451d06aed029548dd10813d06343ae5d4923dd38cc21ca5f7623bcd9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:40:36 + touch /tmp/pre-build-complete [Pipeline] sh 13:40:36 + mkdir -p /var/log/sysstat [Pipeline] sh 13:40:36 + ls /var/log/sa-host 13:40:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:40:36 provisioning config files... 13:40:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1825758468298110399tmp [Pipeline] { [Pipeline] echo 13:40:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:40:37 ---> create-netrc.sh [Pipeline] } 13:40:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:40:37 ---> python-tools-install.sh [Pipeline] echo 13:40:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:40:37 ---> sudo-logs.sh 13:40:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:40:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:40:38 ---> job-cost.sh 13:40:38 lf-activate-venv: SKIPPING 13:40:38 DEBUG: total: 0.2199999988079071 13:40:38 INFO: Retrieving Stack Cost... 13:40:38 INFO: Retrieving Pricing Info for: v3-standard-8 13:40:39 INFO: Archiving Costs [Pipeline] echo 13:40:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:40:39 ---> logs-deploy.sh 13:40:39 lf-activate-venv: SKIPPING 13:40:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/167 13:40:39 INFO: archiving workspace using pattern(s): 13:40:40 Archives upload complete. 13:40:40 INFO: archiving logs to Nexus 13:40:41 ---> uname -a: 13:40:41 Linux prd-ubuntu20-04-docker-8c-8g-572 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 13:40:41 13:40:41 13:40:41 ---> lscpu: 13:40:41 Architecture: x86_64 13:40:41 CPU op-mode(s): 32-bit, 64-bit 13:40:41 Byte Order: Little Endian 13:40:41 Address sizes: 40 bits physical, 48 bits virtual 13:40:41 CPU(s): 8 13:40:41 On-line CPU(s) list: 0-7 13:40:41 Thread(s) per core: 1 13:40:41 Core(s) per socket: 1 13:40:41 Socket(s): 8 13:40:41 NUMA node(s): 1 13:40:41 Vendor ID: AuthenticAMD 13:40:41 CPU family: 23 13:40:41 Model: 49 13:40:41 Model name: AMD EPYC-Rome Processor 13:40:41 Stepping: 0 13:40:41 CPU MHz: 2799.998 13:40:41 BogoMIPS: 5599.99 13:40:41 Virtualization: AMD-V 13:40:41 Hypervisor vendor: KVM 13:40:41 Virtualization type: full 13:40:41 L1d cache: 256 KiB 13:40:41 L1i cache: 256 KiB 13:40:41 L2 cache: 4 MiB 13:40:41 L3 cache: 128 MiB 13:40:41 NUMA node0 CPU(s): 0-7 13:40:41 Vulnerability Itlb multihit: Not affected 13:40:41 Vulnerability L1tf: Not affected 13:40:41 Vulnerability Mds: Not affected 13:40:41 Vulnerability Meltdown: Not affected 13:40:41 Vulnerability Mmio stale data: Not affected 13:40:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 13:40:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 13:40:41 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 13:40:41 Vulnerability Srbds: Not affected 13:40:41 Vulnerability Tsx async abort: Not affected 13:40:41 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 rep_good nopl cpuid extd_apicid tsc_known_freq 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 ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 13:40:41 13:40:41 13:40:41 ---> nproc: 13:40:41 8 13:40:41 13:40:41