Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 49f2c786d2e1c3183c72c91a175eb4976d923778 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-ssh4847287110784130738.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-ssh12362249961377242599.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-ssh6404142415489390995.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-ssh11326799950222695648.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-ssh13490321814346988072.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 ‘prd-ubuntu20.04-docker-8c-8g-562’ Running on prd-ubuntu20.04-docker-8c-8g-565 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 49f2c786d2e1c3183c72c91a175eb4976d923778 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#466)" > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 49f2c786d2e1c3183c72c91a175eb4976d923778 # timeout=10 > git rev-list --no-walk df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:07:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:07:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:07:15 ========================================================= 13:07:15 EdgeX Global Pipelines Version Info 13:07:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:07:16 ------------------- 13:07:16 stable info: 13:07:16 ------------------- 13:07:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:07:16 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:07:16 Message: update stable to v1.0.258 13:07:17 ------------------- 13:07:17 experimental info: 13:07:17 ------------------- 13:07:17 Commited By: **** collab-it+edgex@linuxfoundation.org 13:07:17 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:07:17 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 49f2c786d2e1c3183c72c91a175eb4976d923778 [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 49f2c78 [Pipeline] echo 13:07:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:07:18 provisioning config files... 13:07:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7551930495748237667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:07:18 ---> ****-login.sh 13:07:18 nexus3.edgexfoundry.org:10001 13:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:18 Configure a credential helper to remove this warning. See 13:07:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:18 13:07:18 Login Succeeded 13:07:18 nexus3.edgexfoundry.org:10002 13:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:18 Configure a credential helper to remove this warning. See 13:07:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:18 13:07:18 Login Succeeded 13:07:18 nexus3.edgexfoundry.org:10003 13:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:18 Configure a credential helper to remove this warning. See 13:07:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:18 13:07:18 Login Succeeded 13:07:18 nexus3.edgexfoundry.org:10004 13:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:18 Configure a credential helper to remove this warning. See 13:07:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:18 13:07:18 Login Succeeded 13:07:18 ****.io 13:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:19 Configure a credential helper to remove this warning. See 13:07:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:19 13:07:19 Login Succeeded 13:07:19 ---> ****-login.sh ends [Pipeline] } 13:07:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:07:19 + git rev-list -1 --merges 49f2c786d2e1c3183c72c91a175eb4976d923778~1..49f2c786d2e1c3183c72c91a175eb4976d923778 [Pipeline] echo 13:07:19 -----------> git rev-list -1 --merges 49f2c786d2e1c3183c72c91a175eb4976d923778~1..49f2c786d2e1c3183c72c91a175eb4976d923778 49f2c786d2e1c3183c72c91a175eb4976d923778 [false] [Pipeline] sh 13:07:19 + git log --format=format:%s -1 49f2c786d2e1c3183c72c91a175eb4976d923778 [Pipeline] echo 13:07:19 ========================================================= 13:07:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:07:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:20 + git log --format=format:%s -1 49f2c786d2e1c3183c72c91a175eb4976d923778 [Pipeline] echo 13:07:20 [semverPrep] GIT_COMMIT: 49f2c786d2e1c3183c72c91a175eb4976d923778, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#466) [Pipeline] echo 13:07:20 [semverPrep] This is not a build commit. [Pipeline] sh 13:07:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:07:20 + grep -v github /etc/ssh/ssh_known_hosts 13:07:20 + [ -e /tmp/ssh_known_hosts ] 13:07:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:07:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:07:20 + sudo tee -a /etc/ssh/ssh_known_hosts 13:07:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:07:21 13:07:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:07:21 0.1.4: Pulling from edgex-devops/py-git-semver 13:07:21 b85a868b505f: Pulling fs layer 13:07:21 e2be974225ed: Pulling fs layer 13:07:21 339a4e72a1f5: Pulling fs layer 13:07:21 988bab9f4d93: Pulling fs layer 13:07:21 1469e6f7b9e6: Pulling fs layer 13:07:21 eaf3925da568: Pulling fs layer 13:07:21 bab4dde63d76: Pulling fs layer 13:07:21 bde34c3a00c8: Pulling fs layer 13:07:21 b352a97aabf1: Pulling fs layer 13:07:21 4872d77fe225: Pulling fs layer 13:07:21 5851b861e8e6: Pulling fs layer 13:07:21 bde34c3a00c8: Waiting 13:07:21 988bab9f4d93: Waiting 13:07:21 4872d77fe225: Waiting 13:07:21 bab4dde63d76: Waiting 13:07:21 1469e6f7b9e6: Waiting 13:07:21 5851b861e8e6: Waiting 13:07:21 eaf3925da568: Waiting 13:07:21 b352a97aabf1: Waiting 13:07:21 e2be974225ed: Download complete 13:07:21 988bab9f4d93: Verifying Checksum 13:07:21 988bab9f4d93: Download complete 13:07:21 339a4e72a1f5: Verifying Checksum 13:07:21 339a4e72a1f5: Download complete 13:07:21 1469e6f7b9e6: Verifying Checksum 13:07:21 1469e6f7b9e6: Download complete 13:07:21 eaf3925da568: Download complete 13:07:21 bde34c3a00c8: Download complete 13:07:21 b352a97aabf1: Verifying Checksum 13:07:21 b352a97aabf1: Download complete 13:07:21 4872d77fe225: Download complete 13:07:21 5851b861e8e6: Verifying Checksum 13:07:21 5851b861e8e6: Download complete 13:07:21 b85a868b505f: Verifying Checksum 13:07:21 b85a868b505f: Download complete 13:07:21 bab4dde63d76: Verifying Checksum 13:07:21 bab4dde63d76: Download complete 13:07:22 b85a868b505f: Pull complete 13:07:22 e2be974225ed: Pull complete 13:07:23 339a4e72a1f5: Pull complete 13:07:23 988bab9f4d93: Pull complete 13:07:23 1469e6f7b9e6: Pull complete 13:07:23 eaf3925da568: Pull complete 13:07:25 bab4dde63d76: Pull complete 13:07:25 bde34c3a00c8: Pull complete 13:07:25 b352a97aabf1: Pull complete 13:07:25 4872d77fe225: Pull complete 13:07:25 5851b861e8e6: Pull complete 13:07:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:07:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:07:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:07:26 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:07:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:07:29 $ docker top 2e555da5510a5365eeca68d59615369d0109afe9b3c00c45e41be2d52a1b40b5 -eo pid,comm 13:07:29 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:07:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:07:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:07:29 [ssh-agent] Looking for ssh-agent implementation... 13:07:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:07:29 $ docker exec 2e555da5510a5365eeca68d59615369d0109afe9b3c00c45e41be2d52a1b40b5 ssh-agent 13:07:29 SSH_AUTH_SOCK=/tmp/ssh-BTfTSTKybdLu/agent.32 13:07:29 SSH_AGENT_PID=38 13:07:29 Running ssh-add (command line suppressed) 13:07:29 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_878779387576944722.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_878779387576944722.key) 13:07:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:07:29 + git tag --points-at HEAD [Pipeline] } 13:07:29 $ docker exec --env ******** --env ******** 2e555da5510a5365eeca68d59615369d0109afe9b3c00c45e41be2d52a1b40b5 ssh-agent -k 13:07:29 unset SSH_AUTH_SOCK; 13:07:29 unset SSH_AGENT_PID; 13:07:29 echo Agent pid 38 killed; 13:07:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:07:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:07:29 [ssh-agent] Looking for ssh-agent implementation... 13:07:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:07:30 $ docker exec 2e555da5510a5365eeca68d59615369d0109afe9b3c00c45e41be2d52a1b40b5 ssh-agent 13:07:30 SSH_AUTH_SOCK=/tmp/ssh-awrt5s3StI1Y/agent.72 13:07:30 SSH_AGENT_PID=78 13:07:30 Running ssh-add (command line suppressed) 13:07:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10900446579269256879.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10900446579269256879.key) 13:07:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:07:30 + git semver init 13:07:30 2024-03-21 13:07:30,762 [run_init] DEBUG init version:0.0.0 force:False 13:07:30 2024-03-21 13:07:30,763 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 13:07:30 2024-03-21 13:07:30,765 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 13:07:30 2024-03-21 13:07:30,765 [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:07:32 2024-03-21 13:07:32,018 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 13:07:32 2024-03-21 13:07:32,018 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 13:07:32 2024-03-21 13:07:32,018 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:07:32 2024-03-21 13:07:32,018 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:07:32 3.2.0-dev.10 [Pipeline] } 13:07:32 $ docker exec --env ******** --env ******** 2e555da5510a5365eeca68d59615369d0109afe9b3c00c45e41be2d52a1b40b5 ssh-agent -k 13:07:32 unset SSH_AUTH_SOCK; 13:07:32 unset SSH_AGENT_PID; 13:07:32 echo Agent pid 78 killed; 13:07:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:07:32 + git semver [Pipeline] } 13:07:32 $ docker stop --time=1 2e555da5510a5365eeca68d59615369d0109afe9b3c00c45e41be2d52a1b40b5 13:07:34 $ docker rm -f --volumes 2e555da5510a5365eeca68d59615369d0109afe9b3c00c45e41be2d52a1b40b5 [Pipeline] // withDockerContainer [Pipeline] sh 13:07:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:07:34 Stashed 1 file(s) [Pipeline] echo 13:07:34 [edgeXSemver]: initialized semver on version 3.2.0-dev.10 [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:07:34 provisioning config files... 13:07:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3820816004741905023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:07:35 ---> ****-login.sh 13:07:35 nexus3.edgexfoundry.org:10001 13:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:35 Configure a credential helper to remove this warning. See 13:07:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:35 13:07:35 Login Succeeded 13:07:35 nexus3.edgexfoundry.org:10002 13:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:35 Configure a credential helper to remove this warning. See 13:07:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:35 13:07:35 Login Succeeded 13:07:35 nexus3.edgexfoundry.org:10003 13:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:35 Configure a credential helper to remove this warning. See 13:07:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:35 13:07:35 Login Succeeded 13:07:35 nexus3.edgexfoundry.org:10004 13:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:35 Configure a credential helper to remove this warning. See 13:07:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:35 13:07:35 Login Succeeded 13:07:35 ****.io 13:07:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:07:36 Configure a credential helper to remove this warning. See 13:07:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:07:36 13:07:36 Login Succeeded 13:07:36 ---> ****-login.sh ends [Pipeline] } 13:07:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:07:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:07:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:07:36 ========================================================= 13:07:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:07:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:07:36 + 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:07:36 Sending build context to Docker daemon 31.77MB 13:07:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:07:36 Step 2/12 : FROM ${BASE} AS builder 13:07:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:07:36 7264a8db6415: Pulling fs layer 13:07:36 c4d48a809fc2: Pulling fs layer 13:07:36 4f1c88b9dad5: Pulling fs layer 13:07:36 ad3a456e5733: Pulling fs layer 13:07:36 69c7f0334f64: Pulling fs layer 13:07:36 1f1c1a5573a3: Pulling fs layer 13:07:36 ce7588e14bc9: Pulling fs layer 13:07:36 b5e4710f87ac: Pulling fs layer 13:07:36 ad3a456e5733: Waiting 13:07:36 b5e4710f87ac: Waiting 13:07:36 69c7f0334f64: Waiting 13:07:36 1f1c1a5573a3: Waiting 13:07:36 ce7588e14bc9: Waiting 13:07:36 c4d48a809fc2: Download complete 13:07:36 ad3a456e5733: Download complete 13:07:36 69c7f0334f64: Verifying Checksum 13:07:36 69c7f0334f64: Download complete 13:07:36 7264a8db6415: Verifying Checksum 13:07:36 7264a8db6415: Download complete 13:07:36 1f1c1a5573a3: Verifying Checksum 13:07:36 1f1c1a5573a3: Download complete 13:07:37 7264a8db6415: Pull complete 13:07:37 b5e4710f87ac: Verifying Checksum 13:07:37 c4d48a809fc2: Pull complete 13:07:37 4f1c88b9dad5: Verifying Checksum 13:07:37 4f1c88b9dad5: Download complete 13:07:37 ce7588e14bc9: Verifying Checksum 13:07:37 ce7588e14bc9: Download complete 13:07:40 4f1c88b9dad5: Pull complete 13:07:40 ad3a456e5733: Pull complete 13:07:40 69c7f0334f64: Pull complete 13:07:40 1f1c1a5573a3: Pull complete 13:07:43 ce7588e14bc9: Pull complete 13:07:43 b5e4710f87ac: Pull complete 13:07:43 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 13:07:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:07:43 ---> 88b5674ff536 13:07:43 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:07:47 ---> Running in 94a278fb2c6a 13:07:47 Removing intermediate container 94a278fb2c6a 13:07:47 ---> 81622f863975 13:07:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:07:47 ---> Running in ad8cf09f7d82 13:07:47 Removing intermediate container ad8cf09f7d82 13:07:47 ---> d1c16732f7e6 13:07:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:07:47 ---> Running in 03fa659f6a63 13:07:47 Removing intermediate container 03fa659f6a63 13:07:47 ---> 580867ffa251 13:07:47 Step 6/12 : WORKDIR /device-virtual-go 13:07:47 ---> Running in fcb5d0a03b1b 13:07:47 Removing intermediate container fcb5d0a03b1b 13:07:47 ---> 1c6c071828af 13:07:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:07:47 ---> Running in 2d5d0e6e2f02 13:07:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:07:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:07:48 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:07:48 (2/4) Installing libedit (20221030.3.1-r1) 13:07:48 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:07:48 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:07:48 Executing busybox-1.36.1-r5.trigger 13:07:48 OK: 268 MiB in 56 packages 13:07:49 Removing intermediate container 2d5d0e6e2f02 13:07:49 ---> e8a16b600eb6 13:07:49 Step 8/12 : COPY go.mod vendor* ./ 13:07:49 ---> d4d55d5db5cb 13:07:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:07:49 ---> Running in 5951fd30d245 13:07:49 Still waiting to schedule task 13:07:49 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-564’ 13:09:10 Removing intermediate container 5951fd30d245 13:09:10 ---> 5f74ad93221d 13:09:10 Step 10/12 : COPY . . 13:09:10 ---> 8dae7decaf2a 13:09:10 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:09:10 ---> Running in 0b374ebb151d 13:09:10 Removing intermediate container 0b374ebb151d 13:09:10 ---> 32d612b0fbab 13:09:10 Step 12/12 : RUN $MAKE 13:09:10 ---> Running in c6a0c1c6047a 13:09:10 noop 13:09:10 Removing intermediate container c6a0c1c6047a 13:09:10 ---> d2b059eb580e 13:09:10 Successfully built d2b059eb580e 13:09:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:11 + docker inspect -f . ci-base-image-x86_64 13:09:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:11 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:09:11 $ 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 ******** ci-base-image-x86_64 cat 13:09:14 $ docker top e59c1bf376cfc96dbfaa097bf1c3c61552b6945e8eed74d26c939154ac490a80 -eo pid,comm [Pipeline] { [Pipeline] sh 13:09:14 + go version 13:09:14 go version go1.21.0 linux/amd64 [Pipeline] } 13:09:14 $ docker stop --time=1 e59c1bf376cfc96dbfaa097bf1c3c61552b6945e8eed74d26c939154ac490a80 13:09:17 $ docker rm -f --volumes e59c1bf376cfc96dbfaa097bf1c3c61552b6945e8eed74d26c939154ac490a80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:09:17 + docker inspect -f . ci-base-image-x86_64 13:09:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:09:18 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:09:18 $ 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 ******** ci-base-image-x86_64 cat 13:09:20 $ docker top dd56a5de84c522d8e9a249189f8299b6832227c7b64c5a0a6ae00552b1b6bec7 -eo pid,comm [Pipeline] { [Pipeline] sh 13:09:20 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 13:09:20 + make test 13:09:20 go test ./... -coverprofile=coverage.out 13:09:30 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:09:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:09:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements 13:09:53 go vet ./... 13:09:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:09:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:09:57 ./bin/test-attribution-txt.sh 13:09:57 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:09:57 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:09:57 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:09:57 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:09:57 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:09:57 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:09:57 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:09:57 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:09:57 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:09:57 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:09:57 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:09:57 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:09:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:09:57 $ docker stop --time=1 dd56a5de84c522d8e9a249189f8299b6832227c7b64c5a0a6ae00552b1b6bec7 13:10:03 $ docker rm -f --volumes dd56a5de84c522d8e9a249189f8299b6832227c7b64c5a0a6ae00552b1b6bec7 [Pipeline] // withDockerContainer [Pipeline] sh 13:10:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:10:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:10:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:10:04 + ls -al . 13:10:04 total 268 13:10:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:09 . 13:10:04 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 13:07 .. 13:10:04 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:09 .git 13:10:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:07 .github 13:10:04 -rw-rw-r-- 1 jenkins jenkins 272 Mar 21 13:07 .gitignore 13:10:04 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 13:07 .golangci.yml 13:10:04 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:07 .semver 13:10:04 -rw-rw-r-- 1 jenkins jenkins 9708 Mar 21 13:07 Attribution.txt 13:10:04 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 21 13:07 CHANGELOG.md 13:10:04 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 21 13:07 Dockerfile 13:10:04 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 13:07 GOVERNANCE.md 13:10:04 -rw-rw-r-- 1 jenkins jenkins 660 Mar 21 13:07 Jenkinsfile 13:10:04 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 13:07 LICENSE 13:10:04 -rw-rw-r-- 1 jenkins jenkins 1953 Mar 21 13:07 Makefile 13:10:04 -rw-rw-r-- 1 jenkins jenkins 623 Mar 21 13:07 OWNERS.md 13:10:04 -rw-rw-r-- 1 jenkins jenkins 4103 Mar 21 13:07 README.md 13:10:04 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 13:07 VERSION 13:10:04 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:07 bin 13:10:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:07 cmd 13:10:04 -rw-r--r-- 1 jenkins jenkins 43063 Mar 21 13:09 coverage.out 13:10:04 -rw-rw-r-- 1 jenkins jenkins 6985 Mar 21 13:07 go.mod 13:10:04 -rw-rw-r-- 1 jenkins jenkins 101177 Mar 21 13:07 go.sum 13:10:04 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:07 internal 13:10:04 -rw-rw-r-- 1 jenkins jenkins 235 Mar 21 13:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:05 + 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=49f2c786d2e1c3183c72c91a175eb4976d923778 --label arch=amd64 --label version=3.2.0-dev.10 . 13:10:05 Sending build context to Docker daemon 31.82MB 13:10:05 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:10:05 Step 2/26 : FROM ${BASE} AS builder 13:10:05 ---> d2b059eb580e 13:10:05 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:10:05 ---> Running in 0b66f4eb8a4d 13:10:05 Removing intermediate container 0b66f4eb8a4d 13:10:05 ---> 4f4cea9ca21a 13:10:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:10:05 ---> Running in 76f74a848931 13:10:05 Removing intermediate container 76f74a848931 13:10:05 ---> 8de666b68f16 13:10:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:10:05 ---> Running in d9d33c950882 13:10:06 Removing intermediate container d9d33c950882 13:10:06 ---> a30cdf8eccbc 13:10:06 Step 6/26 : WORKDIR /device-virtual-go 13:10:06 ---> Running in 7821986b922a 13:10:06 Removing intermediate container 7821986b922a 13:10:06 ---> ff36937388ab 13:10:06 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:10:06 ---> Running in e60114e09bee 13:10:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:10:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:10:06 OK: 268 MiB in 56 packages 13:10:07 Removing intermediate container e60114e09bee 13:10:07 ---> 249e1e62c1fd 13:10:07 Step 8/26 : COPY go.mod vendor* ./ 13:10:07 ---> 9e289cdf8abd 13:10:07 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:10:07 ---> Running in ba459ae30bc3 13:10:08 Removing intermediate container ba459ae30bc3 13:10:08 ---> 5ca3d9ccdcf9 13:10:08 Step 10/26 : COPY . . 13:10:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-568 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 13:10:08 Running in /w/workspace/device-virtual-go/166 [Pipeline] { [Pipeline] checkout 13:10:09 ---> ed99a33b6064 13:10:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:10:09 ---> Running in f0338c70ee66 13:10:09 Removing intermediate container f0338c70ee66 13:10:09 ---> 6ea964d70389 13:10:09 Step 12/26 : RUN $MAKE 13:10:09 ---> Running in 85c9758521f5 13:10:09 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.10 -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:10:11 The recommended git tool is: git 13:10:16 using credential edgex-jenkins-ssh 13:10:16 Cloning the remote Git repository 13:10:16 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 13:10:16 > git init /w/workspace/device-virtual-go/166 # timeout=10 13:10:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 13:10:16 > git --version # timeout=10 13:10:16 > git --version # 'git version 2.25.1' 13:10:16 using GIT_SSH to set credentials SSH Credentials for GitHub 13:10:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:10:19 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 13:10:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:10:20 Avoid second fetch 13:10:20 Checking out Revision 49f2c786d2e1c3183c72c91a175eb4976d923778 (main) 13:10:21 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#466)" 13:10:20 > git config core.sparsecheckout # timeout=10 13:10:20 > git checkout -f 49f2c786d2e1c3183c72c91a175eb4976d923778 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:10:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:10:26 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:26 Dload Upload Total Spent Left Speed 13:10:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 13:10:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:10:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:10:26 + sudo tee /etc/docker/daemon.new 13:10:26 { 13:10:26 "registry-mirrors": [ 13:10:26 "https://nexus3.edgexfoundry.org:10001" 13:10:26 ], 13:10:26 "bip": "10.250.0.254/24", 13:10:26 "hosts": [ 13:10:26 "tcp://0.0.0.0:5555", 13:10:26 "unix:///var/run/docker.sock" 13:10:26 ], 13:10:26 "mtu": 1458, 13:10:26 "selinux-enabled": true, 13:10:26 "seccomp-profile": "/etc/docker/seccomp.json" 13:10:26 } [Pipeline] sh 13:10:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:10:27 + sudo service docker restart 13:10:42 Removing intermediate container 85c9758521f5 13:10:42 ---> f2c3fa2f2c80 13:10:42 Step 13/26 : FROM alpine:3.18 13:10:42 3.18: Pulling from library/alpine 13:10:42 619be1103602: Pulling fs layer 13:10:42 619be1103602: Verifying Checksum 13:10:42 619be1103602: Download complete 13:10:42 619be1103602: Pull complete 13:10:42 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:10:42 Status: Downloaded newer image for alpine:3.18 13:10:42 ---> d3782b16ccc9 13:10:42 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:10:42 ---> Running in bb9110a8b59b 13:10:42 Removing intermediate container bb9110a8b59b 13:10:42 ---> a050ead43835 13:10:42 Step 15/26 : RUN apk add --update --no-cache dumb-init 13:10:42 ---> Running in 0873df0dfdca 13:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:10:42 (1/1) Installing dumb-init (1.2.5-r2) 13:10:42 Executing busybox-1.36.1-r5.trigger 13:10:42 OK: 7 MiB in 16 packages 13:10:42 Removing intermediate container 0873df0dfdca 13:10:42 ---> 69d7e16a1523 13:10:42 Step 16/26 : RUN apk --no-cache upgrade 13:10:42 ---> Running in 1fd190f4eb9c 13:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:10:42 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:10:42 OK: 7 MiB in 16 packages 13:10:42 Removing intermediate container 1fd190f4eb9c 13:10:42 ---> e2edcaca7c78 13:10:42 Step 17/26 : WORKDIR / 13:10:42 ---> Running in e773a589d8a4 13:10:42 Removing intermediate container e773a589d8a4 13:10:42 ---> e62be761f12d 13:10:42 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:10:42 ---> 61e81f61be71 13:10:42 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:10:42 ---> e3facea1909a 13:10:42 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:10:42 ---> 8903b3a5b119 13:10:42 Step 21/26 : EXPOSE 59900 13:10:42 ---> Running in 7caa1a9453b1 13:10:42 Removing intermediate container 7caa1a9453b1 13:10:42 ---> d2328cb74974 13:10:42 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:10:42 ---> Running in 77dfef7c66d2 13:10:42 Removing intermediate container 77dfef7c66d2 13:10:42 ---> 3864de19f211 13:10:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:10:42 ---> Running in d4fe5c25250c 13:10:42 Removing intermediate container d4fe5c25250c 13:10:42 ---> 370edd77a5f5 13:10:42 Step 24/26 : LABEL arch=amd64 13:10:42 ---> Running in 3fa7fd5eb463 13:10:42 Removing intermediate container 3fa7fd5eb463 13:10:42 ---> 711b154b2ae9 13:10:42 Step 25/26 : LABEL git_sha=49f2c786d2e1c3183c72c91a175eb4976d923778 13:10:42 ---> Running in 3bb1871737e8 13:10:42 Removing intermediate container 3bb1871737e8 13:10:42 ---> 134c6bc21013 13:10:42 Step 26/26 : LABEL version=3.2.0-dev.10 13:10:42 ---> Running in 6d18012992ad 13:10:42 Removing intermediate container 6d18012992ad 13:10:42 ---> 7c315453cc82 13:10:42 [Warning] One or more build-args [ARCH] were not consumed 13:10:42 Successfully built 7c315453cc82 13:10:42 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:10:42 provisioning config files... 13:10:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config946664840241268837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:42 ---> ****-login.sh 13:10:42 nexus3.edgexfoundry.org:10001 13:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:42 Configure a credential helper to remove this warning. See 13:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:42 13:10:42 Login Succeeded 13:10:42 nexus3.edgexfoundry.org:10002 13:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:42 Configure a credential helper to remove this warning. See 13:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:42 13:10:42 Login Succeeded 13:10:42 nexus3.edgexfoundry.org:10003 13:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:42 Configure a credential helper to remove this warning. See 13:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:42 13:10:42 Login Succeeded 13:10:42 nexus3.edgexfoundry.org:10004 13:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:42 Configure a credential helper to remove this warning. See 13:10:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:42 13:10:42 Login Succeeded 13:10:42 ****.io 13:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:43 Configure a credential helper to remove this warning. See 13:10:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:43 13:10:43 Login Succeeded 13:10:43 ---> ****-login.sh ends [Pipeline] } 13:10:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:10:43 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 13:10:43 49f2c786d2e1c3183c72c91a175eb4976d923778 13:10:43 latest 13:10:43 3.2.0-dev.10 13:10:43 49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10 13:10:43 main 13:10:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:49f2c786d2e1c3183c72c91a175eb4976d923778 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:49f2c786d2e1c3183c72c91a175eb4976d923778 13:10:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:10:43 e131742fcde0: Preparing 13:10:43 4e6287c08e0f: Preparing 13:10:43 6420b026f596: Preparing 13:10:43 ac61d8ade4ab: Preparing 13:10:43 708f4e5f2cbb: Preparing 13:10:43 aedc3bda2944: Preparing 13:10:43 708f4e5f2cbb: Pushed 13:10:43 4e6287c08e0f: Pushed 13:10:43 aedc3bda2944: Layer already exists 13:10:43 6420b026f596: Pushed 13:10:43 ac61d8ade4ab: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:45 provisioning config files... 13:10:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/166@tmp/config17760260229202312198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:46 ---> ****-login.sh 13:10:46 nexus3.edgexfoundry.org:10001 13:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:46 Configure a credential helper to remove this warning. See 13:10:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:46 13:10:46 Login Succeeded 13:10:46 nexus3.edgexfoundry.org:10002 13:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:46 Configure a credential helper to remove this warning. See 13:10:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:46 13:10:46 Login Succeeded 13:10:46 nexus3.edgexfoundry.org:10003 13:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:47 e131742fcde0: Pushed 13:10:47 49f2c786d2e1c3183c72c91a175eb4976d923778: digest: sha256:6a9673974b903a8e3df2374a36c599ba40641e17d6a0fcd727dc7cebb32bb52a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:47 Configure a credential helper to remove this warning. See 13:10:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:47 13:10:47 Login Succeeded 13:10:47 nexus3.edgexfoundry.org:10004 13:10:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:47 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:47 Configure a credential helper to remove this warning. See 13:10:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:47 13:10:47 Login Succeeded 13:10:47 ****.io 13:10:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 13:10:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:10:47 e131742fcde0: Preparing 13:10:47 4e6287c08e0f: Preparing 13:10:47 6420b026f596: Preparing 13:10:47 ac61d8ade4ab: Preparing 13:10:47 708f4e5f2cbb: Preparing 13:10:47 aedc3bda2944: Preparing 13:10:47 aedc3bda2944: Waiting 13:10:47 ac61d8ade4ab: Layer already exists 13:10:47 6420b026f596: Layer already exists 13:10:47 708f4e5f2cbb: Layer already exists 13:10:47 e131742fcde0: Layer already exists 13:10:47 4e6287c08e0f: Layer already exists 13:10:47 aedc3bda2944: Layer already exists 13:10:47 latest: digest: sha256:6a9673974b903a8e3df2374a36c599ba40641e17d6a0fcd727dc7cebb32bb52a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 13:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:10:51 Configure a credential helper to remove this warning. See 13:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:10:51 13:10:51 Login Succeeded 13:10:51 ---> ****-login.sh ends [Pipeline] sh [Pipeline] } 13:10:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:10:51 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 13:10:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:10:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:10:51 ========================================================= 13:10:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:10:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.10 13:10:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:10:51 e131742fcde0: Preparing 13:10:51 4e6287c08e0f: Preparing 13:10:51 6420b026f596: Preparing 13:10:51 ac61d8ade4ab: Preparing 13:10:51 708f4e5f2cbb: Preparing 13:10:51 aedc3bda2944: Preparing 13:10:51 4e6287c08e0f: Layer already exists 13:10:51 e131742fcde0: Layer already exists 13:10:51 6420b026f596: Layer already exists 13:10:51 708f4e5f2cbb: Layer already exists 13:10:51 ac61d8ade4ab: Layer already exists 13:10:51 aedc3bda2944: Layer already exists 13:10:51 3.2.0-dev.10: digest: sha256:6a9673974b903a8e3df2374a36c599ba40641e17d6a0fcd727dc7cebb32bb52a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:52 + 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:10:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10 13:10:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:10:52 e131742fcde0: Preparing 13:10:52 4e6287c08e0f: Preparing 13:10:52 6420b026f596: Preparing 13:10:52 ac61d8ade4ab: Preparing 13:10:52 708f4e5f2cbb: Preparing 13:10:52 aedc3bda2944: Preparing 13:10:52 aedc3bda2944: Waiting 13:10:52 6420b026f596: Layer already exists 13:10:52 ac61d8ade4ab: Layer already exists 13:10:52 4e6287c08e0f: Layer already exists 13:10:52 708f4e5f2cbb: Layer already exists 13:10:52 e131742fcde0: Layer already exists 13:10:52 aedc3bda2944: Layer already exists 13:10:52 49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10: digest: sha256:6a9673974b903a8e3df2374a36c599ba40641e17d6a0fcd727dc7cebb32bb52a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:52 Sending build context to Docker daemon 16.06MB 13:10:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:10:52 Step 2/12 : FROM ${BASE} AS builder 13:10:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:10:52 9fda8d8052c6: Pulling fs layer 13:10:52 5d54e960e981: Pulling fs layer 13:10:52 c4a7e357bf2a: Pulling fs layer 13:10:52 f0e02332f6b5: Pulling fs layer 13:10:52 872ee5b61b7b: Pulling fs layer 13:10:52 0c6a40ed1a82: Pulling fs layer 13:10:52 94ae7d8d031c: Pulling fs layer 13:10:52 f0e02332f6b5: Waiting 13:10:52 872ee5b61b7b: Waiting 13:10:52 0c6a40ed1a82: Waiting 13:10:52 94ae7d8d031c: Waiting 13:10:52 5d54e960e981: Verifying Checksum 13:10:52 5d54e960e981: Download complete 13:10:52 f0e02332f6b5: Verifying Checksum 13:10:52 f0e02332f6b5: Download complete 13:10:52 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main 13:10:52 872ee5b61b7b: Verifying Checksum 13:10:52 872ee5b61b7b: Download complete 13:10:52 9fda8d8052c6: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:10:53 94ae7d8d031c: Verifying Checksum 13:10:53 94ae7d8d031c: Download complete 13:10:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 13:10:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 13:10:53 e131742fcde0: Preparing 13:10:53 4e6287c08e0f: Preparing 13:10:53 6420b026f596: Preparing 13:10:53 ac61d8ade4ab: Preparing 13:10:53 708f4e5f2cbb: Preparing 13:10:53 aedc3bda2944: Preparing 13:10:53 aedc3bda2944: Waiting 13:10:53 6420b026f596: Layer already exists 13:10:53 e131742fcde0: Layer already exists 13:10:53 708f4e5f2cbb: Layer already exists 13:10:53 ac61d8ade4ab: Layer already exists 13:10:53 4e6287c08e0f: Layer already exists 13:10:53 aedc3bda2944: Layer already exists 13:10:53 main: digest: sha256:6a9673974b903a8e3df2374a36c599ba40641e17d6a0fcd727dc7cebb32bb52a size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:10:53 ===================================================== [Pipeline] echo 13:10:53 taggedImages: 13:10:53 - nexus3.edgexfoundry.org:10004/device-virtual:49f2c786d2e1c3183c72c91a175eb4976d923778 13:10:53 - nexus3.edgexfoundry.org:10004/device-virtual:latest 13:10:53 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.10 13:10:53 - nexus3.edgexfoundry.org:10004/device-virtual:49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10 13:10:53 - 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:10:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:53 13:10:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 13:10:53 9fda8d8052c6: Pull complete [Pipeline] sh 13:10:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:54 latest: Pulling from edgex-lftools-log-publisher 13:10:54 5eb5b503b376: Pulling fs layer 13:10:54 5c69ac0246d0: Pulling fs layer 13:10:54 ec43610c2a17: Pulling fs layer 13:10:54 3a2ae6a8a46f: Pulling fs layer 13:10:54 33b1e0a273af: Pulling fs layer 13:10:54 5d3b04190fa2: Pulling fs layer 13:10:54 2f39f015ded8: Pulling fs layer 13:10:54 3a2ae6a8a46f: Waiting 13:10:54 33b1e0a273af: Waiting 13:10:54 5d3b04190fa2: Waiting 13:10:54 2f39f015ded8: Waiting 13:10:54 5c69ac0246d0: Download complete 13:10:54 3a2ae6a8a46f: Verifying Checksum 13:10:54 3a2ae6a8a46f: Download complete 13:10:54 33b1e0a273af: Verifying Checksum 13:10:54 33b1e0a273af: Download complete 13:10:54 5d3b04190fa2: Verifying Checksum 13:10:54 5d3b04190fa2: Download complete 13:10:54 ec43610c2a17: Verifying Checksum 13:10:54 ec43610c2a17: Download complete 13:10:54 5eb5b503b376: Verifying Checksum 13:10:54 5eb5b503b376: Download complete 13:10:54 5d54e960e981: Pull complete 13:10:54 c4a7e357bf2a: Verifying Checksum 13:10:54 c4a7e357bf2a: Download complete 13:10:54 2f39f015ded8: Download complete 13:10:55 5eb5b503b376: Pull complete 13:10:55 5c69ac0246d0: Pull complete 13:10:55 0c6a40ed1a82: Verifying Checksum 13:10:55 0c6a40ed1a82: Download complete 13:10:56 ec43610c2a17: Pull complete 13:10:56 3a2ae6a8a46f: Pull complete 13:10:56 33b1e0a273af: Pull complete 13:10:56 5d3b04190fa2: Pull complete 13:11:00 2f39f015ded8: Pull complete 13:11:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:11:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:11:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:11:00 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:11:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:11:03 $ docker top badcef8b32eb0fd33977411a010b61fae88be24577798ec57f7371dda779bdae -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:11:04 ---> job-cost.sh 13:11:04 lf-activate-venv: SKIPPING 13:11:04 INFO: No Stack... 13:11:04 INFO: Retrieving Pricing Info for: v3-standard-8 13:11:05 INFO: Archiving Costs [Pipeline] sh 13:11:05 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 13:11:05 + cut -d, -f6 [Pipeline] lock 13:11:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-166-stack-cost] 13:11:05 Resource [jenkins-edgexfoundry-device-virtual-go-main-166-stack-cost] did not exist. Created. 13:11:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:11:05 + echo total: 0.2199999988079071 [Pipeline] stash 13:11:05 Stashed 1 file(s) [Pipeline] } 13:11:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 13:11:05 $ docker stop --time=1 badcef8b32eb0fd33977411a010b61fae88be24577798ec57f7371dda779bdae 13:11:06 $ docker rm -f --volumes badcef8b32eb0fd33977411a010b61fae88be24577798ec57f7371dda779bdae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:11:07 c4a7e357bf2a: Pull complete 13:11:07 f0e02332f6b5: Pull complete 13:11:08 872ee5b61b7b: Pull complete 13:11:18 0c6a40ed1a82: Pull complete 13:11:18 94ae7d8d031c: Pull complete 13:11:18 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 13:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:11:18 ---> 86de565de09d 13:11:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:11:20 ---> Running in 14fd45b28c56 13:11:20 Removing intermediate container 14fd45b28c56 13:11:20 ---> ab6f23b4c4a7 13:11:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:11:20 ---> Running in f1b13ae18de7 13:11:20 Removing intermediate container f1b13ae18de7 13:11:20 ---> ee68bbebdacc 13:11:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 13:11:20 ---> Running in 3ced36496724 13:11:21 Removing intermediate container 3ced36496724 13:11:21 ---> e5fe659d6376 13:11:21 Step 6/12 : WORKDIR /device-virtual-go 13:11:21 ---> Running in 6e1747a73aff 13:11:21 Removing intermediate container 6e1747a73aff 13:11:21 ---> ab9ceb292440 13:11:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:11:21 ---> Running in 1f1e5436df9b 13:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:11:24 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:11:24 (2/4) Installing libedit (20221030.3.1-r1) 13:11:24 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:11:24 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:11:24 Executing busybox-1.36.1-r5.trigger 13:11:24 OK: 271 MiB in 56 packages 13:11:25 Removing intermediate container 1f1e5436df9b 13:11:25 ---> 527779ca0545 13:11:25 Step 8/12 : COPY go.mod vendor* ./ 13:11:26 ---> 8d13838b5c37 13:11:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:11:26 ---> Running in 92aeab4b8f4c 13:13:47 Removing intermediate container 92aeab4b8f4c 13:13:47 ---> 81065335d6af 13:13:47 Step 10/12 : COPY . . 13:13:47 ---> 2e4567dfaeb3 13:13:47 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:13:47 ---> Running in 900a7c2a77d4 13:13:47 Removing intermediate container 900a7c2a77d4 13:13:47 ---> 56c5a2de2af0 13:13:47 Step 12/12 : RUN $MAKE 13:13:47 ---> Running in 3b64cff1bae1 13:13:47 noop 13:13:47 Removing intermediate container 3b64cff1bae1 13:13:47 ---> b638d957f51b 13:13:47 Successfully built b638d957f51b 13:13:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:48 + docker inspect -f . ci-base-image-arm64 13:13:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:48 prd-ubuntu20.04-docker-arm64-4c-16g-568 does not seem to be running inside a container 13:13:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/166 -v /w/workspace/device-virtual-go/166:/w/workspace/device-virtual-go/166:rw,z -v /w/workspace/device-virtual-go/166@tmp:/w/workspace/device-virtual-go/166@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:13:49 $ docker top 655995875c4b73ba6de922a2f55642f3e17c81619ba4c366e45d8909a7802b5b -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:50 + go version 13:13:50 go version go1.21.0 linux/arm64 [Pipeline] } 13:13:50 $ docker stop --time=1 655995875c4b73ba6de922a2f55642f3e17c81619ba4c366e45d8909a7802b5b 13:13:52 $ docker rm -f --volumes 655995875c4b73ba6de922a2f55642f3e17c81619ba4c366e45d8909a7802b5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:13:52 + docker inspect -f . ci-base-image-arm64 13:13:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:13:53 prd-ubuntu20.04-docker-arm64-4c-16g-568 does not seem to be running inside a container 13:13:53 $ 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/166 -v /w/workspace/device-virtual-go/166:/w/workspace/device-virtual-go/166:rw,z -v /w/workspace/device-virtual-go/166@tmp:/w/workspace/device-virtual-go/166@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:13:54 $ docker top ed1512a24da137f9d839b9271490108a269176f9694b9c97b87bde03c227ff4b -eo pid,comm [Pipeline] { [Pipeline] sh 13:13:55 + git config --global --add safe.directory /w/workspace/device-virtual-go/166 [Pipeline] fileExists [Pipeline] sh 13:13:56 + make test 13:13:56 go test ./... -coverprofile=coverage.out 13:14:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 13:16:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 13:16:53 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.066s coverage: 58.4% of statements 13:16:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:16:53 go vet ./... 13:17:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:17:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:17:19 ./bin/test-attribution-txt.sh 13:17:19 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:17:19 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:17:19 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:17:19 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:17:19 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:17:19 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:17:19 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:17:19 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:17:19 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:17:19 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:17:19 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:17:19 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:17:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:17:19 $ docker stop --time=1 ed1512a24da137f9d839b9271490108a269176f9694b9c97b87bde03c227ff4b 13:17:21 $ docker rm -f --volumes ed1512a24da137f9d839b9271490108a269176f9694b9c97b87bde03c227ff4b [Pipeline] // withDockerContainer [Pipeline] sh 13:17:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:17:23 Warning: overwriting stash ‘coverage-report’ 13:17:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:17:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:17:24 + ls -al . 13:17:24 total 264 13:17:24 drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 13:14 . 13:17:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 13:10 .. 13:17:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:10 .git 13:17:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:10 .github 13:17:24 -rw-rw-r-- 1 jenkins jenkins 272 Mar 21 13:10 .gitignore 13:17:24 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 13:10 .golangci.yml 13:17:24 -rw-rw-r-- 1 jenkins jenkins 9708 Mar 21 13:10 Attribution.txt 13:17:24 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 21 13:10 CHANGELOG.md 13:17:24 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 21 13:10 Dockerfile 13:17:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 13:10 GOVERNANCE.md 13:17:24 -rw-rw-r-- 1 jenkins jenkins 660 Mar 21 13:10 Jenkinsfile 13:17:24 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 13:10 LICENSE 13:17:24 -rw-rw-r-- 1 jenkins jenkins 1953 Mar 21 13:10 Makefile 13:17:24 -rw-rw-r-- 1 jenkins jenkins 623 Mar 21 13:10 OWNERS.md 13:17:24 -rw-rw-r-- 1 jenkins jenkins 4103 Mar 21 13:10 README.md 13:17:24 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 13:07 VERSION 13:17:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:10 bin 13:17:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:10 cmd 13:17:24 -rw-r--r-- 1 jenkins jenkins 43063 Mar 21 13:16 coverage.out 13:17:24 -rw-rw-r-- 1 jenkins jenkins 6985 Mar 21 13:10 go.mod 13:17:24 -rw-rw-r-- 1 jenkins jenkins 101177 Mar 21 13:10 go.sum 13:17:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:10 internal 13:17:24 -rw-rw-r-- 1 jenkins jenkins 235 Mar 21 13:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:25 + 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=49f2c786d2e1c3183c72c91a175eb4976d923778 --label arch=arm64 --label version=3.2.0-dev.10 . 13:17:25 Sending build context to Docker daemon 16.11MB 13:17:25 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 13:17:25 Step 2/26 : FROM ${BASE} AS builder 13:17:25 ---> b638d957f51b 13:17:25 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:17:25 ---> Running in 000615ac77c6 13:17:26 Removing intermediate container 000615ac77c6 13:17:26 ---> 9180fbff1a49 13:17:26 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 13:17:26 ---> Running in d57136cc4fb0 13:17:26 Removing intermediate container d57136cc4fb0 13:17:26 ---> 2b5ebafa558a 13:17:26 Step 5/26 : ARG ADD_BUILD_TAGS="" 13:17:26 ---> Running in fc2e9478ccac 13:17:27 Removing intermediate container fc2e9478ccac 13:17:27 ---> 8ce5a13239a0 13:17:27 Step 6/26 : WORKDIR /device-virtual-go 13:17:27 ---> Running in b7fc0dea1cc6 13:17:27 Removing intermediate container b7fc0dea1cc6 13:17:27 ---> 11f92bf50867 13:17:27 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:17:27 ---> Running in 275ec63a71f7 13:17:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:17:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:17:30 OK: 271 MiB in 56 packages 13:17:31 Removing intermediate container 275ec63a71f7 13:17:31 ---> 12856e08d91f 13:17:31 Step 8/26 : COPY go.mod vendor* ./ 13:17:31 ---> fb21079a380a 13:17:31 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:31 ---> Running in 5d0211d22ab5 13:17:34 Removing intermediate container 5d0211d22ab5 13:17:34 ---> f779322ca2a3 13:17:34 Step 10/26 : COPY . . 13:17:35 ---> 7dc76edeacba 13:17:35 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:17:35 ---> Running in 41c16ad3403a 13:17:35 Removing intermediate container 41c16ad3403a 13:17:35 ---> effd964683e5 13:17:35 Step 12/26 : RUN $MAKE 13:17:35 ---> Running in 2c61182d78f0 13:17:36 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.10 -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:20:29 Removing intermediate container 2c61182d78f0 13:20:29 ---> 02a720dd9abf 13:20:29 Step 13/26 : FROM alpine:3.18 13:20:29 3.18: Pulling from library/alpine 13:20:29 c6b39de5b339: Pulling fs layer 13:20:29 c6b39de5b339: Verifying Checksum 13:20:29 c6b39de5b339: Download complete 13:20:29 c6b39de5b339: Pull complete 13:20:29 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:20:29 Status: Downloaded newer image for alpine:3.18 13:20:29 ---> 33abbf032149 13:20:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 13:20:29 ---> Running in 26bb4a9a2054 13:20:29 Removing intermediate container 26bb4a9a2054 13:20:29 ---> dd466b58b8f0 13:20:29 Step 15/26 : RUN apk add --update --no-cache dumb-init 13:20:29 ---> Running in 6d41f6074daf 13:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:20:29 (1/1) Installing dumb-init (1.2.5-r2) 13:20:29 Executing busybox-1.36.1-r5.trigger 13:20:29 OK: 8 MiB in 16 packages 13:20:29 Removing intermediate container 6d41f6074daf 13:20:29 ---> 899a30b3ebe9 13:20:29 Step 16/26 : RUN apk --no-cache upgrade 13:20:29 ---> Running in f083df8e355d 13:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:20:29 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:20:29 OK: 8 MiB in 16 packages 13:20:29 Removing intermediate container f083df8e355d 13:20:29 ---> 0d49e7a29d6e 13:20:29 Step 17/26 : WORKDIR / 13:20:29 ---> Running in 778c62a864a8 13:20:29 Removing intermediate container 778c62a864a8 13:20:29 ---> 51b057992225 13:20:29 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 13:20:29 ---> 61fd1ec89b7b 13:20:29 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 13:20:29 ---> abacad7705d8 13:20:29 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 13:20:30 ---> e5659d70c3fd 13:20:30 Step 21/26 : EXPOSE 59900 13:20:30 ---> Running in 0029ccf1cbf6 13:20:30 Removing intermediate container 0029ccf1cbf6 13:20:30 ---> d3de1d1f4f9d 13:20:30 Step 22/26 : ENTRYPOINT ["/device-virtual"] 13:20:31 ---> Running in 4dbc61ab80f8 13:20:31 Removing intermediate container 4dbc61ab80f8 13:20:31 ---> ad4d9dd1e308 13:20:31 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 13:20:31 ---> Running in 72ebb1e33440 13:20:31 Removing intermediate container 72ebb1e33440 13:20:31 ---> 1af8a5b0a395 13:20:31 Step 24/26 : LABEL arch=arm64 13:20:31 ---> Running in 1524b4219ea1 13:20:32 Removing intermediate container 1524b4219ea1 13:20:32 ---> 94debce0bda7 13:20:32 Step 25/26 : LABEL git_sha=49f2c786d2e1c3183c72c91a175eb4976d923778 13:20:32 ---> Running in a6bffd26d193 13:20:32 Removing intermediate container a6bffd26d193 13:20:32 ---> 18380971fe86 13:20:32 Step 26/26 : LABEL version=3.2.0-dev.10 13:20:32 ---> Running in 7a5f819ada6c 13:20:32 Removing intermediate container 7a5f819ada6c 13:20:32 ---> 4a60a75a4f46 13:20:32 [Warning] One or more build-args [ARCH] were not consumed 13:20:32 Successfully built 4a60a75a4f46 13:20:32 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:20:32 provisioning config files... 13:20:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/166@tmp/config16132158384059777615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:20:33 ---> ****-login.sh 13:20:33 nexus3.edgexfoundry.org:10001 13:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 nexus3.edgexfoundry.org:10002 13:20:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:33 Configure a credential helper to remove this warning. See 13:20:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:33 13:20:33 Login Succeeded 13:20:33 nexus3.edgexfoundry.org:10003 13:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:34 Configure a credential helper to remove this warning. See 13:20:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:34 13:20:34 Login Succeeded 13:20:34 nexus3.edgexfoundry.org:10004 13:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:34 Configure a credential helper to remove this warning. See 13:20:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:34 13:20:34 Login Succeeded 13:20:34 ****.io 13:20:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:20:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:20:35 Configure a credential helper to remove this warning. See 13:20:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:20:35 13:20:35 Login Succeeded 13:20:35 ---> ****-login.sh ends [Pipeline] } 13:20:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:20:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:20:35 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 13:20:35 49f2c786d2e1c3183c72c91a175eb4976d923778 13:20:35 latest 13:20:35 3.2.0-dev.10 13:20:35 49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10 13:20:35 main 13:20:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:35 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:49f2c786d2e1c3183c72c91a175eb4976d923778 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:49f2c786d2e1c3183c72c91a175eb4976d923778 13:20:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:20:36 092ead3a38ba: Preparing 13:20:36 90cd4df2888f: Preparing 13:20:36 1bc036f8ffe6: Preparing 13:20:36 b60b86390c93: Preparing 13:20:36 0e0d3940bacd: Preparing 13:20:36 7c504f21be85: Preparing 13:20:36 7c504f21be85: Waiting 13:20:36 1bc036f8ffe6: Pushed 13:20:36 90cd4df2888f: Pushed 13:20:36 7c504f21be85: Layer already exists 13:20:36 b60b86390c93: Pushed 13:20:36 0e0d3940bacd: Pushed 13:20:42 092ead3a38ba: Pushed 13:20:42 49f2c786d2e1c3183c72c91a175eb4976d923778: digest: sha256:24960bcc34247003ec6b57a5bfb3265cec650d25718555673aded4a60df45248 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:20:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:20:43 092ead3a38ba: Preparing 13:20:43 90cd4df2888f: Preparing 13:20:43 1bc036f8ffe6: Preparing 13:20:43 b60b86390c93: Preparing 13:20:43 0e0d3940bacd: Preparing 13:20:43 7c504f21be85: Preparing 13:20:43 7c504f21be85: Waiting 13:20:43 0e0d3940bacd: Layer already exists 13:20:43 1bc036f8ffe6: Layer already exists 13:20:43 092ead3a38ba: Layer already exists 13:20:43 b60b86390c93: Layer already exists 13:20:43 90cd4df2888f: Layer already exists 13:20:43 7c504f21be85: Layer already exists 13:20:43 latest: digest: sha256:24960bcc34247003ec6b57a5bfb3265cec650d25718555673aded4a60df45248 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.10 13:20:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:20:44 092ead3a38ba: Preparing 13:20:44 90cd4df2888f: Preparing 13:20:44 1bc036f8ffe6: Preparing 13:20:44 b60b86390c93: Preparing 13:20:44 0e0d3940bacd: Preparing 13:20:44 7c504f21be85: Preparing 13:20:44 7c504f21be85: Waiting 13:20:44 092ead3a38ba: Layer already exists 13:20:44 1bc036f8ffe6: Layer already exists 13:20:44 90cd4df2888f: Layer already exists 13:20:44 0e0d3940bacd: Layer already exists 13:20:44 b60b86390c93: Layer already exists 13:20:44 7c504f21be85: Layer already exists 13:20:44 3.2.0-dev.10: digest: sha256:24960bcc34247003ec6b57a5bfb3265cec650d25718555673aded4a60df45248 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10 13:20:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:20:45 092ead3a38ba: Preparing 13:20:45 90cd4df2888f: Preparing 13:20:45 1bc036f8ffe6: Preparing 13:20:45 b60b86390c93: Preparing 13:20:45 0e0d3940bacd: Preparing 13:20:45 7c504f21be85: Preparing 13:20:45 7c504f21be85: Waiting 13:20:45 b60b86390c93: Layer already exists 13:20:45 092ead3a38ba: Layer already exists 13:20:45 0e0d3940bacd: Layer already exists 13:20:45 1bc036f8ffe6: Layer already exists 13:20:45 90cd4df2888f: Layer already exists 13:20:45 7c504f21be85: Layer already exists 13:20:45 49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10: digest: sha256:24960bcc34247003ec6b57a5bfb3265cec650d25718555673aded4a60df45248 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:46 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 13:20:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 13:20:46 092ead3a38ba: Preparing 13:20:46 90cd4df2888f: Preparing 13:20:46 1bc036f8ffe6: Preparing 13:20:46 b60b86390c93: Preparing 13:20:46 0e0d3940bacd: Preparing 13:20:46 7c504f21be85: Preparing 13:20:46 7c504f21be85: Waiting 13:20:46 1bc036f8ffe6: Layer already exists 13:20:46 b60b86390c93: Layer already exists 13:20:46 0e0d3940bacd: Layer already exists 13:20:46 90cd4df2888f: Layer already exists 13:20:46 092ead3a38ba: Layer already exists 13:20:46 7c504f21be85: Layer already exists 13:20:46 main: digest: sha256:24960bcc34247003ec6b57a5bfb3265cec650d25718555673aded4a60df45248 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:20:46 ===================================================== [Pipeline] echo 13:20:47 taggedImages: 13:20:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:49f2c786d2e1c3183c72c91a175eb4976d923778 13:20:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 13:20:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.10 13:20:47 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:49f2c786d2e1c3183c72c91a175eb4976d923778-3.2.0-dev.10 13:20:47 - 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:20:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:20:47 13:20:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:20:48 arm64: Pulling from edgex-lftools-log-publisher 13:20:48 8998bd30e6a1: Pulling fs layer 13:20:48 04944245beec: Pulling fs layer 13:20:48 699f458cf7ca: Pulling fs layer 13:20:48 765212b225bb: Pulling fs layer 13:20:48 f23df028b6ca: Pulling fs layer 13:20:48 d65c8cfc05b1: Pulling fs layer 13:20:48 2437ff75d9bd: Pulling fs layer 13:20:48 f23df028b6ca: Waiting 13:20:48 2437ff75d9bd: Waiting 13:20:48 d65c8cfc05b1: Waiting 13:20:48 765212b225bb: Waiting 13:20:48 04944245beec: Verifying Checksum 13:20:48 04944245beec: Download complete 13:20:48 765212b225bb: Verifying Checksum 13:20:48 765212b225bb: Download complete 13:20:48 f23df028b6ca: Download complete 13:20:48 d65c8cfc05b1: Verifying Checksum 13:20:48 d65c8cfc05b1: Download complete 13:20:48 699f458cf7ca: Verifying Checksum 13:20:48 699f458cf7ca: Download complete 13:20:48 8998bd30e6a1: Verifying Checksum 13:20:48 8998bd30e6a1: Download complete 13:20:51 2437ff75d9bd: Verifying Checksum 13:20:53 8998bd30e6a1: Pull complete 13:20:53 04944245beec: Pull complete 13:20:55 699f458cf7ca: Pull complete 13:20:55 765212b225bb: Pull complete 13:20:56 f23df028b6ca: Pull complete 13:20:57 d65c8cfc05b1: Pull complete 13:21:15 2437ff75d9bd: Pull complete 13:21:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:21:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:21:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:15 prd-ubuntu20.04-docker-arm64-4c-16g-568 does not seem to be running inside a container 13:21: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/166 -v /w/workspace/device-virtual-go/166:/w/workspace/device-virtual-go/166:rw,z -v /w/workspace/device-virtual-go/166@tmp:/w/workspace/device-virtual-go/166@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:21:18 $ docker top cf75ff90bf87baa4f1d98cfb0d91cab93086289c45232effc98e84b24b296e93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:19 ---> job-cost.sh 13:21:19 lf-activate-venv: SKIPPING 13:21:19 INFO: No Stack... 13:21:19 INFO: Retrieving Pricing Info for: v3-standard-4 13:21:20 INFO: Archiving Costs [Pipeline] sh 13:21:20 + cat /w/workspace/device-virtual-go/166/archives/cost.csv 13:21:20 + cut -d, -f6 [Pipeline] lock 13:21:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-166-stack-cost] 13:21:21 Resource [jenkins-edgexfoundry-device-virtual-go-main-166-stack-cost] did not exist. Created. 13:21:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-166-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:21:21 /w/workspace/device-virtual-go/166@tmp/durable-ead329fb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:21:22 + echo total: 0.10999999940395355 [Pipeline] stash 13:21:22 Warning: overwriting stash ‘stack-cost’ 13:21:22 Stashed 1 file(s) [Pipeline] } 13:21:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-166-stack-cost] [Pipeline] // lock [Pipeline] } 13:21:22 $ docker stop --time=1 cf75ff90bf87baa4f1d98cfb0d91cab93086289c45232effc98e84b24b296e93 13:21:23 $ docker rm -f --volumes cf75ff90bf87baa4f1d98cfb0d91cab93086289c45232effc98e84b24b296e93 [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:21:24 provisioning config files... 13:21:24 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3455432252078622283tmp [Pipeline] { [Pipeline] sh 13:21:24 + set +x 13:21:24 + curl -s https://codecov.io/bash 13:21:24 + bash -s -- 13:21:24 13:21:24 _____ _ 13:21:24 / ____| | | 13:21:24 | | ___ __| | ___ ___ _____ __ 13:21:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:21:24 | |___| (_) | (_| | __/ (_| (_) \ V / 13:21:24 \_____\___/ \__,_|\___|\___\___/ \_/ 13:21:24 Bash-1.0.6 13:21:24 13:21:24 13:21:24 ==> git version 2.25.1 found 13:21: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:21:24 Release-Date: 2020-01-08 13:21: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:21:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:21:24 ==> Jenkins CI detected. 13:21:24 current dir:  /w/workspace/exfoundry_device-virtual-go_main 13:21:24 project root: . 13:21:24 --> token set from env 13:21:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:21:24 ==> Running gcov in . (disable via -X gcov) 13:21:24 ==> Python coveragepy not found 13:21:24 ==> Searching for coverage reports in: 13:21:24 + . 13:21:24 -> Found 1 reports 13:21:25 ==> Detecting git/mercurial file structure 13:21:25 ==> Reading reports 13:21:25 + ./coverage.out bytes=43063 13:21:25 ==> Appending adjustments 13:21:25 https://docs.codecov.io/docs/fixing-reports 13:21:25 + Found adjustments 13:21:25 ==> Gzipping contents 13:21:25 8.0K /tmp/codecov.Bhk37d.gz 13:21:25 ==> Uploading reports 13:21:25 url: https://codecov.io 13:21:25 query: branch=main&commit=49f2c786d2e1c3183c72c91a175eb4976d923778&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:21:25 -> Pinging Codecov 13:21:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=49f2c786d2e1c3183c72c91a175eb4976d923778&build=166&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F166%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:21:25 -> Uploading to 13:21:25 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/5E52B4B073DB2E39498172D8E973AA87/49f2c786d2e1c3183c72c91a175eb4976d923778/57e2b0dd-e539-41de-9f75-10e780646028.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T132125Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df5b506ef320d72e2f488ce01971961ecf76739aa823289517cb47f4bc91d8ba 13:21:25 % Total % Received % Xferd Average Speed Time Time Time Current 13:21:25 Dload Upload Total Spent Left Speed 13:21:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19677 --:--:-- --:--:-- --:--:-- 19677 13:21:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/49f2c786d2e1c3183c72c91a175eb4976d923778 [Pipeline] } 13:21:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:21:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:21:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:21:26 13:21:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:21:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:21:26 df9b9388f04a: Pulling fs layer 13:21:26 52dc419b0ee2: Pulling fs layer 13:21:26 25bc292e5bac: Pulling fs layer 13:21:26 114826534d7a: Pulling fs layer 13:21:26 4657fd5d0bcf: Pulling fs layer 13:21:26 6ad1cebc031e: Pulling fs layer 13:21:26 8a3aa393b2d8: Pulling fs layer 13:21:26 114826534d7a: Waiting 13:21:26 6ad1cebc031e: Waiting 13:21:26 8a3aa393b2d8: Waiting 13:21:26 4657fd5d0bcf: Waiting 13:21:26 25bc292e5bac: Verifying Checksum 13:21:26 25bc292e5bac: Download complete 13:21:26 52dc419b0ee2: Verifying Checksum 13:21:26 52dc419b0ee2: Download complete 13:21:26 4657fd5d0bcf: Download complete 13:21:26 df9b9388f04a: Verifying Checksum 13:21:26 df9b9388f04a: Download complete 13:21:26 6ad1cebc031e: Verifying Checksum 13:21:26 6ad1cebc031e: Download complete 13:21:26 df9b9388f04a: Pull complete 13:21:26 52dc419b0ee2: Pull complete 13:21:26 25bc292e5bac: Pull complete 13:21:27 114826534d7a: Verifying Checksum 13:21:27 114826534d7a: Download complete 13:21:27 8a3aa393b2d8: Verifying Checksum 13:21:27 8a3aa393b2d8: Download complete 13:21:30 114826534d7a: Pull complete 13:21:30 4657fd5d0bcf: Pull complete 13:21:31 6ad1cebc031e: Pull complete 13:21:33 8a3aa393b2d8: Pull complete 13:21:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 13:21:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:21:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:34 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:21: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 13:21:41 $ docker top 862207bd0d4f089195edbeba0b04173811a06aa0f9e5b9ff658708ce5bacbc40 -eo pid,comm [Pipeline] { [Pipeline] echo 13:21:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 13:21:41 + set -o pipefail 13:21:41 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 13:21:51 13:21:51 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 13:21:51 13:21:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/33ea9a67-55a7-4283-b75f-c23850c11738 13:21:51 13:21:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:21:51 13:21:51 13:21:51 A medium severity vulnerability was found in the Snyk CLI versions you are using. 13:21:51 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 13:21:51 More details here: https://snyk.co/ue1NS [Pipeline] } 13:21:51 $ docker stop --time=1 862207bd0d4f089195edbeba0b04173811a06aa0f9e5b9ff658708ce5bacbc40 13:21:57 $ docker rm -f --volumes 862207bd0d4f089195edbeba0b04173811a06aa0f9e5b9ff658708ce5bacbc40 [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:21:58 + git log --format=format:%s -1 49f2c786d2e1c3183c72c91a175eb4976d923778 [Pipeline] sh 13:21:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:21:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:21:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:59 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:21:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:21:59 $ docker top 309396da57efe2d9a4bb6b37989ec84aa22a69acf4109944d6664a266fae864e -eo pid,comm 13:21:59 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:21:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:21:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:21:59 [ssh-agent] Looking for ssh-agent implementation... 13:22:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:00 $ docker exec 309396da57efe2d9a4bb6b37989ec84aa22a69acf4109944d6664a266fae864e ssh-agent 13:22:02 SSH_AUTH_SOCK=/tmp/ssh-l4yt3bEv5Glq/agent.33 13:22:02 SSH_AGENT_PID=39 13:22:02 Running ssh-add (command line suppressed) 13:22:02 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10164978796327500022.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10164978796327500022.key) 13:22:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:07 + git semver tag 13:22:07 2024-03-21 13:22:06,994 [run_tag] DEBUG tag force:False 13:22:07 2024-03-21 13:22:06,994 [check_head_tag] DEBUG check head tag 13:22:07 2024-03-21 13:22:06,995 [execute] INFO git cat-file --batch-check 13:22:07 2024-03-21 13:22:06,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:22:07 2024-03-21 13:22:06,998 [execute] INFO git cat-file --batch 13:22:07 2024-03-21 13:22:06,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 13:22:07 2024-03-21 13:22:07,020 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:22:07 2024-03-21 13:22:07,021 [execute] INFO git tag -a v3.2.0-dev.10 -m v3.2.0-dev.10 13:22:07 2024-03-21 13:22:07,021 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.10', '-m', 'v3.2.0-dev.10'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 13:22:07 2024-03-21 13:22:07,026 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:22:07 3.2.0-dev.10 [Pipeline] } 13:22:07 $ docker exec --env ******** --env ******** 309396da57efe2d9a4bb6b37989ec84aa22a69acf4109944d6664a266fae864e ssh-agent -k 13:22:07 unset SSH_AUTH_SOCK; 13:22:07 unset SSH_AGENT_PID; 13:22:07 echo Agent pid 39 killed; 13:22:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:08 + git semver [Pipeline] } 13:22:08 $ docker stop --time=1 309396da57efe2d9a4bb6b37989ec84aa22a69acf4109944d6664a266fae864e 13:22:09 $ docker rm -f --volumes 309396da57efe2d9a4bb6b37989ec84aa22a69acf4109944d6664a266fae864e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:22:10 13:22:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:22:10 0.23.1-centos7: Pulling from edgex-lftools 13:22:10 ab5ef0e58194: Pulling fs layer 13:22:10 9712f1f96733: Pulling fs layer 13:22:10 63f879dbbcfc: Pulling fs layer 13:22:10 0d9ebad4ef96: Pulling fs layer 13:22:10 e9a5061849ea: Pulling fs layer 13:22:10 d747dcd14b5f: Pulling fs layer 13:22:10 0d9ebad4ef96: Waiting 13:22:10 2de7ff778b66: Pulling fs layer 13:22:10 d747dcd14b5f: Waiting 13:22:10 2de7ff778b66: Waiting 13:22:10 9712f1f96733: Verifying Checksum 13:22:10 9712f1f96733: Download complete 13:22:10 63f879dbbcfc: Verifying Checksum 13:22:10 63f879dbbcfc: Download complete 13:22:10 e9a5061849ea: Verifying Checksum 13:22:10 e9a5061849ea: Download complete 13:22:10 d747dcd14b5f: Download complete 13:22:11 ab5ef0e58194: Verifying Checksum 13:22:11 ab5ef0e58194: Download complete 13:22:11 0d9ebad4ef96: Verifying Checksum 13:22:11 0d9ebad4ef96: Download complete 13:22:11 2de7ff778b66: Verifying Checksum 13:22:11 2de7ff778b66: Download complete 13:22:13 ab5ef0e58194: Pull complete 13:22:13 9712f1f96733: Pull complete 13:22:14 63f879dbbcfc: Pull complete 13:22:18 0d9ebad4ef96: Pull complete 13:22:18 e9a5061849ea: Pull complete 13:22:18 d747dcd14b5f: Pull complete 13:22:18 2de7ff778b66: Pull complete 13:22:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:22:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:19 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:22:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:22:27 $ docker top 3db40f7ba08dc12b0fcbe46555901a7a86e7caf990be093c5b2fd51ca1458d6f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:22:27 provisioning config files... 13:22:27 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17663695620469143982tmp 13:22:27 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9761180962378141732tmp 13:22:27 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16177590937905410589tmp [Pipeline] { [Pipeline] echo 13:22:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:22:27 ---> sigul-configuration.sh 13:22:27 gpg: directory `/root/.gnupg' created 13:22:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:22:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:22:27 gpg: keyring `/root/.gnupg/secring.gpg' created 13:22:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:22:27 gpg: CAST5 encrypted data 13:22:27 gpg: encrypted with 1 passphrase 13:22:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:22:28 + mkdir /home/jenkins 13:22:28 + mkdir /home/jenkins/sigul [Pipeline] sh 13:22:28 + 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:22:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:22:28 ---> sigul-install.sh 13:22:28 Sigul already installed; skipping installation. [Pipeline] sh 13:22:28 + git tag --list 13:22:28 v1.0.0 13:22:28 v1.1.0 13:22:28 v1.1.1 13:22:28 v1.2.1 13:22:28 v1.2.2 13:22:28 v1.2.3 13:22:28 v1.3.0 13:22:28 v1.3.1 13:22:28 v2.0.0 13:22:28 v2.1.0 13:22:28 v2.1.1 13:22:28 v2.2.0 13:22:28 v2.3.0 13:22:28 v3.0 13:22:28 v3.0.0 13:22:28 v3.1 13:22:28 v3.1.0 13:22:28 v3.1.0-dev.1 13:22:28 v3.1.0-dev.10 13:22:28 v3.1.0-dev.11 13:22:28 v3.1.0-dev.12 13:22:28 v3.1.0-dev.13 13:22:28 v3.1.0-dev.14 13:22:28 v3.1.0-dev.15 13:22:28 v3.1.0-dev.16 13:22:28 v3.1.0-dev.17 13:22:28 v3.1.0-dev.18 13:22:28 v3.1.0-dev.19 13:22:28 v3.1.0-dev.2 13:22:28 v3.1.0-dev.20 13:22:28 v3.1.0-dev.21 13:22:28 v3.1.0-dev.22 13:22:28 v3.1.0-dev.23 13:22:28 v3.1.0-dev.24 13:22:28 v3.1.0-dev.25 13:22:28 v3.1.0-dev.26 13:22:28 v3.1.0-dev.27 13:22:28 v3.1.0-dev.28 13:22:28 v3.1.0-dev.29 13:22:28 v3.1.0-dev.3 13:22:28 v3.1.0-dev.30 13:22:28 v3.1.0-dev.4 13:22:28 v3.1.0-dev.5 13:22:28 v3.1.0-dev.6 13:22:28 v3.1.0-dev.7 13:22:28 v3.1.0-dev.8 13:22:28 v3.1.0-dev.9 13:22:28 v3.2.0-dev.1 13:22:28 v3.2.0-dev.10 13:22:28 v3.2.0-dev.2 13:22:28 v3.2.0-dev.3 13:22:28 v3.2.0-dev.4 13:22:28 v3.2.0-dev.5 13:22:28 v3.2.0-dev.6 13:22:28 v3.2.0-dev.7 13:22:28 v3.2.0-dev.8 13:22:28 v3.2.0-dev.9 [Pipeline] sh 13:22:29 + lftools sign git-tag v3.2.0-dev.10 13:22:29 Signing Git tag with Sigul... 13:22:29 Signing v3.2.0-dev.10 [Pipeline] echo 13:22:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:22:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:22:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:22:30 $ docker stop --time=1 3db40f7ba08dc12b0fcbe46555901a7a86e7caf990be093c5b2fd51ca1458d6f 13:22:31 $ docker rm -f --volumes 3db40f7ba08dc12b0fcbe46555901a7a86e7caf990be093c5b2fd51ca1458d6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:22:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:22:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:22:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:32 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:22:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:22:33 $ docker top 068049e1e4c29b3ed00c707d253c16fb26b49e1f9385e7b6b3d5c2552d9d0275 -eo pid,comm 13:22:33 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:22:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:22:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:33 [ssh-agent] Looking for ssh-agent implementation... 13:22:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:33 $ docker exec 068049e1e4c29b3ed00c707d253c16fb26b49e1f9385e7b6b3d5c2552d9d0275 ssh-agent 13:22:33 SSH_AUTH_SOCK=/tmp/ssh-yfM4yaqPtSNS/agent.32 13:22:33 SSH_AGENT_PID=38 13:22:33 Running ssh-add (command line suppressed) 13:22:33 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12438123239519027276.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12438123239519027276.key) 13:22:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:33 + git semver bump pre 13:22:34 2024-03-21 13:22:33,963 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:22:34 2024-03-21 13:22:33,963 [bump_version] DEBUG bumping version:3.2.0-dev.10 on axis:pre with prefix:dev 13:22:34 2024-03-21 13:22:33,963 [bump_version] DEBUG bumped version:3.2.0-dev.11 13:22:34 2024-03-21 13:22:33,963 [write_version] DEBUG write version:3.2.0-dev.11 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 13:22:34 2024-03-21 13:22:33,963 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:22:34 2024-03-21 13:22:33,963 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:22:34 2024-03-21 13:22:33,965 [execute] INFO git cat-file --batch-check 13:22:34 2024-03-21 13:22:33,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:22:34 2024-03-21 13:22:33,971 [execute] INFO git cat-file --batch 13:22:34 2024-03-21 13:22:33,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:22:34 2024-03-21 13:22:33,978 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:22:34 3.2.0-dev.11 [Pipeline] } 13:22:34 $ docker exec --env ******** --env ******** 068049e1e4c29b3ed00c707d253c16fb26b49e1f9385e7b6b3d5c2552d9d0275 ssh-agent -k 13:22:34 unset SSH_AUTH_SOCK; 13:22:34 unset SSH_AGENT_PID; 13:22:34 echo Agent pid 38 killed; 13:22:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:34 + git semver [Pipeline] } 13:22:34 $ docker stop --time=1 068049e1e4c29b3ed00c707d253c16fb26b49e1f9385e7b6b3d5c2552d9d0275 13:22:35 $ docker rm -f --volumes 068049e1e4c29b3ed00c707d253c16fb26b49e1f9385e7b6b3d5c2552d9d0275 [Pipeline] // withDockerContainer [Pipeline] sh 13:22:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:22:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:22:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:36 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:22:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:22:37 $ docker top d81fd3e31935c5be7046adf0e54555969f71984eea8046a28185ad181d832880 -eo pid,comm 13:22:37 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:22:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:22:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:37 [ssh-agent] Looking for ssh-agent implementation... 13:22:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:38 $ docker exec d81fd3e31935c5be7046adf0e54555969f71984eea8046a28185ad181d832880 ssh-agent 13:22:38 SSH_AUTH_SOCK=/tmp/ssh-wTdkM0PmE4qd/agent.33 13:22:38 SSH_AGENT_PID=39 13:22:38 Running ssh-add (command line suppressed) 13:22:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15783645993300422046.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15783645993300422046.key) 13:22:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:38 + git semver push 13:22:38 2024-03-21 13:22:38,686 [run_push] DEBUG push 13:22:38 2024-03-21 13:22:38,686 [execute] INFO git cat-file --batch-check 13:22:38 2024-03-21 13:22:38,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:22:38 2024-03-21 13:22:38,689 [execute] INFO git rev-list 51ad1a49ef2705681832c5015fe434890b2a7b20 -- 13:22:38 2024-03-21 13:22:38,689 [execute] DEBUG Popen(['git', 'rev-list', '51ad1a49ef2705681832c5015fe434890b2a7b20', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:22:38 2024-03-21 13:22:38,697 [execute] INFO git fetch -v origin 13:22:38 2024-03-21 13:22:38,697 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 13:22:39 2024-03-21 13:22:39,189 [run_push] DEBUG no remote changes detected 13:22:39 2024-03-21 13:22:39,190 [execute] INFO git push origin semver 13:22:39 2024-03-21 13:22:39,190 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:22:40 2024-03-21 13:22:39,947 [run_push] DEBUG push all version tags 13:22:40 2024-03-21 13:22:39,948 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:22:40 2024-03-21 13:22:39,948 [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:22:40 2024-03-21 13:22:40,687 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 13:22:40 3.2.0-dev.11 [Pipeline] } 13:22:40 $ docker exec --env ******** --env ******** d81fd3e31935c5be7046adf0e54555969f71984eea8046a28185ad181d832880 ssh-agent -k 13:22:40 unset SSH_AUTH_SOCK; 13:22:40 unset SSH_AGENT_PID; 13:22:40 echo Agent pid 39 killed; 13:22:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:41 + git semver [Pipeline] } 13:22:41 $ docker stop --time=1 d81fd3e31935c5be7046adf0e54555969f71984eea8046a28185ad181d832880 13:22:43 $ docker rm -f --volumes d81fd3e31935c5be7046adf0e54555969f71984eea8046a28185ad181d832880 [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:22:43 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 13:22:43 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:22:43 total 16 13:22:43 drwxr-xr-x 3 root root 4096 Mar 21 13:11 . 13:22:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 13:22 .. 13:22:43 drwxr-xr-x 2 root root 4096 Mar 21 13:11 cost 13:22:43 -rw-r--r-- 1 root root 89 Mar 21 13:11 cost.csv 13:22:43 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 13:22:43 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 13:22:43 total 16 13:22:43 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:11 . 13:22:43 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 13:22 .. 13:22:43 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 13:11 cost 13:22:43 -rw-r--r-- 1 jenkins jenkins 89 Mar 21 13:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:22:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:22:44 ---> package-listing.sh 13:22:44 ++ facter osfamily 13:22:44 ++ tr '[:upper:]' '[:lower:]' 13:22:45 + OS_FAMILY=debian 13:22:45 + workspace=/w/workspace/exfoundry_device-virtual-go_main 13:22:45 + START_PACKAGES=/tmp/packages_start.txt 13:22:45 + END_PACKAGES=/tmp/packages_end.txt 13:22:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:22:45 + PACKAGES=/tmp/packages_start.txt 13:22:45 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:22:45 + PACKAGES=/tmp/packages_end.txt 13:22:45 + case "${OS_FAMILY}" in 13:22:45 + dpkg -l 13:22:45 + grep '^ii' 13:22:45 + '[' -f /tmp/packages_start.txt ']' 13:22:45 + '[' -f /tmp/packages_end.txt ']' 13:22:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:22:45 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 13:22:45 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 13:22:45 + 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:22:45 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:22:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:22:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:45 prd-ubuntu20.04-docker-8c-8g-565 does not seem to be running inside a container 13:22:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:22:46 $ docker top 71a3c5ed8bcbe5358f664d2208db8e1182e77e014f69270963e18ccc4161bbe2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:22:46 + touch /tmp/pre-build-complete [Pipeline] sh 13:22:46 + mkdir -p /var/log/sysstat [Pipeline] sh 13:22:47 + ls /var/log/sa-host 13:22:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:22:47 provisioning config files... 13:22:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16808624735010833508tmp [Pipeline] { [Pipeline] echo 13:22:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:22:47 ---> create-netrc.sh [Pipeline] } 13:22:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:22:47 ---> python-tools-install.sh [Pipeline] echo 13:22:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:22:48 ---> sudo-logs.sh 13:22:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:22:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:22:48 ---> job-cost.sh 13:22:48 lf-activate-venv: SKIPPING 13:22:48 DEBUG: total: 0.2199999988079071 13:22:48 INFO: Retrieving Stack Cost... 13:22:48 INFO: Retrieving Pricing Info for: v3-standard-8 13:22:49 INFO: Archiving Costs [Pipeline] echo 13:22:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:22:49 ---> logs-deploy.sh 13:22:49 lf-activate-venv: SKIPPING 13:22:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/166 13:22:49 INFO: archiving workspace using pattern(s): 13:22:50 Archives upload complete. 13:22:50 INFO: archiving logs to Nexus 13:22:51 ---> uname -a: 13:22:51 Linux prd-ubuntu20-04-docker-8c-8g-565 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 13:22:51 13:22:51