Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8805d0dc84327be1c031088231e6ea81f537399 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-ssh15177187627685457742.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-ssh2125097268585163078.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-ssh2279598432711849936.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-ssh16533469976906875824.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-ssh245615547638967482.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8735 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 b8805d0dc84327be1c031088231e6ea81f537399 (main) Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#384)" > git config core.sparsecheckout # timeout=10 > git checkout -f b8805d0dc84327be1c031088231e6ea81f537399 # timeout=10 > git rev-list --no-walk 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:24:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:24:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:24:57 ========================================================= 16:24:57 EdgeX Global Pipelines Version Info 16:24:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:24:58 ------------------- 16:24:58 stable info: 16:24:58 ------------------- 16:24:58 Commited By: Bill Mahoney bill.mahoney@intel.com 16:24:58 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 16:24:58 Message: update stable to v1.0.248 16:24:59 ------------------- 16:24:59 experimental info: 16:24:59 ------------------- 16:24:59 Commited By: **** collab-it+edgex@linuxfoundation.org 16:24:59 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 16:24:59 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:24:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8805d0dc84327be1c031088231e6ea81f537399 [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8805d0 [Pipeline] echo 16:25:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:00 provisioning config files... 16:25:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2471885179767610282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:00 ---> docker-login.sh 16:25:00 nexus3.edgexfoundry.org:10001 16:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:01 Configure a credential helper to remove this warning. See 16:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:01 16:25:01 Login Succeeded 16:25:01 nexus3.edgexfoundry.org:10002 16:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:01 Configure a credential helper to remove this warning. See 16:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:01 16:25:01 Login Succeeded 16:25:01 nexus3.edgexfoundry.org:10003 16:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:01 Configure a credential helper to remove this warning. See 16:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:01 16:25:01 Login Succeeded 16:25:01 nexus3.edgexfoundry.org:10004 16:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:01 Configure a credential helper to remove this warning. See 16:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:01 16:25:01 Login Succeeded 16:25:01 docker.io 16:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:01 Configure a credential helper to remove this warning. See 16:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:01 16:25:01 Login Succeeded 16:25:01 ---> docker-login.sh ends [Pipeline] } 16:25:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:25:01 + git rev-list -1 --merges b8805d0dc84327be1c031088231e6ea81f537399~1..b8805d0dc84327be1c031088231e6ea81f537399 [Pipeline] echo 16:25:01 -----------> git rev-list -1 --merges b8805d0dc84327be1c031088231e6ea81f537399~1..b8805d0dc84327be1c031088231e6ea81f537399 b8805d0dc84327be1c031088231e6ea81f537399 [false] [Pipeline] sh 16:25:02 + git log --format=format:%s -1 b8805d0dc84327be1c031088231e6ea81f537399 [Pipeline] echo 16:25:02 ========================================================= 16:25:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:25:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:02 + git log --format=format:%s -1 b8805d0dc84327be1c031088231e6ea81f537399 [Pipeline] echo 16:25:02 [semverPrep] GIT_COMMIT: b8805d0dc84327be1c031088231e6ea81f537399, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#384) [Pipeline] echo 16:25:02 [semverPrep] This is not a build commit. [Pipeline] sh 16:25:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:25:03 + grep -v github /etc/ssh/ssh_known_hosts 16:25:03 + [ -e /tmp/ssh_known_hosts ] 16:25:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:25:03 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:25:03 sudo tee -a /etc/ssh/ssh_known_hosts 16:25:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:03 16:25:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:03 0.1.4: Pulling from edgex-devops/py-git-semver 16:25:03 b85a868b505f: Pulling fs layer 16:25:03 e2be974225ed: Pulling fs layer 16:25:03 339a4e72a1f5: Pulling fs layer 16:25:03 988bab9f4d93: Pulling fs layer 16:25:03 1469e6f7b9e6: Pulling fs layer 16:25:03 eaf3925da568: Pulling fs layer 16:25:03 bab4dde63d76: Pulling fs layer 16:25:03 bde34c3a00c8: Pulling fs layer 16:25:03 b352a97aabf1: Pulling fs layer 16:25:03 4872d77fe225: Pulling fs layer 16:25:03 5851b861e8e6: Pulling fs layer 16:25:03 eaf3925da568: Waiting 16:25:03 bab4dde63d76: Waiting 16:25:03 bde34c3a00c8: Waiting 16:25:03 b352a97aabf1: Waiting 16:25:03 988bab9f4d93: Waiting 16:25:03 4872d77fe225: Waiting 16:25:03 5851b861e8e6: Waiting 16:25:03 1469e6f7b9e6: Waiting 16:25:03 e2be974225ed: Verifying Checksum 16:25:03 e2be974225ed: Download complete 16:25:03 988bab9f4d93: Verifying Checksum 16:25:03 988bab9f4d93: Download complete 16:25:03 339a4e72a1f5: Verifying Checksum 16:25:03 339a4e72a1f5: Download complete 16:25:03 1469e6f7b9e6: Verifying Checksum 16:25:03 1469e6f7b9e6: Download complete 16:25:03 eaf3925da568: Verifying Checksum 16:25:03 bde34c3a00c8: Verifying Checksum 16:25:03 bde34c3a00c8: Download complete 16:25:03 b352a97aabf1: Verifying Checksum 16:25:03 b352a97aabf1: Download complete 16:25:03 4872d77fe225: Verifying Checksum 16:25:03 5851b861e8e6: Verifying Checksum 16:25:03 5851b861e8e6: Download complete 16:25:03 b85a868b505f: Verifying Checksum 16:25:03 b85a868b505f: Download complete 16:25:04 bab4dde63d76: Verifying Checksum 16:25:04 bab4dde63d76: Download complete 16:25:05 b85a868b505f: Pull complete 16:25:05 e2be974225ed: Pull complete 16:25:05 339a4e72a1f5: Pull complete 16:25:05 988bab9f4d93: Pull complete 16:25:06 1469e6f7b9e6: Pull complete 16:25:06 eaf3925da568: Pull complete 16:25:07 bab4dde63d76: Pull complete 16:25:07 bde34c3a00c8: Pull complete 16:25:07 b352a97aabf1: Pull complete 16:25:07 4872d77fe225: Pull complete 16:25:07 5851b861e8e6: Pull complete 16:25:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:25:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:08 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:25:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:11 $ docker top e13760d3347a88a63144b9482446328452a455f11f70cca7f76888973d357f5c -eo pid,comm 16:25:11 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). 16:25:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:11 [ssh-agent] Looking for ssh-agent implementation... 16:25:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:11 $ docker exec e13760d3347a88a63144b9482446328452a455f11f70cca7f76888973d357f5c ssh-agent 16:25:11 SSH_AUTH_SOCK=/tmp/ssh-XN2sOSfC4bjH/agent.32 16:25:11 SSH_AGENT_PID=38 16:25:11 Running ssh-add (command line suppressed) 16:25:11 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6439459004867223591.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6439459004867223591.key) 16:25:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:12 + git tag --points-at HEAD [Pipeline] } 16:25:12 $ docker exec --env ******** --env ******** e13760d3347a88a63144b9482446328452a455f11f70cca7f76888973d357f5c ssh-agent -k 16:25:12 unset SSH_AUTH_SOCK; 16:25:12 unset SSH_AGENT_PID; 16:25:12 echo Agent pid 38 killed; 16:25:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:25:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:12 [ssh-agent] Looking for ssh-agent implementation... 16:25:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:12 $ docker exec e13760d3347a88a63144b9482446328452a455f11f70cca7f76888973d357f5c ssh-agent 16:25:12 SSH_AUTH_SOCK=/tmp/ssh-VAeR6JJbnl3s/agent.70 16:25:12 SSH_AGENT_PID=76 16:25:12 Running ssh-add (command line suppressed) 16:25:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6322912754726925062.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6322912754726925062.key) 16:25:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:12 + git semver init 16:25:13 2023-04-17 16:25:13,030 [run_init] DEBUG init version:0.0.0 force:False 16:25:13 2023-04-17 16:25:13,031 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 16:25:13 2023-04-17 16:25:13,032 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 16:25:13 2023-04-17 16:25:13,032 [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) 16:25:14 2023-04-17 16:25:14,112 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 16:25:14 2023-04-17 16:25:14,112 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 16:25:14 2023-04-17 16:25:14,112 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:25:14 2023-04-17 16:25:14,113 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:25:14 3.0.0-dev.30 [Pipeline] } 16:25:14 $ docker exec --env ******** --env ******** e13760d3347a88a63144b9482446328452a455f11f70cca7f76888973d357f5c ssh-agent -k 16:25:14 unset SSH_AUTH_SOCK; 16:25:14 unset SSH_AGENT_PID; 16:25:14 echo Agent pid 76 killed; 16:25:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:14 + git semver [Pipeline] } 16:25:15 $ docker stop --time=1 e13760d3347a88a63144b9482446328452a455f11f70cca7f76888973d357f5c 16:25:16 $ docker rm -f --volumes e13760d3347a88a63144b9482446328452a455f11f70cca7f76888973d357f5c [Pipeline] // withDockerContainer [Pipeline] sh 16:25:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:25:17 Stashed 1 file(s) [Pipeline] echo 16:25:17 [edgeXSemver]: initialized semver on version 3.0.0-dev.30 [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 16:25:17 provisioning config files... 16:25:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config12883297831689735566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:17 ---> docker-login.sh 16:25:17 nexus3.edgexfoundry.org:10001 16:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:17 Configure a credential helper to remove this warning. See 16:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:17 16:25:17 Login Succeeded 16:25:17 nexus3.edgexfoundry.org:10002 16:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:17 Configure a credential helper to remove this warning. See 16:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:17 16:25:17 Login Succeeded 16:25:17 nexus3.edgexfoundry.org:10003 16:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:17 Configure a credential helper to remove this warning. See 16:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:17 16:25:17 Login Succeeded 16:25:17 nexus3.edgexfoundry.org:10004 16:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:17 Configure a credential helper to remove this warning. See 16:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:17 16:25:17 Login Succeeded 16:25:17 docker.io 16:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:17 Configure a credential helper to remove this warning. See 16:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:17 16:25:17 Login Succeeded 16:25:17 ---> docker-login.sh ends [Pipeline] } 16:25:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:18 ========================================================= 16:25:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:25:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:18 + 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 . 16:25:18 Sending build context to Docker daemon 23.54MB 16:25:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:25:18 Step 2/12 : FROM ${BASE} AS builder 16:25:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:25:18 63b65145d645: Pulling fs layer 16:25:18 a2d21d5440eb: Pulling fs layer 16:25:18 935e6c44a52c: Pulling fs layer 16:25:18 94cc34f8dd06: Pulling fs layer 16:25:18 30dea6a524f1: Pulling fs layer 16:25:18 a2aff8979fd8: Pulling fs layer 16:25:18 6808be2612f2: Pulling fs layer 16:25:18 f25807f1079a: Pulling fs layer 16:25:18 94cc34f8dd06: Waiting 16:25:18 f25807f1079a: Waiting 16:25:18 30dea6a524f1: Waiting 16:25:18 a2aff8979fd8: Waiting 16:25:18 6808be2612f2: Waiting 16:25:18 a2d21d5440eb: Download complete 16:25:18 94cc34f8dd06: Download complete 16:25:18 30dea6a524f1: Verifying Checksum 16:25:18 30dea6a524f1: Download complete 16:25:18 63b65145d645: Download complete 16:25:18 a2aff8979fd8: Verifying Checksum 16:25:18 a2aff8979fd8: Download complete 16:25:18 63b65145d645: Pull complete 16:25:18 a2d21d5440eb: Pull complete 16:25:18 f25807f1079a: Verifying Checksum 16:25:18 f25807f1079a: Download complete 16:25:19 935e6c44a52c: Verifying Checksum 16:25:19 935e6c44a52c: Download complete 16:25:19 6808be2612f2: Verifying Checksum 16:25:19 6808be2612f2: Download complete 16:25:22 935e6c44a52c: Pull complete 16:25:22 94cc34f8dd06: Pull complete 16:25:22 30dea6a524f1: Pull complete 16:25:22 a2aff8979fd8: Pull complete 16:25:24 6808be2612f2: Pull complete 16:25:25 f25807f1079a: Pull complete 16:25:25 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:25:25 ---> 3b553350e43f 16:25:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:25:30 ---> Running in 43c17951f218 16:25:30 Removing intermediate container 43c17951f218 16:25:30 ---> ac964ee392aa 16:25:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:25:30 ---> Running in 7661fd5c4304 16:25:30 Removing intermediate container 7661fd5c4304 16:25:30 ---> 74bd8a9a11f6 16:25:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:25:30 ---> Running in e9360112b18f 16:25:31 Removing intermediate container e9360112b18f 16:25:31 ---> 78c78c3f86b6 16:25:31 Step 6/12 : WORKDIR /device-virtual-go 16:25:31 ---> Running in d9d5090034a5 16:25:31 Removing intermediate container d9d5090034a5 16:25:31 ---> 587f2d424ea2 16:25:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:31 ---> Running in 4379b9586872 16:25:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:25:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:25:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:25:31 (2/4) Installing libedit (20221030.3.1-r0) 16:25:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:25:32 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:25:32 Executing busybox-1.35.0-r29.trigger 16:25:32 OK: 269 MiB in 57 packages 16:25:32 Still waiting to schedule task 16:25:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:25:32 Removing intermediate container 4379b9586872 16:25:32 ---> 799ec4850c10 16:25:32 Step 8/12 : COPY go.mod vendor* ./ 16:25:32 ---> d595a2811652 16:25:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:32 ---> Running in 363af406e36b 16:26:19 Removing intermediate container 363af406e36b 16:26:19 ---> 86be056acd56 16:26:19 Step 10/12 : COPY . . 16:26:19 ---> 5e85355273d2 16:26:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:26:19 ---> Running in d2432b02135e 16:26:19 Removing intermediate container d2432b02135e 16:26:19 ---> 8210a57392cc 16:26:19 Step 12/12 : RUN $MAKE 16:26:19 ---> Running in 36af699c8d80 16:26:19 noop 16:26:19 Removing intermediate container 36af699c8d80 16:26:19 ---> 91bfa22ed5c7 16:26:19 Successfully built 91bfa22ed5c7 16:26:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:19 + docker inspect -f . ci-base-image-x86_64 16:26:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:19 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:26:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:26:19 $ docker top 761496f6d0ad0d8ca253c4c84c7066d7443e385318a709cafcf237cf8a8a61f3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:20 + go version 16:26:20 go version go1.20.2 linux/amd64 [Pipeline] } 16:26:20 $ docker stop --time=1 761496f6d0ad0d8ca253c4c84c7066d7443e385318a709cafcf237cf8a8a61f3 16:26:21 $ docker rm -f --volumes 761496f6d0ad0d8ca253c4c84c7066d7443e385318a709cafcf237cf8a8a61f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:21 + docker inspect -f . ci-base-image-x86_64 16:26:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:22 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:26:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:26:22 $ docker top 5e91f9526172c5665b8d416b22d2211fdbb3df9d7090b0f98743371da026af24 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:22 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 16:26:23 + make test 16:26:23 go test ./... -coverprofile=coverage.out 16:26:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:26:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:26:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.7% of statements 16:26:42 go vet ./... 16:26:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:26:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:26:44 ./bin/test-attribution-txt.sh 16:26:44 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 16:26:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:26:44 $ docker stop --time=1 5e91f9526172c5665b8d416b22d2211fdbb3df9d7090b0f98743371da026af24 16:26:50 $ docker rm -f --volumes 5e91f9526172c5665b8d416b22d2211fdbb3df9d7090b0f98743371da026af24 [Pipeline] // withDockerContainer [Pipeline] sh 16:26:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:26:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:26:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:26:51 + ls -al . 16:26:51 total 192 16:26:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 16:26 . 16:26:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:24 .. 16:26:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 16:25 .git 16:26:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:24 .github 16:26:51 -rw-rw-r-- 1 jenkins jenkins 337 Apr 17 16:24 .gitignore 16:26:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 16:24 .golangci.yml 16:26:51 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 16:25 .semver 16:26:51 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 17 16:24 Attribution.txt 16:26:51 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 17 16:24 CHANGELOG.md 16:26:51 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 17 16:24 Dockerfile 16:26:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 16:24 GOVERNANCE.md 16:26:51 -rw-rw-r-- 1 jenkins jenkins 660 Apr 17 16:24 Jenkinsfile 16:26:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 16:24 LICENSE 16:26:51 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 17 16:24 Makefile 16:26:51 -rw-rw-r-- 1 jenkins jenkins 623 Apr 17 16:24 OWNERS.md 16:26:51 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 17 16:24 README.md 16:26:51 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 16:25 VERSION 16:26:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 16:24 bin 16:26:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:24 cmd 16:26:51 -rw-r--r-- 1 jenkins jenkins 42970 Apr 17 16:26 coverage.out 16:26:51 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 17 16:24 go.mod 16:26:51 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 17 16:24 go.sum 16:26:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:24 internal 16:26:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:24 snap 16:26:51 -rw-rw-r-- 1 jenkins jenkins 235 Apr 17 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:52 + 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=b8805d0dc84327be1c031088231e6ea81f537399 --label arch=amd64 --label version=3.0.0-dev.30 . 16:26:52 Sending build context to Docker daemon 23.59MB 16:26:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:26:52 Step 2/25 : FROM ${BASE} AS builder 16:26:52 ---> 91bfa22ed5c7 16:26:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:26:52 ---> Running in f91b1809eb4f 16:26:52 Removing intermediate container f91b1809eb4f 16:26:52 ---> 9b300361098d 16:26:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:26:52 ---> Running in 73dbbd989b3c 16:26:53 Removing intermediate container 73dbbd989b3c 16:26:53 ---> 6faaa8bb6891 16:26:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:26:53 ---> Running in 5850316fc1df 16:26:53 Removing intermediate container 5850316fc1df 16:26:53 ---> 213df42aeb54 16:26:53 Step 6/25 : WORKDIR /device-virtual-go 16:26:53 ---> Running in c5855c709d4c 16:26:53 Removing intermediate container c5855c709d4c 16:26:53 ---> 83e5cfed366c 16:26:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:26:53 ---> Running in a5c1f1c0126d 16:26:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:26:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:26:53 OK: 269 MiB in 57 packages 16:26:54 Removing intermediate container a5c1f1c0126d 16:26:54 ---> ae1024d1a276 16:26:54 Step 8/25 : COPY go.mod vendor* ./ 16:26:54 ---> 18c37218ad4f 16:26:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:26:54 ---> Running in fc982bbd18b4 16:26:55 Removing intermediate container fc982bbd18b4 16:26:55 ---> b59c2c0d471e 16:26:55 Step 10/25 : COPY . . 16:26:55 ---> 7e752d388a4f 16:26:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:26:55 ---> Running in 938f390f44a1 16:26:55 Removing intermediate container 938f390f44a1 16:26:55 ---> 702cbb4a7fd1 16:26:55 Step 12/25 : RUN $MAKE 16:26:55 ---> Running in 97be7c2ff2b4 16:26:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.30" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 16:27:18 Removing intermediate container 97be7c2ff2b4 16:27:18 ---> 803a3eafd3ac 16:27:18 Step 13/25 : FROM alpine:3.17 16:27:18 3.17: Pulling from library/alpine 16:27:18 f56be85fc22e: Pulling fs layer 16:27:18 f56be85fc22e: Verifying Checksum 16:27:18 f56be85fc22e: Download complete 16:27:18 f56be85fc22e: Pull complete 16:27:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:27:18 Status: Downloaded newer image for alpine:3.17 16:27:18 ---> 9ed4aefc74f6 16:27:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:27:18 ---> Running in de058844eb11 16:27:18 Removing intermediate container de058844eb11 16:27:18 ---> e78caf323191 16:27:18 Step 15/25 : RUN apk add --update --no-cache dumb-init 16:27:18 ---> Running in 2bfd2bcf696a 16:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:27:18 (1/1) Installing dumb-init (1.2.5-r2) 16:27:18 Executing busybox-1.35.0-r29.trigger 16:27:18 OK: 7 MiB in 16 packages 16:27:18 Removing intermediate container 2bfd2bcf696a 16:27:18 ---> 9c0713dfc350 16:27:18 Step 16/25 : WORKDIR / 16:27:19 ---> Running in bd03da5ca327 16:27:19 Removing intermediate container bd03da5ca327 16:27:19 ---> eeac912ba327 16:27:19 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:27:19 ---> 75f35a46e09d 16:27:19 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:27:19 ---> 0b599fe50077 16:27:19 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:27:20 ---> 79797c5b38f0 16:27:20 Step 20/25 : EXPOSE 59900 16:27:20 ---> Running in 517839e381e1 16:27:20 Removing intermediate container 517839e381e1 16:27:20 ---> 237ac2e47e2b 16:27:20 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:27:20 ---> Running in 85fe81946f1f 16:27:20 Removing intermediate container 85fe81946f1f 16:27:20 ---> 400aa8771a38 16:27:20 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:27:20 ---> Running in 1f6057bcaebd 16:27:20 Removing intermediate container 1f6057bcaebd 16:27:20 ---> cec48ca777ad 16:27:20 Step 23/25 : LABEL arch=amd64 16:27:20 ---> Running in 0df080e83064 16:27:20 Removing intermediate container 0df080e83064 16:27:20 ---> ebbdb4a557e4 16:27:20 Step 24/25 : LABEL git_sha=b8805d0dc84327be1c031088231e6ea81f537399 16:27:20 ---> Running in ca349ce45ef3 16:27:20 Removing intermediate container ca349ce45ef3 16:27:20 ---> b1b1b85b703c 16:27:20 Step 25/25 : LABEL version=3.0.0-dev.30 16:27:20 ---> Running in 933e5b6f5db4 16:27:20 Removing intermediate container 933e5b6f5db4 16:27:20 ---> bc39200abc37 16:27:20 [Warning] One or more build-args [ARCH] were not consumed 16:27:20 Successfully built bc39200abc37 16:27:20 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:27:20 provisioning config files... 16:27:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7807498315824800185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:21 ---> docker-login.sh 16:27:21 nexus3.edgexfoundry.org:10001 16:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:21 Configure a credential helper to remove this warning. See 16:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:21 16:27:21 Login Succeeded 16:27:21 nexus3.edgexfoundry.org:10002 16:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:21 Configure a credential helper to remove this warning. See 16:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:21 16:27:21 Login Succeeded 16:27:21 nexus3.edgexfoundry.org:10003 16:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:21 Configure a credential helper to remove this warning. See 16:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:21 16:27:21 Login Succeeded 16:27:21 nexus3.edgexfoundry.org:10004 16:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:21 Configure a credential helper to remove this warning. See 16:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:21 16:27:21 Login Succeeded 16:27:21 docker.io 16:27:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:21 Configure a credential helper to remove this warning. See 16:27:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:21 16:27:21 Login Succeeded 16:27:21 ---> docker-login.sh ends [Pipeline] } 16:27:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:27:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:21 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 16:27:21 b8805d0dc84327be1c031088231e6ea81f537399 16:27:21 latest 16:27:21 3.0.0-dev.30 16:27:21 b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30 16:27:21 main 16:27:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:22 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b8805d0dc84327be1c031088231e6ea81f537399 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b8805d0dc84327be1c031088231e6ea81f537399 16:27:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:27:22 c623b71c0bf3: Preparing 16:27:22 905d380c6e5b: Preparing 16:27:22 ab894e957940: Preparing 16:27:22 55c5aa8190c7: Preparing 16:27:22 f1417ff83b31: Preparing 16:27:22 f1417ff83b31: Layer already exists 16:27:22 ab894e957940: Pushed 16:27:22 55c5aa8190c7: Pushed 16:27:22 905d380c6e5b: Pushed 16:27:25 c623b71c0bf3: Pushed 16:27:25 b8805d0dc84327be1c031088231e6ea81f537399: digest: sha256:dedef5cd31615f63d62b8a1576785d53fe4c08d83b1f163edcef80ad1bd7f08b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:25 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 16:27:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:27:25 c623b71c0bf3: Preparing 16:27:25 905d380c6e5b: Preparing 16:27:25 ab894e957940: Preparing 16:27:25 55c5aa8190c7: Preparing 16:27:25 f1417ff83b31: Preparing 16:27:25 55c5aa8190c7: Layer already exists 16:27:25 ab894e957940: Layer already exists 16:27:25 c623b71c0bf3: Layer already exists 16:27:25 f1417ff83b31: Layer already exists 16:27:25 905d380c6e5b: Layer already exists 16:27:25 latest: digest: sha256:dedef5cd31615f63d62b8a1576785d53fe4c08d83b1f163edcef80ad1bd7f08b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:25 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.30 16:27:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:27:26 c623b71c0bf3: Preparing 16:27:26 905d380c6e5b: Preparing 16:27:26 ab894e957940: Preparing 16:27:26 55c5aa8190c7: Preparing 16:27:26 f1417ff83b31: Preparing 16:27:26 f1417ff83b31: Layer already exists 16:27:26 c623b71c0bf3: Layer already exists 16:27:26 55c5aa8190c7: Layer already exists 16:27:26 ab894e957940: Layer already exists 16:27:26 905d380c6e5b: Layer already exists 16:27:26 3.0.0-dev.30: digest: sha256:dedef5cd31615f63d62b8a1576785d53fe4c08d83b1f163edcef80ad1bd7f08b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:26 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30 16:27:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:27:26 c623b71c0bf3: Preparing 16:27:26 905d380c6e5b: Preparing 16:27:26 ab894e957940: Preparing 16:27:26 55c5aa8190c7: Preparing 16:27:26 f1417ff83b31: Preparing 16:27:26 905d380c6e5b: Layer already exists 16:27:26 c623b71c0bf3: Layer already exists 16:27:26 ab894e957940: Layer already exists 16:27:26 55c5aa8190c7: Layer already exists 16:27:26 f1417ff83b31: Layer already exists 16:27:26 b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30: digest: sha256:dedef5cd31615f63d62b8a1576785d53fe4c08d83b1f163edcef80ad1bd7f08b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 16:27:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 16:27:27 c623b71c0bf3: Preparing 16:27:27 905d380c6e5b: Preparing 16:27:27 ab894e957940: Preparing 16:27:27 55c5aa8190c7: Preparing 16:27:27 f1417ff83b31: Preparing 16:27:27 55c5aa8190c7: Layer already exists 16:27:27 f1417ff83b31: Layer already exists 16:27:27 ab894e957940: Layer already exists 16:27:27 c623b71c0bf3: Layer already exists 16:27:27 905d380c6e5b: Layer already exists 16:27:27 main: digest: sha256:dedef5cd31615f63d62b8a1576785d53fe4c08d83b1f163edcef80ad1bd7f08b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:27:27 ===================================================== [Pipeline] echo 16:27:27 taggedImages: 16:27:27 - nexus3.edgexfoundry.org:10004/device-virtual:b8805d0dc84327be1c031088231e6ea81f537399 16:27:27 - nexus3.edgexfoundry.org:10004/device-virtual:latest 16:27:27 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.30 16:27:27 - nexus3.edgexfoundry.org:10004/device-virtual:b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30 16:27:27 - 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 16:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:27:27 16:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:27:28 latest: Pulling from edgex-lftools-log-publisher 16:27:28 5eb5b503b376: Pulling fs layer 16:27:28 5c69ac0246d0: Pulling fs layer 16:27:28 ec43610c2a17: Pulling fs layer 16:27:28 3a2ae6a8a46f: Pulling fs layer 16:27:28 33b1e0a273af: Pulling fs layer 16:27:28 5d3b04190fa2: Pulling fs layer 16:27:28 2f39f015ded8: Pulling fs layer 16:27:28 3a2ae6a8a46f: Waiting 16:27:28 33b1e0a273af: Waiting 16:27:28 5d3b04190fa2: Waiting 16:27:28 2f39f015ded8: Waiting 16:27:28 5c69ac0246d0: Verifying Checksum 16:27:28 5c69ac0246d0: Download complete 16:27:28 3a2ae6a8a46f: Verifying Checksum 16:27:28 3a2ae6a8a46f: Download complete 16:27:28 33b1e0a273af: Verifying Checksum 16:27:28 33b1e0a273af: Download complete 16:27:28 ec43610c2a17: Verifying Checksum 16:27:28 ec43610c2a17: Download complete 16:27:28 5d3b04190fa2: Download complete 16:27:28 5eb5b503b376: Verifying Checksum 16:27:28 5eb5b503b376: Download complete 16:27:29 2f39f015ded8: Download complete 16:27:29 5eb5b503b376: Pull complete 16:27:29 5c69ac0246d0: Pull complete 16:27:30 ec43610c2a17: Pull complete 16:27:30 3a2ae6a8a46f: Pull complete 16:27:30 33b1e0a273af: Pull complete 16:27:30 5d3b04190fa2: Pull complete 16:27:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8736 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 16:27:34 Running in /w/workspace/device-virtual-go/102 [Pipeline] { [Pipeline] checkout 16:27:34 The recommended git tool is: git 16:27:34 2f39f015ded8: Pull complete 16:27:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:27:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:27:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:34 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:27:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:27:42 $ docker top 892878331fa69c9bc6bbddbb5a9ba6a69e83a8a54d98fff2b6a2fb1ff6eeeb17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:42 ---> job-cost.sh 16:27:42 lf-activate-venv: SKIPPING 16:27:42 INFO: No Stack... 16:27:42 using credential edgex-jenkins-ssh 16:27:42 Cloning the remote Git repository 16:27:42 INFO: Retrieving Pricing Info for: v3-standard-8 16:27:42 INFO: Archiving Costs [Pipeline] sh 16:27:43 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 16:27:43 + cut -d, -f6 [Pipeline] lock 16:27:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-102-stack-cost] 16:27:43 Resource [jenkins-edgexfoundry-device-virtual-go-main-102-stack-cost] did not exist. Created. 16:27:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:27:43 + echo total: 0.2199999988079071 [Pipeline] stash 16:27:43 Stashed 1 file(s) [Pipeline] } 16:27:43 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 16:27:43 $ docker stop --time=1 892878331fa69c9bc6bbddbb5a9ba6a69e83a8a54d98fff2b6a2fb1ff6eeeb17 16:27:42 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 16:27:42 > git init /w/workspace/device-virtual-go/102 # timeout=10 16:27:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 16:27:42 > git --version # timeout=10 16:27:42 > git --version # 'git version 2.25.1' 16:27:42 using GIT_SSH to set credentials SSH Credentials for GitHub 16:27:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:27:44 $ docker rm -f --volumes 892878331fa69c9bc6bbddbb5a9ba6a69e83a8a54d98fff2b6a2fb1ff6eeeb17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:27:46 Avoid second fetch 16:27:46 Checking out Revision b8805d0dc84327be1c031088231e6ea81f537399 (main) 16:27:45 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 16:27:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:27:46 > git config core.sparsecheckout # timeout=10 16:27:46 > git checkout -f b8805d0dc84327be1c031088231e6ea81f537399 # timeout=10 16:27:50 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#384)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:27:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:27:51 % Total % Received % Xferd Average Speed Time Time Time Current 16:27:51 Dload Upload Total Spent Left Speed 16:27:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 73281 0 --:--:-- --:--:-- --:--:-- 73705 [Pipeline] sh 16:27:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:27:52 + + sudo tee /etc/docker/daemon.new 16:27:52 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:27:52 { 16:27:52 "registry-mirrors": [ 16:27:52 "https://nexus3.edgexfoundry.org:10001" 16:27:52 ], 16:27:52 "bip": "10.250.0.254/24", 16:27:52 "hosts": [ 16:27:52 "tcp://0.0.0.0:5555", 16:27:52 "unix:///var/run/docker.sock" 16:27:52 ], 16:27:52 "mtu": 1458, 16:27:52 "selinux-enabled": true, 16:27:52 "seccomp-profile": "/etc/docker/seccomp.json" 16:27:52 } [Pipeline] sh 16:27:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:27:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:28:15 provisioning config files... 16:28:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/102@tmp/config12708416354258697907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:15 ---> docker-login.sh 16:28:15 nexus3.edgexfoundry.org:10001 16:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:17 Configure a credential helper to remove this warning. See 16:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:17 16:28:17 Login Succeeded 16:28:17 nexus3.edgexfoundry.org:10002 16:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:17 Configure a credential helper to remove this warning. See 16:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:17 16:28:17 Login Succeeded 16:28:17 nexus3.edgexfoundry.org:10003 16:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:18 Configure a credential helper to remove this warning. See 16:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:18 16:28:18 Login Succeeded 16:28:18 nexus3.edgexfoundry.org:10004 16:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:18 Configure a credential helper to remove this warning. See 16:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:18 16:28:18 Login Succeeded 16:28:18 docker.io 16:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:19 Configure a credential helper to remove this warning. See 16:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:19 16:28:19 Login Succeeded 16:28:19 ---> docker-login.sh ends [Pipeline] } 16:28:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:28:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:28:19 ========================================================= 16:28:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:28:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:20 + 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 . 16:28:20 Sending build context to Docker daemon 11.92MB 16:28:20 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:28:20 Step 2/12 : FROM ${BASE} AS builder 16:28:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:28:20 af6eaf76a39c: Pulling fs layer 16:28:20 55522c791124: Pulling fs layer 16:28:20 ce5c4a1c91eb: Pulling fs layer 16:28:20 169dfbe0d373: Pulling fs layer 16:28:20 e1ff8fa3b103: Pulling fs layer 16:28:20 52ebb69f0ebf: Pulling fs layer 16:28:20 5abe8eddf0d5: Pulling fs layer 16:28:20 e1ff8fa3b103: Waiting 16:28:20 52ebb69f0ebf: Waiting 16:28:20 5abe8eddf0d5: Waiting 16:28:20 169dfbe0d373: Waiting 16:28:20 55522c791124: Download complete 16:28:20 169dfbe0d373: Verifying Checksum 16:28:20 169dfbe0d373: Download complete 16:28:20 e1ff8fa3b103: Verifying Checksum 16:28:20 e1ff8fa3b103: Download complete 16:28:21 af6eaf76a39c: Verifying Checksum 16:28:21 af6eaf76a39c: Download complete 16:28:22 5abe8eddf0d5: Verifying Checksum 16:28:22 5abe8eddf0d5: Download complete 16:28:22 af6eaf76a39c: Pull complete 16:28:23 55522c791124: Pull complete 16:28:24 ce5c4a1c91eb: Verifying Checksum 16:28:24 ce5c4a1c91eb: Download complete 16:28:24 52ebb69f0ebf: Verifying Checksum 16:28:24 52ebb69f0ebf: Download complete 16:28:34 ce5c4a1c91eb: Pull complete 16:28:34 169dfbe0d373: Pull complete 16:28:34 e1ff8fa3b103: Pull complete 16:28:40 52ebb69f0ebf: Pull complete 16:28:45 5abe8eddf0d5: Pull complete 16:28:45 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:28:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:28:45 ---> 6cb57ee374ae 16:28:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:28:46 ---> Running in e611b4e5aeab 16:28:46 Removing intermediate container e611b4e5aeab 16:28:46 ---> 6d1ce9ad63ca 16:28:46 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 16:28:46 ---> Running in 1b00ab565e65 16:28:47 Removing intermediate container 1b00ab565e65 16:28:47 ---> 87c46782420d 16:28:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 16:28:47 ---> Running in 866c206fee2e 16:28:47 Removing intermediate container 866c206fee2e 16:28:47 ---> 3bdd638c3856 16:28:47 Step 6/12 : WORKDIR /device-virtual-go 16:28:47 ---> Running in 5738cd13d99f 16:28:48 Removing intermediate container 5738cd13d99f 16:28:48 ---> 641666612c6e 16:28:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:28:48 ---> Running in d35491dacf54 16:28:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:28:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:28:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:28:51 (2/4) Installing libedit (20221030.3.1-r0) 16:28:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:28:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:28:51 Executing busybox-1.35.0-r29.trigger 16:28:51 OK: 268 MiB in 57 packages 16:28:52 Removing intermediate container d35491dacf54 16:28:52 ---> 0c71b4408a07 16:28:52 Step 8/12 : COPY go.mod vendor* ./ 16:28:52 ---> 9dfcee53052c 16:28:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:52 ---> Running in 888ff3fd2079 16:30:00 Removing intermediate container 888ff3fd2079 16:30:00 ---> d3402bc85093 16:30:00 Step 10/12 : COPY . . 16:30:00 ---> 2227752dc82e 16:30:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:30:00 ---> Running in 386cc277dbb9 16:30:00 Removing intermediate container 386cc277dbb9 16:30:00 ---> eb077c9dc371 16:30:00 Step 12/12 : RUN $MAKE 16:30:00 ---> Running in 4ac761ee8c25 16:30:00 noop 16:30:00 Removing intermediate container 4ac761ee8c25 16:30:00 ---> 58e590bc9a28 16:30:00 Successfully built 58e590bc9a28 16:30:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:01 + docker inspect -f . ci-base-image-arm64 16:30:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:01 prd-ubuntu20.04-docker-arm64-4c-16g-8736 does not seem to be running inside a container 16:30:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/102 -v /w/workspace/device-virtual-go/102:/w/workspace/device-virtual-go/102:rw,z -v /w/workspace/device-virtual-go/102@tmp:/w/workspace/device-virtual-go/102@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 16:30:03 $ docker top 9727d59395fd7d1924a7b3395b7351f82572a67667bbfe37dbd8f05820fdd58a -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:04 + go version 16:30:04 go version go1.20.2 linux/arm64 [Pipeline] } 16:30:04 $ docker stop --time=1 9727d59395fd7d1924a7b3395b7351f82572a67667bbfe37dbd8f05820fdd58a 16:30:05 $ docker rm -f --volumes 9727d59395fd7d1924a7b3395b7351f82572a67667bbfe37dbd8f05820fdd58a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:06 + docker inspect -f . ci-base-image-arm64 16:30:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:06 prd-ubuntu20.04-docker-arm64-4c-16g-8736 does not seem to be running inside a container 16:30:06 $ 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/102 -v /w/workspace/device-virtual-go/102:/w/workspace/device-virtual-go/102:rw,z -v /w/workspace/device-virtual-go/102@tmp:/w/workspace/device-virtual-go/102@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 16:30:07 $ docker top d9ac6dc8638888402abdb5095507c1eaeea52619c8b543bfdf56467fec0d6c8f -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:08 + git config --global --add safe.directory /w/workspace/device-virtual-go/102 [Pipeline] fileExists [Pipeline] sh 16:30:08 + make test 16:30:09 go test ./... -coverprofile=coverage.out 16:30:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 16:32:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 16:32:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.096s coverage: 58.5% of statements 16:32:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:32:33 go vet ./... 16:32:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:32:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:32:59 ./bin/test-attribution-txt.sh 16:32:59 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 16:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:32:59 $ docker stop --time=1 d9ac6dc8638888402abdb5095507c1eaeea52619c8b543bfdf56467fec0d6c8f 16:33:01 $ docker rm -f --volumes d9ac6dc8638888402abdb5095507c1eaeea52619c8b543bfdf56467fec0d6c8f [Pipeline] // withDockerContainer [Pipeline] sh 16:33:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:33:02 Warning: overwriting stash ‘coverage-report’ 16:33:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:33:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:33:04 + ls -al . 16:33:04 total 188 16:33:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 16:30 . 16:33:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:27 .. 16:33:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 16:27 .git 16:33:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:27 .github 16:33:04 -rw-rw-r-- 1 jenkins jenkins 337 Apr 17 16:27 .gitignore 16:33:04 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 16:27 .golangci.yml 16:33:04 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 17 16:27 Attribution.txt 16:33:04 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 17 16:27 CHANGELOG.md 16:33:04 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 17 16:27 Dockerfile 16:33:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 16:27 GOVERNANCE.md 16:33:04 -rw-rw-r-- 1 jenkins jenkins 660 Apr 17 16:27 Jenkinsfile 16:33:04 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 16:27 LICENSE 16:33:04 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 17 16:27 Makefile 16:33:04 -rw-rw-r-- 1 jenkins jenkins 623 Apr 17 16:27 OWNERS.md 16:33:04 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 17 16:27 README.md 16:33:04 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 16:25 VERSION 16:33:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 16:27 bin 16:33:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:27 cmd 16:33:04 -rw-r--r-- 1 jenkins jenkins 42970 Apr 17 16:32 coverage.out 16:33:04 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 17 16:27 go.mod 16:33:04 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 17 16:27 go.sum 16:33:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 16:27 internal 16:33:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 16:27 snap 16:33:04 -rw-rw-r-- 1 jenkins jenkins 235 Apr 17 16:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:04 + 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=b8805d0dc84327be1c031088231e6ea81f537399 --label arch=arm64 --label version=3.0.0-dev.30 . 16:33:04 Sending build context to Docker daemon 11.97MB 16:33:05 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:33:05 Step 2/25 : FROM ${BASE} AS builder 16:33:05 ---> 58e590bc9a28 16:33:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:33:05 ---> Running in 0b9e0c977ce4 16:33:05 Removing intermediate container 0b9e0c977ce4 16:33:05 ---> 7b92e3dcdb1c 16:33:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:33:05 ---> Running in 8625f7e6d5dd 16:33:05 Removing intermediate container 8625f7e6d5dd 16:33:05 ---> f4a740d8802c 16:33:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:33:05 ---> Running in 1bf5f0319fe7 16:33:06 Removing intermediate container 1bf5f0319fe7 16:33:06 ---> ce57260197f0 16:33:06 Step 6/25 : WORKDIR /device-virtual-go 16:33:06 ---> Running in e78470f42d76 16:33:06 Removing intermediate container e78470f42d76 16:33:06 ---> bd0fd3e9215a 16:33:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:33:06 ---> Running in 341b9847e86a 16:33:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:33:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:33:09 OK: 268 MiB in 57 packages 16:33:10 Removing intermediate container 341b9847e86a 16:33:10 ---> e16c323e4c71 16:33:10 Step 8/25 : COPY go.mod vendor* ./ 16:33:10 ---> 66ac9498a6b5 16:33:10 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:33:10 ---> Running in 113e9994682a 16:33:13 Removing intermediate container 113e9994682a 16:33:13 ---> e8ec3414b0c9 16:33:13 Step 10/25 : COPY . . 16:33:14 ---> c3d060a27bcf 16:33:14 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:33:14 ---> Running in d0f72a262cc6 16:33:15 Removing intermediate container d0f72a262cc6 16:33:15 ---> 29d94bf63420 16:33:15 Step 12/25 : RUN $MAKE 16:33:15 ---> Running in b0c00ecb0fb9 16:33:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.30" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 16:35:37 Removing intermediate container b0c00ecb0fb9 16:35:37 ---> 0adf4b258d8d 16:35:37 Step 13/25 : FROM alpine:3.17 16:35:37 3.17: Pulling from library/alpine 16:35:37 c41833b44d91: Pulling fs layer 16:35:37 c41833b44d91: Verifying Checksum 16:35:37 c41833b44d91: Download complete 16:35:37 c41833b44d91: Pull complete 16:35:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:35:37 Status: Downloaded newer image for alpine:3.17 16:35:37 ---> 51e60588ff2c 16:35:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:35:37 ---> Running in 336a615c18cc 16:35:37 Removing intermediate container 336a615c18cc 16:35:37 ---> c679360f3888 16:35:37 Step 15/25 : RUN apk add --update --no-cache dumb-init 16:35:37 ---> Running in 84424c4553f2 16:35:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:35:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:35:37 (1/1) Installing dumb-init (1.2.5-r2) 16:35:37 Executing busybox-1.35.0-r29.trigger 16:35:37 OK: 8 MiB in 16 packages 16:35:37 Removing intermediate container 84424c4553f2 16:35:37 ---> 1f2cba4cb10a 16:35:37 Step 16/25 : WORKDIR / 16:35:37 ---> Running in 483c6ef12f8e 16:35:37 Removing intermediate container 483c6ef12f8e 16:35:37 ---> c5f772aae8f3 16:35:37 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:35:38 ---> 92c01d9b0c37 16:35:38 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:35:38 ---> 28436f1bcf94 16:35:38 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:35:40 ---> 604d5924b244 16:35:40 Step 20/25 : EXPOSE 59900 16:35:40 ---> Running in 82c2235c1e5a 16:35:40 Removing intermediate container 82c2235c1e5a 16:35:40 ---> 660114eaa81c 16:35:40 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:35:40 ---> Running in 23871928d072 16:35:41 Removing intermediate container 23871928d072 16:35:41 ---> 593ef8a4039d 16:35:41 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:35:41 ---> Running in c0cb6ce37133 16:35:41 Removing intermediate container c0cb6ce37133 16:35:41 ---> e0ebc2e05641 16:35:41 Step 23/25 : LABEL arch=arm64 16:35:41 ---> Running in 5b0b7e8c4e5b 16:35:41 Removing intermediate container 5b0b7e8c4e5b 16:35:41 ---> 8a2e9bd5afc5 16:35:41 Step 24/25 : LABEL git_sha=b8805d0dc84327be1c031088231e6ea81f537399 16:35:42 ---> Running in b958b8a481f6 16:35:42 Removing intermediate container b958b8a481f6 16:35:42 ---> 7e49aa4c0e08 16:35:42 Step 25/25 : LABEL version=3.0.0-dev.30 16:35:42 ---> Running in c5ae36fd511a 16:35:42 Removing intermediate container c5ae36fd511a 16:35:42 ---> 49ad46465510 16:35:42 [Warning] One or more build-args [ARCH] were not consumed 16:35:42 Successfully built 49ad46465510 16:35:42 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 16:35:42 provisioning config files... 16:35:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/102@tmp/config3307616302412472251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:43 ---> docker-login.sh 16:35:43 nexus3.edgexfoundry.org:10001 16:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:43 Configure a credential helper to remove this warning. See 16:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:43 16:35:43 Login Succeeded 16:35:43 nexus3.edgexfoundry.org:10002 16:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:44 Configure a credential helper to remove this warning. See 16:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:44 16:35:44 Login Succeeded 16:35:44 nexus3.edgexfoundry.org:10003 16:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:44 Configure a credential helper to remove this warning. See 16:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:44 16:35:44 Login Succeeded 16:35:44 nexus3.edgexfoundry.org:10004 16:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:44 Configure a credential helper to remove this warning. See 16:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:44 16:35:44 Login Succeeded 16:35:44 docker.io 16:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:45 Configure a credential helper to remove this warning. See 16:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:45 16:35:45 Login Succeeded 16:35:45 ---> docker-login.sh ends [Pipeline] } 16:35:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:35:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:45 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 16:35:45 b8805d0dc84327be1c031088231e6ea81f537399 16:35:45 latest 16:35:45 3.0.0-dev.30 16:35:45 b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30 16:35:45 main 16:35:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:45 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b8805d0dc84327be1c031088231e6ea81f537399 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b8805d0dc84327be1c031088231e6ea81f537399 16:35:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:35:46 ce96a3b3ddfb: Preparing 16:35:46 4e12255390ff: Preparing 16:35:46 e56e775dd53b: Preparing 16:35:46 a2d9569c991a: Preparing 16:35:46 26cbea5cba74: Preparing 16:35:46 26cbea5cba74: Layer already exists 16:35:46 e56e775dd53b: Pushed 16:35:46 a2d9569c991a: Pushed 16:35:46 4e12255390ff: Pushed 16:35:51 ce96a3b3ddfb: Pushed 16:35:52 b8805d0dc84327be1c031088231e6ea81f537399: digest: sha256:bb5d98fa10cb15b8183ad95a97a03284a37bc95fcf10a0050b1f6d8e48f9852f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:52 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:35:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:35:52 ce96a3b3ddfb: Preparing 16:35:52 4e12255390ff: Preparing 16:35:52 e56e775dd53b: Preparing 16:35:52 a2d9569c991a: Preparing 16:35:52 26cbea5cba74: Preparing 16:35:52 26cbea5cba74: Layer already exists 16:35:52 4e12255390ff: Layer already exists 16:35:52 a2d9569c991a: Layer already exists 16:35:52 ce96a3b3ddfb: Layer already exists 16:35:52 e56e775dd53b: Layer already exists 16:35:53 latest: digest: sha256:bb5d98fa10cb15b8183ad95a97a03284a37bc95fcf10a0050b1f6d8e48f9852f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:53 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:53 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.30 16:35:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:35:53 ce96a3b3ddfb: Preparing 16:35:53 4e12255390ff: Preparing 16:35:53 e56e775dd53b: Preparing 16:35:53 a2d9569c991a: Preparing 16:35:53 26cbea5cba74: Preparing 16:35:53 26cbea5cba74: Layer already exists 16:35:53 ce96a3b3ddfb: Layer already exists 16:35:53 4e12255390ff: Layer already exists 16:35:53 e56e775dd53b: Layer already exists 16:35:53 a2d9569c991a: Layer already exists 16:35:53 3.0.0-dev.30: digest: sha256:bb5d98fa10cb15b8183ad95a97a03284a37bc95fcf10a0050b1f6d8e48f9852f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:54 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30 16:35:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:35:54 ce96a3b3ddfb: Preparing 16:35:54 4e12255390ff: Preparing 16:35:54 e56e775dd53b: Preparing 16:35:54 a2d9569c991a: Preparing 16:35:54 26cbea5cba74: Preparing 16:35:54 26cbea5cba74: Layer already exists 16:35:54 a2d9569c991a: Layer already exists 16:35:54 4e12255390ff: Layer already exists 16:35:54 e56e775dd53b: Layer already exists 16:35:54 ce96a3b3ddfb: Layer already exists 16:35:54 b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30: digest: sha256:bb5d98fa10cb15b8183ad95a97a03284a37bc95fcf10a0050b1f6d8e48f9852f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:54 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 16:35:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 16:35:55 ce96a3b3ddfb: Preparing 16:35:55 4e12255390ff: Preparing 16:35:55 e56e775dd53b: Preparing 16:35:55 a2d9569c991a: Preparing 16:35:55 26cbea5cba74: Preparing 16:35:55 ce96a3b3ddfb: Layer already exists 16:35:55 a2d9569c991a: Layer already exists 16:35:55 e56e775dd53b: Layer already exists 16:35:55 26cbea5cba74: Layer already exists 16:35:55 4e12255390ff: Layer already exists 16:35:55 main: digest: sha256:bb5d98fa10cb15b8183ad95a97a03284a37bc95fcf10a0050b1f6d8e48f9852f size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:35:55 ===================================================== [Pipeline] echo 16:35:55 taggedImages: 16:35:55 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b8805d0dc84327be1c031088231e6ea81f537399 16:35:55 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 16:35:55 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.30 16:35:55 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b8805d0dc84327be1c031088231e6ea81f537399-3.0.0-dev.30 16:35:55 - 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 16:35:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:55 16:35:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:56 arm64: Pulling from edgex-lftools-log-publisher 16:35:56 8998bd30e6a1: Pulling fs layer 16:35:56 04944245beec: Pulling fs layer 16:35:56 699f458cf7ca: Pulling fs layer 16:35:56 765212b225bb: Pulling fs layer 16:35:56 f23df028b6ca: Pulling fs layer 16:35:56 d65c8cfc05b1: Pulling fs layer 16:35:56 2437ff75d9bd: Pulling fs layer 16:35:56 765212b225bb: Waiting 16:35:56 f23df028b6ca: Waiting 16:35:56 d65c8cfc05b1: Waiting 16:35:56 2437ff75d9bd: Waiting 16:35:56 04944245beec: Verifying Checksum 16:35:56 04944245beec: Download complete 16:35:56 765212b225bb: Verifying Checksum 16:35:56 765212b225bb: Download complete 16:35:56 f23df028b6ca: Verifying Checksum 16:35:56 f23df028b6ca: Download complete 16:35:56 d65c8cfc05b1: Verifying Checksum 16:35:56 d65c8cfc05b1: Download complete 16:35:56 699f458cf7ca: Verifying Checksum 16:35:56 699f458cf7ca: Download complete 16:35:57 8998bd30e6a1: Verifying Checksum 16:35:57 8998bd30e6a1: Download complete 16:35:59 2437ff75d9bd: Verifying Checksum 16:35:59 2437ff75d9bd: Download complete 16:36:01 8998bd30e6a1: Pull complete 16:36:01 04944245beec: Pull complete 16:36:03 699f458cf7ca: Pull complete 16:36:03 765212b225bb: Pull complete 16:36:04 f23df028b6ca: Pull complete 16:36:04 d65c8cfc05b1: Pull complete 16:36:19 2437ff75d9bd: Pull complete 16:36:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:36:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:36:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:19 prd-ubuntu20.04-docker-arm64-4c-16g-8736 does not seem to be running inside a container 16:36:19 $ 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/102 -v /w/workspace/device-virtual-go/102:/w/workspace/device-virtual-go/102:rw,z -v /w/workspace/device-virtual-go/102@tmp:/w/workspace/device-virtual-go/102@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 16:36:22 $ docker top 649c38616a9274e5461622257fd49719e3cade050ca1018b1ddf0031989ed90e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:36:23 ---> job-cost.sh 16:36:23 lf-activate-venv: SKIPPING 16:36:23 INFO: No Stack... 16:36:23 INFO: Retrieving Pricing Info for: v3-standard-4 16:36:24 INFO: Archiving Costs [Pipeline] sh 16:36:25 + cat /w/workspace/device-virtual-go/102/archives/cost.csv 16:36:25 + cut -d, -f6 [Pipeline] lock 16:36:25 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-102-stack-cost] 16:36:25 Resource [jenkins-edgexfoundry-device-virtual-go-main-102-stack-cost] did not exist. Created. 16:36:25 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:36:25 /w/workspace/device-virtual-go/102@tmp/durable-fb8772db/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:36:26 + echo total: 0.10999999940395355 [Pipeline] stash 16:36:26 Warning: overwriting stash ‘stack-cost’ 16:36:26 Stashed 1 file(s) [Pipeline] } 16:36:26 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 16:36:26 $ docker stop --time=1 649c38616a9274e5461622257fd49719e3cade050ca1018b1ddf0031989ed90e 16:36:27 $ docker rm -f --volumes 649c38616a9274e5461622257fd49719e3cade050ca1018b1ddf0031989ed90e [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 16:36:28 provisioning config files... 16:36:28 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17431942280957586603tmp [Pipeline] { [Pipeline] sh 16:36:28 + set +x 16:36:28 + curl -s https://codecov.io/bash 16:36:28 + bash -s -- 16:36:28 16:36:28 _____ _ 16:36:28 / ____| | | 16:36:28 | | ___ __| | ___ ___ _____ __ 16:36:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:36:28 | |___| (_) | (_| | __/ (_| (_) \ V / 16:36:28 \_____\___/ \__,_|\___|\___\___/ \_/ 16:36:28 Bash-1.0.6 16:36:28 16:36:28 16:36:28 ==> git version 2.25.1 found 16:36:28 ==> 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 16:36:28 Release-Date: 2020-01-08 16:36:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:36:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:36:28 ==> Jenkins CI detected. 16:36:28 current dir:  /w/workspace/exfoundry_device-virtual-go_main 16:36:28 project root: . 16:36:28 --> token set from env 16:36:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:36:28 ==> Running gcov in . (disable via -X gcov) 16:36:28 ==> Python coveragepy not found 16:36:28 ==> Searching for coverage reports in: 16:36:28 + . 16:36:28 -> Found 1 reports 16:36:28 ==> Detecting git/mercurial file structure 16:36:28 ==> Reading reports 16:36:28 + ./coverage.out bytes=42970 16:36:28 ==> Appending adjustments 16:36:28 https://docs.codecov.io/docs/fixing-reports 16:36:28 + Found adjustments 16:36:28 ==> Gzipping contents 16:36:28 8.0K /tmp/codecov.nnLhkQ.gz 16:36:28 ==> Uploading reports 16:36:28 url: https://codecov.io 16:36:28 query: branch=main&commit=b8805d0dc84327be1c031088231e6ea81f537399&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:36:28 -> Pinging Codecov 16:36:28 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=b8805d0dc84327be1c031088231e6ea81f537399&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:36:29 -> Uploading to 16:36:29 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/5E52B4B073DB2E39498172D8E973AA87/b8805d0dc84327be1c031088231e6ea81f537399/a225591c-e7ef-46aa-a9a3-8c3e8eac9079.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T163628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=157cf654dc828c76e5d931b82c2517f4fc7b17b727c7bb16ab8c41278612c020 16:36:29 % Total % Received % Xferd Average Speed Time Time Time Current 16:36:29 Dload Upload Total Spent Left Speed 16:36:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 21251 --:--:-- --:--:-- --:--:-- 21251 16:36:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b8805d0dc84327be1c031088231e6ea81f537399 [Pipeline] } 16:36:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:36:29 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:36:29 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:36:29 16:36:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:36:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:36:30 df9b9388f04a: Pulling fs layer 16:36:30 52dc419b0ee2: Pulling fs layer 16:36:30 25bc292e5bac: Pulling fs layer 16:36:30 114826534d7a: Pulling fs layer 16:36:30 4657fd5d0bcf: Pulling fs layer 16:36:30 6ad1cebc031e: Pulling fs layer 16:36:30 8a3aa393b2d8: Pulling fs layer 16:36:30 4657fd5d0bcf: Waiting 16:36:30 6ad1cebc031e: Waiting 16:36:30 8a3aa393b2d8: Waiting 16:36:30 114826534d7a: Waiting 16:36:30 25bc292e5bac: Verifying Checksum 16:36:30 25bc292e5bac: Download complete 16:36:30 52dc419b0ee2: Verifying Checksum 16:36:30 52dc419b0ee2: Download complete 16:36:30 4657fd5d0bcf: Verifying Checksum 16:36:30 4657fd5d0bcf: Download complete 16:36:30 df9b9388f04a: Verifying Checksum 16:36:30 df9b9388f04a: Download complete 16:36:30 df9b9388f04a: Pull complete 16:36:30 6ad1cebc031e: Verifying Checksum 16:36:30 6ad1cebc031e: Download complete 16:36:30 52dc419b0ee2: Pull complete 16:36:30 25bc292e5bac: Pull complete 16:36:30 114826534d7a: Verifying Checksum 16:36:30 114826534d7a: Download complete 16:36:30 8a3aa393b2d8: Verifying Checksum 16:36:30 8a3aa393b2d8: Download complete 16:36:34 114826534d7a: Pull complete 16:36:34 4657fd5d0bcf: Pull complete 16:36:34 6ad1cebc031e: Pull complete 16:36:37 8a3aa393b2d8: Pull complete 16:36:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:36:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:36:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:37 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:36:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:36:44 $ docker top a5b7dc72391dc6062209852eb93f6f086a76db66b2625c4d00a2a51e4190fca9 -eo pid,comm [Pipeline] { [Pipeline] echo 16:36:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 16:36:44 + set -o pipefail 16:36:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 16:36:52 16:36:52 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 16:36:52 16:36:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/196b1199-4cd4-49e8-aba0-a0f91f40132a 16:36:52 16:36:52 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:36:52 16:36:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:36:52 16:36:52 16:36:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:36:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:36:52 More details here: https://snyk.co/ue1NS [Pipeline] } 16:36:52 $ docker stop --time=1 a5b7dc72391dc6062209852eb93f6f086a76db66b2625c4d00a2a51e4190fca9 16:36:57 $ docker rm -f --volumes a5b7dc72391dc6062209852eb93f6f086a76db66b2625c4d00a2a51e4190fca9 [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 16:36:57 + git log --format=format:%s -1 b8805d0dc84327be1c031088231e6ea81f537399 [Pipeline] sh 16:36:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:36:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:36:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:36:58 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:36:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:36:58 $ docker top 89d315c9ca63ef3da5eb850bf02d417724d1db812731b2916a50925488d5d22f -eo pid,comm 16:36:58 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). 16:36:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:36:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:36:59 [ssh-agent] Looking for ssh-agent implementation... 16:36:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:36:59 $ docker exec 89d315c9ca63ef3da5eb850bf02d417724d1db812731b2916a50925488d5d22f ssh-agent 16:36:59 SSH_AUTH_SOCK=/tmp/ssh-lOeDGOveWtIZ/agent.33 16:36:59 SSH_AGENT_PID=39 16:36:59 Running ssh-add (command line suppressed) 16:36:59 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2178466048344064154.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2178466048344064154.key) 16:36:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:36:59 + git semver tag 16:36:59 2023-04-17 16:36:59,841 [run_tag] DEBUG tag force:False 16:36:59 2023-04-17 16:36:59,841 [check_head_tag] DEBUG check head tag 16:36:59 2023-04-17 16:36:59,842 [execute] INFO git cat-file --batch-check 16:36:59 2023-04-17 16:36:59,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 16:36:59 2023-04-17 16:36:59,846 [execute] INFO git cat-file --batch 16:36:59 2023-04-17 16:36:59,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 16:36:59 2023-04-17 16:36:59,868 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:36:59 2023-04-17 16:36:59,868 [execute] INFO git tag -a v3.0.0-dev.30 -m v3.0.0-dev.30 16:36:59 2023-04-17 16:36:59,869 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.30', '-m', 'v3.0.0-dev.30'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 16:36:59 2023-04-17 16:36:59,873 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:36:59 3.0.0-dev.30 [Pipeline] } 16:36:59 $ docker exec --env ******** --env ******** 89d315c9ca63ef3da5eb850bf02d417724d1db812731b2916a50925488d5d22f ssh-agent -k 16:37:00 unset SSH_AUTH_SOCK; 16:37:00 unset SSH_AGENT_PID; 16:37:00 echo Agent pid 39 killed; 16:37:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:37:00 + git semver [Pipeline] } 16:37:00 $ docker stop --time=1 89d315c9ca63ef3da5eb850bf02d417724d1db812731b2916a50925488d5d22f 16:37:01 $ docker rm -f --volumes 89d315c9ca63ef3da5eb850bf02d417724d1db812731b2916a50925488d5d22f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:37:02 16:37:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:37:02 0.23.1-centos7: Pulling from edgex-lftools 16:37:02 ab5ef0e58194: Pulling fs layer 16:37:02 9712f1f96733: Pulling fs layer 16:37:02 63f879dbbcfc: Pulling fs layer 16:37:02 0d9ebad4ef96: Pulling fs layer 16:37:02 e9a5061849ea: Pulling fs layer 16:37:02 0d9ebad4ef96: Waiting 16:37:02 e9a5061849ea: Waiting 16:37:02 d747dcd14b5f: Pulling fs layer 16:37:02 2de7ff778b66: Pulling fs layer 16:37:02 d747dcd14b5f: Waiting 16:37:02 2de7ff778b66: Waiting 16:37:02 9712f1f96733: Verifying Checksum 16:37:02 9712f1f96733: Download complete 16:37:02 63f879dbbcfc: Verifying Checksum 16:37:02 63f879dbbcfc: Download complete 16:37:03 e9a5061849ea: Verifying Checksum 16:37:03 e9a5061849ea: Download complete 16:37:03 d747dcd14b5f: Download complete 16:37:03 ab5ef0e58194: Verifying Checksum 16:37:03 ab5ef0e58194: Download complete 16:37:03 0d9ebad4ef96: Verifying Checksum 16:37:03 0d9ebad4ef96: Download complete 16:37:03 2de7ff778b66: Verifying Checksum 16:37:03 2de7ff778b66: Download complete 16:37:05 ab5ef0e58194: Pull complete 16:37:05 9712f1f96733: Pull complete 16:37:06 63f879dbbcfc: Pull complete 16:37:09 0d9ebad4ef96: Pull complete 16:37:10 e9a5061849ea: Pull complete 16:37:10 d747dcd14b5f: Pull complete 16:37:11 2de7ff778b66: Pull complete 16:37:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:37:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:37:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:11 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:37:20 $ docker top fde12dba9aa3f422cfcc89dc3e2280cf4bbded8bcf6ef9d5dabad5786d2d4abb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:37:20 provisioning config files... 16:37:20 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5797145566267258921tmp 16:37:20 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16463631428320622990tmp 16:37:20 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8655965340068101142tmp [Pipeline] { [Pipeline] echo 16:37:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:37:20 ---> sigul-configuration.sh 16:37:20 gpg: directory `/root/.gnupg' created 16:37:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:37:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:37:20 gpg: keyring `/root/.gnupg/secring.gpg' created 16:37:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:37:20 gpg: CAST5 encrypted data 16:37:20 gpg: encrypted with 1 passphrase 16:37:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:37:21 + mkdir /home/jenkins 16:37:21 + mkdir /home/jenkins/sigul [Pipeline] sh 16:37:21 + 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 16:37:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:37:21 ---> sigul-install.sh 16:37:21 Sigul already installed; skipping installation. [Pipeline] sh 16:37:22 + git tag --list 16:37:22 v1.0.0 16:37:22 v1.1.0 16:37:22 v1.1.1 16:37:22 v1.2.1 16:37:22 v1.2.2 16:37:22 v1.2.3 16:37:22 v1.3.0 16:37:22 v1.3.1 16:37:22 v2.0.0 16:37:22 v2.1.0 16:37:22 v2.1.1 16:37:22 v2.1.1-dev.1 16:37:22 v2.1.1-dev.2 16:37:22 v2.2.0 16:37:22 v2.2.1-dev.1 16:37:22 v2.2.1-dev.2 16:37:22 v2.2.1-dev.3 16:37:22 v2.2.1-dev.4 16:37:22 v2.2.1-dev.5 16:37:22 v2.2.1-dev.6 16:37:22 v2.2.1-dev.7 16:37:22 v2.2.1-dev.8 16:37:22 v2.3.0 16:37:22 v2.3.0-dev.10 16:37:22 v2.3.0-dev.11 16:37:22 v2.3.0-dev.12 16:37:22 v2.3.0-dev.13 16:37:22 v2.3.0-dev.14 16:37:22 v2.3.0-dev.15 16:37:22 v2.3.0-dev.16 16:37:22 v2.3.0-dev.17 16:37:22 v2.3.0-dev.18 16:37:22 v2.3.0-dev.19 16:37:22 v2.3.0-dev.20 16:37:22 v2.3.0-dev.21 16:37:22 v2.3.0-dev.22 16:37:22 v2.3.0-dev.23 16:37:22 v2.3.0-dev.24 16:37:22 v2.3.0-dev.25 16:37:22 v2.3.0-dev.26 16:37:22 v2.3.0-dev.27 16:37:22 v2.3.0-dev.28 16:37:22 v2.3.0-dev.29 16:37:22 v2.3.0-dev.30 16:37:22 v2.3.0-dev.8 16:37:22 v2.3.0-dev.9 16:37:22 v3.0.0-dev.1 16:37:22 v3.0.0-dev.10 16:37:22 v3.0.0-dev.11 16:37:22 v3.0.0-dev.12 16:37:22 v3.0.0-dev.13 16:37:22 v3.0.0-dev.14 16:37:22 v3.0.0-dev.15 16:37:22 v3.0.0-dev.16 16:37:22 v3.0.0-dev.17 16:37:22 v3.0.0-dev.18 16:37:22 v3.0.0-dev.19 16:37:22 v3.0.0-dev.2 16:37:22 v3.0.0-dev.20 16:37:22 v3.0.0-dev.21 16:37:22 v3.0.0-dev.22 16:37:22 v3.0.0-dev.23 16:37:22 v3.0.0-dev.24 16:37:22 v3.0.0-dev.25 16:37:22 v3.0.0-dev.26 16:37:22 v3.0.0-dev.27 16:37:22 v3.0.0-dev.28 16:37:22 v3.0.0-dev.29 16:37:22 v3.0.0-dev.3 16:37:22 v3.0.0-dev.30 16:37:22 v3.0.0-dev.4 16:37:22 v3.0.0-dev.5 16:37:22 v3.0.0-dev.6 16:37:22 v3.0.0-dev.7 16:37:22 v3.0.0-dev.8 16:37:22 v3.0.0-dev.9 [Pipeline] sh 16:37:22 + lftools sign git-tag v3.0.0-dev.30 16:37:22 Signing Git tag with Sigul... 16:37:22 Signing v3.0.0-dev.30 [Pipeline] echo 16:37:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:37:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:37:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:37:23 $ docker stop --time=1 fde12dba9aa3f422cfcc89dc3e2280cf4bbded8bcf6ef9d5dabad5786d2d4abb 16:37:25 $ docker rm -f --volumes fde12dba9aa3f422cfcc89dc3e2280cf4bbded8bcf6ef9d5dabad5786d2d4abb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:37:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:37:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:37:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:25 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:37:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:37:26 $ docker top ea6d7d528dbdc5062f4fe6e8ba2a8361d2551a4a2a031c126862af2f39b34ebc -eo pid,comm 16:37:26 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). 16:37:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:37:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:26 [ssh-agent] Looking for ssh-agent implementation... 16:37:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:26 $ docker exec ea6d7d528dbdc5062f4fe6e8ba2a8361d2551a4a2a031c126862af2f39b34ebc ssh-agent 16:37:26 SSH_AUTH_SOCK=/tmp/ssh-h8xVuDvdGels/agent.32 16:37:26 SSH_AGENT_PID=38 16:37:26 Running ssh-add (command line suppressed) 16:37:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9130275667457814388.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9130275667457814388.key) 16:37:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:26 + git semver bump pre 16:37:27 2023-04-17 16:37:27,130 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:37:27 2023-04-17 16:37:27,130 [bump_version] DEBUG bumping version:3.0.0-dev.30 on axis:pre with prefix:dev 16:37:27 2023-04-17 16:37:27,130 [bump_version] DEBUG bumped version:3.0.0-dev.31 16:37:27 2023-04-17 16:37:27,130 [write_version] DEBUG write version:3.0.0-dev.31 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 16:37:27 2023-04-17 16:37:27,130 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:37:27 2023-04-17 16:37:27,130 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:37:27 2023-04-17 16:37:27,132 [execute] INFO git cat-file --batch-check 16:37:27 2023-04-17 16:37:27,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:37:27 2023-04-17 16:37:27,137 [execute] INFO git cat-file --batch 16:37:27 2023-04-17 16:37:27,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:37:27 2023-04-17 16:37:27,142 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:37:27 3.0.0-dev.31 [Pipeline] } 16:37:27 $ docker exec --env ******** --env ******** ea6d7d528dbdc5062f4fe6e8ba2a8361d2551a4a2a031c126862af2f39b34ebc ssh-agent -k 16:37:27 unset SSH_AUTH_SOCK; 16:37:27 unset SSH_AGENT_PID; 16:37:27 echo Agent pid 38 killed; 16:37:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:37:27 + git semver [Pipeline] } 16:37:27 $ docker stop --time=1 ea6d7d528dbdc5062f4fe6e8ba2a8361d2551a4a2a031c126862af2f39b34ebc 16:37:29 $ docker rm -f --volumes ea6d7d528dbdc5062f4fe6e8ba2a8361d2551a4a2a031c126862af2f39b34ebc [Pipeline] // withDockerContainer [Pipeline] sh 16:37:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:37:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:37:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:29 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:37:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:37:30 $ docker top df7e8a4e745736d9404f4f23ba90c363e93216aa4a21a72d0b069fbc5a62d513 -eo pid,comm 16:37:30 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). 16:37:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:37:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:37:30 [ssh-agent] Looking for ssh-agent implementation... 16:37:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:37:30 $ docker exec df7e8a4e745736d9404f4f23ba90c363e93216aa4a21a72d0b069fbc5a62d513 ssh-agent 16:37:30 SSH_AUTH_SOCK=/tmp/ssh-MPLVmaROrhep/agent.32 16:37:30 SSH_AGENT_PID=38 16:37:30 Running ssh-add (command line suppressed) 16:37:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10070962924988675013.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10070962924988675013.key) 16:37:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:37:30 + git semver push 16:37:31 2023-04-17 16:37:31,077 [run_push] DEBUG push 16:37:31 2023-04-17 16:37:31,078 [execute] INFO git cat-file --batch-check 16:37:31 2023-04-17 16:37:31,078 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:37:31 2023-04-17 16:37:31,081 [execute] INFO git rev-list 5ee84238f402aa649c3ad132e76eb3dcb50dafbd -- 16:37:31 2023-04-17 16:37:31,082 [execute] DEBUG Popen(['git', 'rev-list', '5ee84238f402aa649c3ad132e76eb3dcb50dafbd', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:37:31 2023-04-17 16:37:31,089 [execute] INFO git fetch -v origin 16:37:31 2023-04-17 16:37:31,089 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:37:31 2023-04-17 16:37:31,582 [run_push] DEBUG no remote changes detected 16:37:31 2023-04-17 16:37:31,582 [execute] INFO git push origin semver 16:37:31 2023-04-17 16:37:31,583 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:37:32 2023-04-17 16:37:32,360 [run_push] DEBUG push all version tags 16:37:32 2023-04-17 16:37:32,361 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:37:32 2023-04-17 16:37:32,361 [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) 16:37:33 2023-04-17 16:37:33,164 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 16:37:33 3.0.0-dev.31 [Pipeline] } 16:37:33 $ docker exec --env ******** --env ******** df7e8a4e745736d9404f4f23ba90c363e93216aa4a21a72d0b069fbc5a62d513 ssh-agent -k 16:37:33 unset SSH_AUTH_SOCK; 16:37:33 unset SSH_AGENT_PID; 16:37:33 echo Agent pid 38 killed; 16:37:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:37:33 + git semver [Pipeline] } 16:37:33 $ docker stop --time=1 df7e8a4e745736d9404f4f23ba90c363e93216aa4a21a72d0b069fbc5a62d513 16:37:35 $ docker rm -f --volumes df7e8a4e745736d9404f4f23ba90c363e93216aa4a21a72d0b069fbc5a62d513 [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 16:37:35 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 16:37:35 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 16:37:35 total 16 16:37:35 drwxr-xr-x 3 root root 4096 Apr 17 16:27 . 16:37:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 16:37 .. 16:37:35 drwxr-xr-x 2 root root 4096 Apr 17 16:27 cost 16:37:35 -rw-r--r-- 1 root root 89 Apr 17 16:27 cost.csv 16:37:35 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 16:37:35 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 16:37:35 total 16 16:37:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 16:27 . 16:37:35 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 16:37 .. 16:37:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 16:27 cost 16:37:35 -rw-r--r-- 1 jenkins jenkins 89 Apr 17 16:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:37:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:37:36 ---> package-listing.sh 16:37:36 ++ facter osfamily 16:37:36 ++ tr '[:upper:]' '[:lower:]' 16:37:37 + OS_FAMILY=debian 16:37:37 + workspace=/w/workspace/exfoundry_device-virtual-go_main 16:37:37 + START_PACKAGES=/tmp/packages_start.txt 16:37:37 + END_PACKAGES=/tmp/packages_end.txt 16:37:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:37:37 + PACKAGES=/tmp/packages_start.txt 16:37:37 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 16:37:37 + PACKAGES=/tmp/packages_end.txt 16:37:37 + case "${OS_FAMILY}" in 16:37:37 + dpkg -l 16:37:37 + grep '^ii' 16:37:37 + '[' -f /tmp/packages_start.txt ']' 16:37:37 + '[' -f /tmp/packages_end.txt ']' 16:37:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:37:37 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 16:37:37 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 16:37:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 16:37:37 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 16:37:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:38 prd-ubuntu20.04-docker-8c-8g-8735 does not seem to be running inside a container 16:37:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:37:38 $ docker top c42a9ccc7ef04b75c4e103d749495fc5aa273e11cd02d93ede26a7bad5fc486f -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:38 + touch /tmp/pre-build-complete [Pipeline] sh 16:37:39 + mkdir -p /var/log/sysstat [Pipeline] sh 16:37:39 + ls /var/log/sa-host 16:37:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:37:39 provisioning config files... 16:37:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6458055155175591127tmp [Pipeline] { [Pipeline] echo 16:37:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:37:39 ---> create-netrc.sh [Pipeline] } 16:37:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:37:40 ---> python-tools-install.sh [Pipeline] echo 16:37:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:37:40 ---> sudo-logs.sh 16:37:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:37:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:37:40 ---> job-cost.sh 16:37:40 lf-activate-venv: SKIPPING 16:37:40 DEBUG: total: 0.2199999988079071 16:37:40 INFO: Retrieving Stack Cost... 16:37:41 INFO: Retrieving Pricing Info for: v3-standard-8 16:37:41 INFO: Archiving Costs [Pipeline] echo 16:37:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:37:41 ---> logs-deploy.sh 16:37:41 lf-activate-venv: SKIPPING 16:37:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/102 16:37:41 INFO: archiving workspace using pattern(s): 16:37:42 Archives upload complete. 16:37:42 INFO: archiving logs to Nexus