Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 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-ssh365836768969700001.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-ssh16830062027522921743.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-ssh3505431689050554111.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-ssh10156465648817749114.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-ssh4130732291039700608.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 ‘prd-centos7-blackbox-4c-2g-951’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1576’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1596 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 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f (main) Commit message: "build: Update to latest 3.2.0 dev go-mods (#452)" > 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 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f # timeout=10 > git rev-list --no-walk 281ea38f110fc5f37e585dd894f432f319c759dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:46:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:46:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:46:30 ========================================================= 18:46:30 EdgeX Global Pipelines Version Info 18:46:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:46:31 ------------------- 18:46:31 stable info: 18:46:31 ------------------- 18:46:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:46:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:46:31 Message: update stable to v1.0.258 18:46:31 ------------------- 18:46:31 experimental info: 18:46:31 ------------------- 18:46:31 Commited By: **** collab-it+edgex@linuxfoundation.org 18:46:31 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:46:31 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:46:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 31c5dd2 [Pipeline] echo 18:46:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:32 provisioning config files... 18:46:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15636979908124555110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:33 ---> ****-login.sh 18:46:33 nexus3.edgexfoundry.org:10001 18:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:33 Configure a credential helper to remove this warning. See 18:46:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:33 18:46:33 Login Succeeded 18:46:33 nexus3.edgexfoundry.org:10002 18:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:33 Configure a credential helper to remove this warning. See 18:46:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:33 18:46:33 Login Succeeded 18:46:33 nexus3.edgexfoundry.org:10003 18:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:33 Configure a credential helper to remove this warning. See 18:46:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:33 18:46:33 Login Succeeded 18:46:33 nexus3.edgexfoundry.org:10004 18:46:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:34 Configure a credential helper to remove this warning. See 18:46:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:34 18:46:34 Login Succeeded 18:46:34 ****.io 18:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:34 Configure a credential helper to remove this warning. See 18:46:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:34 18:46:34 Login Succeeded 18:46:34 ---> ****-login.sh ends [Pipeline] } 18:46:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:46:34 + git rev-list -1 --merges 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f~1..31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [Pipeline] echo 18:46:34 -----------> git rev-list -1 --merges 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f~1..31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [false] [Pipeline] sh 18:46:35 + git log --format=format:%s -1 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [Pipeline] echo 18:46:35 ========================================================= 18:46:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:46:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:35 + git log --format=format:%s -1 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [Pipeline] echo 18:46:35 [semverPrep] GIT_COMMIT: 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f, Commit Message: build: Update to latest 3.2.0 dev go-mods (#452) [Pipeline] echo 18:46:35 [semverPrep] This is not a build commit. [Pipeline] sh 18:46:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:46:35 + grep -v github /etc/ssh/ssh_known_hosts 18:46:35 + [ -e /tmp/ssh_known_hosts ] 18:46:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:46:35 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:46:35 sudo tee -a /etc/ssh/ssh_known_hosts 18:46:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:36 18:46:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:36 0.1.4: Pulling from edgex-devops/py-git-semver 18:46:36 b85a868b505f: Pulling fs layer 18:46:36 e2be974225ed: Pulling fs layer 18:46:36 339a4e72a1f5: Pulling fs layer 18:46:36 988bab9f4d93: Pulling fs layer 18:46:36 1469e6f7b9e6: Pulling fs layer 18:46:36 eaf3925da568: Pulling fs layer 18:46:36 bab4dde63d76: Pulling fs layer 18:46:36 bde34c3a00c8: Pulling fs layer 18:46:36 b352a97aabf1: Pulling fs layer 18:46:36 4872d77fe225: Pulling fs layer 18:46:36 5851b861e8e6: Pulling fs layer 18:46:36 bab4dde63d76: Waiting 18:46:36 b352a97aabf1: Waiting 18:46:36 988bab9f4d93: Waiting 18:46:36 4872d77fe225: Waiting 18:46:36 bde34c3a00c8: Waiting 18:46:36 eaf3925da568: Waiting 18:46:36 e2be974225ed: Download complete 18:46:36 988bab9f4d93: Download complete 18:46:36 1469e6f7b9e6: Verifying Checksum 18:46:36 1469e6f7b9e6: Download complete 18:46:36 eaf3925da568: Verifying Checksum 18:46:36 eaf3925da568: Download complete 18:46:36 339a4e72a1f5: Verifying Checksum 18:46:36 339a4e72a1f5: Download complete 18:46:36 bde34c3a00c8: Download complete 18:46:36 b352a97aabf1: Download complete 18:46:36 4872d77fe225: Verifying Checksum 18:46:36 4872d77fe225: Download complete 18:46:36 5851b861e8e6: Download complete 18:46:36 b85a868b505f: Verifying Checksum 18:46:36 b85a868b505f: Download complete 18:46:37 bab4dde63d76: Verifying Checksum 18:46:37 bab4dde63d76: Download complete 18:46:38 b85a868b505f: Pull complete 18:46:38 e2be974225ed: Pull complete 18:46:38 339a4e72a1f5: Pull complete 18:46:38 988bab9f4d93: Pull complete 18:46:39 1469e6f7b9e6: Pull complete 18:46:39 eaf3925da568: Pull complete 18:46:41 bab4dde63d76: Pull complete 18:46:41 bde34c3a00c8: Pull complete 18:46:41 b352a97aabf1: Pull complete 18:46:41 4872d77fe225: Pull complete 18:46:41 5851b861e8e6: Pull complete 18:46:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:46:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:41 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 18:46:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:46:46 $ docker top 81bf96b4963a498aae27b468ea899ceeee9ea1a6133e67cfdd63e21e43754316 -eo pid,comm 18:46:46 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). 18:46:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:46:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:46 [ssh-agent] Looking for ssh-agent implementation... 18:46:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:46 $ docker exec 81bf96b4963a498aae27b468ea899ceeee9ea1a6133e67cfdd63e21e43754316 ssh-agent 18:46:46 SSH_AUTH_SOCK=/tmp/ssh-zlzQ8X7N7IwH/agent.32 18:46:46 SSH_AGENT_PID=38 18:46:46 Running ssh-add (command line suppressed) 18:46:46 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3634764658605858128.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3634764658605858128.key) 18:46:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:46 + git tag --points-at HEAD [Pipeline] } 18:46:46 $ docker exec --env ******** --env ******** 81bf96b4963a498aae27b468ea899ceeee9ea1a6133e67cfdd63e21e43754316 ssh-agent -k 18:46:47 unset SSH_AUTH_SOCK; 18:46:47 unset SSH_AGENT_PID; 18:46:47 echo Agent pid 38 killed; 18:46:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:46:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:47 [ssh-agent] Looking for ssh-agent implementation... 18:46:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:47 $ docker exec 81bf96b4963a498aae27b468ea899ceeee9ea1a6133e67cfdd63e21e43754316 ssh-agent 18:46:47 SSH_AUTH_SOCK=/tmp/ssh-MBkP4ra6H80c/agent.70 18:46:47 SSH_AGENT_PID=76 18:46:47 Running ssh-add (command line suppressed) 18:46:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15369988076396820381.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15369988076396820381.key) 18:46:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:47 + git semver init 18:46:48 2023-11-28 18:46:47,934 [run_init] DEBUG init version:0.0.0 force:False 18:46:48 2023-11-28 18:46:47,934 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 18:46:48 2023-11-28 18:46:47,935 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 18:46:48 2023-11-28 18:46:47,935 [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) 18:46:49 2023-11-28 18:46:49,776 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 18:46:49 2023-11-28 18:46:49,776 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 18:46:49 2023-11-28 18:46:49,776 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:46:49 2023-11-28 18:46:49,777 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 18:46:49 3.2.0-dev.1 [Pipeline] } 18:46:49 $ docker exec --env ******** --env ******** 81bf96b4963a498aae27b468ea899ceeee9ea1a6133e67cfdd63e21e43754316 ssh-agent -k 18:46:50 unset SSH_AUTH_SOCK; 18:46:50 unset SSH_AGENT_PID; 18:46:50 echo Agent pid 76 killed; 18:46:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:46:50 + git semver [Pipeline] } 18:46:50 $ docker stop --time=1 81bf96b4963a498aae27b468ea899ceeee9ea1a6133e67cfdd63e21e43754316 18:46:51 $ docker rm -f --volumes 81bf96b4963a498aae27b468ea899ceeee9ea1a6133e67cfdd63e21e43754316 [Pipeline] // withDockerContainer [Pipeline] sh 18:46:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:46:52 Stashed 1 file(s) [Pipeline] echo 18:46:52 [edgeXSemver]: initialized semver on version 3.2.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:52 provisioning config files... 18:46:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16750997065495269999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:53 ---> ****-login.sh 18:46:53 nexus3.edgexfoundry.org:10001 18:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:53 Configure a credential helper to remove this warning. See 18:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:53 18:46:53 Login Succeeded 18:46:53 nexus3.edgexfoundry.org:10002 18:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:53 Configure a credential helper to remove this warning. See 18:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:53 18:46:53 Login Succeeded 18:46:53 nexus3.edgexfoundry.org:10003 18:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:53 Configure a credential helper to remove this warning. See 18:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:53 18:46:53 Login Succeeded 18:46:53 nexus3.edgexfoundry.org:10004 18:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:53 Configure a credential helper to remove this warning. See 18:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:53 18:46:53 Login Succeeded 18:46:53 ****.io 18:46:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:53 Configure a credential helper to remove this warning. See 18:46:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:53 18:46:53 Login Succeeded 18:46:53 ---> ****-login.sh ends [Pipeline] } 18:46:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:46:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:46:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:46:53 ========================================================= 18:46:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:46:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:54 + 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 . 18:46:54 Sending build context to Docker daemon 31.53MB 18:46:54 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:46:54 Step 2/12 : FROM ${BASE} AS builder 18:46:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:46:54 7264a8db6415: Pulling fs layer 18:46:54 c4d48a809fc2: Pulling fs layer 18:46:54 4f1c88b9dad5: Pulling fs layer 18:46:54 ad3a456e5733: Pulling fs layer 18:46:54 69c7f0334f64: Pulling fs layer 18:46:54 1f1c1a5573a3: Pulling fs layer 18:46:54 ce7588e14bc9: Pulling fs layer 18:46:54 b5e4710f87ac: Pulling fs layer 18:46:54 1f1c1a5573a3: Waiting 18:46:54 ce7588e14bc9: Waiting 18:46:54 ad3a456e5733: Waiting 18:46:54 69c7f0334f64: Waiting 18:46:54 b5e4710f87ac: Waiting 18:46:54 c4d48a809fc2: Download complete 18:46:54 ad3a456e5733: Verifying Checksum 18:46:54 ad3a456e5733: Download complete 18:46:54 69c7f0334f64: Verifying Checksum 18:46:54 69c7f0334f64: Download complete 18:46:54 7264a8db6415: Verifying Checksum 18:46:54 7264a8db6415: Download complete 18:46:54 1f1c1a5573a3: Verifying Checksum 18:46:54 1f1c1a5573a3: Download complete 18:46:54 7264a8db6415: Pull complete 18:46:54 c4d48a809fc2: Pull complete 18:46:54 b5e4710f87ac: Download complete 18:46:55 4f1c88b9dad5: Verifying Checksum 18:46:55 4f1c88b9dad5: Download complete 18:46:55 ce7588e14bc9: Verifying Checksum 18:46:55 ce7588e14bc9: Download complete 18:46:57 4f1c88b9dad5: Pull complete 18:46:57 ad3a456e5733: Pull complete 18:46:58 69c7f0334f64: Pull complete 18:46:58 1f1c1a5573a3: Pull complete 18:47:00 ce7588e14bc9: Pull complete 18:47:00 b5e4710f87ac: Pull complete 18:47:00 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:47:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:47:00 ---> 88b5674ff536 18:47:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:47:06 ---> Running in 7291750593e4 18:47:06 Removing intermediate container 7291750593e4 18:47:06 ---> 6634aba212ac 18:47:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:47:06 ---> Running in 65f62af348c4 18:47:06 Removing intermediate container 65f62af348c4 18:47:06 ---> e0f11afaf242 18:47:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:47:06 ---> Running in 6c5973dfd7af 18:47:06 Removing intermediate container 6c5973dfd7af 18:47:06 ---> a47d339b51ba 18:47:06 Step 6/12 : WORKDIR /device-virtual-go 18:47:06 ---> Running in ccf23b0bab44 18:47:06 Removing intermediate container ccf23b0bab44 18:47:06 ---> 30a002880607 18:47:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:47:06 ---> Running in b99458d8ca41 18:47:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:47:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:47:07 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:47:07 (2/4) Installing libedit (20221030.3.1-r1) 18:47:07 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:47:07 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:47:07 Executing busybox-1.36.1-r5.trigger 18:47:07 OK: 268 MiB in 56 packages 18:47:07 Still waiting to schedule task 18:47:07 ‘prd-centos7-blackbox-4c-2g-951’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:47:07 ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:47:07 ‘prd-ubuntu20.04-docker-8c-8g-1603’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:47:07 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1593’ is offline 18:47:08 Removing intermediate container b99458d8ca41 18:47:08 ---> 6914a8ac904c 18:47:08 Step 8/12 : COPY go.mod vendor* ./ 18:47:08 ---> d2233dcbd808 18:47:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:47:08 ---> Running in 4da172720f31 18:47:34 Removing intermediate container 4da172720f31 18:47:34 ---> ae35dca39102 18:47:34 Step 10/12 : COPY . . 18:47:35 ---> 3c89969175bf 18:47:35 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:47:35 ---> Running in a56bbceddb5d 18:47:35 Removing intermediate container a56bbceddb5d 18:47:35 ---> e5b40c3ec418 18:47:35 Step 12/12 : RUN $MAKE 18:47:35 ---> Running in d9f7bfa16a6a 18:47:35 noop 18:47:36 Removing intermediate container d9f7bfa16a6a 18:47:36 ---> cbd0c534502e 18:47:36 Successfully built cbd0c534502e 18:47:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:36 + docker inspect -f . ci-base-image-x86_64 18:47:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:36 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 18:47:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:47:37 $ docker top e4d59c065f98d38c85a063133055f765c8d2a100a165ace4e92a4c905a98c839 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:37 + go version 18:47:37 go version go1.21.0 linux/amd64 [Pipeline] } 18:47:37 $ docker stop --time=1 e4d59c065f98d38c85a063133055f765c8d2a100a165ace4e92a4c905a98c839 18:47:38 $ docker rm -f --volumes e4d59c065f98d38c85a063133055f765c8d2a100a165ace4e92a4c905a98c839 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:39 + docker inspect -f . ci-base-image-x86_64 18:47:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:39 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 18:47:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:47:39 $ docker top 7f70552ba580e930bad3610801d272c601a429cb6885badfaffbdb632cac9ade -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:40 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 18:47:40 + make test 18:47:40 go test ./... -coverprofile=coverage.out 18:47:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:47:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:47:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 18:47:57 go vet ./... 18:48:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:48:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:48:01 ./bin/test-attribution-txt.sh [Pipeline] echo 18:48:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:48:01 $ docker stop --time=1 7f70552ba580e930bad3610801d272c601a429cb6885badfaffbdb632cac9ade 18:48:03 $ docker rm -f --volumes 7f70552ba580e930bad3610801d272c601a429cb6885badfaffbdb632cac9ade [Pipeline] // withDockerContainer [Pipeline] sh 18:48:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:48:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:48:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:48:04 + ls -al . 18:48:04 total 200 18:48:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:47 . 18:48:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:46 .. 18:48:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:47 .git 18:48:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:46 .github 18:48:04 -rw-rw-r-- 1 jenkins jenkins 272 Nov 28 18:46 .gitignore 18:48:04 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 18:46 .golangci.yml 18:48:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:46 .semver 18:48:04 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 28 18:46 Attribution.txt 18:48:04 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 28 18:46 CHANGELOG.md 18:48:04 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 28 18:46 Dockerfile 18:48:04 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:46 GOVERNANCE.md 18:48:04 -rw-rw-r-- 1 jenkins jenkins 660 Nov 28 18:46 Jenkinsfile 18:48:04 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 18:46 LICENSE 18:48:04 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 28 18:46 Makefile 18:48:04 -rw-rw-r-- 1 jenkins jenkins 623 Nov 28 18:46 OWNERS.md 18:48:04 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 28 18:46 README.md 18:48:04 -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 18:46 VERSION 18:48:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:46 bin 18:48:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:46 cmd 18:48:04 -rw-r--r-- 1 jenkins jenkins 43063 Nov 28 18:47 coverage.out 18:48:04 -rw-rw-r-- 1 jenkins jenkins 3633 Nov 28 18:46 go.mod 18:48:04 -rw-rw-r-- 1 jenkins jenkins 34480 Nov 28 18:46 go.sum 18:48:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:46 internal 18:48:04 -rw-rw-r-- 1 jenkins jenkins 235 Nov 28 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:04 + 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=31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f --label arch=amd64 --label version=3.2.0-dev.1 . 18:48:04 Sending build context to Docker daemon 31.58MB 18:48:04 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:48:04 Step 2/26 : FROM ${BASE} AS builder 18:48:04 ---> cbd0c534502e 18:48:04 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:48:05 ---> Running in c5fdf0d9234c 18:48:05 Removing intermediate container c5fdf0d9234c 18:48:05 ---> bf637c2d4635 18:48:05 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 18:48:05 ---> Running in d8772b321f86 18:48:05 Removing intermediate container d8772b321f86 18:48:05 ---> 310576092c7a 18:48:05 Step 5/26 : ARG ADD_BUILD_TAGS="" 18:48:05 ---> Running in c1d9f827ca02 18:48:05 Removing intermediate container c1d9f827ca02 18:48:05 ---> f791148d28ed 18:48:05 Step 6/26 : WORKDIR /device-virtual-go 18:48:05 ---> Running in 43e2ebac4916 18:48:05 Removing intermediate container 43e2ebac4916 18:48:05 ---> 5723ad075bb4 18:48:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:48:05 ---> Running in 33021170f668 18:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:48:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:48:06 OK: 268 MiB in 56 packages 18:48:06 Removing intermediate container 33021170f668 18:48:06 ---> 948e26824853 18:48:06 Step 8/26 : COPY go.mod vendor* ./ 18:48:06 ---> e817bb379c75 18:48:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:06 ---> Running in d440366ac53d 18:48:07 Removing intermediate container d440366ac53d 18:48:07 ---> 5b4af7c8d532 18:48:07 Step 10/26 : COPY . . 18:48:07 ---> 86be12e83a18 18:48:07 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:07 ---> Running in f1fbeece931d 18:48:07 Removing intermediate container f1fbeece931d 18:48:07 ---> 06a775c195cc 18:48:07 Step 12/26 : RUN $MAKE 18:48:07 ---> Running in 925f14f5491f 18:48:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 18:48:30 Removing intermediate container 925f14f5491f 18:48:30 ---> 4f943590febc 18:48:30 Step 13/26 : FROM alpine:3.18 18:48:30 3.18: Pulling from library/alpine 18:48:30 96526aa774ef: Pulling fs layer 18:48:30 96526aa774ef: Verifying Checksum 18:48:30 96526aa774ef: Download complete 18:48:30 96526aa774ef: Pull complete 18:48:30 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:48:30 Status: Downloaded newer image for alpine:3.18 18:48:30 ---> 8ca4688f4f35 18:48:30 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:48:30 ---> Running in 354a59644f8d 18:48:30 Removing intermediate container 354a59644f8d 18:48:30 ---> 1553a0e6c98d 18:48:30 Step 15/26 : RUN apk add --update --no-cache dumb-init 18:48:30 ---> Running in 5119d022fb06 18:48:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:48:31 (1/1) Installing dumb-init (1.2.5-r2) 18:48:31 Executing busybox-1.36.1-r2.trigger 18:48:31 OK: 7 MiB in 16 packages 18:48:31 Removing intermediate container 5119d022fb06 18:48:31 ---> 5fcb73a3bae1 18:48:31 Step 16/26 : RUN apk --no-cache upgrade 18:48:31 ---> Running in a860183bc0f5 18:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:48:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:48:32 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 18:48:32 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 18:48:32 Executing busybox-1.36.1-r5.post-upgrade 18:48:32 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 18:48:32 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 18:48:32 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 18:48:32 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 18:48:32 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 18:48:32 Executing busybox-1.36.1-r5.trigger 18:48:32 OK: 7 MiB in 16 packages 18:48:33 Removing intermediate container a860183bc0f5 18:48:33 ---> 8db89137f6f6 18:48:33 Step 17/26 : WORKDIR / 18:48:33 ---> Running in a01f230ae13b 18:48:33 Removing intermediate container a01f230ae13b 18:48:33 ---> bfc31ace7919 18:48:33 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:48:33 ---> 756472bdcdbc 18:48:33 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 18:48:33 ---> d0abaaf54580 18:48:33 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 18:48:34 ---> f6fdd380ffff 18:48:34 Step 21/26 : EXPOSE 59900 18:48:34 ---> Running in f702a7c5eb36 18:48:34 Removing intermediate container f702a7c5eb36 18:48:34 ---> 7971838aa867 18:48:34 Step 22/26 : ENTRYPOINT ["/device-virtual"] 18:48:34 ---> Running in 6b36c48efd45 18:48:34 Removing intermediate container 6b36c48efd45 18:48:34 ---> 1c8a34a23f71 18:48:34 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:48:34 ---> Running in 105d3145950e 18:48:34 Removing intermediate container 105d3145950e 18:48:34 ---> f286b2975c4f 18:48:34 Step 24/26 : LABEL arch=amd64 18:48:34 ---> Running in 21f307e74eba 18:48:34 Removing intermediate container 21f307e74eba 18:48:34 ---> 72c5f589213f 18:48:34 Step 25/26 : LABEL git_sha=31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 18:48:34 ---> Running in 4880a4fd98a2 18:48:35 Removing intermediate container 4880a4fd98a2 18:48:35 ---> 2b5eee3d6670 18:48:35 Step 26/26 : LABEL version=3.2.0-dev.1 18:48:35 ---> Running in c32660d1fe87 18:48:35 Removing intermediate container c32660d1fe87 18:48:35 ---> f8511df1d382 18:48:35 [Warning] One or more build-args [ARCH] were not consumed 18:48:35 Successfully built f8511df1d382 18:48:35 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:48:35 provisioning config files... 18:48:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8589979423929384428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:35 ---> ****-login.sh 18:48:35 nexus3.edgexfoundry.org:10001 18:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:35 Configure a credential helper to remove this warning. See 18:48:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:35 18:48:35 Login Succeeded 18:48:35 nexus3.edgexfoundry.org:10002 18:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:35 Configure a credential helper to remove this warning. See 18:48:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:35 18:48:35 Login Succeeded 18:48:35 nexus3.edgexfoundry.org:10003 18:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:36 Configure a credential helper to remove this warning. See 18:48:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:36 18:48:36 Login Succeeded 18:48:36 nexus3.edgexfoundry.org:10004 18:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:36 Configure a credential helper to remove this warning. See 18:48:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:36 18:48:36 Login Succeeded 18:48:36 ****.io 18:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:48:36 Configure a credential helper to remove this warning. See 18:48:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:48:36 18:48:36 Login Succeeded 18:48:36 ---> ****-login.sh ends [Pipeline] } 18:48:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:48:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:48:36 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 18:48:36 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 18:48:36 latest 18:48:36 3.2.0-dev.1 18:48:36 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1 18:48:36 main 18:48:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:36 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 18:48:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:48:37 4c37cc166fba: Preparing 18:48:37 54bbe597b515: Preparing 18:48:37 9da7c1c633a3: Preparing 18:48:37 1ee2f06e1f3d: Preparing 18:48:37 68c708f62f6a: Preparing 18:48:37 cc2447e1835a: Preparing 18:48:37 cc2447e1835a: Waiting 18:48:37 54bbe597b515: Pushed 18:48:37 cc2447e1835a: Layer already exists 18:48:37 68c708f62f6a: Pushed 18:48:37 9da7c1c633a3: Pushed 18:48:37 1ee2f06e1f3d: Pushed 18:48:40 4c37cc166fba: Pushed 18:48:40 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f: digest: sha256:353a2e54be32ac67f8f9a0e5964a6b9b085d323786961461bc362e216ca4f09c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:40 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 18:48:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:48:41 4c37cc166fba: Preparing 18:48:41 54bbe597b515: Preparing 18:48:41 9da7c1c633a3: Preparing 18:48:41 1ee2f06e1f3d: Preparing 18:48:41 68c708f62f6a: Preparing 18:48:41 cc2447e1835a: Preparing 18:48:41 cc2447e1835a: Waiting 18:48:41 68c708f62f6a: Layer already exists 18:48:41 4c37cc166fba: Layer already exists 18:48:41 1ee2f06e1f3d: Layer already exists 18:48:41 54bbe597b515: Layer already exists 18:48:41 9da7c1c633a3: Layer already exists 18:48:41 cc2447e1835a: Layer already exists 18:48:41 latest: digest: sha256:353a2e54be32ac67f8f9a0e5964a6b9b085d323786961461bc362e216ca4f09c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:41 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.1 18:48:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:48:42 4c37cc166fba: Preparing 18:48:42 54bbe597b515: Preparing 18:48:42 9da7c1c633a3: Preparing 18:48:42 1ee2f06e1f3d: Preparing 18:48:42 68c708f62f6a: Preparing 18:48:42 cc2447e1835a: Preparing 18:48:42 cc2447e1835a: Waiting 18:48:42 68c708f62f6a: Layer already exists 18:48:42 9da7c1c633a3: Layer already exists 18:48:42 1ee2f06e1f3d: Layer already exists 18:48:42 4c37cc166fba: Layer already exists 18:48:42 54bbe597b515: Layer already exists 18:48:42 cc2447e1835a: Layer already exists 18:48:42 3.2.0-dev.1: digest: sha256:353a2e54be32ac67f8f9a0e5964a6b9b085d323786961461bc362e216ca4f09c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1 18:48:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:48:42 4c37cc166fba: Preparing 18:48:42 54bbe597b515: Preparing 18:48:42 9da7c1c633a3: Preparing 18:48:42 1ee2f06e1f3d: Preparing 18:48:42 68c708f62f6a: Preparing 18:48:42 cc2447e1835a: Preparing 18:48:42 cc2447e1835a: Waiting 18:48:42 1ee2f06e1f3d: Layer already exists 18:48:42 68c708f62f6a: Layer already exists 18:48:42 54bbe597b515: Layer already exists 18:48:42 4c37cc166fba: Layer already exists 18:48:42 9da7c1c633a3: Layer already exists 18:48:42 cc2447e1835a: Layer already exists 18:48:42 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1: digest: sha256:353a2e54be32ac67f8f9a0e5964a6b9b085d323786961461bc362e216ca4f09c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 18:48:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 18:48:43 4c37cc166fba: Preparing 18:48:43 54bbe597b515: Preparing 18:48:43 9da7c1c633a3: Preparing 18:48:43 1ee2f06e1f3d: Preparing 18:48:43 68c708f62f6a: Preparing 18:48:43 cc2447e1835a: Preparing 18:48:43 cc2447e1835a: Waiting 18:48:43 54bbe597b515: Layer already exists 18:48:43 4c37cc166fba: Layer already exists 18:48:43 1ee2f06e1f3d: Layer already exists 18:48:43 68c708f62f6a: Layer already exists 18:48:43 9da7c1c633a3: Layer already exists 18:48:43 cc2447e1835a: Layer already exists 18:48:43 main: digest: sha256:353a2e54be32ac67f8f9a0e5964a6b9b085d323786961461bc362e216ca4f09c size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:48:43 ===================================================== [Pipeline] echo 18:48:43 taggedImages: 18:48:43 - nexus3.edgexfoundry.org:10004/device-virtual:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 18:48:43 - nexus3.edgexfoundry.org:10004/device-virtual:latest 18:48:43 - nexus3.edgexfoundry.org:10004/device-virtual:3.2.0-dev.1 18:48:43 - nexus3.edgexfoundry.org:10004/device-virtual:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1 18:48:43 - 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 18:48:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:44 18:48:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:44 latest: Pulling from edgex-lftools-log-publisher 18:48:44 5eb5b503b376: Pulling fs layer 18:48:44 5c69ac0246d0: Pulling fs layer 18:48:44 ec43610c2a17: Pulling fs layer 18:48:44 3a2ae6a8a46f: Pulling fs layer 18:48:44 33b1e0a273af: Pulling fs layer 18:48:44 5d3b04190fa2: Pulling fs layer 18:48:44 2f39f015ded8: Pulling fs layer 18:48:44 33b1e0a273af: Waiting 18:48:44 5d3b04190fa2: Waiting 18:48:44 3a2ae6a8a46f: Waiting 18:48:44 2f39f015ded8: Waiting 18:48:44 5c69ac0246d0: Download complete 18:48:44 3a2ae6a8a46f: Download complete 18:48:44 33b1e0a273af: Verifying Checksum 18:48:44 33b1e0a273af: Download complete 18:48:44 5d3b04190fa2: Download complete 18:48:44 ec43610c2a17: Verifying Checksum 18:48:44 ec43610c2a17: Download complete 18:48:45 5eb5b503b376: Verifying Checksum 18:48:45 5eb5b503b376: Download complete 18:48:45 2f39f015ded8: Download complete 18:48:46 5eb5b503b376: Pull complete 18:48:46 5c69ac0246d0: Pull complete 18:48:46 ec43610c2a17: Pull complete 18:48:46 3a2ae6a8a46f: Pull complete 18:48:47 33b1e0a273af: Pull complete 18:48:47 5d3b04190fa2: Pull complete 18:48:51 2f39f015ded8: Pull complete 18:48:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:48:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:51 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 18:48:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:48:58 $ docker top 0824908a2b4cb425087dfe92a134ed488668dc8ab51fb695b48b1880839fe7ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:58 ---> job-cost.sh 18:48:58 lf-activate-venv: SKIPPING 18:48:58 INFO: No Stack... 18:48:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:48:58 INFO: Archiving Costs [Pipeline] sh 18:48:59 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 18:48:59 + cut -d, -f6 [Pipeline] lock 18:48:59 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-157-stack-cost] 18:48:59 Resource [jenkins-edgexfoundry-device-virtual-go-main-157-stack-cost] did not exist. Created. 18:48:59 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:48:59 + echo total: 0.2199999988079071 [Pipeline] stash 18:48:59 Stashed 1 file(s) [Pipeline] } 18:48:59 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } 18:48:59 $ docker stop --time=1 0824908a2b4cb425087dfe92a134ed488668dc8ab51fb695b48b1880839fe7ad 18:49:00 $ docker rm -f --volumes 0824908a2b4cb425087dfe92a134ed488668dc8ab51fb695b48b1880839fe7ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:26:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3371 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 19:26:54 Running in /w/workspace/device-virtual-go/157 [Pipeline] { [Pipeline] checkout 19:26:59 The recommended git tool is: git 19:27:06 using credential edgex-jenkins-ssh 19:27:06 Cloning the remote Git repository 19:27:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:27:06 > git init /w/workspace/device-virtual-go/157 # timeout=10 19:27:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:27:06 > git --version # timeout=10 19:27:06 > git --version # 'git version 2.25.1' 19:27:06 using GIT_SSH to set credentials SSH Credentials for GitHub 19:27:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:27:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:27:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:27:13 Avoid second fetch 19:27:13 Checking out Revision 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f (main) 19:27:14 Commit message: "build: Update to latest 3.2.0 dev go-mods (#452)" 19:27:13 > git config core.sparsecheckout # timeout=10 19:27:13 > git checkout -f 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:27:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:27:15 % Total % Received % Xferd Average Speed Time Time Time Current 19:27:15 Dload Upload Total Spent Left Speed 19:27:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 79761 0 --:--:-- --:--:-- --:--:-- 79761 [Pipeline] sh 19:27:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:27:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:27:16 + sudo tee /etc/docker/daemon.new 19:27:16 { 19:27:16 "registry-mirrors": [ 19:27:16 "https://nexus3.edgexfoundry.org:10001" 19:27:16 ], 19:27:16 "bip": "10.250.0.254/24", 19:27:16 "hosts": [ 19:27:16 "tcp://0.0.0.0:5555", 19:27:16 "unix:///var/run/docker.sock" 19:27:16 ], 19:27:16 "mtu": 1458, 19:27:16 "selinux-enabled": true, 19:27:16 "seccomp-profile": "/etc/docker/seccomp.json" 19:27:16 } [Pipeline] sh 19:27:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:27:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:27:35 provisioning config files... 19:27:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/157@tmp/config1272782143065281213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:27:35 ---> ****-login.sh 19:27:35 nexus3.edgexfoundry.org:10001 19:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:36 Configure a credential helper to remove this warning. See 19:27:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:36 19:27:36 Login Succeeded 19:27:36 nexus3.edgexfoundry.org:10002 19:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:37 Configure a credential helper to remove this warning. See 19:27:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:37 19:27:37 Login Succeeded 19:27:37 nexus3.edgexfoundry.org:10003 19:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:37 Configure a credential helper to remove this warning. See 19:27:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:37 19:27:37 Login Succeeded 19:27:37 nexus3.edgexfoundry.org:10004 19:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:37 Configure a credential helper to remove this warning. See 19:27:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:37 19:27:37 Login Succeeded 19:27:37 ****.io 19:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:27:38 Configure a credential helper to remove this warning. See 19:27:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:27:38 19:27:38 Login Succeeded 19:27:38 ---> ****-login.sh ends [Pipeline] } 19:27:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:27:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:27:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:27:38 ========================================================= 19:27:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:27:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:39 + 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 . 19:27:39 Sending build context to Docker daemon 15.9MB 19:27:39 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:27:39 Step 2/12 : FROM ${BASE} AS builder 19:27:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:27:41 9fda8d8052c6: Pulling fs layer 19:27:41 5d54e960e981: Pulling fs layer 19:27:41 c4a7e357bf2a: Pulling fs layer 19:27:41 f0e02332f6b5: Pulling fs layer 19:27:41 872ee5b61b7b: Pulling fs layer 19:27:41 0c6a40ed1a82: Pulling fs layer 19:27:41 94ae7d8d031c: Pulling fs layer 19:27:41 872ee5b61b7b: Waiting 19:27:41 0c6a40ed1a82: Waiting 19:27:41 f0e02332f6b5: Waiting 19:27:41 94ae7d8d031c: Waiting 19:27:42 5d54e960e981: Verifying Checksum 19:27:42 5d54e960e981: Download complete 19:27:42 f0e02332f6b5: Verifying Checksum 19:27:42 f0e02332f6b5: Download complete 19:27:42 872ee5b61b7b: Download complete 19:27:42 9fda8d8052c6: Download complete 19:27:42 94ae7d8d031c: Verifying Checksum 19:27:42 94ae7d8d031c: Download complete 19:27:42 9fda8d8052c6: Pull complete 19:27:43 5d54e960e981: Pull complete 19:27:43 c4a7e357bf2a: Verifying Checksum 19:27:43 c4a7e357bf2a: Download complete 19:27:44 0c6a40ed1a82: Verifying Checksum 19:27:44 0c6a40ed1a82: Download complete 19:27:57 c4a7e357bf2a: Pull complete 19:27:57 f0e02332f6b5: Pull complete 19:27:57 872ee5b61b7b: Pull complete 19:28:03 0c6a40ed1a82: Pull complete 19:28:05 94ae7d8d031c: Pull complete 19:28:05 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 19:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:28:05 ---> 86de565de09d 19:28:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:28:05 ---> Running in 72dc49e2e686 19:28:06 Removing intermediate container 72dc49e2e686 19:28:06 ---> e596a76f5452 19:28:06 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:28:06 ---> Running in 188e1114b341 19:28:06 Removing intermediate container 188e1114b341 19:28:06 ---> d9aaa8321be8 19:28:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:28:06 ---> Running in 136de359f468 19:28:06 Removing intermediate container 136de359f468 19:28:06 ---> 3e2dd1f0feda 19:28:06 Step 6/12 : WORKDIR /device-virtual-go 19:28:06 ---> Running in 11d870d8981a 19:28:07 Removing intermediate container 11d870d8981a 19:28:07 ---> 85e0d9f5ef35 19:28:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:28:07 ---> Running in 9d9f12ac74b2 19:28:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:28:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:28:09 (1/4) Installing openssh-keygen (9.3_p2-r0) 19:28:09 (2/4) Installing libedit (20221030.3.1-r1) 19:28:09 (3/4) Installing openssh-client-common (9.3_p2-r0) 19:28:09 (4/4) Installing openssh-client-default (9.3_p2-r0) 19:28:09 Executing busybox-1.36.1-r5.trigger 19:28:09 OK: 271 MiB in 56 packages 19:28:10 Removing intermediate container 9d9f12ac74b2 19:28:10 ---> 727a3a4fdcfc 19:28:10 Step 8/12 : COPY go.mod vendor* ./ 19:28:11 ---> 0148673ddb79 19:28:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:28:11 ---> Running in af4ad2f90ef5 19:29:33 Removing intermediate container af4ad2f90ef5 19:29:33 ---> 55a7b5ca6873 19:29:33 Step 10/12 : COPY . . 19:29:33 ---> 3d77eb4bcc24 19:29:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:29:33 ---> Running in 8984f7bee8cf 19:29:33 Removing intermediate container 8984f7bee8cf 19:29:33 ---> 1b7d4e0e45eb 19:29:33 Step 12/12 : RUN $MAKE 19:29:33 ---> Running in 901edcdcfe18 19:29:33 noop 19:29:33 Removing intermediate container 901edcdcfe18 19:29:33 ---> 2f66d872e05e 19:29:33 Successfully built 2f66d872e05e 19:29:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:33 + docker inspect -f . ci-base-image-arm64 19:29:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:33 prd-ubuntu20.04-docker-arm64-4c-16g-3371 does not seem to be running inside a container 19:29:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/157 -v /w/workspace/device-virtual-go/157:/w/workspace/device-virtual-go/157:rw,z -v /w/workspace/device-virtual-go/157@tmp:/w/workspace/device-virtual-go/157@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 19:29:35 $ docker top 47944e358975230a082f72bcc2154d9b971bf6fe40ff8d3f7a0a3155a0386ab3 -eo pid,comm [Pipeline] { [Pipeline] sh 19:29:36 + go version 19:29:36 go version go1.21.0 linux/arm64 [Pipeline] } 19:29:36 $ docker stop --time=1 47944e358975230a082f72bcc2154d9b971bf6fe40ff8d3f7a0a3155a0386ab3 19:29:39 $ docker rm -f --volumes 47944e358975230a082f72bcc2154d9b971bf6fe40ff8d3f7a0a3155a0386ab3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:40 + docker inspect -f . ci-base-image-arm64 19:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:41 prd-ubuntu20.04-docker-arm64-4c-16g-3371 does not seem to be running inside a container 19:29:41 $ 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/157 -v /w/workspace/device-virtual-go/157:/w/workspace/device-virtual-go/157:rw,z -v /w/workspace/device-virtual-go/157@tmp:/w/workspace/device-virtual-go/157@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 19:29:42 $ docker top 831dbe5ca3e9ff4852425ab5b22fe29b5ebb4b514bf6fab145eb363d99fc20c3 -eo pid,comm [Pipeline] { [Pipeline] sh 19:29:43 + git config --global --add safe.directory /w/workspace/device-virtual-go/157 [Pipeline] fileExists [Pipeline] sh 19:29:43 + make test 19:29:43 go test ./... -coverprofile=coverage.out 19:29:48 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:31:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:31:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.066s coverage: 58.4% of statements 19:31:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:31:24 go vet ./... 19:31:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:31:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:31:32 ./bin/test-attribution-txt.sh [Pipeline] echo 19:31:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:31:32 $ docker stop --time=1 831dbe5ca3e9ff4852425ab5b22fe29b5ebb4b514bf6fab145eb363d99fc20c3 19:31:37 $ docker rm -f --volumes 831dbe5ca3e9ff4852425ab5b22fe29b5ebb4b514bf6fab145eb363d99fc20c3 [Pipeline] // withDockerContainer [Pipeline] sh 19:31:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:31:39 Warning: overwriting stash ‘coverage-report’ 19:31:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:31:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:31:40 + ls -al . 19:31:40 total 196 19:31:40 drwxrwxr-x 7 jenkins jenkins 4096 Nov 28 19:29 . 19:31:40 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:27 .. 19:31:40 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:27 .git 19:31:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:27 .github 19:31:40 -rw-rw-r-- 1 jenkins jenkins 272 Nov 28 19:27 .gitignore 19:31:40 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:27 .golangci.yml 19:31:40 -rw-rw-r-- 1 jenkins jenkins 9708 Nov 28 19:27 Attribution.txt 19:31:40 -rw-rw-r-- 1 jenkins jenkins 15941 Nov 28 19:27 CHANGELOG.md 19:31:40 -rw-rw-r-- 1 jenkins jenkins 1755 Nov 28 19:27 Dockerfile 19:31:40 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:27 GOVERNANCE.md 19:31:40 -rw-rw-r-- 1 jenkins jenkins 660 Nov 28 19:27 Jenkinsfile 19:31:40 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:27 LICENSE 19:31:40 -rw-rw-r-- 1 jenkins jenkins 1947 Nov 28 19:27 Makefile 19:31:40 -rw-rw-r-- 1 jenkins jenkins 623 Nov 28 19:27 OWNERS.md 19:31:40 -rw-rw-r-- 1 jenkins jenkins 4103 Nov 28 19:27 README.md 19:31:40 -rw-rw-r-- 1 jenkins jenkins 11 Nov 28 18:46 VERSION 19:31:40 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:27 bin 19:31:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:27 cmd 19:31:40 -rw-r--r-- 1 jenkins jenkins 43063 Nov 28 19:31 coverage.out 19:31:40 -rw-rw-r-- 1 jenkins jenkins 3633 Nov 28 19:27 go.mod 19:31:40 -rw-rw-r-- 1 jenkins jenkins 34480 Nov 28 19:27 go.sum 19:31:40 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:27 internal 19:31:40 -rw-rw-r-- 1 jenkins jenkins 235 Nov 28 19:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:40 + 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=31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f --label arch=arm64 --label version=3.2.0-dev.1 . 19:31:41 Sending build context to Docker daemon 15.94MB 19:31:41 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:31:41 Step 2/26 : FROM ${BASE} AS builder 19:31:41 ---> 2f66d872e05e 19:31:41 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:31:41 ---> Running in 273a53609d61 19:31:41 Removing intermediate container 273a53609d61 19:31:41 ---> d02d25ecaa47 19:31:41 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 19:31:42 ---> Running in b2b798b0970b 19:31:42 Removing intermediate container b2b798b0970b 19:31:42 ---> 6a7633e4f71d 19:31:42 Step 5/26 : ARG ADD_BUILD_TAGS="" 19:31:42 ---> Running in 3a478eafdbab 19:31:42 Removing intermediate container 3a478eafdbab 19:31:42 ---> f1fe0c207762 19:31:42 Step 6/26 : WORKDIR /device-virtual-go 19:31:42 ---> Running in 1f021baafddc 19:31:42 Removing intermediate container 1f021baafddc 19:31:42 ---> b5c25cfbf502 19:31:42 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:31:43 ---> Running in ee795c8db5e9 19:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:31:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:31:45 OK: 271 MiB in 56 packages 19:31:46 Removing intermediate container ee795c8db5e9 19:31:46 ---> 4ec46d58f0cc 19:31:46 Step 8/26 : COPY go.mod vendor* ./ 19:31:46 ---> e29237d942d5 19:31:46 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:31:46 ---> Running in e2d168be84ec 19:31:51 Removing intermediate container e2d168be84ec 19:31:51 ---> ec1f0d7e4294 19:31:51 Step 10/26 : COPY . . 19:31:52 ---> 2bbe683ded31 19:31:52 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:31:52 ---> Running in 00490fcfe9c0 19:31:52 Removing intermediate container 00490fcfe9c0 19:31:52 ---> c41857646876 19:31:52 Step 12/26 : RUN $MAKE 19:31:52 ---> Running in d957c9eee51b 19:31:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.2.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 19:33:45 Removing intermediate container d957c9eee51b 19:33:45 ---> 495e46e894e3 19:33:45 Step 13/26 : FROM alpine:3.18 19:33:45 3.18: Pulling from library/alpine 19:33:45 579b34f0a95b: Pulling fs layer 19:33:45 579b34f0a95b: Verifying Checksum 19:33:45 579b34f0a95b: Download complete 19:33:45 579b34f0a95b: Pull complete 19:33:45 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:33:45 Status: Downloaded newer image for alpine:3.18 19:33:45 ---> 3cc203321400 19:33:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:33:45 ---> Running in 48a4d9435fcb 19:33:45 Removing intermediate container 48a4d9435fcb 19:33:45 ---> 885b4f850890 19:33:45 Step 15/26 : RUN apk add --update --no-cache dumb-init 19:33:45 ---> Running in 35e5775a50f4 19:33:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:33:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:33:45 (1/1) Installing dumb-init (1.2.5-r2) 19:33:45 Executing busybox-1.36.1-r2.trigger 19:33:45 OK: 8 MiB in 16 packages 19:33:45 Removing intermediate container 35e5775a50f4 19:33:45 ---> 49faac3d0734 19:33:45 Step 16/26 : RUN apk --no-cache upgrade 19:33:45 ---> Running in 8e2e92373f15 19:33:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:33:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:33:45 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 19:33:45 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 19:33:45 Executing busybox-1.36.1-r5.post-upgrade 19:33:45 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 19:33:45 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 19:33:45 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 19:33:45 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 19:33:45 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 19:33:45 Executing busybox-1.36.1-r5.trigger 19:33:45 OK: 8 MiB in 16 packages 19:33:45 Removing intermediate container 8e2e92373f15 19:33:45 ---> c234b6bbcfec 19:33:45 Step 17/26 : WORKDIR / 19:33:45 ---> Running in 072098204dd2 19:33:45 Removing intermediate container 072098204dd2 19:33:45 ---> 77c9fcdce1af 19:33:45 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:33:45 ---> bb1357dc0a87 19:33:45 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 19:33:45 ---> 7522e18ef87d 19:33:45 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 19:33:47 ---> f5a0eded1744 19:33:47 Step 21/26 : EXPOSE 59900 19:33:47 ---> Running in a36162c1993e 19:33:47 Removing intermediate container a36162c1993e 19:33:47 ---> 95c953592094 19:33:47 Step 22/26 : ENTRYPOINT ["/device-virtual"] 19:33:47 ---> Running in 08846e7a0ba3 19:33:47 Removing intermediate container 08846e7a0ba3 19:33:47 ---> 82bf8874f8c4 19:33:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:33:47 ---> Running in 4bee93f0689e 19:33:48 Removing intermediate container 4bee93f0689e 19:33:48 ---> 2d7cd0d0feaa 19:33:48 Step 24/26 : LABEL arch=arm64 19:33:48 ---> Running in 098825792e7e 19:33:48 Removing intermediate container 098825792e7e 19:33:48 ---> bd0e544ff1af 19:33:48 Step 25/26 : LABEL git_sha=31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 19:33:48 ---> Running in 86d0397927fb 19:33:48 Removing intermediate container 86d0397927fb 19:33:48 ---> a2987e7f32c3 19:33:48 Step 26/26 : LABEL version=3.2.0-dev.1 19:33:48 ---> Running in 39b3e5473530 19:33:49 Removing intermediate container 39b3e5473530 19:33:49 ---> 6ca8b7cc5f9b 19:33:49 [Warning] One or more build-args [ARCH] were not consumed 19:33:49 Successfully built 6ca8b7cc5f9b 19:33:49 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 19:33:49 provisioning config files... 19:33:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/157@tmp/config17557988012608436913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:33:50 ---> ****-login.sh 19:33:50 nexus3.edgexfoundry.org:10001 19:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:33:50 Configure a credential helper to remove this warning. See 19:33:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:33:50 19:33:50 Login Succeeded 19:33:50 nexus3.edgexfoundry.org:10002 19:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:33:50 Configure a credential helper to remove this warning. See 19:33:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:33:50 19:33:50 Login Succeeded 19:33:50 nexus3.edgexfoundry.org:10003 19:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:33:51 Configure a credential helper to remove this warning. See 19:33:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:33:51 19:33:51 Login Succeeded 19:33:51 nexus3.edgexfoundry.org:10004 19:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:33:51 Configure a credential helper to remove this warning. See 19:33:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:33:51 19:33:51 Login Succeeded 19:33:51 ****.io 19:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:33:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:33:52 Configure a credential helper to remove this warning. See 19:33:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:33:52 19:33:52 Login Succeeded 19:33:52 ---> ****-login.sh ends [Pipeline] } 19:33:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:33:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:33:52 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 19:33:52 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 19:33:52 latest 19:33:52 3.2.0-dev.1 19:33:52 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1 19:33:52 main 19:33:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:33:52 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:33:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 19:33:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:33:53 5c99b5dcb939: Preparing 19:33:53 e3b007b94b05: Preparing 19:33:53 3f2066eac4ce: Preparing 19:33:53 547fc4765726: Preparing 19:33:53 4cadd5df5822: Preparing 19:33:53 5f4d9fc4d98d: Preparing 19:33:53 5f4d9fc4d98d: Waiting 19:33:53 4cadd5df5822: Pushed 19:33:53 3f2066eac4ce: Pushed 19:33:53 e3b007b94b05: Pushed 19:33:53 5f4d9fc4d98d: Layer already exists 19:33:54 547fc4765726: Pushed 19:33:58 5c99b5dcb939: Pushed 19:33:58 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f: digest: sha256:bb6390c19850cda620f01b1d5785c4708141946fe0a45640dbe7ca37663f67a1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:33:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:33:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 19:33:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:33:59 5c99b5dcb939: Preparing 19:33:59 e3b007b94b05: Preparing 19:33:59 3f2066eac4ce: Preparing 19:33:59 547fc4765726: Preparing 19:33:59 4cadd5df5822: Preparing 19:33:59 5f4d9fc4d98d: Preparing 19:33:59 5f4d9fc4d98d: Waiting 19:33:59 5c99b5dcb939: Layer already exists 19:33:59 4cadd5df5822: Layer already exists 19:33:59 e3b007b94b05: Layer already exists 19:33:59 547fc4765726: Layer already exists 19:33:59 3f2066eac4ce: Layer already exists 19:33:59 5f4d9fc4d98d: Layer already exists 19:34:00 latest: digest: sha256:bb6390c19850cda620f01b1d5785c4708141946fe0a45640dbe7ca37663f67a1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.1 19:34:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:34:01 5c99b5dcb939: Preparing 19:34:01 e3b007b94b05: Preparing 19:34:01 3f2066eac4ce: Preparing 19:34:01 547fc4765726: Preparing 19:34:01 4cadd5df5822: Preparing 19:34:01 5f4d9fc4d98d: Preparing 19:34:01 5f4d9fc4d98d: Waiting 19:34:01 4cadd5df5822: Layer already exists 19:34:01 3f2066eac4ce: Layer already exists 19:34:01 e3b007b94b05: Layer already exists 19:34:01 5c99b5dcb939: Layer already exists 19:34:01 547fc4765726: Layer already exists 19:34:01 5f4d9fc4d98d: Layer already exists 19:34:01 3.2.0-dev.1: digest: sha256:bb6390c19850cda620f01b1d5785c4708141946fe0a45640dbe7ca37663f67a1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:01 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:02 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1 19:34:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:34:02 5c99b5dcb939: Preparing 19:34:02 e3b007b94b05: Preparing 19:34:02 3f2066eac4ce: Preparing 19:34:02 547fc4765726: Preparing 19:34:02 4cadd5df5822: Preparing 19:34:02 5f4d9fc4d98d: Preparing 19:34:02 5f4d9fc4d98d: Waiting 19:34:02 4cadd5df5822: Layer already exists 19:34:02 e3b007b94b05: Layer already exists 19:34:02 547fc4765726: Layer already exists 19:34:02 3f2066eac4ce: Layer already exists 19:34:02 5c99b5dcb939: Layer already exists 19:34:02 5f4d9fc4d98d: Layer already exists 19:34:02 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1: digest: sha256:bb6390c19850cda620f01b1d5785c4708141946fe0a45640dbe7ca37663f67a1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:02 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:03 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 19:34:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:34:03 5c99b5dcb939: Preparing 19:34:03 e3b007b94b05: Preparing 19:34:03 3f2066eac4ce: Preparing 19:34:03 547fc4765726: Preparing 19:34:03 4cadd5df5822: Preparing 19:34:03 5f4d9fc4d98d: Preparing 19:34:03 5f4d9fc4d98d: Waiting 19:34:03 3f2066eac4ce: Layer already exists 19:34:03 e3b007b94b05: Layer already exists 19:34:03 4cadd5df5822: Layer already exists 19:34:03 547fc4765726: Layer already exists 19:34:03 5c99b5dcb939: Layer already exists 19:34:03 5f4d9fc4d98d: Layer already exists 19:34:03 main: digest: sha256:bb6390c19850cda620f01b1d5785c4708141946fe0a45640dbe7ca37663f67a1 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:34:03 ===================================================== [Pipeline] echo 19:34:03 taggedImages: 19:34:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f 19:34:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 19:34:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.2.0-dev.1 19:34:03 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f-3.2.0-dev.1 19:34:03 - 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 19:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:34:04 19:34:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:34:04 arm64: Pulling from edgex-lftools-log-publisher 19:34:04 8998bd30e6a1: Pulling fs layer 19:34:04 04944245beec: Pulling fs layer 19:34:04 699f458cf7ca: Pulling fs layer 19:34:04 765212b225bb: Pulling fs layer 19:34:04 f23df028b6ca: Pulling fs layer 19:34:04 d65c8cfc05b1: Pulling fs layer 19:34:04 2437ff75d9bd: Pulling fs layer 19:34:04 f23df028b6ca: Waiting 19:34:04 d65c8cfc05b1: Waiting 19:34:04 2437ff75d9bd: Waiting 19:34:04 765212b225bb: Waiting 19:34:04 04944245beec: Verifying Checksum 19:34:04 04944245beec: Download complete 19:34:04 765212b225bb: Verifying Checksum 19:34:04 765212b225bb: Download complete 19:34:04 f23df028b6ca: Verifying Checksum 19:34:04 f23df028b6ca: Download complete 19:34:04 d65c8cfc05b1: Download complete 19:34:05 699f458cf7ca: Verifying Checksum 19:34:05 699f458cf7ca: Download complete 19:34:05 8998bd30e6a1: Verifying Checksum 19:34:05 8998bd30e6a1: Download complete 19:34:08 2437ff75d9bd: Verifying Checksum 19:34:08 2437ff75d9bd: Download complete 19:34:10 8998bd30e6a1: Pull complete 19:34:10 04944245beec: Pull complete 19:34:12 699f458cf7ca: Pull complete 19:34:12 765212b225bb: Pull complete 19:34:13 f23df028b6ca: Pull complete 19:34:13 d65c8cfc05b1: Pull complete 19:34:28 2437ff75d9bd: Pull complete 19:34:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:34:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:34:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:34:28 prd-ubuntu20.04-docker-arm64-4c-16g-3371 does not seem to be running inside a container 19:34:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/157 -v /w/workspace/device-virtual-go/157:/w/workspace/device-virtual-go/157:rw,z -v /w/workspace/device-virtual-go/157@tmp:/w/workspace/device-virtual-go/157@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 19:34:31 $ docker top 5b86fe11be7f8b6667121e1de592cf430f636bf7678c2c458acfeb17e8a19a24 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:34:32 ---> job-cost.sh 19:34:32 lf-activate-venv: SKIPPING 19:34:32 INFO: No Stack... 19:34:32 INFO: Retrieving Pricing Info for: v3-standard-4 19:34:33 INFO: Archiving Costs [Pipeline] sh 19:34:34 + + cat /w/workspace/device-virtual-go/157/archives/cost.csvcut 19:34:34 -d, -f6 [Pipeline] lock 19:34:34 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-157-stack-cost] 19:34:34 Resource [jenkins-edgexfoundry-device-virtual-go-main-157-stack-cost] did not exist. Created. 19:34:34 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-157-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:34:34 /w/workspace/device-virtual-go/157@tmp/durable-aff5d5ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:34:35 + echo total: 0.10999999940395355 [Pipeline] stash 19:34:35 Warning: overwriting stash ‘stack-cost’ 19:34:35 Stashed 1 file(s) [Pipeline] } 19:34:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-157-stack-cost] [Pipeline] // lock [Pipeline] } 19:34:35 $ docker stop --time=1 5b86fe11be7f8b6667121e1de592cf430f636bf7678c2c458acfeb17e8a19a24 19:34:37 $ docker rm -f --volumes 5b86fe11be7f8b6667121e1de592cf430f636bf7678c2c458acfeb17e8a19a24 [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 19:34:38 provisioning config files... 19:34:38 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6857814171703895416tmp [Pipeline] { [Pipeline] sh 19:34:38 + set +x 19:34:38 + curl -s https://codecov.io/bash 19:34:38 + bash -s -- 19:34:38 19:34:38 _____ _ 19:34:38 / ____| | | 19:34:38 | | ___ __| | ___ ___ _____ __ 19:34:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:34:38 | |___| (_) | (_| | __/ (_| (_) \ V / 19:34:38 \_____\___/ \__,_|\___|\___\___/ \_/ 19:34:38 Bash-1.0.6 19:34:38 19:34:38 19:34:38 ==> git version 2.25.1 found 19:34:38 ==> 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 19:34:38 Release-Date: 2020-01-08 19:34:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:34:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:34:38 ==> Jenkins CI detected. 19:34:38 current dir:  /w/workspace/exfoundry_device-virtual-go_main 19:34:38 project root: . 19:34:38 --> token set from env 19:34:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:34:38 ==> Running gcov in . (disable via -X gcov) 19:34:38 ==> Python coveragepy not found 19:34:38 ==> Searching for coverage reports in: 19:34:38 + . 19:34:38 -> Found 1 reports 19:34:38 ==> Detecting git/mercurial file structure 19:34:38 ==> Reading reports 19:34:38 + ./coverage.out bytes=43063 19:34:39 ==> Appending adjustments 19:34:39 https://docs.codecov.io/docs/fixing-reports 19:34:39 + Found adjustments 19:34:39 ==> Gzipping contents 19:34:39 8.0K /tmp/codecov.JEYetj.gz 19:34:39 ==> Uploading reports 19:34:39 url: https://codecov.io 19:34:39 query: branch=main&commit=31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:34:39 -> Pinging Codecov 19:34:39 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f&build=157&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F157%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:34:45 -> Uploading to 19:34:45 https://storage.googleapis.com/codecov/v4/raw/2023-11-28/5E52B4B073DB2E39498172D8E973AA87/31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f/5b5c3cee-1a11-444e-aad3-d456e609764a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T193445Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c0a33ff6186816dabffdb5521fc2e0973079c3bd4763630ea3d388b2574d18a 19:34:45 % Total % Received % Xferd Average Speed Time Time Time Current 19:34:45 Dload Upload Total Spent Left Speed 19:34:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 18860 --:--:-- --:--:-- --:--:-- 18860 19:34:46 -> Reports have been successfully queued for processing at upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failurehttps://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [Pipeline] } 19:34:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:34:46 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:34:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:34:47 19:34:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:34:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:34:47 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:34:47 df9b9388f04a: Pulling fs layer 19:34:47 52dc419b0ee2: Pulling fs layer 19:34:47 25bc292e5bac: Pulling fs layer 19:34:47 114826534d7a: Pulling fs layer 19:34:47 4657fd5d0bcf: Pulling fs layer 19:34:47 6ad1cebc031e: Pulling fs layer 19:34:47 4657fd5d0bcf: Waiting 19:34:47 114826534d7a: Waiting 19:34:47 6ad1cebc031e: Waiting 19:34:47 8a3aa393b2d8: Pulling fs layer 19:34:47 8a3aa393b2d8: Waiting 19:34:47 25bc292e5bac: Verifying Checksum 19:34:47 25bc292e5bac: Download complete 19:34:47 52dc419b0ee2: Verifying Checksum 19:34:47 52dc419b0ee2: Download complete 19:34:47 4657fd5d0bcf: Download complete 19:34:47 df9b9388f04a: Verifying Checksum 19:34:47 df9b9388f04a: Download complete 19:34:47 df9b9388f04a: Pull complete 19:34:47 52dc419b0ee2: Pull complete 19:34:47 6ad1cebc031e: Verifying Checksum 19:34:47 6ad1cebc031e: Download complete 19:34:47 25bc292e5bac: Pull complete 19:34:48 114826534d7a: Verifying Checksum 19:34:48 114826534d7a: Download complete 19:34:48 8a3aa393b2d8: Verifying Checksum 19:34:48 8a3aa393b2d8: Download complete 19:34:51 114826534d7a: Pull complete 19:34:51 4657fd5d0bcf: Pull complete 19:34:51 6ad1cebc031e: Pull complete 19:34:54 8a3aa393b2d8: Pull complete 19:34:54 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:34:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:34:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:34:54 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 19:34:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:34:56 $ docker top e568dcfc6cabffa9b8b310f512bd40935bf63b721a0f54276da64b7eb93c88c6 -eo pid,comm [Pipeline] { [Pipeline] echo 19:34:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 19:34:56 + set -o pipefail 19:34:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 19:35:03 19:35:03 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 19:35:03 19:35:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/bfa9cefc-77ef-4fb1-9c02-9b98d7559098 19:35:03 19:35:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:35:03 19:35:03 19:35:03 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:35:03 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:35:03 More details here: https://snyk.co/ue1NS 19:35:03 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 19:35:03 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 19:35:03 $ docker stop --time=1 e568dcfc6cabffa9b8b310f512bd40935bf63b721a0f54276da64b7eb93c88c6 19:35:05 $ docker rm -f --volumes e568dcfc6cabffa9b8b310f512bd40935bf63b721a0f54276da64b7eb93c88c6 [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 19:35:06 + git log --format=format:%s -1 31c5dd2e22e07ebe370c8d3a738abbd8b629bb8f [Pipeline] sh 19:35:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:35:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:35:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:35:07 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 19:35:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:35:08 $ docker top 22d67b0f36134a9d193b87bacd5dd62c7c3e65b350713ef163f9cae77805b2fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:35:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:35:08 [ssh-agent] Looking for ssh-agent implementation... 19:35:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:35:08 $ docker exec 22d67b0f36134a9d193b87bacd5dd62c7c3e65b350713ef163f9cae77805b2fc ssh-agent 19:35:08 SSH_AUTH_SOCK=/tmp/ssh-IwxbJ4wfKxrQ/agent.31 19:35:08 SSH_AGENT_PID=37 19:35:08 Running ssh-add (command line suppressed) 19:35:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11660812492079796016.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11660812492079796016.key) 19:35:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:35:09 + git semver tag 19:35:09 2023-11-28 19:35:09,205 [run_tag] DEBUG tag force:False 19:35:09 2023-11-28 19:35:09,205 [check_head_tag] DEBUG check head tag 19:35:09 2023-11-28 19:35:09,206 [execute] INFO git cat-file --batch-check 19:35:09 2023-11-28 19:35:09,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 19:35:09 2023-11-28 19:35:09,210 [execute] INFO git cat-file --batch 19:35:09 2023-11-28 19:35:09,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 19:35:09 2023-11-28 19:35:09,227 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:35:09 2023-11-28 19:35:09,227 [execute] INFO git tag -a v3.2.0-dev.1 -m v3.2.0-dev.1 19:35:09 2023-11-28 19:35:09,227 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.1', '-m', 'v3.2.0-dev.1'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 19:35:09 2023-11-28 19:35:09,232 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:35:09 3.2.0-dev.1 [Pipeline] } 19:35:09 $ docker exec --env ******** --env ******** 22d67b0f36134a9d193b87bacd5dd62c7c3e65b350713ef163f9cae77805b2fc ssh-agent -k 19:35:09 unset SSH_AUTH_SOCK; 19:35:09 unset SSH_AGENT_PID; 19:35:09 echo Agent pid 37 killed; 19:35:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:35:09 + git semver [Pipeline] } 19:35:10 $ docker stop --time=1 22d67b0f36134a9d193b87bacd5dd62c7c3e65b350713ef163f9cae77805b2fc 19:35:11 $ docker rm -f --volumes 22d67b0f36134a9d193b87bacd5dd62c7c3e65b350713ef163f9cae77805b2fc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:35:12 19:35:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:35:12 0.23.1-centos7: Pulling from edgex-lftools 19:35:12 ab5ef0e58194: Pulling fs layer 19:35:12 9712f1f96733: Pulling fs layer 19:35:12 63f879dbbcfc: Pulling fs layer 19:35:12 0d9ebad4ef96: Pulling fs layer 19:35:12 e9a5061849ea: Pulling fs layer 19:35:12 d747dcd14b5f: Pulling fs layer 19:35:12 2de7ff778b66: Pulling fs layer 19:35:12 2de7ff778b66: Waiting 19:35:12 d747dcd14b5f: Waiting 19:35:12 0d9ebad4ef96: Waiting 19:35:12 e9a5061849ea: Waiting 19:35:12 9712f1f96733: Download complete 19:35:13 63f879dbbcfc: Verifying Checksum 19:35:13 63f879dbbcfc: Download complete 19:35:13 0d9ebad4ef96: Verifying Checksum 19:35:13 0d9ebad4ef96: Download complete 19:35:13 d747dcd14b5f: Verifying Checksum 19:35:13 d747dcd14b5f: Download complete 19:35:13 e9a5061849ea: Verifying Checksum 19:35:13 e9a5061849ea: Download complete 19:35:13 ab5ef0e58194: Verifying Checksum 19:35:13 ab5ef0e58194: Download complete 19:35:13 2de7ff778b66: Download complete 19:35:15 ab5ef0e58194: Pull complete 19:35:15 9712f1f96733: Pull complete 19:35:16 63f879dbbcfc: Pull complete 19:35:20 0d9ebad4ef96: Pull complete 19:35:20 e9a5061849ea: Pull complete 19:35:20 d747dcd14b5f: Pull complete 19:35:21 2de7ff778b66: Pull complete 19:35:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:35:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:35:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:35:21 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 19:35:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:35:23 $ docker top bffc5fc219f2712f5ca989071b7121bacbd5fe834a94402c1b4ce9596dadf757 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:35:23 provisioning config files... 19:35:23 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10323651733252326682tmp 19:35:23 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14074271014750439511tmp 19:35:23 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6403765253850744815tmp [Pipeline] { [Pipeline] echo 19:35:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:35:24 ---> sigul-configuration.sh 19:35:24 gpg: directory `/root/.gnupg' created 19:35:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:35:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:35:24 gpg: keyring `/root/.gnupg/secring.gpg' created 19:35:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:35:24 gpg: CAST5 encrypted data 19:35:24 gpg: encrypted with 1 passphrase 19:35:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:35:24 + mkdir /home/jenkins 19:35:24 + mkdir /home/jenkins/sigul [Pipeline] sh 19:35:24 + 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 19:35:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:35:24 ---> sigul-install.sh 19:35:24 Sigul already installed; skipping installation. [Pipeline] sh 19:35:25 + git tag --list 19:35:25 v1.0.0 19:35:25 v1.1.0 19:35:25 v1.1.1 19:35:25 v1.2.1 19:35:25 v1.2.2 19:35:25 v1.2.3 19:35:25 v1.3.0 19:35:25 v1.3.1 19:35:25 v2.0.0 19:35:25 v2.1.0 19:35:25 v2.1.1 19:35:25 v2.2.0 19:35:25 v2.3.0 19:35:25 v3.0 19:35:25 v3.0.0 19:35:25 v3.1 19:35:25 v3.1.0 19:35:25 v3.1.0-dev.1 19:35:25 v3.1.0-dev.10 19:35:25 v3.1.0-dev.11 19:35:25 v3.1.0-dev.12 19:35:25 v3.1.0-dev.13 19:35:25 v3.1.0-dev.14 19:35:25 v3.1.0-dev.15 19:35:25 v3.1.0-dev.16 19:35:25 v3.1.0-dev.17 19:35:25 v3.1.0-dev.18 19:35:25 v3.1.0-dev.19 19:35:25 v3.1.0-dev.2 19:35:25 v3.1.0-dev.20 19:35:25 v3.1.0-dev.21 19:35:25 v3.1.0-dev.22 19:35:25 v3.1.0-dev.23 19:35:25 v3.1.0-dev.24 19:35:25 v3.1.0-dev.25 19:35:25 v3.1.0-dev.26 19:35:25 v3.1.0-dev.27 19:35:25 v3.1.0-dev.28 19:35:25 v3.1.0-dev.29 19:35:25 v3.1.0-dev.3 19:35:25 v3.1.0-dev.30 19:35:25 v3.1.0-dev.4 19:35:25 v3.1.0-dev.5 19:35:25 v3.1.0-dev.6 19:35:25 v3.1.0-dev.7 19:35:25 v3.1.0-dev.8 19:35:25 v3.1.0-dev.9 19:35:25 v3.2.0-dev.1 [Pipeline] sh 19:35:25 + lftools sign git-tag v3.2.0-dev.1 19:35:26 Signing Git tag with Sigul... 19:35:26 Signing v3.2.0-dev.1 [Pipeline] echo 19:35:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:35:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:35:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:35:26 $ docker stop --time=1 bffc5fc219f2712f5ca989071b7121bacbd5fe834a94402c1b4ce9596dadf757 19:35:28 $ docker rm -f --volumes bffc5fc219f2712f5ca989071b7121bacbd5fe834a94402c1b4ce9596dadf757 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:35:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:35:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:35:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:35:29 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 19:35:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:35:29 $ docker top 60b33dc39fb16c2319dbe8eeb97ab740450423ca5128006d13fb082598f92cbb -eo pid,comm 19:35: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). 19:35:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:35:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:35:32 [ssh-agent] Looking for ssh-agent implementation... 19:35:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:35:32 $ docker exec 60b33dc39fb16c2319dbe8eeb97ab740450423ca5128006d13fb082598f92cbb ssh-agent 19:35:32 SSH_AUTH_SOCK=/tmp/ssh-y0Vy6sZzSrNc/agent.33 19:35:32 SSH_AGENT_PID=39 19:35:32 Running ssh-add (command line suppressed) 19:35:33 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5536403123827486463.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5536403123827486463.key) 19:35:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:35:33 + git semver bump pre 19:35:33 2023-11-28 19:35:33,664 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:35:33 2023-11-28 19:35:33,664 [bump_version] DEBUG bumping version:3.2.0-dev.1 on axis:pre with prefix:dev 19:35:33 2023-11-28 19:35:33,664 [bump_version] DEBUG bumped version:3.2.0-dev.2 19:35:33 2023-11-28 19:35:33,664 [write_version] DEBUG write version:3.2.0-dev.2 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 19:35:33 2023-11-28 19:35:33,664 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:35:33 2023-11-28 19:35:33,664 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:35:33 2023-11-28 19:35:33,667 [execute] INFO git cat-file --batch-check 19:35:33 2023-11-28 19:35:33,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:35:33 2023-11-28 19:35:33,672 [execute] INFO git cat-file --batch 19:35:33 2023-11-28 19:35:33,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:35:33 2023-11-28 19:35:33,676 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:35:33 3.2.0-dev.2 [Pipeline] } 19:35:33 $ docker exec --env ******** --env ******** 60b33dc39fb16c2319dbe8eeb97ab740450423ca5128006d13fb082598f92cbb ssh-agent -k 19:35:33 unset SSH_AUTH_SOCK; 19:35:33 unset SSH_AGENT_PID; 19:35:33 echo Agent pid 39 killed; 19:35:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:35:34 + git semver [Pipeline] } 19:35:34 $ docker stop --time=1 60b33dc39fb16c2319dbe8eeb97ab740450423ca5128006d13fb082598f92cbb 19:35:36 $ docker rm -f --volumes 60b33dc39fb16c2319dbe8eeb97ab740450423ca5128006d13fb082598f92cbb [Pipeline] // withDockerContainer [Pipeline] sh 19:35:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:35:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:35:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:35:37 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 19:35:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:35:37 $ docker top ee3324979d56f9f23bbd96a22145e684fd0e4ef23645ff3673fc6b3912b78dda -eo pid,comm 19:35: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). 19:35:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:35:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:35:37 [ssh-agent] Looking for ssh-agent implementation... 19:35:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:35:37 $ docker exec ee3324979d56f9f23bbd96a22145e684fd0e4ef23645ff3673fc6b3912b78dda ssh-agent 19:35:37 SSH_AUTH_SOCK=/tmp/ssh-J4r2ZoBzSd2w/agent.33 19:35:37 SSH_AGENT_PID=39 19:35:37 Running ssh-add (command line suppressed) 19:35:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9354628692927715439.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9354628692927715439.key) 19:35:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:35:38 + git semver push 19:35:38 2023-11-28 19:35:38,557 [run_push] DEBUG push 19:35:38 2023-11-28 19:35:38,557 [execute] INFO git cat-file --batch-check 19:35:38 2023-11-28 19:35:38,557 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:35:38 2023-11-28 19:35:38,560 [execute] INFO git rev-list de32f6eaee9705c2ee9cde305a3bf7b77739901f -- 19:35:38 2023-11-28 19:35:38,561 [execute] DEBUG Popen(['git', 'rev-list', 'de32f6eaee9705c2ee9cde305a3bf7b77739901f', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:35:38 2023-11-28 19:35:38,570 [execute] INFO git fetch -v origin 19:35:38 2023-11-28 19:35:38,570 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:35:39 2023-11-28 19:35:39,131 [run_push] DEBUG no remote changes detected 19:35:39 2023-11-28 19:35:39,132 [execute] INFO git push origin semver 19:35:39 2023-11-28 19:35:39,132 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:35:40 2023-11-28 19:35:40,021 [run_push] DEBUG push all version tags 19:35:40 2023-11-28 19:35:40,022 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:35:40 2023-11-28 19:35:40,022 [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) 19:35:41 2023-11-28 19:35:40,855 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:35:41 3.2.0-dev.2 [Pipeline] } 19:35:41 $ docker exec --env ******** --env ******** ee3324979d56f9f23bbd96a22145e684fd0e4ef23645ff3673fc6b3912b78dda ssh-agent -k 19:35:41 unset SSH_AUTH_SOCK; 19:35:41 unset SSH_AGENT_PID; 19:35:41 echo Agent pid 39 killed; 19:35:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:35:41 + git semver [Pipeline] } 19:35:42 $ docker stop --time=1 ee3324979d56f9f23bbd96a22145e684fd0e4ef23645ff3673fc6b3912b78dda 19:35:43 $ docker rm -f --volumes ee3324979d56f9f23bbd96a22145e684fd0e4ef23645ff3673fc6b3912b78dda [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 19:35:44 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 19:35:44 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 19:35:44 total 16 19:35:44 drwxr-xr-x 3 root root 4096 Nov 28 18:48 . 19:35:44 drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:35 .. 19:35:44 drwxr-xr-x 2 root root 4096 Nov 28 18:48 cost 19:35:44 -rw-r--r-- 1 root root 89 Nov 28 18:48 cost.csv 19:35:44 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 19:35:44 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 19:35:44 total 16 19:35:44 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:48 . 19:35:44 drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:35 .. 19:35:44 drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 18:48 cost 19:35:44 -rw-r--r-- 1 jenkins jenkins 89 Nov 28 18:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:35:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:35:45 ---> package-listing.sh 19:35:45 ++ facter osfamily 19:35:45 ++ tr '[:upper:]' '[:lower:]' 19:35:46 + OS_FAMILY=debian 19:35:46 + workspace=/w/workspace/exfoundry_device-virtual-go_main 19:35:46 + START_PACKAGES=/tmp/packages_start.txt 19:35:46 + END_PACKAGES=/tmp/packages_end.txt 19:35:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:35:46 + PACKAGES=/tmp/packages_start.txt 19:35:46 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 19:35:46 + PACKAGES=/tmp/packages_end.txt 19:35:46 + case "${OS_FAMILY}" in 19:35:46 + dpkg -l 19:35:46 + grep '^ii' 19:35:46 + '[' -f /tmp/packages_start.txt ']' 19:35:46 + '[' -f /tmp/packages_end.txt ']' 19:35:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:35:46 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 19:35:46 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 19:35:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 19:35:46 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 19:35:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:35:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:35:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:35:47 prd-ubuntu20.04-docker-8c-8g-1596 does not seem to be running inside a container 19:35:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:35:47 $ docker top 9d21488411a2b9eb2b8dbe0d498b64678c86d84a3d9376b047314f579e2c8a6d -eo pid,comm [Pipeline] { [Pipeline] sh 19:35:47 + touch /tmp/pre-build-complete [Pipeline] sh 19:35:48 + mkdir -p /var/log/sysstat [Pipeline] sh 19:35:48 + ls /var/log/sa-host 19:35:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:35:48 provisioning config files... 19:35:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4234770092176492908tmp [Pipeline] { [Pipeline] echo 19:35:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:35:49 ---> create-netrc.sh [Pipeline] } 19:35:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:35:49 ---> python-tools-install.sh [Pipeline] echo 19:35:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:35:49 ---> sudo-logs.sh 19:35:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:35:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:35:50 ---> job-cost.sh 19:35:50 lf-activate-venv: SKIPPING 19:35:50 DEBUG: total: 0.2199999988079071 19:35:50 INFO: Retrieving Stack Cost... 19:35:50 INFO: Retrieving Pricing Info for: v3-standard-8 19:35:51 INFO: Archiving Costs [Pipeline] echo 19:35:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:35:51 ---> logs-deploy.sh 19:35:51 lf-activate-venv: SKIPPING 19:35:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/157 19:35:51 INFO: archiving workspace using pattern(s): 19:35:52 Archives upload complete. 19:35:52 INFO: archiving logs to Nexus