Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from afca5dd35944e70aeaf084f770d24917f4059b9f 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-ssh14591767859348807451.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12833348426445221729.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh10504220801534838893.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh13426930914517542565.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-ssh12604634620116652732.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9297’ Running on prd-ubuntu20.04-docker-8c-8g-9301 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision afca5dd35944e70aeaf084f770d24917f4059b9f (main) Commit message: "Merge pull request #387 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73" > git config core.sparsecheckout # timeout=10 > git checkout -f afca5dd35944e70aeaf084f770d24917f4059b9f # timeout=10 > git rev-list --no-walk 8b06b3309a4a8ea5746d44ebca426b8e3f1152e3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:53:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:53:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:53:09 ========================================================= 14:53:09 EdgeX Global Pipelines Version Info 14:53:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:53:10 ------------------- 14:53:10 stable info: 14:53:10 ------------------- 14:53:10 Commited By: Bill Mahoney bill.mahoney@intel.com 14:53:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 14:53:10 Message: update stable to v1.0.248 14:53:10 ------------------- 14:53:10 experimental info: 14:53:10 ------------------- 14:53:10 Commited By: **** collab-it+edgex@linuxfoundation.org 14:53:10 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 14:53:10 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:53:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = afca5dd35944e70aeaf084f770d24917f4059b9f [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = afca5dd [Pipeline] echo 14:53:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:53:11 provisioning config files... 14:53:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17344025351305251358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:53:11 ---> docker-login.sh 14:53:11 nexus3.edgexfoundry.org:10001 14:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:12 Configure a credential helper to remove this warning. See 14:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:12 14:53:12 Login Succeeded 14:53:12 nexus3.edgexfoundry.org:10002 14:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:12 Configure a credential helper to remove this warning. See 14:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:12 14:53:12 Login Succeeded 14:53:12 nexus3.edgexfoundry.org:10003 14:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:12 Configure a credential helper to remove this warning. See 14:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:12 14:53:12 Login Succeeded 14:53:12 nexus3.edgexfoundry.org:10004 14:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:12 Configure a credential helper to remove this warning. See 14:53:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:12 14:53:12 Login Succeeded 14:53:12 docker.io 14:53:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:13 Configure a credential helper to remove this warning. See 14:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:13 14:53:13 Login Succeeded 14:53:13 ---> docker-login.sh ends [Pipeline] } 14:53:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:53:13 + git rev-list -1 --merges afca5dd35944e70aeaf084f770d24917f4059b9f~1..afca5dd35944e70aeaf084f770d24917f4059b9f [Pipeline] echo 14:53:13 -----------> git rev-list -1 --merges afca5dd35944e70aeaf084f770d24917f4059b9f~1..afca5dd35944e70aeaf084f770d24917f4059b9f afca5dd35944e70aeaf084f770d24917f4059b9f 14:53:13 afca5dd35944e70aeaf084f770d24917f4059b9f [false] [Pipeline] sh 14:53:13 + git log --format=format:%s -1 afca5dd35944e70aeaf084f770d24917f4059b9f [Pipeline] echo 14:53:13 ========================================================= 14:53:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:53:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:53:14 + git log --format=format:%s -1 afca5dd35944e70aeaf084f770d24917f4059b9f [Pipeline] echo 14:53:14 [semverPrep] GIT_COMMIT: afca5dd35944e70aeaf084f770d24917f4059b9f, Commit Message: Merge pull request #387 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73 [Pipeline] echo 14:53:14 [semverPrep] This is not a build commit. [Pipeline] sh 14:53:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:53:14 + grep -v github /etc/ssh/ssh_known_hosts 14:53:14 + [ -e /tmp/ssh_known_hosts ] 14:53:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:53:14 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:53:14 sudo tee -a /etc/ssh/ssh_known_hosts 14:53:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:53:14 14:53:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:53:15 0.1.4: Pulling from edgex-devops/py-git-semver 14:53:15 b85a868b505f: Pulling fs layer 14:53:15 e2be974225ed: Pulling fs layer 14:53:15 339a4e72a1f5: Pulling fs layer 14:53:15 988bab9f4d93: Pulling fs layer 14:53:15 1469e6f7b9e6: Pulling fs layer 14:53:15 eaf3925da568: Pulling fs layer 14:53:15 bab4dde63d76: Pulling fs layer 14:53:15 bde34c3a00c8: Pulling fs layer 14:53:15 b352a97aabf1: Pulling fs layer 14:53:15 4872d77fe225: Pulling fs layer 14:53:15 5851b861e8e6: Pulling fs layer 14:53:15 988bab9f4d93: Waiting 14:53:15 eaf3925da568: Waiting 14:53:15 b352a97aabf1: Waiting 14:53:15 4872d77fe225: Waiting 14:53:15 5851b861e8e6: Waiting 14:53:15 bde34c3a00c8: Waiting 14:53:15 1469e6f7b9e6: Waiting 14:53:15 bab4dde63d76: Waiting 14:53:15 e2be974225ed: Verifying Checksum 14:53:15 e2be974225ed: Download complete 14:53:15 988bab9f4d93: Verifying Checksum 14:53:15 988bab9f4d93: Download complete 14:53:15 339a4e72a1f5: Verifying Checksum 14:53:15 339a4e72a1f5: Download complete 14:53:15 1469e6f7b9e6: Verifying Checksum 14:53:15 1469e6f7b9e6: Download complete 14:53:15 eaf3925da568: Verifying Checksum 14:53:15 eaf3925da568: Download complete 14:53:15 bde34c3a00c8: Verifying Checksum 14:53:15 bde34c3a00c8: Download complete 14:53:15 b352a97aabf1: Verifying Checksum 14:53:15 b352a97aabf1: Download complete 14:53:15 4872d77fe225: Verifying Checksum 14:53:15 4872d77fe225: Download complete 14:53:15 5851b861e8e6: Verifying Checksum 14:53:15 5851b861e8e6: Download complete 14:53:15 b85a868b505f: Verifying Checksum 14:53:15 b85a868b505f: Download complete 14:53:15 bab4dde63d76: Download complete 14:53:17 b85a868b505f: Pull complete 14:53:17 e2be974225ed: Pull complete 14:53:17 339a4e72a1f5: Pull complete 14:53:17 988bab9f4d93: Pull complete 14:53:17 1469e6f7b9e6: Pull complete 14:53:17 eaf3925da568: Pull complete 14:53:19 bab4dde63d76: Pull complete 14:53:19 bde34c3a00c8: Pull complete 14:53:19 b352a97aabf1: Pull complete 14:53:19 4872d77fe225: Pull complete 14:53:19 5851b861e8e6: Pull complete 14:53:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:53:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:53:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:53:20 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 14:53:20 $ 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 14:53:23 $ docker top a384fb0443a82ab269187ca0cbe83334b6716aaf63f7363041f215e76e658afc -eo pid,comm 14:53:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:53:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:53:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:53:23 [ssh-agent] Looking for ssh-agent implementation... 14:53:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:53:23 $ docker exec a384fb0443a82ab269187ca0cbe83334b6716aaf63f7363041f215e76e658afc ssh-agent 14:53:23 SSH_AUTH_SOCK=/tmp/ssh-3EnBfzda2YEV/agent.32 14:53:23 SSH_AGENT_PID=38 14:53:23 Running ssh-add (command line suppressed) 14:53:23 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11210908327326229940.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11210908327326229940.key) 14:53:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:53:24 + git tag --points-at HEAD [Pipeline] } 14:53:24 $ docker exec --env ******** --env ******** a384fb0443a82ab269187ca0cbe83334b6716aaf63f7363041f215e76e658afc ssh-agent -k 14:53:24 unset SSH_AUTH_SOCK; 14:53:24 unset SSH_AGENT_PID; 14:53:24 echo Agent pid 38 killed; 14:53:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:53:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:53:24 [ssh-agent] Looking for ssh-agent implementation... 14:53:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:53:24 $ docker exec a384fb0443a82ab269187ca0cbe83334b6716aaf63f7363041f215e76e658afc ssh-agent 14:53:24 SSH_AUTH_SOCK=/tmp/ssh-MOXYtxRBPgc5/agent.70 14:53:24 SSH_AGENT_PID=76 14:53:24 Running ssh-add (command line suppressed) 14:53:24 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14355448979776863042.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14355448979776863042.key) 14:53:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:53:25 + git semver init 14:53:25 2023-04-21 14:53:25,285 [run_init] DEBUG init version:0.0.0 force:False 14:53:25 2023-04-21 14:53:25,286 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 14:53:25 2023-04-21 14:53:25,286 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 14:53:25 2023-04-21 14:53:25,286 [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) 14:53:26 2023-04-21 14:53:26,403 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 14:53:26 2023-04-21 14:53:26,403 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 14:53:26 2023-04-21 14:53:26,403 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:53:26 2023-04-21 14:53:26,403 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 14:53:26 3.0.0-dev.34 [Pipeline] } 14:53:26 $ docker exec --env ******** --env ******** a384fb0443a82ab269187ca0cbe83334b6716aaf63f7363041f215e76e658afc ssh-agent -k 14:53:26 unset SSH_AUTH_SOCK; 14:53:26 unset SSH_AGENT_PID; 14:53:26 echo Agent pid 76 killed; 14:53:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:53:27 + git semver [Pipeline] } 14:53:27 $ docker stop --time=1 a384fb0443a82ab269187ca0cbe83334b6716aaf63f7363041f215e76e658afc 14:53:28 $ docker rm -f --volumes a384fb0443a82ab269187ca0cbe83334b6716aaf63f7363041f215e76e658afc [Pipeline] // withDockerContainer [Pipeline] sh 14:53:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:53:29 Stashed 1 file(s) [Pipeline] echo 14:53:29 [edgeXSemver]: initialized semver on version 3.0.0-dev.34 [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 14:53:29 provisioning config files... 14:53:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14939974581020086423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:53:29 ---> docker-login.sh 14:53:29 nexus3.edgexfoundry.org:10001 14:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:29 Configure a credential helper to remove this warning. See 14:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:29 14:53:29 Login Succeeded 14:53:29 nexus3.edgexfoundry.org:10002 14:53:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:29 Configure a credential helper to remove this warning. See 14:53:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:29 14:53:29 Login Succeeded 14:53:29 nexus3.edgexfoundry.org:10003 14:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:30 Configure a credential helper to remove this warning. See 14:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:30 14:53:30 Login Succeeded 14:53:30 nexus3.edgexfoundry.org:10004 14:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:30 Configure a credential helper to remove this warning. See 14:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:30 14:53:30 Login Succeeded 14:53:30 docker.io 14:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:30 Configure a credential helper to remove this warning. See 14:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:30 14:53:30 Login Succeeded 14:53:30 ---> docker-login.sh ends [Pipeline] } 14:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:53:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:53:30 ========================================================= 14:53:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:53:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 14:53:30 Sending build context to Docker daemon 23.56MB 14:53:30 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:53:30 Step 2/12 : FROM ${BASE} AS builder 14:53:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:53:30 63b65145d645: Pulling fs layer 14:53:30 a2d21d5440eb: Pulling fs layer 14:53:30 935e6c44a52c: Pulling fs layer 14:53:30 94cc34f8dd06: Pulling fs layer 14:53:30 30dea6a524f1: Pulling fs layer 14:53:30 a2aff8979fd8: Pulling fs layer 14:53:30 30dea6a524f1: Waiting 14:53:30 6808be2612f2: Pulling fs layer 14:53:30 f25807f1079a: Pulling fs layer 14:53:30 a2aff8979fd8: Waiting 14:53:30 6808be2612f2: Waiting 14:53:30 f25807f1079a: Waiting 14:53:30 a2d21d5440eb: Verifying Checksum 14:53:30 a2d21d5440eb: Download complete 14:53:30 94cc34f8dd06: Download complete 14:53:30 30dea6a524f1: Verifying Checksum 14:53:30 30dea6a524f1: Download complete 14:53:30 63b65145d645: Verifying Checksum 14:53:30 63b65145d645: Download complete 14:53:30 a2aff8979fd8: Verifying Checksum 14:53:30 a2aff8979fd8: Download complete 14:53:31 63b65145d645: Pull complete 14:53:31 a2d21d5440eb: Pull complete 14:53:31 f25807f1079a: Verifying Checksum 14:53:31 f25807f1079a: Download complete 14:53:31 935e6c44a52c: Verifying Checksum 14:53:31 935e6c44a52c: Download complete 14:53:32 6808be2612f2: Verifying Checksum 14:53:32 6808be2612f2: Download complete 14:53:35 935e6c44a52c: Pull complete 14:53:35 94cc34f8dd06: Pull complete 14:53:35 30dea6a524f1: Pull complete 14:53:35 a2aff8979fd8: Pull complete 14:53:37 6808be2612f2: Pull complete 14:53:38 f25807f1079a: Pull complete 14:53:38 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 14:53:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:53:38 ---> 3b553350e43f 14:53:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:53:43 ---> Running in 64beb49486fd 14:53:43 Removing intermediate container 64beb49486fd 14:53:43 ---> 3464a0470b6b 14:53:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:53:43 ---> Running in 8ce481568f6d 14:53:43 Removing intermediate container 8ce481568f6d 14:53:43 ---> 134b2f9533fc 14:53:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:53:43 ---> Running in c28f5e1eabea 14:53:43 Removing intermediate container c28f5e1eabea 14:53:43 ---> f03c235cb0c7 14:53:43 Step 6/12 : WORKDIR /device-virtual-go 14:53:43 ---> Running in 6253f527e565 14:53:43 Removing intermediate container 6253f527e565 14:53:43 ---> 8c4c1100cb8d 14:53:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:53:43 ---> Running in b61cb092f1f9 14:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:53:43 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:53:43 (2/4) Installing libedit (20221030.3.1-r0) 14:53:43 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:53:44 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:53:44 Executing busybox-1.35.0-r29.trigger 14:53:44 OK: 269 MiB in 57 packages 14:53:44 Still waiting to schedule task 14:53:44 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9298’ 14:53:44 Removing intermediate container b61cb092f1f9 14:53:44 ---> 9350294b6671 14:53:44 Step 8/12 : COPY go.mod vendor* ./ 14:53:44 ---> a06a8c02879c 14:53:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:53:44 ---> Running in 47c4e812ed42 14:54:31 Removing intermediate container 47c4e812ed42 14:54:31 ---> 83dd96f7bb0f 14:54:31 Step 10/12 : COPY . . 14:54:31 ---> 283de3bd1762 14:54:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:54:31 ---> Running in 46bf7cb5d533 14:54:31 Removing intermediate container 46bf7cb5d533 14:54:31 ---> 88b106fd1952 14:54:31 Step 12/12 : RUN $MAKE 14:54:31 ---> Running in adb55bbd1a8e 14:54:31 noop 14:54:31 Removing intermediate container adb55bbd1a8e 14:54:31 ---> 2fac2ef63c9a 14:54:31 Successfully built 2fac2ef63c9a 14:54:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:54:31 + docker inspect -f . ci-base-image-x86_64 14:54:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:54:31 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 14:54:31 $ 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 14:54:32 $ docker top 6149ec8545db4ae3d05923b7a8e17e7e4a615def606f24258498cbd31d4310b9 -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:32 + go version 14:54:32 go version go1.20.2 linux/amd64 [Pipeline] } 14:54:32 $ docker stop --time=1 6149ec8545db4ae3d05923b7a8e17e7e4a615def606f24258498cbd31d4310b9 14:54:33 $ docker rm -f --volumes 6149ec8545db4ae3d05923b7a8e17e7e4a615def606f24258498cbd31d4310b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:54:34 + docker inspect -f . ci-base-image-x86_64 14:54:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:54:34 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 14:54:34 $ 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 14:54:34 $ docker top 43f6336d66942dc700a713eba49d58047aa7da388565317a561ede8699101804 -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:34 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 14:54:35 + make test 14:54:35 go test ./... -coverprofile=coverage.out 14:54:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:54:49 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:54:49 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.024s coverage: 58.6% of statements 14:54:54 go vet ./... 14:54:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:54:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:54:57 ./bin/test-attribution-txt.sh [Pipeline] echo 14:54:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:54:57 $ docker stop --time=1 43f6336d66942dc700a713eba49d58047aa7da388565317a561ede8699101804 14:55:01 $ docker rm -f --volumes 43f6336d66942dc700a713eba49d58047aa7da388565317a561ede8699101804 [Pipeline] // withDockerContainer [Pipeline] sh 14:55:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:55:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:55:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:55:02 + ls -al . 14:55:02 total 192 14:55:02 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 14:54 . 14:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:53 .. 14:55:02 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:53 .git 14:55:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:53 .github 14:55:02 -rw-rw-r-- 1 jenkins jenkins 337 Apr 21 14:53 .gitignore 14:55:02 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 14:53 .golangci.yml 14:55:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 14:53 .semver 14:55:02 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 21 14:53 Attribution.txt 14:55:02 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 21 14:53 CHANGELOG.md 14:55:02 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 21 14:53 Dockerfile 14:55:02 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 14:53 GOVERNANCE.md 14:55:02 -rw-rw-r-- 1 jenkins jenkins 660 Apr 21 14:53 Jenkinsfile 14:55:02 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 14:53 LICENSE 14:55:02 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 21 14:53 Makefile 14:55:02 -rw-rw-r-- 1 jenkins jenkins 623 Apr 21 14:53 OWNERS.md 14:55:02 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 21 14:53 README.md 14:55:02 -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 14:53 VERSION 14:55:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:53 bin 14:55:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:53 cmd 14:55:02 -rw-r--r-- 1 jenkins jenkins 43063 Apr 21 14:54 coverage.out 14:55:02 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 21 14:53 go.mod 14:55:02 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 21 14:53 go.sum 14:55:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:53 internal 14:55:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:53 snap 14:55:02 -rw-rw-r-- 1 jenkins jenkins 235 Apr 21 14:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:03 + 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=afca5dd35944e70aeaf084f770d24917f4059b9f --label arch=amd64 --label version=3.0.0-dev.34 . 14:55:03 Sending build context to Docker daemon 23.61MB 14:55:03 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:55:03 Step 2/25 : FROM ${BASE} AS builder 14:55:03 ---> 2fac2ef63c9a 14:55:03 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:55:03 ---> Running in 3afec5a725e4 14:55:03 Removing intermediate container 3afec5a725e4 14:55:03 ---> 87d9db1bca8f 14:55:03 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:55:03 ---> Running in 2f4cfc20a770 14:55:03 Removing intermediate container 2f4cfc20a770 14:55:03 ---> 8f9a92784969 14:55:03 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:55:03 ---> Running in 63b297c3818b 14:55:03 Removing intermediate container 63b297c3818b 14:55:03 ---> 2c4e9adb03b0 14:55:03 Step 6/25 : WORKDIR /device-virtual-go 14:55:03 ---> Running in 68b8fe90133a 14:55:03 Removing intermediate container 68b8fe90133a 14:55:03 ---> b88d26c2ffd9 14:55:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:55:03 ---> Running in 0cccdcbe9847 14:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:55:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:55:04 OK: 269 MiB in 57 packages 14:55:04 Removing intermediate container 0cccdcbe9847 14:55:04 ---> c3701b783433 14:55:04 Step 8/25 : COPY go.mod vendor* ./ 14:55:04 ---> bba3f889abc1 14:55:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:55:04 ---> Running in db09753ca248 14:55:05 Removing intermediate container db09753ca248 14:55:05 ---> 6b0149d144b0 14:55:05 Step 10/25 : COPY . . 14:55:06 ---> 525c30b954cb 14:55:06 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:55:06 ---> Running in 9dc76cb7831d 14:55:06 Removing intermediate container 9dc76cb7831d 14:55:06 ---> bfea819199e5 14:55:06 Step 12/25 : RUN $MAKE 14:55:06 ---> Running in ae0c52c9c08c 14:55:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.34" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 14:55:28 Removing intermediate container ae0c52c9c08c 14:55:28 ---> c6bcc1bda0f4 14:55:28 Step 13/25 : FROM alpine:3.17 14:55:28 3.17: Pulling from library/alpine 14:55:28 f56be85fc22e: Pulling fs layer 14:55:28 f56be85fc22e: Verifying Checksum 14:55:28 f56be85fc22e: Download complete 14:55:28 f56be85fc22e: Pull complete 14:55:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:55:28 Status: Downloaded newer image for alpine:3.17 14:55:28 ---> 9ed4aefc74f6 14:55:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:55:28 ---> Running in ecdf5118d237 14:55:28 Removing intermediate container ecdf5118d237 14:55:28 ---> ac81e07d53e7 14:55:28 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:55:28 ---> Running in 8390f0f42dac 14:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:55:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:55:28 (1/1) Installing dumb-init (1.2.5-r2) 14:55:28 Executing busybox-1.35.0-r29.trigger 14:55:28 OK: 7 MiB in 16 packages 14:55:28 Removing intermediate container 8390f0f42dac 14:55:28 ---> 87c53877e79e 14:55:28 Step 16/25 : WORKDIR / 14:55:28 ---> Running in ed9a00efd1fc 14:55:28 Removing intermediate container ed9a00efd1fc 14:55:28 ---> d8a31d673a16 14:55:28 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:55:28 ---> cd61c5507a77 14:55:28 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 14:55:28 ---> e6dcc7ae54fa 14:55:28 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 14:55:29 ---> 146e4f2d4c18 14:55:29 Step 20/25 : EXPOSE 59900 14:55:29 ---> Running in c9ef433c8bff 14:55:29 Removing intermediate container c9ef433c8bff 14:55:29 ---> e8e013b64878 14:55:29 Step 21/25 : ENTRYPOINT ["/device-virtual"] 14:55:29 ---> Running in c54bf3029c2d 14:55:29 Removing intermediate container c54bf3029c2d 14:55:29 ---> 26b7e9da83b6 14:55:29 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:55:29 ---> Running in 9d6530cbe4dc 14:55:29 Removing intermediate container 9d6530cbe4dc 14:55:29 ---> 1b64c83bb9d9 14:55:29 Step 23/25 : LABEL arch=amd64 14:55:29 ---> Running in eaafd3bb6a2f 14:55:29 Removing intermediate container eaafd3bb6a2f 14:55:29 ---> 6899d3ea4aa0 14:55:29 Step 24/25 : LABEL git_sha=afca5dd35944e70aeaf084f770d24917f4059b9f 14:55:29 ---> Running in f654c570db93 14:55:29 Removing intermediate container f654c570db93 14:55:29 ---> cf2b07fa02a1 14:55:29 Step 25/25 : LABEL version=3.0.0-dev.34 14:55:29 ---> Running in 16611ca58255 14:55:29 Removing intermediate container 16611ca58255 14:55:29 ---> a8488fe63c3b 14:55:29 [Warning] One or more build-args [ARCH] were not consumed 14:55:29 Successfully built a8488fe63c3b 14:55:29 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:55:30 provisioning config files... 14:55:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2002705236304932686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:55:30 ---> docker-login.sh 14:55:30 nexus3.edgexfoundry.org:10001 14:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:30 Configure a credential helper to remove this warning. See 14:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:30 14:55:30 Login Succeeded 14:55:30 nexus3.edgexfoundry.org:10002 14:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:30 Configure a credential helper to remove this warning. See 14:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:30 14:55:30 Login Succeeded 14:55:30 nexus3.edgexfoundry.org:10003 14:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:30 Configure a credential helper to remove this warning. See 14:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:30 14:55:30 Login Succeeded 14:55:30 nexus3.edgexfoundry.org:10004 14:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:30 Configure a credential helper to remove this warning. See 14:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:30 14:55:30 Login Succeeded 14:55:30 docker.io 14:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:55:30 Configure a credential helper to remove this warning. See 14:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:55:30 14:55:30 Login Succeeded 14:55:30 ---> docker-login.sh ends [Pipeline] } 14:55:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:55:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:55:30 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 14:55:30 afca5dd35944e70aeaf084f770d24917f4059b9f 14:55:30 latest 14:55:30 3.0.0-dev.34 14:55:30 afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34 14:55:30 main 14:55:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:31 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:afca5dd35944e70aeaf084f770d24917f4059b9f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:afca5dd35944e70aeaf084f770d24917f4059b9f 14:55:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:55:31 544b6fa132f4: Preparing 14:55:31 eba3fc7a6a4b: Preparing 14:55:31 bff1f4461736: Preparing 14:55:31 0f1e8324763a: Preparing 14:55:31 f1417ff83b31: Preparing 14:55:31 f1417ff83b31: Layer already exists 14:55:31 0f1e8324763a: Pushed 14:55:31 bff1f4461736: Pushed 14:55:31 eba3fc7a6a4b: Pushed 14:55:34 544b6fa132f4: Pushed 14:55:34 afca5dd35944e70aeaf084f770d24917f4059b9f: digest: sha256:1c687ee3b9417890ee3e7fffce3d151d7916c9c1d6aea340a42788eddf528e85 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:35 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 14:55:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:55:35 544b6fa132f4: Preparing 14:55:35 eba3fc7a6a4b: Preparing 14:55:35 bff1f4461736: Preparing 14:55:35 0f1e8324763a: Preparing 14:55:35 f1417ff83b31: Preparing 14:55:35 bff1f4461736: Layer already exists 14:55:35 eba3fc7a6a4b: Layer already exists 14:55:35 0f1e8324763a: Layer already exists 14:55:35 544b6fa132f4: Layer already exists 14:55:35 f1417ff83b31: Layer already exists 14:55:35 latest: digest: sha256:1c687ee3b9417890ee3e7fffce3d151d7916c9c1d6aea340a42788eddf528e85 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:35 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.34 14:55:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:55:36 544b6fa132f4: Preparing 14:55:36 eba3fc7a6a4b: Preparing 14:55:36 bff1f4461736: Preparing 14:55:36 0f1e8324763a: Preparing 14:55:36 f1417ff83b31: Preparing 14:55:36 544b6fa132f4: Layer already exists 14:55:36 eba3fc7a6a4b: Layer already exists 14:55:36 0f1e8324763a: Layer already exists 14:55:36 f1417ff83b31: Layer already exists 14:55:36 bff1f4461736: Layer already exists 14:55:36 3.0.0-dev.34: digest: sha256:1c687ee3b9417890ee3e7fffce3d151d7916c9c1d6aea340a42788eddf528e85 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:36 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34 14:55:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:55:36 544b6fa132f4: Preparing 14:55:36 eba3fc7a6a4b: Preparing 14:55:36 bff1f4461736: Preparing 14:55:36 0f1e8324763a: Preparing 14:55:36 f1417ff83b31: Preparing 14:55:36 eba3fc7a6a4b: Layer already exists 14:55:36 bff1f4461736: Layer already exists 14:55:36 0f1e8324763a: Layer already exists 14:55:36 544b6fa132f4: Layer already exists 14:55:36 f1417ff83b31: Layer already exists 14:55:36 afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34: digest: sha256:1c687ee3b9417890ee3e7fffce3d151d7916c9c1d6aea340a42788eddf528e85 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:37 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 14:55:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 14:55:37 544b6fa132f4: Preparing 14:55:37 eba3fc7a6a4b: Preparing 14:55:37 bff1f4461736: Preparing 14:55:37 0f1e8324763a: Preparing 14:55:37 f1417ff83b31: Preparing 14:55:37 bff1f4461736: Layer already exists 14:55:37 544b6fa132f4: Layer already exists 14:55:37 eba3fc7a6a4b: Layer already exists 14:55:37 f1417ff83b31: Layer already exists 14:55:37 0f1e8324763a: Layer already exists 14:55:37 main: digest: sha256:1c687ee3b9417890ee3e7fffce3d151d7916c9c1d6aea340a42788eddf528e85 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:55:37 ===================================================== [Pipeline] echo 14:55:37 taggedImages: 14:55:37 - nexus3.edgexfoundry.org:10004/device-virtual:afca5dd35944e70aeaf084f770d24917f4059b9f 14:55:37 - nexus3.edgexfoundry.org:10004/device-virtual:latest 14:55:37 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.34 14:55:37 - nexus3.edgexfoundry.org:10004/device-virtual:afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34 14:55:37 - 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 14:55:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:55:37 14:55:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:55:38 latest: Pulling from edgex-lftools-log-publisher 14:55:38 5eb5b503b376: Pulling fs layer 14:55:38 5c69ac0246d0: Pulling fs layer 14:55:38 ec43610c2a17: Pulling fs layer 14:55:38 3a2ae6a8a46f: Pulling fs layer 14:55:38 33b1e0a273af: Pulling fs layer 14:55:38 5d3b04190fa2: Pulling fs layer 14:55:38 2f39f015ded8: Pulling fs layer 14:55:38 3a2ae6a8a46f: Waiting 14:55:38 33b1e0a273af: Waiting 14:55:38 5d3b04190fa2: Waiting 14:55:38 2f39f015ded8: Waiting 14:55:38 5c69ac0246d0: Download complete 14:55:38 3a2ae6a8a46f: Verifying Checksum 14:55:38 3a2ae6a8a46f: Download complete 14:55:38 33b1e0a273af: Verifying Checksum 14:55:38 33b1e0a273af: Download complete 14:55:38 5d3b04190fa2: Verifying Checksum 14:55:38 5d3b04190fa2: Download complete 14:55:38 ec43610c2a17: Verifying Checksum 14:55:38 ec43610c2a17: Download complete 14:55:38 5eb5b503b376: Download complete 14:55:39 2f39f015ded8: Download complete 14:55:39 5eb5b503b376: Pull complete 14:55:39 5c69ac0246d0: Pull complete 14:55:40 ec43610c2a17: Pull complete 14:55:40 3a2ae6a8a46f: Pull complete 14:55:40 33b1e0a273af: Pull complete 14:55:40 5d3b04190fa2: Pull complete 14:55:44 2f39f015ded8: Pull complete 14:55:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:55:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:55:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:55:44 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 14:55:44 $ 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 14:55:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9306 in /w/workspace/exfoundry_device-virtual-go_main 14:55:50 $ docker top 972ca8ea782bc074bba925463896271495d4d9a91b2eb08708c8c6a8a504b908 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 14:55:50 Running in /w/workspace/device-virtual-go/106 [Pipeline] { [Pipeline] checkout 14:55:50 The recommended git tool is: git 14:55:50 ---> job-cost.sh 14:55:50 lf-activate-venv: SKIPPING 14:55:50 INFO: No Stack... 14:55:50 INFO: Retrieving Pricing Info for: v3-standard-8 14:55:51 INFO: Archiving Costs [Pipeline] sh 14:55:51 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 14:55:51 + cut -d, -f6 [Pipeline] lock 14:55:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-106-stack-cost] 14:55:51 Resource [jenkins-edgexfoundry-device-virtual-go-main-106-stack-cost] did not exist. Created. 14:55:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:55:51 + echo total: 0.2199999988079071 [Pipeline] stash 14:55:51 Stashed 1 file(s) [Pipeline] } 14:55:51 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 14:55:51 $ docker stop --time=1 972ca8ea782bc074bba925463896271495d4d9a91b2eb08708c8c6a8a504b908 14:55:52 $ docker rm -f --volumes 972ca8ea782bc074bba925463896271495d4d9a91b2eb08708c8c6a8a504b908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:55:56 using credential edgex-jenkins-ssh 14:55:56 Cloning the remote Git repository 14:55:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:55:57 > git init /w/workspace/device-virtual-go/106 # timeout=10 14:55:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:55:57 > git --version # timeout=10 14:55:57 > git --version # 'git version 2.25.1' 14:55:57 using GIT_SSH to set credentials SSH Credentials for GitHub 14:55:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:56:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:56:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:56:01 Avoid second fetch 14:56:01 Checking out Revision afca5dd35944e70aeaf084f770d24917f4059b9f (main) 14:56:01 > git config core.sparsecheckout # timeout=10 14:56:01 > git checkout -f afca5dd35944e70aeaf084f770d24917f4059b9f # timeout=10 14:56:02 Commit message: "Merge pull request #387 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:56:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:56:03 % Total % Received % Xferd Average Speed Time Time Time Current 14:56:03 Dload Upload Total Spent Left Speed 14:56:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 14:56:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:56:04 + sudo tee /etc/docker/daemon.new 14:56:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:56:04 { 14:56:04 "registry-mirrors": [ 14:56:04 "https://nexus3.edgexfoundry.org:10001" 14:56:04 ], 14:56:04 "bip": "10.250.0.254/24", 14:56:04 "hosts": [ 14:56:04 "tcp://0.0.0.0:5555", 14:56:04 "unix:///var/run/docker.sock" 14:56:04 ], 14:56:04 "mtu": 1458, 14:56:04 "selinux-enabled": true, 14:56:04 "seccomp-profile": "/etc/docker/seccomp.json" 14:56:04 } [Pipeline] sh 14:56:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:56:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:56:23 provisioning config files... 14:56:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/106@tmp/config17858842815668061491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:56:23 ---> docker-login.sh 14:56:23 nexus3.edgexfoundry.org:10001 14:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:24 Configure a credential helper to remove this warning. See 14:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:24 14:56:24 Login Succeeded 14:56:24 nexus3.edgexfoundry.org:10002 14:56:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:24 Configure a credential helper to remove this warning. See 14:56:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:24 14:56:24 Login Succeeded 14:56:24 nexus3.edgexfoundry.org:10003 14:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:25 Configure a credential helper to remove this warning. See 14:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:25 14:56:25 Login Succeeded 14:56:25 nexus3.edgexfoundry.org:10004 14:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:25 Configure a credential helper to remove this warning. See 14:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:25 14:56:25 Login Succeeded 14:56:25 docker.io 14:56:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:56:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:56:25 Configure a credential helper to remove this warning. See 14:56:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:56:25 14:56:25 Login Succeeded 14:56:25 ---> docker-login.sh ends [Pipeline] } 14:56:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:56:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:56:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:56:26 ========================================================= 14:56:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 14:56:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 14:56:26 Sending build context to Docker daemon 11.94MB 14:56:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:56:26 Step 2/12 : FROM ${BASE} AS builder 14:56:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:56:27 af6eaf76a39c: Pulling fs layer 14:56:27 55522c791124: Pulling fs layer 14:56:27 ce5c4a1c91eb: Pulling fs layer 14:56:27 169dfbe0d373: Pulling fs layer 14:56:27 e1ff8fa3b103: Pulling fs layer 14:56:27 52ebb69f0ebf: Pulling fs layer 14:56:27 5abe8eddf0d5: Pulling fs layer 14:56:27 169dfbe0d373: Waiting 14:56:27 e1ff8fa3b103: Waiting 14:56:27 52ebb69f0ebf: Waiting 14:56:27 5abe8eddf0d5: Waiting 14:56:27 55522c791124: Verifying Checksum 14:56:27 55522c791124: Download complete 14:56:27 169dfbe0d373: Verifying Checksum 14:56:27 169dfbe0d373: Download complete 14:56:27 e1ff8fa3b103: Verifying Checksum 14:56:27 e1ff8fa3b103: Download complete 14:56:27 af6eaf76a39c: Download complete 14:56:28 af6eaf76a39c: Pull complete 14:56:28 55522c791124: Pull complete 14:56:29 5abe8eddf0d5: Verifying Checksum 14:56:29 5abe8eddf0d5: Download complete 14:56:30 ce5c4a1c91eb: Verifying Checksum 14:56:30 ce5c4a1c91eb: Download complete 14:56:30 52ebb69f0ebf: Verifying Checksum 14:56:30 52ebb69f0ebf: Download complete 14:56:40 ce5c4a1c91eb: Pull complete 14:56:41 169dfbe0d373: Pull complete 14:56:41 e1ff8fa3b103: Pull complete 14:56:48 52ebb69f0ebf: Pull complete 14:56:50 5abe8eddf0d5: Pull complete 14:56:50 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 14:56:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 14:56:50 ---> 6cb57ee374ae 14:56:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:56:52 ---> Running in 1eb6d19f37a8 14:56:52 Removing intermediate container 1eb6d19f37a8 14:56:52 ---> 7e0d7f052c08 14:56:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:56:52 ---> Running in 9bd75bbb63a1 14:56:53 Removing intermediate container 9bd75bbb63a1 14:56:53 ---> b681cc6188b6 14:56:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:56:53 ---> Running in 08c37c27297a 14:56:53 Removing intermediate container 08c37c27297a 14:56:53 ---> 229539e0814f 14:56:53 Step 6/12 : WORKDIR /device-virtual-go 14:56:53 ---> Running in 958d6248cb74 14:56:54 Removing intermediate container 958d6248cb74 14:56:54 ---> a4743a5c831b 14:56:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:56:54 ---> Running in c1f8d5d27b32 14:56:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:56:57 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:56:57 (2/4) Installing libedit (20221030.3.1-r0) 14:56:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:56:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:56:57 Executing busybox-1.35.0-r29.trigger 14:56:57 OK: 268 MiB in 57 packages 14:56:58 Removing intermediate container c1f8d5d27b32 14:56:58 ---> 09367f0610d1 14:56:58 Step 8/12 : COPY go.mod vendor* ./ 14:56:59 ---> bb1563127ebb 14:56:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:56:59 ---> Running in cd0dfe0b4140 14:58:21 Removing intermediate container cd0dfe0b4140 14:58:21 ---> 50aa6e3c83dd 14:58:21 Step 10/12 : COPY . . 14:58:21 ---> 1211ff8bb441 14:58:21 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:58:21 ---> Running in 02c70bd7f909 14:58:21 Removing intermediate container 02c70bd7f909 14:58:21 ---> dec97d503429 14:58:21 Step 12/12 : RUN $MAKE 14:58:21 ---> Running in b00ac351a8ad 14:58:21 noop 14:58:21 Removing intermediate container b00ac351a8ad 14:58:21 ---> 1512f052a1aa 14:58:21 Successfully built 1512f052a1aa 14:58:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:21 + docker inspect -f . ci-base-image-arm64 14:58:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:21 prd-ubuntu20.04-docker-arm64-4c-16g-9306 does not seem to be running inside a container 14:58:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/106 -v /w/workspace/device-virtual-go/106:/w/workspace/device-virtual-go/106:rw,z -v /w/workspace/device-virtual-go/106@tmp:/w/workspace/device-virtual-go/106@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 14:58:23 $ docker top 7c42dbb417fde91465d88cd784d7aaa7ce0075a34a8de0f18f3827cc89953901 -eo pid,comm [Pipeline] { [Pipeline] sh 14:58:23 + go version 14:58:23 go version go1.20.2 linux/arm64 [Pipeline] } 14:58:23 $ docker stop --time=1 7c42dbb417fde91465d88cd784d7aaa7ce0075a34a8de0f18f3827cc89953901 14:58:25 $ docker rm -f --volumes 7c42dbb417fde91465d88cd784d7aaa7ce0075a34a8de0f18f3827cc89953901 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:58:26 + docker inspect -f . ci-base-image-arm64 14:58:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:58:26 prd-ubuntu20.04-docker-arm64-4c-16g-9306 does not seem to be running inside a container 14:58:26 $ 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/106 -v /w/workspace/device-virtual-go/106:/w/workspace/device-virtual-go/106:rw,z -v /w/workspace/device-virtual-go/106@tmp:/w/workspace/device-virtual-go/106@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 14:58:27 $ docker top f925097a5d92f4f0cc236b59e4c7a719b2b8f62153db06c1fad670e84cc4243e -eo pid,comm [Pipeline] { [Pipeline] sh 14:58:28 + git config --global --add safe.directory /w/workspace/device-virtual-go/106 [Pipeline] fileExists [Pipeline] sh 14:58:29 + make test 14:58:29 go test ./... -coverprofile=coverage.out 14:59:08 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:01:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:01:29 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.094s coverage: 58.4% of statements 15:01:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:01:29 go vet ./... 15:01:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:01:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:01:52 ./bin/test-attribution-txt.sh [Pipeline] echo 15:01:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:01:52 $ docker stop --time=1 f925097a5d92f4f0cc236b59e4c7a719b2b8f62153db06c1fad670e84cc4243e 15:01:54 $ docker rm -f --volumes f925097a5d92f4f0cc236b59e4c7a719b2b8f62153db06c1fad670e84cc4243e [Pipeline] // withDockerContainer [Pipeline] sh 15:01:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:01:55 Warning: overwriting stash ‘coverage-report’ 15:01:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:01:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:01:56 + ls -al . 15:01:56 total 188 15:01:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:58 . 15:01:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:55 .. 15:01:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:56 .git 15:01:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:56 .github 15:01:56 -rw-rw-r-- 1 jenkins jenkins 337 Apr 21 14:56 .gitignore 15:01:56 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 14:56 .golangci.yml 15:01:56 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 21 14:56 Attribution.txt 15:01:56 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 21 14:56 CHANGELOG.md 15:01:56 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 21 14:56 Dockerfile 15:01:56 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 14:56 GOVERNANCE.md 15:01:56 -rw-rw-r-- 1 jenkins jenkins 660 Apr 21 14:56 Jenkinsfile 15:01:56 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 14:56 LICENSE 15:01:56 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 21 14:56 Makefile 15:01:56 -rw-rw-r-- 1 jenkins jenkins 623 Apr 21 14:56 OWNERS.md 15:01:56 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 21 14:56 README.md 15:01:56 -rw-rw-r-- 1 jenkins jenkins 12 Apr 21 14:53 VERSION 15:01:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:56 bin 15:01:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:56 cmd 15:01:56 -rw-r--r-- 1 jenkins jenkins 43063 Apr 21 15:01 coverage.out 15:01:56 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 21 14:56 go.mod 15:01:56 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 21 14:56 go.sum 15:01:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:56 internal 15:01:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:56 snap 15:01:56 -rw-rw-r-- 1 jenkins jenkins 235 Apr 21 14:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:56 + 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=afca5dd35944e70aeaf084f770d24917f4059b9f --label arch=arm64 --label version=3.0.0-dev.34 . 15:01:57 Sending build context to Docker daemon 11.98MB 15:01:57 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:01:57 Step 2/25 : FROM ${BASE} AS builder 15:01:57 ---> 1512f052a1aa 15:01:57 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:01:57 ---> Running in 7435a18018d8 15:01:57 Removing intermediate container 7435a18018d8 15:01:57 ---> a5ec8c36f91a 15:01:57 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:01:58 ---> Running in ca2533837bad 15:01:58 Removing intermediate container ca2533837bad 15:01:58 ---> 8d003f986697 15:01:58 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:01:58 ---> Running in 134a60a8ced9 15:01:58 Removing intermediate container 134a60a8ced9 15:01:58 ---> 9185c94d8231 15:01:58 Step 6/25 : WORKDIR /device-virtual-go 15:01:58 ---> Running in 9aa127860378 15:01:59 Removing intermediate container 9aa127860378 15:01:59 ---> d02e85f8ec3a 15:01:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:01:59 ---> Running in e886afeee649 15:02:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:02:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:02:02 OK: 268 MiB in 57 packages 15:02:03 Removing intermediate container e886afeee649 15:02:03 ---> 9326e1d20cda 15:02:03 Step 8/25 : COPY go.mod vendor* ./ 15:02:03 ---> 81ae3759b369 15:02:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:02:03 ---> Running in e528c5582131 15:02:06 Removing intermediate container e528c5582131 15:02:06 ---> 81c825c98253 15:02:06 Step 10/25 : COPY . . 15:02:07 ---> c909c6fcdfcf 15:02:07 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:02:07 ---> Running in 007e235d9804 15:02:07 Removing intermediate container 007e235d9804 15:02:07 ---> 96c0c4cfdbe0 15:02:07 Step 12/25 : RUN $MAKE 15:02:08 ---> Running in bb5f5d668f74 15:02:09 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.34" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 15:04:45 Removing intermediate container bb5f5d668f74 15:04:45 ---> 10d942e36208 15:04:45 Step 13/25 : FROM alpine:3.17 15:04:45 3.17: Pulling from library/alpine 15:04:45 c41833b44d91: Pulling fs layer 15:04:45 c41833b44d91: Verifying Checksum 15:04:45 c41833b44d91: Download complete 15:04:45 c41833b44d91: Pull complete 15:04:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:04:45 Status: Downloaded newer image for alpine:3.17 15:04:45 ---> 51e60588ff2c 15:04:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:04:45 ---> Running in cc373d33a575 15:04:45 Removing intermediate container cc373d33a575 15:04:45 ---> 38d13ed7a4a7 15:04:45 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:04:45 ---> Running in 3a661261002a 15:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:04:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:04:45 (1/1) Installing dumb-init (1.2.5-r2) 15:04:45 Executing busybox-1.35.0-r29.trigger 15:04:45 OK: 8 MiB in 16 packages 15:04:45 Removing intermediate container 3a661261002a 15:04:45 ---> 5d96106044f6 15:04:45 Step 16/25 : WORKDIR / 15:04:45 ---> Running in 0a61d75bfa46 15:04:45 Removing intermediate container 0a61d75bfa46 15:04:45 ---> d6f6d3371c37 15:04:45 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:04:45 ---> 833e6d06f346 15:04:45 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:04:45 ---> fb426edb3f5e 15:04:45 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:04:45 ---> f17bd427987b 15:04:45 Step 20/25 : EXPOSE 59900 15:04:45 ---> Running in af93fd6a587e 15:04:45 Removing intermediate container af93fd6a587e 15:04:45 ---> 63c0c2fe3dbf 15:04:45 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:04:45 ---> Running in bbf1b388ce93 15:04:45 Removing intermediate container bbf1b388ce93 15:04:45 ---> 46bae65c5928 15:04:45 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:04:45 ---> Running in f0db6c080914 15:04:45 Removing intermediate container f0db6c080914 15:04:45 ---> 57720269aee9 15:04:45 Step 23/25 : LABEL arch=arm64 15:04:45 ---> Running in 3b70fa8b5b14 15:04:45 Removing intermediate container 3b70fa8b5b14 15:04:45 ---> 9c5d5bf4fac5 15:04:45 Step 24/25 : LABEL git_sha=afca5dd35944e70aeaf084f770d24917f4059b9f 15:04:45 ---> Running in f4a2bba6396a 15:04:45 Removing intermediate container f4a2bba6396a 15:04:45 ---> 66086fb0f5ad 15:04:45 Step 25/25 : LABEL version=3.0.0-dev.34 15:04:45 ---> Running in ea37a4cf45af 15:04:45 Removing intermediate container ea37a4cf45af 15:04:45 ---> 50c58651eea2 15:04:45 [Warning] One or more build-args [ARCH] were not consumed 15:04:45 Successfully built 50c58651eea2 15:04:45 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:04:45 provisioning config files... 15:04:45 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/106@tmp/config6344852545038400267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:46 ---> docker-login.sh 15:04:46 nexus3.edgexfoundry.org:10001 15:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:46 Configure a credential helper to remove this warning. See 15:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:46 15:04:46 Login Succeeded 15:04:46 nexus3.edgexfoundry.org:10002 15:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:46 Configure a credential helper to remove this warning. See 15:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:46 15:04:46 Login Succeeded 15:04:47 nexus3.edgexfoundry.org:10003 15:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:47 Configure a credential helper to remove this warning. See 15:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:47 15:04:47 Login Succeeded 15:04:47 nexus3.edgexfoundry.org:10004 15:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:47 Configure a credential helper to remove this warning. See 15:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:47 15:04:47 Login Succeeded 15:04:47 docker.io 15:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:48 Configure a credential helper to remove this warning. See 15:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:48 15:04:48 Login Succeeded 15:04:48 ---> docker-login.sh ends [Pipeline] } 15:04:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:04:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:04:48 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 15:04:48 afca5dd35944e70aeaf084f770d24917f4059b9f 15:04:48 latest 15:04:48 3.0.0-dev.34 15:04:48 afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34 15:04:48 main 15:04:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:afca5dd35944e70aeaf084f770d24917f4059b9f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:afca5dd35944e70aeaf084f770d24917f4059b9f 15:04:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:04:48 4248f43a9710: Preparing 15:04:48 36e715df3576: Preparing 15:04:48 9771f3648f10: Preparing 15:04:48 457f12402e44: Preparing 15:04:48 26cbea5cba74: Preparing 15:04:48 26cbea5cba74: Layer already exists 15:04:49 457f12402e44: Pushed 15:04:49 9771f3648f10: Pushed 15:04:49 36e715df3576: Pushed 15:04:55 4248f43a9710: Pushed 15:04:55 afca5dd35944e70aeaf084f770d24917f4059b9f: digest: sha256:1bc566a224a29e378f9b339229fd112b0708e43d6fd1ec347e167deb88ea82e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:56 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:04:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:04:56 4248f43a9710: Preparing 15:04:56 36e715df3576: Preparing 15:04:56 9771f3648f10: Preparing 15:04:56 457f12402e44: Preparing 15:04:56 26cbea5cba74: Preparing 15:04:56 4248f43a9710: Layer already exists 15:04:56 36e715df3576: Layer already exists 15:04:56 457f12402e44: Layer already exists 15:04:56 26cbea5cba74: Layer already exists 15:04:56 9771f3648f10: Layer already exists 15:04:56 latest: digest: sha256:1bc566a224a29e378f9b339229fd112b0708e43d6fd1ec347e167deb88ea82e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.34 15:04:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:04:57 4248f43a9710: Preparing 15:04:57 36e715df3576: Preparing 15:04:57 9771f3648f10: Preparing 15:04:57 457f12402e44: Preparing 15:04:57 26cbea5cba74: Preparing 15:04:57 457f12402e44: Layer already exists 15:04:57 26cbea5cba74: Layer already exists 15:04:57 9771f3648f10: Layer already exists 15:04:57 4248f43a9710: Layer already exists 15:04:57 36e715df3576: Layer already exists 15:04:57 3.0.0-dev.34: digest: sha256:1bc566a224a29e378f9b339229fd112b0708e43d6fd1ec347e167deb88ea82e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34 15:04:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:04:58 4248f43a9710: Preparing 15:04:58 36e715df3576: Preparing 15:04:58 9771f3648f10: Preparing 15:04:58 457f12402e44: Preparing 15:04:58 26cbea5cba74: Preparing 15:04:58 4248f43a9710: Layer already exists 15:04:58 36e715df3576: Layer already exists 15:04:58 9771f3648f10: Layer already exists 15:04:58 26cbea5cba74: Layer already exists 15:04:58 457f12402e44: Layer already exists 15:04:58 afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34: digest: sha256:1bc566a224a29e378f9b339229fd112b0708e43d6fd1ec347e167deb88ea82e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 15:04:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 15:04:59 4248f43a9710: Preparing 15:04:59 36e715df3576: Preparing 15:04:59 9771f3648f10: Preparing 15:04:59 457f12402e44: Preparing 15:04:59 26cbea5cba74: Preparing 15:04:59 4248f43a9710: Layer already exists 15:04:59 457f12402e44: Layer already exists 15:04:59 9771f3648f10: Layer already exists 15:04:59 26cbea5cba74: Layer already exists 15:04:59 36e715df3576: Layer already exists 15:04:59 main: digest: sha256:1bc566a224a29e378f9b339229fd112b0708e43d6fd1ec347e167deb88ea82e6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:04:59 ===================================================== [Pipeline] echo 15:04:59 taggedImages: 15:04:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:afca5dd35944e70aeaf084f770d24917f4059b9f 15:04:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 15:04:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.34 15:04:59 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:afca5dd35944e70aeaf084f770d24917f4059b9f-3.0.0-dev.34 15:04:59 - 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 15:04:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:04:59 15:04:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:05:00 arm64: Pulling from edgex-lftools-log-publisher 15:05:00 8998bd30e6a1: Pulling fs layer 15:05:00 04944245beec: Pulling fs layer 15:05:00 699f458cf7ca: Pulling fs layer 15:05:00 765212b225bb: Pulling fs layer 15:05:00 f23df028b6ca: Pulling fs layer 15:05:00 d65c8cfc05b1: Pulling fs layer 15:05:00 2437ff75d9bd: Pulling fs layer 15:05:00 f23df028b6ca: Waiting 15:05:00 2437ff75d9bd: Waiting 15:05:00 d65c8cfc05b1: Waiting 15:05:00 765212b225bb: Waiting 15:05:00 04944245beec: Verifying Checksum 15:05:00 04944245beec: Download complete 15:05:00 765212b225bb: Verifying Checksum 15:05:00 765212b225bb: Download complete 15:05:00 f23df028b6ca: Verifying Checksum 15:05:00 f23df028b6ca: Download complete 15:05:00 d65c8cfc05b1: Verifying Checksum 15:05:00 d65c8cfc05b1: Download complete 15:05:00 699f458cf7ca: Verifying Checksum 15:05:00 699f458cf7ca: Download complete 15:05:01 8998bd30e6a1: Verifying Checksum 15:05:01 8998bd30e6a1: Download complete 15:05:03 2437ff75d9bd: Verifying Checksum 15:05:03 2437ff75d9bd: Download complete 15:05:05 8998bd30e6a1: Pull complete 15:05:06 04944245beec: Pull complete 15:05:07 699f458cf7ca: Pull complete 15:05:07 765212b225bb: Pull complete 15:05:08 f23df028b6ca: Pull complete 15:05:08 d65c8cfc05b1: Pull complete 15:05:23 2437ff75d9bd: Pull complete 15:05:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:05:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:05:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:23 prd-ubuntu20.04-docker-arm64-4c-16g-9306 does not seem to be running inside a container 15:05:23 $ 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/106 -v /w/workspace/device-virtual-go/106:/w/workspace/device-virtual-go/106:rw,z -v /w/workspace/device-virtual-go/106@tmp:/w/workspace/device-virtual-go/106@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 15:05:26 $ docker top e79110b5e89c8779b5f81d5598ac256368c5fae169b556822cd7e82b686ac35a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:27 ---> job-cost.sh 15:05:27 lf-activate-venv: SKIPPING 15:05:27 INFO: No Stack... 15:05:27 INFO: Retrieving Pricing Info for: v3-standard-4 15:05:28 INFO: Archiving Costs [Pipeline] sh 15:05:29 + cut -d, -f6 15:05:29 + cat /w/workspace/device-virtual-go/106/archives/cost.csv [Pipeline] lock 15:05:29 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-106-stack-cost] 15:05:29 Resource [jenkins-edgexfoundry-device-virtual-go-main-106-stack-cost] did not exist. Created. 15:05:29 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:05:29 /w/workspace/device-virtual-go/106@tmp/durable-8f7fd29d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:05:30 + echo total: 0.10999999940395355 [Pipeline] stash 15:05:30 Warning: overwriting stash ‘stack-cost’ 15:05:30 Stashed 1 file(s) [Pipeline] } 15:05:30 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 15:05:30 $ docker stop --time=1 e79110b5e89c8779b5f81d5598ac256368c5fae169b556822cd7e82b686ac35a 15:05:32 $ docker rm -f --volumes e79110b5e89c8779b5f81d5598ac256368c5fae169b556822cd7e82b686ac35a [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 15:05:32 provisioning config files... 15:05:32 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5318988671255369272tmp [Pipeline] { [Pipeline] sh 15:05:32 + set +x 15:05:32 + curl -s https://codecov.io/bash 15:05:32 + bash -s -- 15:05:32 15:05:32 _____ _ 15:05:32 / ____| | | 15:05:32 | | ___ __| | ___ ___ _____ __ 15:05:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:05:32 | |___| (_) | (_| | __/ (_| (_) \ V / 15:05:32 \_____\___/ \__,_|\___|\___\___/ \_/ 15:05:32 Bash-1.0.6 15:05:32 15:05:32 15:05:32 ==> git version 2.25.1 found 15:05:32 ==> 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 15:05:32 Release-Date: 2020-01-08 15:05:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:05:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:05:32 ==> Jenkins CI detected. 15:05:32 current dir:  /w/workspace/exfoundry_device-virtual-go_main 15:05:32 project root: . 15:05:32 --> token set from env 15:05:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:05:32 ==> Running gcov in . (disable via -X gcov) 15:05:32 ==> Python coveragepy not found 15:05:32 ==> Searching for coverage reports in: 15:05:32 + . 15:05:32 -> Found 1 reports 15:05:32 ==> Detecting git/mercurial file structure 15:05:32 ==> Reading reports 15:05:32 + ./coverage.out bytes=43063 15:05:32 ==> Appending adjustments 15:05:32 https://docs.codecov.io/docs/fixing-reports 15:05:33 + Found adjustments 15:05:33 ==> Gzipping contents 15:05:33 8.0K /tmp/codecov.cdWkFZ.gz 15:05:33 ==> Uploading reports 15:05:33 url: https://codecov.io 15:05:33 query: branch=main&commit=afca5dd35944e70aeaf084f770d24917f4059b9f&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:05:33 -> Pinging Codecov 15:05:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=main&commit=afca5dd35944e70aeaf084f770d24917f4059b9f&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:05:33 -> Uploading to 15:05:33 https://storage.googleapis.com/codecov/v4/raw/2023-04-21/5E52B4B073DB2E39498172D8E973AA87/afca5dd35944e70aeaf084f770d24917f4059b9f/5ee7d904-58ce-4bb4-aa5d-f1fff086e620.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230421T150533Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a6fc622b7bee8ae0e5411203d97efab52c395d6bead806671b968565b5b42f38 15:05:33 % Total % Received % Xferd Average Speed Time Time Time Current 15:05:33 Dload Upload Total Spent Left Speed 15:05:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23142 --:--:-- --:--:-- --:--:-- 23142 15:05:33 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/afca5dd35944e70aeaf084f770d24917f4059b9f [Pipeline] } 15:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:05:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:05:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:05:33 15:05:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:05:34 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:05:34 df9b9388f04a: Pulling fs layer 15:05:34 52dc419b0ee2: Pulling fs layer 15:05:34 25bc292e5bac: Pulling fs layer 15:05:34 114826534d7a: Pulling fs layer 15:05:34 4657fd5d0bcf: Pulling fs layer 15:05:34 6ad1cebc031e: Pulling fs layer 15:05:34 8a3aa393b2d8: Pulling fs layer 15:05:34 114826534d7a: Waiting 15:05:34 4657fd5d0bcf: Waiting 15:05:34 6ad1cebc031e: Waiting 15:05:34 8a3aa393b2d8: Waiting 15:05:34 25bc292e5bac: Download complete 15:05:34 52dc419b0ee2: Verifying Checksum 15:05:34 52dc419b0ee2: Download complete 15:05:34 4657fd5d0bcf: Verifying Checksum 15:05:34 4657fd5d0bcf: Download complete 15:05:34 df9b9388f04a: Verifying Checksum 15:05:34 df9b9388f04a: Download complete 15:05:35 6ad1cebc031e: Verifying Checksum 15:05:35 6ad1cebc031e: Download complete 15:05:35 df9b9388f04a: Pull complete 15:05:35 52dc419b0ee2: Pull complete 15:05:35 114826534d7a: Verifying Checksum 15:05:35 114826534d7a: Download complete 15:05:35 8a3aa393b2d8: Verifying Checksum 15:05:35 8a3aa393b2d8: Download complete 15:05:35 25bc292e5bac: Pull complete 15:05:39 114826534d7a: Pull complete 15:05:39 4657fd5d0bcf: Pull complete 15:05:39 6ad1cebc031e: Pull complete 15:05:42 8a3aa393b2d8: Pull complete 15:05:42 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:05:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:05:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:42 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 15:05:42 $ 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 15:05:52 $ docker top 358f2b628ebda1d3df5d7aae8b3f7f864f7eef439264ecfe071127cd55db6bd9 -eo pid,comm [Pipeline] { [Pipeline] echo 15:05:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 15:05:52 + set -o pipefail 15:05:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 15:05:57 15:05:57 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 15:05:57 15:05:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/1aeb844c-5746-4bc8-aa9b-2d76e5a7a41d 15:05:57 15:05:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:05:57 15:05:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:05:57 15:05:57 15:05:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:05:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:05:57 More details here: https://snyk.co/ue1NS [Pipeline] } 15:05:57 $ docker stop --time=1 358f2b628ebda1d3df5d7aae8b3f7f864f7eef439264ecfe071127cd55db6bd9 15:06:04 $ docker rm -f --volumes 358f2b628ebda1d3df5d7aae8b3f7f864f7eef439264ecfe071127cd55db6bd9 [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 15:06:05 + git log --format=format:%s -1 afca5dd35944e70aeaf084f770d24917f4059b9f [Pipeline] sh 15:06:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:06:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:06:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:06 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 15:06:06 $ 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 15:06:07 $ docker top 095e9dc31ecbbec71e95d189bdf660b980ced57c831c8da11a0e5d92fd4f7407 -eo pid,comm 15:06:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:06:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:06:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:07 [ssh-agent] Looking for ssh-agent implementation... 15:06:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:07 $ docker exec 095e9dc31ecbbec71e95d189bdf660b980ced57c831c8da11a0e5d92fd4f7407 ssh-agent 15:06:07 SSH_AUTH_SOCK=/tmp/ssh-TYqyVuxEdMWt/agent.14 15:06:07 SSH_AGENT_PID=20 15:06:07 Running ssh-add (command line suppressed) 15:06:07 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12989009062844426382.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12989009062844426382.key) 15:06:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:08 + git semver tag 15:06:08 2023-04-21 15:06:08,246 [run_tag] DEBUG tag force:False 15:06:08 2023-04-21 15:06:08,246 [check_head_tag] DEBUG check head tag 15:06:08 2023-04-21 15:06:08,249 [execute] INFO git cat-file --batch-check 15:06:08 2023-04-21 15:06:08,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:06:08 2023-04-21 15:06:08,253 [execute] INFO git cat-file --batch 15:06:08 2023-04-21 15:06:08,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 15:06:08 2023-04-21 15:06:08,279 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:06:08 2023-04-21 15:06:08,279 [execute] INFO git tag -a v3.0.0-dev.34 -m v3.0.0-dev.34 15:06:08 2023-04-21 15:06:08,279 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.34', '-m', 'v3.0.0-dev.34'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 15:06:08 2023-04-21 15:06:08,284 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:06:08 3.0.0-dev.34 [Pipeline] } 15:06:08 $ docker exec --env ******** --env ******** 095e9dc31ecbbec71e95d189bdf660b980ced57c831c8da11a0e5d92fd4f7407 ssh-agent -k 15:06:08 unset SSH_AUTH_SOCK; 15:06:08 unset SSH_AGENT_PID; 15:06:08 echo Agent pid 20 killed; 15:06:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:06:08 + git semver [Pipeline] } 15:06:09 $ docker stop --time=1 095e9dc31ecbbec71e95d189bdf660b980ced57c831c8da11a0e5d92fd4f7407 15:06:10 $ docker rm -f --volumes 095e9dc31ecbbec71e95d189bdf660b980ced57c831c8da11a0e5d92fd4f7407 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:06:11 15:06:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:06:11 0.23.1-centos7: Pulling from edgex-lftools 15:06:11 ab5ef0e58194: Pulling fs layer 15:06:11 9712f1f96733: Pulling fs layer 15:06:11 63f879dbbcfc: Pulling fs layer 15:06:11 0d9ebad4ef96: Pulling fs layer 15:06:11 e9a5061849ea: Pulling fs layer 15:06:11 d747dcd14b5f: Pulling fs layer 15:06:11 2de7ff778b66: Pulling fs layer 15:06:11 e9a5061849ea: Waiting 15:06:11 d747dcd14b5f: Waiting 15:06:11 2de7ff778b66: Waiting 15:06:11 0d9ebad4ef96: Waiting 15:06:11 9712f1f96733: Verifying Checksum 15:06:11 9712f1f96733: Download complete 15:06:12 63f879dbbcfc: Verifying Checksum 15:06:12 63f879dbbcfc: Download complete 15:06:12 0d9ebad4ef96: Verifying Checksum 15:06:12 0d9ebad4ef96: Download complete 15:06:12 e9a5061849ea: Verifying Checksum 15:06:12 e9a5061849ea: Download complete 15:06:12 ab5ef0e58194: Verifying Checksum 15:06:12 ab5ef0e58194: Download complete 15:06:12 d747dcd14b5f: Verifying Checksum 15:06:12 d747dcd14b5f: Download complete 15:06:12 2de7ff778b66: Verifying Checksum 15:06:12 2de7ff778b66: Download complete 15:06:15 ab5ef0e58194: Pull complete 15:06:15 9712f1f96733: Pull complete 15:06:16 63f879dbbcfc: Pull complete 15:06:19 0d9ebad4ef96: Pull complete 15:06:19 e9a5061849ea: Pull complete 15:06:19 d747dcd14b5f: Pull complete 15:06:21 2de7ff778b66: Pull complete 15:06:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:06:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:06:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:21 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 15:06: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 15:06:29 $ docker top a35c12b68e60b8cd1b8427b22f14246f9e0596944dec2fc47eda7810782ab963 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:06:29 provisioning config files... 15:06:29 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9066571609673902031tmp 15:06:29 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3840434015759723598tmp 15:06:29 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14930558326147812513tmp [Pipeline] { [Pipeline] echo 15:06:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:06:29 ---> sigul-configuration.sh 15:06:29 gpg: directory `/root/.gnupg' created 15:06:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:06:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:06:29 gpg: keyring `/root/.gnupg/secring.gpg' created 15:06:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:06:29 gpg: CAST5 encrypted data 15:06:29 gpg: encrypted with 1 passphrase 15:06:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:06:29 + mkdir /home/jenkins 15:06:29 + mkdir /home/jenkins/sigul [Pipeline] sh 15:06:30 + 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 15:06:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:06:30 ---> sigul-install.sh 15:06:30 Sigul already installed; skipping installation. [Pipeline] sh 15:06:30 + git tag --list 15:06:30 v1.0.0 15:06:30 v1.1.0 15:06:30 v1.1.1 15:06:30 v1.2.1 15:06:30 v1.2.2 15:06:30 v1.2.3 15:06:30 v1.3.0 15:06:30 v1.3.1 15:06:30 v2.0.0 15:06:30 v2.1.0 15:06:30 v2.1.1 15:06:30 v2.1.1-dev.1 15:06:30 v2.1.1-dev.2 15:06:30 v2.2.0 15:06:30 v2.2.1-dev.1 15:06:30 v2.2.1-dev.2 15:06:30 v2.2.1-dev.3 15:06:30 v2.2.1-dev.4 15:06:30 v2.2.1-dev.5 15:06:30 v2.2.1-dev.6 15:06:30 v2.2.1-dev.7 15:06:30 v2.2.1-dev.8 15:06:30 v2.3.0 15:06:30 v2.3.0-dev.10 15:06:30 v2.3.0-dev.11 15:06:30 v2.3.0-dev.12 15:06:30 v2.3.0-dev.13 15:06:30 v2.3.0-dev.14 15:06:30 v2.3.0-dev.15 15:06:30 v2.3.0-dev.16 15:06:30 v2.3.0-dev.17 15:06:30 v2.3.0-dev.18 15:06:30 v2.3.0-dev.19 15:06:30 v2.3.0-dev.20 15:06:30 v2.3.0-dev.21 15:06:30 v2.3.0-dev.22 15:06:30 v2.3.0-dev.23 15:06:30 v2.3.0-dev.24 15:06:30 v2.3.0-dev.25 15:06:30 v2.3.0-dev.26 15:06:30 v2.3.0-dev.27 15:06:30 v2.3.0-dev.28 15:06:30 v2.3.0-dev.29 15:06:30 v2.3.0-dev.30 15:06:30 v2.3.0-dev.8 15:06:30 v2.3.0-dev.9 15:06:30 v3.0.0-dev.1 15:06:30 v3.0.0-dev.10 15:06:30 v3.0.0-dev.11 15:06:30 v3.0.0-dev.12 15:06:30 v3.0.0-dev.13 15:06:30 v3.0.0-dev.14 15:06:30 v3.0.0-dev.15 15:06:30 v3.0.0-dev.16 15:06:30 v3.0.0-dev.17 15:06:30 v3.0.0-dev.18 15:06:30 v3.0.0-dev.19 15:06:30 v3.0.0-dev.2 15:06:30 v3.0.0-dev.20 15:06:30 v3.0.0-dev.21 15:06:30 v3.0.0-dev.22 15:06:30 v3.0.0-dev.23 15:06:30 v3.0.0-dev.24 15:06:30 v3.0.0-dev.25 15:06:30 v3.0.0-dev.26 15:06:30 v3.0.0-dev.27 15:06:30 v3.0.0-dev.28 15:06:30 v3.0.0-dev.29 15:06:30 v3.0.0-dev.3 15:06:30 v3.0.0-dev.30 15:06:30 v3.0.0-dev.31 15:06:30 v3.0.0-dev.32 15:06:30 v3.0.0-dev.33 15:06:30 v3.0.0-dev.34 15:06:30 v3.0.0-dev.4 15:06:30 v3.0.0-dev.5 15:06:30 v3.0.0-dev.6 15:06:30 v3.0.0-dev.7 15:06:30 v3.0.0-dev.8 15:06:30 v3.0.0-dev.9 [Pipeline] sh 15:06:30 + lftools sign git-tag v3.0.0-dev.34 15:06:31 Signing Git tag with Sigul... 15:06:31 Signing v3.0.0-dev.34 [Pipeline] echo 15:06:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:06:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:06:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:06:32 $ docker stop --time=1 a35c12b68e60b8cd1b8427b22f14246f9e0596944dec2fc47eda7810782ab963 15:06:33 $ docker rm -f --volumes a35c12b68e60b8cd1b8427b22f14246f9e0596944dec2fc47eda7810782ab963 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:06:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:06:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:06:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:34 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 15:06:34 $ 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 15:06:34 $ docker top 65ea9839898c357862ab7b8d47d348128e8042692f1c7ae93c3ff92e7298cef3 -eo pid,comm 15:06:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:06:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:06:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:34 [ssh-agent] Looking for ssh-agent implementation... 15:06:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:34 $ docker exec 65ea9839898c357862ab7b8d47d348128e8042692f1c7ae93c3ff92e7298cef3 ssh-agent 15:06:34 SSH_AUTH_SOCK=/tmp/ssh-hp4qm2NWopLO/agent.32 15:06:34 SSH_AGENT_PID=38 15:06:34 Running ssh-add (command line suppressed) 15:06:34 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4747298478948262909.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4747298478948262909.key) 15:06:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:35 + git semver bump pre 15:06:35 2023-04-21 15:06:35,416 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:06:35 2023-04-21 15:06:35,417 [bump_version] DEBUG bumping version:3.0.0-dev.34 on axis:pre with prefix:dev 15:06:35 2023-04-21 15:06:35,417 [bump_version] DEBUG bumped version:3.0.0-dev.35 15:06:35 2023-04-21 15:06:35,417 [write_version] DEBUG write version:3.0.0-dev.35 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 15:06:35 2023-04-21 15:06:35,417 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:06:35 2023-04-21 15:06:35,417 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:06:35 2023-04-21 15:06:35,419 [execute] INFO git cat-file --batch-check 15:06:35 2023-04-21 15:06:35,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:06:35 2023-04-21 15:06:35,423 [execute] INFO git cat-file --batch 15:06:35 2023-04-21 15:06:35,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:06:35 2023-04-21 15:06:35,428 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:06:35 3.0.0-dev.35 [Pipeline] } 15:06:35 $ docker exec --env ******** --env ******** 65ea9839898c357862ab7b8d47d348128e8042692f1c7ae93c3ff92e7298cef3 ssh-agent -k 15:06:35 unset SSH_AUTH_SOCK; 15:06:35 unset SSH_AGENT_PID; 15:06:35 echo Agent pid 38 killed; 15:06:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:06:35 + git semver [Pipeline] } 15:06:36 $ docker stop --time=1 65ea9839898c357862ab7b8d47d348128e8042692f1c7ae93c3ff92e7298cef3 15:06:37 $ docker rm -f --volumes 65ea9839898c357862ab7b8d47d348128e8042692f1c7ae93c3ff92e7298cef3 [Pipeline] // withDockerContainer [Pipeline] sh 15:06:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:06:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:06:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:38 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 15:06:38 $ 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 15:06:38 $ docker top 9ed31da930dbb8a0eca68acbae1d370ecddd226dd948efda4e19efcd30317a11 -eo pid,comm 15:06:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:06:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:06:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:06:38 [ssh-agent] Looking for ssh-agent implementation... 15:06:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:06:38 $ docker exec 9ed31da930dbb8a0eca68acbae1d370ecddd226dd948efda4e19efcd30317a11 ssh-agent 15:06:38 SSH_AUTH_SOCK=/tmp/ssh-zmjBaMtguE05/agent.33 15:06:38 SSH_AGENT_PID=39 15:06:38 Running ssh-add (command line suppressed) 15:06:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16493429619313526817.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16493429619313526817.key) 15:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:06:39 + git semver push 15:06:39 2023-04-21 15:06:39,424 [run_push] DEBUG push 15:06:39 2023-04-21 15:06:39,425 [execute] INFO git cat-file --batch-check 15:06:39 2023-04-21 15:06:39,426 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:06:39 2023-04-21 15:06:39,430 [execute] INFO git rev-list 55e3f291f818f2d33a4c6192402c97f38a7baa81 -- 15:06:39 2023-04-21 15:06:39,431 [execute] DEBUG Popen(['git', 'rev-list', '55e3f291f818f2d33a4c6192402c97f38a7baa81', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:06:39 2023-04-21 15:06:39,439 [execute] INFO git fetch -v origin 15:06:39 2023-04-21 15:06:39,439 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:06:40 2023-04-21 15:06:39,914 [run_push] DEBUG no remote changes detected 15:06:40 2023-04-21 15:06:39,914 [execute] INFO git push origin semver 15:06:40 2023-04-21 15:06:39,914 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:06:41 2023-04-21 15:06:40,705 [run_push] DEBUG push all version tags 15:06:41 2023-04-21 15:06:40,705 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:06:41 2023-04-21 15:06:40,706 [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) 15:06:41 2023-04-21 15:06:41,452 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 15:06:41 3.0.0-dev.35 [Pipeline] } 15:06:41 $ docker exec --env ******** --env ******** 9ed31da930dbb8a0eca68acbae1d370ecddd226dd948efda4e19efcd30317a11 ssh-agent -k 15:06:41 unset SSH_AUTH_SOCK; 15:06:41 unset SSH_AGENT_PID; 15:06:41 echo Agent pid 39 killed; 15:06:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:06:42 + git semver [Pipeline] } 15:06:42 $ docker stop --time=1 9ed31da930dbb8a0eca68acbae1d370ecddd226dd948efda4e19efcd30317a11 15:06:43 $ docker rm -f --volumes 9ed31da930dbb8a0eca68acbae1d370ecddd226dd948efda4e19efcd30317a11 [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 15:06:44 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 15:06:44 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:06:44 total 16 15:06:44 drwxr-xr-x 3 root root 4096 Apr 21 14:55 . 15:06:44 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 15:06 .. 15:06:44 drwxr-xr-x 2 root root 4096 Apr 21 14:55 cost 15:06:44 -rw-r--r-- 1 root root 89 Apr 21 14:55 cost.csv 15:06:44 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 15:06:44 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 15:06:44 total 16 15:06:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 14:55 . 15:06:44 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 15:06 .. 15:06:44 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 14:55 cost 15:06:44 -rw-r--r-- 1 jenkins jenkins 89 Apr 21 14:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:06:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:06:45 ---> package-listing.sh 15:06:45 ++ facter osfamily 15:06:45 ++ tr '[:upper:]' '[:lower:]' 15:06:45 + OS_FAMILY=debian 15:06:45 + workspace=/w/workspace/exfoundry_device-virtual-go_main 15:06:45 + START_PACKAGES=/tmp/packages_start.txt 15:06:45 + END_PACKAGES=/tmp/packages_end.txt 15:06:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:06:45 + PACKAGES=/tmp/packages_start.txt 15:06:45 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:06:45 + PACKAGES=/tmp/packages_end.txt 15:06:45 + case "${OS_FAMILY}" in 15:06:45 + dpkg -l 15:06:45 + grep '^ii' 15:06:45 + '[' -f /tmp/packages_start.txt ']' 15:06:45 + '[' -f /tmp/packages_end.txt ']' 15:06:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:06:45 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 15:06:45 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 15:06:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 15:06:45 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:06:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:46 prd-ubuntu20.04-docker-8c-8g-9301 does not seem to be running inside a container 15:06:46 $ 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 15:06:46 $ docker top 099bb70279e787f662d5e54b1061df7ebe5ff334e049cf4128b4ba8e6548e368 -eo pid,comm [Pipeline] { [Pipeline] sh 15:06:47 + touch /tmp/pre-build-complete [Pipeline] sh 15:06:47 + mkdir -p /var/log/sysstat [Pipeline] sh 15:06:47 + ls /var/log/sa-host 15:06:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:06:47 provisioning config files... 15:06:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12069327847320426599tmp [Pipeline] { [Pipeline] echo 15:06:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:06:48 ---> create-netrc.sh [Pipeline] } 15:06:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:06:48 ---> python-tools-install.sh [Pipeline] echo 15:06:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:06:48 ---> sudo-logs.sh 15:06:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:06:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:06:49 ---> job-cost.sh 15:06:49 lf-activate-venv: SKIPPING 15:06:49 DEBUG: total: 0.2199999988079071 15:06:49 INFO: Retrieving Stack Cost... 15:06:49 INFO: Retrieving Pricing Info for: v3-standard-8 15:06:50 INFO: Archiving Costs [Pipeline] echo 15:06:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:06:50 ---> logs-deploy.sh 15:06:50 lf-activate-venv: SKIPPING 15:06:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/106 15:06:50 INFO: archiving workspace using pattern(s): 15:06:51 Archives upload complete. 15:06:51 INFO: archiving logs to Nexus