Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc1ad586098ce6d6ea7a257e3c77391c20aa389b 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-ssh46796286918286216.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1467443705996117389.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11034552488010412214.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2192249264276086982.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-ssh16691608424539302598.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.18 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-3937 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dc1ad586098ce6d6ea7a257e3c77391c20aa389b (main) Commit message: "Merge pull request #332 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.12" > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc1ad586098ce6d6ea7a257e3c77391c20aa389b # timeout=10 > git rev-list --no-walk ade53ffbe9877a40e1a039c5ff5b29a5fd4a0d80 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:48:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:48:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:48:05 ========================================================= 04:48:05 EdgeX Global Pipelines Version Info 04:48:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:48:06 ------------------- 04:48:06 stable info: 04:48:06 ------------------- 04:48:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:48:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:48:06 Message: update stable to v1.0.244 04:48:07 ------------------- 04:48:07 experimental info: 04:48:07 ------------------- 04:48:07 Commited By: **** collab-it+edgex@linuxfoundation.org 04:48:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:48:07 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc1ad586098ce6d6ea7a257e3c77391c20aa389b [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc1ad58 [Pipeline] echo 04:48:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:07 provisioning config files... 04:48:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config305826058951240421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:08 ---> docker-login.sh 04:48:08 nexus3.edgexfoundry.org:10001 04:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:08 Configure a credential helper to remove this warning. See 04:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:08 04:48:08 Login Succeeded 04:48:08 nexus3.edgexfoundry.org:10002 04:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:08 Configure a credential helper to remove this warning. See 04:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:08 04:48:08 Login Succeeded 04:48:08 nexus3.edgexfoundry.org:10003 04:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:08 Configure a credential helper to remove this warning. See 04:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:08 04:48:08 Login Succeeded 04:48:08 nexus3.edgexfoundry.org:10004 04:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:08 Configure a credential helper to remove this warning. See 04:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:08 04:48:08 Login Succeeded 04:48:08 docker.io 04:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:09 Configure a credential helper to remove this warning. See 04:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:09 04:48:09 Login Succeeded 04:48:09 ---> docker-login.sh ends [Pipeline] } 04:48:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:48:09 + git rev-list -1 --merges dc1ad586098ce6d6ea7a257e3c77391c20aa389b~1..dc1ad586098ce6d6ea7a257e3c77391c20aa389b [Pipeline] echo 04:48:09 -----------> git rev-list -1 --merges dc1ad586098ce6d6ea7a257e3c77391c20aa389b~1..dc1ad586098ce6d6ea7a257e3c77391c20aa389b dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:48:09 dc1ad586098ce6d6ea7a257e3c77391c20aa389b [false] [Pipeline] sh 04:48:09 + git log --format=format:%s -1 dc1ad586098ce6d6ea7a257e3c77391c20aa389b [Pipeline] echo 04:48:09 ========================================================= 04:48:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:48:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:48:10 + git log --format=format:%s -1 dc1ad586098ce6d6ea7a257e3c77391c20aa389b [Pipeline] echo 04:48:10 [semverPrep] GIT_COMMIT: dc1ad586098ce6d6ea7a257e3c77391c20aa389b, Commit Message: Merge pull request #332 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.12 [Pipeline] echo 04:48:10 [semverPrep] This is not a build commit. [Pipeline] sh 04:48:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:48:10 + grep -v github /etc/ssh/ssh_known_hosts 04:48:10 + [ -e /tmp/ssh_known_hosts ] 04:48:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:48:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:48:10 + sudo tee -a /etc/ssh/ssh_known_hosts 04:48:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:48:10 04:48:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:48:11 0.1.4: Pulling from edgex-devops/py-git-semver 04:48:11 b85a868b505f: Pulling fs layer 04:48:11 e2be974225ed: Pulling fs layer 04:48:11 339a4e72a1f5: Pulling fs layer 04:48:11 988bab9f4d93: Pulling fs layer 04:48:11 1469e6f7b9e6: Pulling fs layer 04:48:11 eaf3925da568: Pulling fs layer 04:48:11 bab4dde63d76: Pulling fs layer 04:48:11 bde34c3a00c8: Pulling fs layer 04:48:11 b352a97aabf1: Pulling fs layer 04:48:11 4872d77fe225: Pulling fs layer 04:48:11 5851b861e8e6: Pulling fs layer 04:48:11 eaf3925da568: Waiting 04:48:11 bde34c3a00c8: Waiting 04:48:11 1469e6f7b9e6: Waiting 04:48:11 b352a97aabf1: Waiting 04:48:11 4872d77fe225: Waiting 04:48:11 5851b861e8e6: Waiting 04:48:11 bab4dde63d76: Waiting 04:48:11 e2be974225ed: Verifying Checksum 04:48:11 e2be974225ed: Download complete 04:48:11 988bab9f4d93: Verifying Checksum 04:48:11 988bab9f4d93: Download complete 04:48:11 1469e6f7b9e6: Verifying Checksum 04:48:11 1469e6f7b9e6: Download complete 04:48:11 eaf3925da568: Verifying Checksum 04:48:11 eaf3925da568: Download complete 04:48:11 339a4e72a1f5: Verifying Checksum 04:48:11 339a4e72a1f5: Download complete 04:48:11 bde34c3a00c8: Verifying Checksum 04:48:11 bde34c3a00c8: Download complete 04:48:11 b352a97aabf1: Download complete 04:48:11 4872d77fe225: Verifying Checksum 04:48:11 4872d77fe225: Download complete 04:48:11 b85a868b505f: Verifying Checksum 04:48:11 b85a868b505f: Download complete 04:48:11 5851b861e8e6: Verifying Checksum 04:48:11 5851b861e8e6: Download complete 04:48:12 bab4dde63d76: Verifying Checksum 04:48:12 bab4dde63d76: Download complete 04:48:13 b85a868b505f: Pull complete 04:48:13 e2be974225ed: Pull complete 04:48:13 339a4e72a1f5: Pull complete 04:48:13 988bab9f4d93: Pull complete 04:48:14 1469e6f7b9e6: Pull complete 04:48:14 eaf3925da568: Pull complete 04:48:15 bab4dde63d76: Pull complete 04:48:15 bde34c3a00c8: Pull complete 04:48:16 b352a97aabf1: Pull complete 04:48:16 4872d77fe225: Pull complete 04:48:16 5851b861e8e6: Pull complete 04:48:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:48:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:48:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:16 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:48:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:48:18 $ docker top 30263417097c76379261f6f550284257f3e29bcff96ec0e1f3310049b6b93c27 -eo pid,comm 04:48:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:48:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:48:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:48:18 [ssh-agent] Looking for ssh-agent implementation... 04:48:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:48:18 $ docker exec 30263417097c76379261f6f550284257f3e29bcff96ec0e1f3310049b6b93c27 ssh-agent 04:48:18 SSH_AUTH_SOCK=/tmp/ssh-FeyKTZMxN4KN/agent.33 04:48:18 SSH_AGENT_PID=39 04:48:18 Running ssh-add (command line suppressed) 04:48:18 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2072664251074183207.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2072664251074183207.key) 04:48:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:48:19 + git tag --points-at HEAD [Pipeline] } 04:48:19 $ docker exec --env ******** --env ******** 30263417097c76379261f6f550284257f3e29bcff96ec0e1f3310049b6b93c27 ssh-agent -k 04:48:19 unset SSH_AUTH_SOCK; 04:48:19 unset SSH_AGENT_PID; 04:48:19 echo Agent pid 39 killed; 04:48:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:48:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:48:19 [ssh-agent] Looking for ssh-agent implementation... 04:48:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:48:19 $ docker exec 30263417097c76379261f6f550284257f3e29bcff96ec0e1f3310049b6b93c27 ssh-agent 04:48:19 SSH_AUTH_SOCK=/tmp/ssh-9NFjBizSNAnU/agent.71 04:48:19 SSH_AGENT_PID=77 04:48:19 Running ssh-add (command line suppressed) 04:48:19 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15350842603686132875.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15350842603686132875.key) 04:48:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:48:20 + git semver init 04:48:20 2023-01-30 04:48:20,288 [run_init] DEBUG init version:0.0.0 force:False 04:48:20 2023-01-30 04:48:20,289 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 04:48:20 2023-01-30 04:48:20,290 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 04:48:20 2023-01-30 04:48:20,290 [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) 04:48:21 2023-01-30 04:48:21,340 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 04:48:21 2023-01-30 04:48:21,342 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 04:48:21 2023-01-30 04:48:21,343 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:48:21 2023-01-30 04:48:21,343 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:48:21 3.0.0-dev.6 [Pipeline] } 04:48:21 $ docker exec --env ******** --env ******** 30263417097c76379261f6f550284257f3e29bcff96ec0e1f3310049b6b93c27 ssh-agent -k 04:48:21 unset SSH_AUTH_SOCK; 04:48:21 unset SSH_AGENT_PID; 04:48:21 echo Agent pid 77 killed; 04:48:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:48:22 + git semver [Pipeline] } 04:48:22 $ docker stop --time=1 30263417097c76379261f6f550284257f3e29bcff96ec0e1f3310049b6b93c27 04:48:23 $ docker rm -f --volumes 30263417097c76379261f6f550284257f3e29bcff96ec0e1f3310049b6b93c27 [Pipeline] // withDockerContainer [Pipeline] sh 04:48:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:48:24 Stashed 1 file(s) [Pipeline] echo 04:48:24 [edgeXSemver]: initialized semver on version 3.0.0-dev.6 [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 04:48:24 provisioning config files... 04:48:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10320600875707740277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:24 ---> docker-login.sh 04:48:24 nexus3.edgexfoundry.org:10001 04:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:24 Configure a credential helper to remove this warning. See 04:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:24 04:48:24 Login Succeeded 04:48:24 nexus3.edgexfoundry.org:10002 04:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:24 Configure a credential helper to remove this warning. See 04:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:24 04:48:24 Login Succeeded 04:48:24 nexus3.edgexfoundry.org:10003 04:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:25 Configure a credential helper to remove this warning. See 04:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:25 04:48:25 Login Succeeded 04:48:25 nexus3.edgexfoundry.org:10004 04:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:25 Configure a credential helper to remove this warning. See 04:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:25 04:48:25 Login Succeeded 04:48:25 docker.io 04:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:25 Configure a credential helper to remove this warning. See 04:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:25 04:48:25 Login Succeeded 04:48:25 ---> docker-login.sh ends [Pipeline] } 04:48:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:48:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:48:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:48:25 ========================================================= 04:48:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:48:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:48:26 Sending build context to Docker daemon 23.32MB 04:48:26 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:48:26 Step 2/12 : FROM ${BASE} AS builder 04:48:26 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:48:26 213ec9aee27d: Pulling fs layer 04:48:26 4583459ba037: Pulling fs layer 04:48:26 93c1e223e6f2: Pulling fs layer 04:48:26 53926ce57604: Pulling fs layer 04:48:26 21b2b0c7a3f4: Pulling fs layer 04:48:26 22ff95d597cd: Pulling fs layer 04:48:26 12d6caf4c0d1: Pulling fs layer 04:48:26 96b7cbca73a9: Pulling fs layer 04:48:26 a7acece74701: Pulling fs layer 04:48:26 53926ce57604: Waiting 04:48:26 21b2b0c7a3f4: Waiting 04:48:26 22ff95d597cd: Waiting 04:48:26 12d6caf4c0d1: Waiting 04:48:26 96b7cbca73a9: Waiting 04:48:26 a7acece74701: Waiting 04:48:26 93c1e223e6f2: Download complete 04:48:26 4583459ba037: Download complete 04:48:26 21b2b0c7a3f4: Verifying Checksum 04:48:26 21b2b0c7a3f4: Download complete 04:48:26 22ff95d597cd: Verifying Checksum 04:48:26 22ff95d597cd: Download complete 04:48:26 213ec9aee27d: Verifying Checksum 04:48:26 213ec9aee27d: Download complete 04:48:26 12d6caf4c0d1: Verifying Checksum 04:48:26 12d6caf4c0d1: Download complete 04:48:26 213ec9aee27d: Pull complete 04:48:26 4583459ba037: Pull complete 04:48:26 93c1e223e6f2: Pull complete 04:48:28 a7acece74701: Verifying Checksum 04:48:28 a7acece74701: Download complete 04:48:28 53926ce57604: Verifying Checksum 04:48:28 53926ce57604: Download complete 04:48:28 96b7cbca73a9: Verifying Checksum 04:48:28 96b7cbca73a9: Download complete 04:48:32 53926ce57604: Pull complete 04:48:32 21b2b0c7a3f4: Pull complete 04:48:32 22ff95d597cd: Pull complete 04:48:32 12d6caf4c0d1: Pull complete 04:48:34 96b7cbca73a9: Pull complete 04:48:34 a7acece74701: Pull complete 04:48:34 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:48:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:48:34 ---> db6d94c90886 04:48:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:48:38 ---> Running in 99bed73f5808 04:48:38 Removing intermediate container 99bed73f5808 04:48:38 ---> 62f3202cd8dc 04:48:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:48:38 ---> Running in f8c5d4e11768 04:48:38 Removing intermediate container f8c5d4e11768 04:48:38 ---> a264db5e4093 04:48:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:48:38 ---> Running in 60c00dd792b8 04:48:38 Removing intermediate container 60c00dd792b8 04:48:38 ---> bb6446b306c3 04:48:38 Step 6/12 : WORKDIR /device-virtual-go 04:48:38 ---> Running in a49ce0a255db 04:48:38 Removing intermediate container a49ce0a255db 04:48:38 ---> 477a92a5405f 04:48:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:38 ---> Running in 54c7fbb751e8 04:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:48:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:48:39 (1/4) Installing openssh-keygen (9.0_p1-r2) 04:48:39 (2/4) Installing libedit (20210910.3.1-r0) 04:48:39 (3/4) Installing openssh-client-common (9.0_p1-r2) 04:48:39 (4/4) Installing openssh-client-default (9.0_p1-r2) 04:48:39 Executing busybox-1.35.0-r17.trigger 04:48:39 OK: 216 MiB in 55 packages 04:48:39 Still waiting to schedule task 04:48:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:48:39 Removing intermediate container 54c7fbb751e8 04:48:39 ---> 92d0bac3e863 04:48:39 Step 8/12 : COPY go.mod vendor* ./ 04:48:39 ---> fd63a5fc5401 04:48:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:39 ---> Running in 8c13da6de860 04:49:26 Removing intermediate container 8c13da6de860 04:49:26 ---> 5bd0c95cf649 04:49:26 Step 10/12 : COPY . . 04:49:26 ---> 00a07d56b5f6 04:49:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:49:26 ---> Running in e49a877884a4 04:49:26 Removing intermediate container e49a877884a4 04:49:26 ---> 98aca1338073 04:49:26 Step 12/12 : RUN $MAKE 04:49:26 ---> Running in 8339ff891c7d 04:49:26 noop 04:49:26 Removing intermediate container 8339ff891c7d 04:49:26 ---> c851dd24865d 04:49:26 Successfully built c851dd24865d 04:49:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:26 + docker inspect -f . ci-base-image-x86_64 04:49:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:26 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:49:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:49:27 $ docker top 907f4f426b2f4fa7f6286c392c2438667f926b8414db99eb369da2f400a64dd2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:27 + go version 04:49:27 go version go1.18.7 linux/amd64 [Pipeline] } 04:49:27 $ docker stop --time=1 907f4f426b2f4fa7f6286c392c2438667f926b8414db99eb369da2f400a64dd2 04:49:28 $ docker rm -f --volumes 907f4f426b2f4fa7f6286c392c2438667f926b8414db99eb369da2f400a64dd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:29 + docker inspect -f . ci-base-image-x86_64 04:49:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:29 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:49:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:49:29 $ docker top 68abde1376dabc41c30b7029207461a61e0c7f6e49ab6d68be014a69969b51e0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:49:29 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 04:49:30 + make test 04:49:30 go test ./... -coverprofile=coverage.out 04:49:30 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:49:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:49:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 04:49:46 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:49:46 go vet ./... 04:49:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:49:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:49:48 ./bin/test-attribution-txt.sh 04:49:49 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:49:49 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:49:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:49:49 $ docker stop --time=1 68abde1376dabc41c30b7029207461a61e0c7f6e49ab6d68be014a69969b51e0 04:49:50 $ docker rm -f --volumes 68abde1376dabc41c30b7029207461a61e0c7f6e49ab6d68be014a69969b51e0 [Pipeline] // withDockerContainer [Pipeline] sh 04:49:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:49:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:49:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:49:52 + ls -al . 04:49:52 total 196 04:49:52 drwxrwxr-x 9 jenkins jenkins 4096 Jan 30 04:49 . 04:49:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 04:48 .. 04:49:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 04:49 .git 04:49:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 04:48 .github 04:49:52 -rw-rw-r-- 1 jenkins jenkins 337 Jan 30 04:48 .gitignore 04:49:52 -rw-rw-r-- 1 jenkins jenkins 41 Jan 30 04:48 .golangci.yml 04:49:52 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 04:48 .semver 04:49:52 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 30 04:48 Attribution.txt 04:49:52 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 30 04:48 CHANGELOG.md 04:49:52 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 30 04:48 Dockerfile 04:49:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 04:48 GOVERNANCE.md 04:49:52 -rw-rw-r-- 1 jenkins jenkins 660 Jan 30 04:48 Jenkinsfile 04:49:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 30 04:48 LICENSE 04:49:52 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 30 04:48 Makefile 04:49:52 -rw-rw-r-- 1 jenkins jenkins 623 Jan 30 04:48 OWNERS.md 04:49:52 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 30 04:48 README.md 04:49:52 -rw-rw-r-- 1 jenkins jenkins 11 Jan 30 04:48 VERSION 04:49:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 04:48 bin 04:49:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 04:48 cmd 04:49:52 -rw-r--r-- 1 jenkins jenkins 44128 Jan 30 04:49 coverage.out 04:49:52 -rw-rw-r-- 1 jenkins jenkins 3306 Jan 30 04:48 go.mod 04:49:52 -rw-rw-r-- 1 jenkins jenkins 34165 Jan 30 04:48 go.sum 04:49:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 04:48 internal 04:49:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 04:48 snap 04:49:52 -rw-rw-r-- 1 jenkins jenkins 235 Jan 30 04:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49: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=dc1ad586098ce6d6ea7a257e3c77391c20aa389b --label arch=amd64 --label version=3.0.0-dev.6 . 04:49:52 Sending build context to Docker daemon 23.37MB 04:49:52 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:49:52 Step 2/25 : FROM ${BASE} AS builder 04:49:52 ---> c851dd24865d 04:49:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:49:52 ---> Running in 16ce166ad7d3 04:49:52 Removing intermediate container 16ce166ad7d3 04:49:52 ---> 0c1dc900cf9f 04:49:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:49:52 ---> Running in 08261ff1bbc3 04:49:52 Removing intermediate container 08261ff1bbc3 04:49:52 ---> c20f4d137ed0 04:49:52 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:49:52 ---> Running in 28bf50d846b3 04:49:53 Removing intermediate container 28bf50d846b3 04:49:53 ---> d1e0e5fa13e4 04:49:53 Step 6/25 : WORKDIR /device-virtual-go 04:49:53 ---> Running in a916a5bec81f 04:49:53 Removing intermediate container a916a5bec81f 04:49:53 ---> 347797026fce 04:49:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:49:53 ---> Running in 265f8b76bfec 04:49:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:49:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:49:53 OK: 216 MiB in 55 packages 04:49:54 Removing intermediate container 265f8b76bfec 04:49:54 ---> 2773c6620048 04:49:54 Step 8/25 : COPY go.mod vendor* ./ 04:49:54 ---> 23d86373de9c 04:49:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:49:54 ---> Running in b02514d8d09a 04:49:55 Removing intermediate container b02514d8d09a 04:49:55 ---> 83ba626855bb 04:49:55 Step 10/25 : COPY . . 04:49:55 ---> 70f1dc528028 04:49:55 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:49:55 ---> Running in 9f01b5c57c76 04:49:55 Removing intermediate container 9f01b5c57c76 04:49:55 ---> 3a9ecb2bd28d 04:49:55 Step 12/25 : RUN $MAKE 04:49:55 ---> Running in 5aa1e800288b 04:49:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 04:50:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3939 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 04:50:12 Running in /w/workspace/device-virtual-go/77 [Pipeline] { [Pipeline] checkout 04:50:12 The recommended git tool is: git 04:50:14 Removing intermediate container 5aa1e800288b 04:50:14 ---> af2edb84ef44 04:50:14 Step 13/25 : FROM alpine:3.16 04:50:14 3.16: Pulling from library/alpine 04:50:14 ca7dd9ec2225: Pulling fs layer 04:50:14 ca7dd9ec2225: Verifying Checksum 04:50:14 ca7dd9ec2225: Download complete 04:50:14 ca7dd9ec2225: Pull complete 04:50:14 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:50:14 Status: Downloaded newer image for alpine:3.16 04:50:14 ---> bfe296a52501 04:50:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:50:14 ---> Running in bf4dd91ec4e4 04:50:14 Removing intermediate container bf4dd91ec4e4 04:50:14 ---> 1a35497372c0 04:50:14 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:50:14 ---> Running in c1f34d98bda5 04:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:50:14 (1/1) Installing dumb-init (1.2.5-r1) 04:50:14 Executing busybox-1.35.0-r17.trigger 04:50:14 OK: 6 MiB in 15 packages 04:50:14 Removing intermediate container c1f34d98bda5 04:50:14 ---> 6c2774683cb4 04:50:14 Step 16/25 : WORKDIR / 04:50:14 ---> Running in 0a6acbc1a9e3 04:50:14 Removing intermediate container 0a6acbc1a9e3 04:50:14 ---> ad4b2033b987 04:50:14 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:50:14 ---> d87f15742b8f 04:50:14 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:50:14 ---> c2d0b803cb17 04:50:14 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:50:15 ---> aef5829a92f5 04:50:15 Step 20/25 : EXPOSE 59900 04:50:15 ---> Running in 323aad198473 04:50:15 Removing intermediate container 323aad198473 04:50:15 ---> 0cd9f0495c44 04:50:15 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:50:15 ---> Running in a489b9c94823 04:50:15 Removing intermediate container a489b9c94823 04:50:15 ---> b00dae85edc0 04:50:15 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:50:15 ---> Running in dcb67af03c15 04:50:15 Removing intermediate container dcb67af03c15 04:50:15 ---> 9079279108de 04:50:15 Step 23/25 : LABEL arch=amd64 04:50:15 ---> Running in 1b7013b0554e 04:50:15 Removing intermediate container 1b7013b0554e 04:50:15 ---> a4f3f237e314 04:50:15 Step 24/25 : LABEL git_sha=dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:50:15 ---> Running in 605db67d42e0 04:50:15 Removing intermediate container 605db67d42e0 04:50:15 ---> 147e5c1882af 04:50:15 Step 25/25 : LABEL version=3.0.0-dev.6 04:50:15 ---> Running in 4a7db43aed0f 04:50:15 Removing intermediate container 4a7db43aed0f 04:50:15 ---> fe826ca2b128 04:50:15 [Warning] One or more build-args [ARCH] were not consumed 04:50:15 Successfully built fe826ca2b128 04:50:15 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:50:15 provisioning config files... 04:50:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7527142614696851243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:16 ---> docker-login.sh 04:50:16 nexus3.edgexfoundry.org:10001 04:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:16 Configure a credential helper to remove this warning. See 04:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:16 04:50:16 Login Succeeded 04:50:16 nexus3.edgexfoundry.org:10002 04:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:16 Configure a credential helper to remove this warning. See 04:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:16 04:50:16 Login Succeeded 04:50:16 nexus3.edgexfoundry.org:10003 04:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:16 Configure a credential helper to remove this warning. See 04:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:16 04:50:16 Login Succeeded 04:50:16 nexus3.edgexfoundry.org:10004 04:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:16 Configure a credential helper to remove this warning. See 04:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:16 04:50:16 Login Succeeded 04:50:16 docker.io 04:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:16 Configure a credential helper to remove this warning. See 04:50:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:16 04:50:16 Login Succeeded 04:50:16 ---> docker-login.sh ends [Pipeline] } 04:50:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:50:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:16 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 04:50:16 dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:50:16 latest 04:50:16 3.0.0-dev.6 04:50:16 dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6 04:50:16 main 04:50:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:17 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dc1ad586098ce6d6ea7a257e3c77391c20aa389b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:17 using credential edgex-jenkins-ssh 04:50:17 Cloning the remote Git repository 04:50:17 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:50:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual:dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:50:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:50:17 9f451b7f26e0: Preparing 04:50:17 b917cc6c2a4a: Preparing 04:50:17 25d3c012e102: Preparing 04:50:17 a0003bc2d246: Preparing 04:50:17 e5e13b0c77cb: Preparing 04:50:17 e5e13b0c77cb: Layer already exists 04:50:17 a0003bc2d246: Pushed 04:50:17 25d3c012e102: Pushed 04:50:17 b917cc6c2a4a: Pushed 04:50:17 > git init /w/workspace/device-virtual-go/77 # timeout=10 04:50:17 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:50:17 > git --version # timeout=10 04:50:17 > git --version # 'git version 2.25.1' 04:50:17 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:50:19 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:50:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:50:19 9f451b7f26e0: Pushed 04:50:19 dc1ad586098ce6d6ea7a257e3c77391c20aa389b: digest: sha256:9f8a00110858e2909a50320f63e7fb626fca94c800295d80a52e65e768b7c4f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:20 Avoid second fetch 04:50:20 Checking out Revision dc1ad586098ce6d6ea7a257e3c77391c20aa389b (main) 04:50:20 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 04:50:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:50:20 9f451b7f26e0: Preparing 04:50:20 b917cc6c2a4a: Preparing 04:50:20 25d3c012e102: Preparing 04:50:20 a0003bc2d246: Preparing 04:50:20 e5e13b0c77cb: Preparing 04:50:20 b917cc6c2a4a: Layer already exists 04:50:20 e5e13b0c77cb: Layer already exists 04:50:20 25d3c012e102: Layer already exists 04:50:20 9f451b7f26e0: Layer already exists 04:50:20 a0003bc2d246: Layer already exists 04:50:20 latest: digest: sha256:9f8a00110858e2909a50320f63e7fb626fca94c800295d80a52e65e768b7c4f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:20 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:21 Commit message: "Merge pull request #332 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.12" 04:50:20 > git config core.sparsecheckout # timeout=10 04:50:20 > git checkout -f dc1ad586098ce6d6ea7a257e3c77391c20aa389b # timeout=10 04:50:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.6 04:50:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:50:21 9f451b7f26e0: Preparing 04:50:21 b917cc6c2a4a: Preparing 04:50:21 25d3c012e102: Preparing 04:50:21 a0003bc2d246: Preparing 04:50:21 e5e13b0c77cb: Preparing 04:50:21 a0003bc2d246: Layer already exists 04:50:21 25d3c012e102: Layer already exists 04:50:21 e5e13b0c77cb: Layer already exists 04:50:21 b917cc6c2a4a: Layer already exists 04:50:21 9f451b7f26e0: Layer already exists 04:50:21 3.0.0-dev.6: digest: sha256:9f8a00110858e2909a50320f63e7fb626fca94c800295d80a52e65e768b7c4f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:50:21 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:50:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:50:21 Dload Upload Total Spent Left Speed 04:50:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 04:50:21 + docker push nexus3.edgexfoundry.org:10004/device-virtual:dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6 04:50:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:50:21 9f451b7f26e0: Preparing 04:50:21 b917cc6c2a4a: Preparing 04:50:21 25d3c012e102: Preparing 04:50:21 a0003bc2d246: Preparing 04:50:21 e5e13b0c77cb: Preparing 04:50:21 9f451b7f26e0: Layer already exists 04:50:21 e5e13b0c77cb: Layer already exists 04:50:21 a0003bc2d246: Layer already exists 04:50:21 25d3c012e102: Layer already exists 04:50:21 b917cc6c2a4a: Layer already exists 04:50:21 dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6: digest: sha256:9f8a00110858e2909a50320f63e7fb626fca94c800295d80a52e65e768b7c4f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 04:50:22 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:50:22 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 04:50:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:50:22 9f451b7f26e0: Preparing 04:50:22 b917cc6c2a4a: Preparing 04:50:22 25d3c012e102: Preparing 04:50:22 a0003bc2d246: Preparing 04:50:22 e5e13b0c77cb: Preparing 04:50:22 25d3c012e102: Layer already exists 04:50:22 9f451b7f26e0: Layer already exists 04:50:22 a0003bc2d246: Layer already exists 04:50:22 b917cc6c2a4a: Layer already exists 04:50:22 e5e13b0c77cb: Layer already exists 04:50:22 main: digest: sha256:9f8a00110858e2909a50320f63e7fb626fca94c800295d80a52e65e768b7c4f5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:50:22 ===================================================== [Pipeline] echo 04:50:22 taggedImages: 04:50:22 - nexus3.edgexfoundry.org:10004/device-virtual:dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:50:22 - nexus3.edgexfoundry.org:10004/device-virtual:latest 04:50:22 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.6 04:50:22 - nexus3.edgexfoundry.org:10004/device-virtual:dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6 04:50:22 - 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 04:50:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:50:22 + sudo tee /etc/docker/daemon.new 04:50:22 { 04:50:22 "registry-mirrors": [ 04:50:22 "https://nexus3.edgexfoundry.org:10001" 04:50:22 ], 04:50:22 "bip": "10.250.0.254/24", 04:50:22 "hosts": [ 04:50:22 "tcp://0.0.0.0:5555", 04:50:22 "unix:///var/run/docker.sock" 04:50:22 ], 04:50:22 "mtu": 1458, 04:50:22 "selinux-enabled": true, 04:50:22 "seccomp-profile": "/etc/docker/seccomp.json" 04:50:22 } [Pipeline] sh 04:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:50:22 04:50:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:50:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:50:23 latest: Pulling from edgex-lftools-log-publisher 04:50:23 5eb5b503b376: Pulling fs layer 04:50:23 5c69ac0246d0: Pulling fs layer 04:50:23 ec43610c2a17: Pulling fs layer 04:50:23 3a2ae6a8a46f: Pulling fs layer 04:50:23 33b1e0a273af: Pulling fs layer 04:50:23 5d3b04190fa2: Pulling fs layer 04:50:23 2f39f015ded8: Pulling fs layer 04:50:23 5d3b04190fa2: Waiting 04:50:23 3a2ae6a8a46f: Waiting 04:50:23 33b1e0a273af: Waiting 04:50:23 2f39f015ded8: Waiting 04:50:23 5c69ac0246d0: Verifying Checksum 04:50:23 5c69ac0246d0: Download complete 04:50:23 3a2ae6a8a46f: Verifying Checksum 04:50:23 3a2ae6a8a46f: Download complete 04:50:23 + sudo service docker restart 04:50:23 33b1e0a273af: Verifying Checksum 04:50:23 5d3b04190fa2: Verifying Checksum 04:50:23 5d3b04190fa2: Download complete 04:50:23 ec43610c2a17: Download complete 04:50:23 5eb5b503b376: Verifying Checksum 04:50:23 5eb5b503b376: Download complete 04:50:24 2f39f015ded8: Download complete 04:50:24 5eb5b503b376: Pull complete 04:50:24 5c69ac0246d0: Pull complete 04:50:25 ec43610c2a17: Pull complete 04:50:25 3a2ae6a8a46f: Pull complete 04:50:25 33b1e0a273af: Pull complete 04:50:25 5d3b04190fa2: Pull complete 04:50:29 2f39f015ded8: Pull complete 04:50:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:50:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:50:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:29 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:50:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:50:31 $ docker top 536d9364a74a54c0fc360d6912ab9d026a7457759c4a412aef09b2db5c840fcc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:31 ---> job-cost.sh 04:50:31 lf-activate-venv: SKIPPING 04:50:31 INFO: No Stack... 04:50:32 INFO: Retrieving Pricing Info for: v3-standard-8 04:50:32 INFO: Archiving Costs [Pipeline] sh 04:50:32 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 04:50:32 + cut -d, -f6 [Pipeline] lock 04:50:32 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-77-stack-cost] 04:50:33 Resource [jenkins-edgexfoundry-device-virtual-go-main-77-stack-cost] did not exist. Created. 04:50:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:50:33 + echo total: 0.2199999988079071 [Pipeline] stash 04:50:33 Stashed 1 file(s) [Pipeline] } 04:50:33 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 04:50:33 $ docker stop --time=1 536d9364a74a54c0fc360d6912ab9d026a7457759c4a412aef09b2db5c840fcc 04:50:34 $ docker rm -f --volumes 536d9364a74a54c0fc360d6912ab9d026a7457759c4a412aef09b2db5c840fcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:50:41 provisioning config files... 04:50:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/77@tmp/config16930894573883489510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:42 ---> docker-login.sh 04:50:42 nexus3.edgexfoundry.org:10001 04:50:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:42 Configure a credential helper to remove this warning. See 04:50:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:42 04:50:42 Login Succeeded 04:50:42 nexus3.edgexfoundry.org:10002 04:50:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:43 Configure a credential helper to remove this warning. See 04:50:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:43 04:50:43 Login Succeeded 04:50:43 nexus3.edgexfoundry.org:10003 04:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:43 Configure a credential helper to remove this warning. See 04:50:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:43 04:50:43 Login Succeeded 04:50:43 nexus3.edgexfoundry.org:10004 04:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:43 Configure a credential helper to remove this warning. See 04:50:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:43 04:50:43 Login Succeeded 04:50:43 docker.io 04:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:44 Configure a credential helper to remove this warning. See 04:50:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:44 04:50:44 Login Succeeded 04:50:44 ---> docker-login.sh ends [Pipeline] } 04:50:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:50:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:44 ========================================================= 04:50:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:50:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:50:45 Sending build context to Docker daemon 11.81MB 04:50:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 04:50:45 Step 2/12 : FROM ${BASE} AS builder 04:50:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:50:45 9b18e9b68314: Pulling fs layer 04:50:45 35d82f9e3411: Pulling fs layer 04:50:45 e16973657156: Pulling fs layer 04:50:45 fc693d55d65f: Pulling fs layer 04:50:45 7e9fc2657dce: Pulling fs layer 04:50:45 dda99020689f: Pulling fs layer 04:50:45 db1c61fa0a46: Pulling fs layer 04:50:45 891c053d2c06: Pulling fs layer 04:50:45 7e9fc2657dce: Waiting 04:50:45 dda99020689f: Waiting 04:50:45 db1c61fa0a46: Waiting 04:50:45 891c053d2c06: Waiting 04:50:45 fc693d55d65f: Waiting 04:50:45 e16973657156: Verifying Checksum 04:50:45 e16973657156: Download complete 04:50:45 35d82f9e3411: Verifying Checksum 04:50:45 35d82f9e3411: Download complete 04:50:45 7e9fc2657dce: Verifying Checksum 04:50:45 7e9fc2657dce: Download complete 04:50:45 dda99020689f: Download complete 04:50:45 9b18e9b68314: Verifying Checksum 04:50:46 9b18e9b68314: Pull complete 04:50:46 891c053d2c06: Verifying Checksum 04:50:46 891c053d2c06: Download complete 04:50:47 35d82f9e3411: Pull complete 04:50:47 e16973657156: Pull complete 04:50:48 db1c61fa0a46: Verifying Checksum 04:50:48 fc693d55d65f: Verifying Checksum 04:50:48 fc693d55d65f: Download complete 04:51:00 fc693d55d65f: Pull complete 04:51:00 7e9fc2657dce: Pull complete 04:51:00 dda99020689f: Pull complete 04:51:06 db1c61fa0a46: Pull complete 04:51:08 891c053d2c06: Pull complete 04:51:08 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:51:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:51:08 ---> f96f9c87975a 04:51:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:51:09 ---> Running in 510d1fa6958f 04:51:09 Removing intermediate container 510d1fa6958f 04:51:09 ---> 3f8976f659dd 04:51:09 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:51:10 ---> Running in 27fe5d8b52c1 04:51:10 Removing intermediate container 27fe5d8b52c1 04:51:10 ---> 5766d7d9fbe0 04:51:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 04:51:10 ---> Running in 782f4a373379 04:51:10 Removing intermediate container 782f4a373379 04:51:10 ---> 432e957b4ce8 04:51:10 Step 6/12 : WORKDIR /device-virtual-go 04:51:10 ---> Running in e0555b8c9713 04:51:11 Removing intermediate container e0555b8c9713 04:51:11 ---> c04b15edbd2a 04:51:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:51:11 ---> Running in b37a5ed2cee6 04:51:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:51:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:51:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 04:51:13 (2/4) Installing libedit (20210910.3.1-r0) 04:51:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 04:51:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 04:51:13 Executing busybox-1.35.0-r17.trigger 04:51:13 OK: 226 MiB in 55 packages 04:51:14 Removing intermediate container b37a5ed2cee6 04:51:14 ---> 556b6c1df85b 04:51:14 Step 8/12 : COPY go.mod vendor* ./ 04:51:18 ---> 95cccccf68d5 04:51:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:51:18 ---> Running in 6e8f64e92cd0 04:52:26 Removing intermediate container 6e8f64e92cd0 04:52:26 ---> 7a0fe6a3e3ae 04:52:26 Step 10/12 : COPY . . 04:52:26 ---> 94fc52dece67 04:52:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:52:26 ---> Running in efaf861227c8 04:52:26 Removing intermediate container efaf861227c8 04:52:26 ---> 924f416b7b2e 04:52:26 Step 12/12 : RUN $MAKE 04:52:26 ---> Running in 4374564ccb87 04:52:26 noop 04:52:26 Removing intermediate container 4374564ccb87 04:52:26 ---> e0d5c3fc76be 04:52:26 Successfully built e0d5c3fc76be 04:52:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:26 + docker inspect -f . ci-base-image-arm64 04:52:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:26 prd-ubuntu20.04-docker-arm64-4c-16g-3939 does not seem to be running inside a container 04:52:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/77 -v /w/workspace/device-virtual-go/77:/w/workspace/device-virtual-go/77:rw,z -v /w/workspace/device-virtual-go/77@tmp:/w/workspace/device-virtual-go/77@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 04:52:27 $ docker top 211069d7707d29a6cc0249442e027a755457f15c981fa32ef6957edb225b975c -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:28 + go version 04:52:28 go version go1.18.7 linux/arm64 [Pipeline] } 04:52:28 $ docker stop --time=1 211069d7707d29a6cc0249442e027a755457f15c981fa32ef6957edb225b975c 04:52:30 $ docker rm -f --volumes 211069d7707d29a6cc0249442e027a755457f15c981fa32ef6957edb225b975c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:30 + docker inspect -f . ci-base-image-arm64 04:52:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:30 prd-ubuntu20.04-docker-arm64-4c-16g-3939 does not seem to be running inside a container 04:52:31 $ 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/77 -v /w/workspace/device-virtual-go/77:/w/workspace/device-virtual-go/77:rw,z -v /w/workspace/device-virtual-go/77@tmp:/w/workspace/device-virtual-go/77@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 04:52:32 $ docker top 2739efec2bbfba8db330084556876f59e0aa45654cfe72f16a1fda15c0712a9c -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:32 + git config --global --add safe.directory /w/workspace/device-virtual-go/77 [Pipeline] fileExists [Pipeline] sh 04:52:33 + make test 04:52:33 go test ./... -coverprofile=coverage.out 04:52:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:53:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:53:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.124s coverage: 65.7% of statements 04:53:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:53:56 go vet ./... 04:54:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:54:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:54:11 ./bin/test-attribution-txt.sh 04:54:11 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:54:11 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:54:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:54:11 $ docker stop --time=1 2739efec2bbfba8db330084556876f59e0aa45654cfe72f16a1fda15c0712a9c 04:54:13 $ docker rm -f --volumes 2739efec2bbfba8db330084556876f59e0aa45654cfe72f16a1fda15c0712a9c [Pipeline] // withDockerContainer [Pipeline] sh 04:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:54:14 Warning: overwriting stash ‘coverage-report’ 04:54:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:54:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:54:15 + ls -al . 04:54:15 total 192 04:54:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 04:52 . 04:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 04:50 .. 04:54:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 04:50 .git 04:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 04:50 .github 04:54:15 -rw-rw-r-- 1 jenkins jenkins 337 Jan 30 04:50 .gitignore 04:54:15 -rw-rw-r-- 1 jenkins jenkins 41 Jan 30 04:50 .golangci.yml 04:54:15 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 30 04:50 Attribution.txt 04:54:15 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 30 04:50 CHANGELOG.md 04:54:15 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 30 04:50 Dockerfile 04:54:15 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 04:50 GOVERNANCE.md 04:54:15 -rw-rw-r-- 1 jenkins jenkins 660 Jan 30 04:50 Jenkinsfile 04:54:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 30 04:50 LICENSE 04:54:15 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 30 04:50 Makefile 04:54:15 -rw-rw-r-- 1 jenkins jenkins 623 Jan 30 04:50 OWNERS.md 04:54:15 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 30 04:50 README.md 04:54:15 -rw-rw-r-- 1 jenkins jenkins 11 Jan 30 04:48 VERSION 04:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 04:50 bin 04:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 04:50 cmd 04:54:15 -rw-r--r-- 1 jenkins jenkins 44128 Jan 30 04:53 coverage.out 04:54:15 -rw-rw-r-- 1 jenkins jenkins 3306 Jan 30 04:50 go.mod 04:54:15 -rw-rw-r-- 1 jenkins jenkins 34165 Jan 30 04:50 go.sum 04:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 04:50 internal 04:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 04:50 snap 04:54:15 -rw-rw-r-- 1 jenkins jenkins 235 Jan 30 04:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:54:16 + 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=dc1ad586098ce6d6ea7a257e3c77391c20aa389b --label arch=arm64 --label version=3.0.0-dev.6 . 04:54:16 Sending build context to Docker daemon 11.85MB 04:54:16 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:54:16 Step 2/25 : FROM ${BASE} AS builder 04:54:16 ---> e0d5c3fc76be 04:54:16 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:54:16 ---> Running in 396d29463756 04:54:17 Removing intermediate container 396d29463756 04:54:17 ---> 3413389b685d 04:54:17 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 04:54:17 ---> Running in 9fea335da062 04:54:17 Removing intermediate container 9fea335da062 04:54:17 ---> a3f9c3ab0b2f 04:54:17 Step 5/25 : ARG ADD_BUILD_TAGS="" 04:54:17 ---> Running in 9ad50dfecffa 04:54:17 Removing intermediate container 9ad50dfecffa 04:54:17 ---> 131c6714c51e 04:54:17 Step 6/25 : WORKDIR /device-virtual-go 04:54:17 ---> Running in 187cb55f2f4b 04:54:18 Removing intermediate container 187cb55f2f4b 04:54:18 ---> 21485bec9fe2 04:54:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:54:18 ---> Running in fd11a8d07663 04:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:54:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:54:20 OK: 226 MiB in 55 packages 04:54:21 Removing intermediate container fd11a8d07663 04:54:21 ---> f55f62b1b323 04:54:21 Step 8/25 : COPY go.mod vendor* ./ 04:54:21 ---> a7b63b1d4934 04:54:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:54:22 ---> Running in db724d3bc065 04:54:24 Removing intermediate container db724d3bc065 04:54:24 ---> ab25cba09ece 04:54:24 Step 10/25 : COPY . . 04:54:25 ---> ef846d3abfc7 04:54:25 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:54:25 ---> Running in 6e987e372a19 04:54:26 Removing intermediate container 6e987e372a19 04:54:26 ---> e0d4b9926b51 04:54:26 Step 12/25 : RUN $MAKE 04:54:26 ---> Running in c36d16363e6d 04:54:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.6" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 04:56:48 Removing intermediate container c36d16363e6d 04:56:48 ---> 03ee58ce3b30 04:56:48 Step 13/25 : FROM alpine:3.16 04:56:48 3.16: Pulling from library/alpine 04:56:48 6875df1f5354: Pulling fs layer 04:56:48 6875df1f5354: Verifying Checksum 04:56:48 6875df1f5354: Download complete 04:56:49 6875df1f5354: Pull complete 04:56:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:56:49 Status: Downloaded newer image for alpine:3.16 04:56:49 ---> 2b4661558fb8 04:56:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:56:49 ---> Running in da18243464e7 04:56:49 Removing intermediate container da18243464e7 04:56:49 ---> 89eabbcd37a3 04:56:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 04:56:49 ---> Running in 12081cb65f27 04:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:56:52 (1/1) Installing dumb-init (1.2.5-r1) 04:56:52 Executing busybox-1.35.0-r17.trigger 04:56:52 OK: 5 MiB in 15 packages 04:56:53 Removing intermediate container 12081cb65f27 04:56:53 ---> 1404cde4ba73 04:56:53 Step 16/25 : WORKDIR / 04:56:53 ---> Running in ab06bb0eced0 04:56:53 Removing intermediate container ab06bb0eced0 04:56:53 ---> 63e725d56bc1 04:56:53 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:56:54 ---> f906bcf4b743 04:56:54 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 04:56:54 ---> 4faa27f02882 04:56:54 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 04:56:55 ---> 806704cffa5b 04:56:55 Step 20/25 : EXPOSE 59900 04:56:55 ---> Running in 58f731fb9063 04:56:56 Removing intermediate container 58f731fb9063 04:56:56 ---> 15d4264f3d43 04:56:56 Step 21/25 : ENTRYPOINT ["/device-virtual"] 04:56:56 ---> Running in c5fd2bf5dfb2 04:56:56 Removing intermediate container c5fd2bf5dfb2 04:56:56 ---> 69b811456359 04:56:56 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:56:56 ---> Running in 4c1644208dad 04:56:56 Removing intermediate container 4c1644208dad 04:56:56 ---> 7ad9f68d7f58 04:56:56 Step 23/25 : LABEL arch=arm64 04:56:56 ---> Running in cd62062ab8bd 04:56:57 Removing intermediate container cd62062ab8bd 04:56:57 ---> 7ce8369d78ec 04:56:57 Step 24/25 : LABEL git_sha=dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:56:57 ---> Running in 013d9c761763 04:56:57 Removing intermediate container 013d9c761763 04:56:57 ---> 8f8472e254f1 04:56:57 Step 25/25 : LABEL version=3.0.0-dev.6 04:56:57 ---> Running in 369ab9b64d0a 04:56:58 Removing intermediate container 369ab9b64d0a 04:56:58 ---> b29306738276 04:56:58 [Warning] One or more build-args [ARCH] were not consumed 04:56:58 Successfully built b29306738276 04:56:58 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 04:56:58 provisioning config files... 04:56:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/77@tmp/config16346209964277227066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:56:58 ---> docker-login.sh 04:56:58 nexus3.edgexfoundry.org:10001 04:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:58 Configure a credential helper to remove this warning. See 04:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:58 04:56:58 Login Succeeded 04:56:58 nexus3.edgexfoundry.org:10002 04:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:59 Configure a credential helper to remove this warning. See 04:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:59 04:56:59 Login Succeeded 04:56:59 nexus3.edgexfoundry.org:10003 04:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:59 Configure a credential helper to remove this warning. See 04:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:59 04:56:59 Login Succeeded 04:56:59 nexus3.edgexfoundry.org:10004 04:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:56:59 Configure a credential helper to remove this warning. See 04:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:56:59 04:56:59 Login Succeeded 04:56:59 docker.io 04:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:57:00 Configure a credential helper to remove this warning. See 04:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:57:00 04:57:00 Login Succeeded 04:57:00 ---> docker-login.sh ends [Pipeline] } 04:57:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:57:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:57:00 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 04:57:00 dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:57:00 latest 04:57:00 3.0.0-dev.6 04:57:00 dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6 04:57:00 main 04:57:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dc1ad586098ce6d6ea7a257e3c77391c20aa389b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:01 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:57:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:57:01 3b96429ce2b2: Preparing 04:57:01 2f595f8c5f0f: Preparing 04:57:01 31e2c380fc61: Preparing 04:57:01 4c2ee4382022: Preparing 04:57:01 17bec77d7fdc: Preparing 04:57:01 17bec77d7fdc: Layer already exists 04:57:01 4c2ee4382022: Pushed 04:57:01 2f595f8c5f0f: Pushed 04:57:01 31e2c380fc61: Pushed 04:57:06 3b96429ce2b2: Pushed 04:57:07 dc1ad586098ce6d6ea7a257e3c77391c20aa389b: digest: sha256:9e1c82a064f1d0131ed8062426f5897500ab203ddd4047ef9e36fa64ce1a9f31 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:07 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:57:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:57:07 3b96429ce2b2: Preparing 04:57:07 2f595f8c5f0f: Preparing 04:57:07 31e2c380fc61: Preparing 04:57:07 4c2ee4382022: Preparing 04:57:07 17bec77d7fdc: Preparing 04:57:07 2f595f8c5f0f: Layer already exists 04:57:07 31e2c380fc61: Layer already exists 04:57:07 3b96429ce2b2: Layer already exists 04:57:07 17bec77d7fdc: Layer already exists 04:57:07 4c2ee4382022: Layer already exists 04:57:08 latest: digest: sha256:9e1c82a064f1d0131ed8062426f5897500ab203ddd4047ef9e36fa64ce1a9f31 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:08 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.6 04:57:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:57:08 3b96429ce2b2: Preparing 04:57:08 2f595f8c5f0f: Preparing 04:57:08 31e2c380fc61: Preparing 04:57:08 4c2ee4382022: Preparing 04:57:08 17bec77d7fdc: Preparing 04:57:08 17bec77d7fdc: Layer already exists 04:57:08 31e2c380fc61: Layer already exists 04:57:08 4c2ee4382022: Layer already exists 04:57:08 3b96429ce2b2: Layer already exists 04:57:08 2f595f8c5f0f: Layer already exists 04:57:08 3.0.0-dev.6: digest: sha256:9e1c82a064f1d0131ed8062426f5897500ab203ddd4047ef9e36fa64ce1a9f31 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6 04:57:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:57:09 3b96429ce2b2: Preparing 04:57:09 2f595f8c5f0f: Preparing 04:57:09 31e2c380fc61: Preparing 04:57:09 4c2ee4382022: Preparing 04:57:09 17bec77d7fdc: Preparing 04:57:09 31e2c380fc61: Layer already exists 04:57:09 17bec77d7fdc: Layer already exists 04:57:09 2f595f8c5f0f: Layer already exists 04:57:09 4c2ee4382022: Layer already exists 04:57:09 3b96429ce2b2: Layer already exists 04:57:09 dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6: digest: sha256:9e1c82a064f1d0131ed8062426f5897500ab203ddd4047ef9e36fa64ce1a9f31 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:10 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 04:57:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:57:10 3b96429ce2b2: Preparing 04:57:10 2f595f8c5f0f: Preparing 04:57:10 31e2c380fc61: Preparing 04:57:10 4c2ee4382022: Preparing 04:57:10 17bec77d7fdc: Preparing 04:57:10 3b96429ce2b2: Layer already exists 04:57:10 31e2c380fc61: Layer already exists 04:57:10 4c2ee4382022: Layer already exists 04:57:10 17bec77d7fdc: Layer already exists 04:57:10 2f595f8c5f0f: Layer already exists 04:57:10 main: digest: sha256:9e1c82a064f1d0131ed8062426f5897500ab203ddd4047ef9e36fa64ce1a9f31 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:57:10 ===================================================== [Pipeline] echo 04:57:10 taggedImages: 04:57:10 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dc1ad586098ce6d6ea7a257e3c77391c20aa389b 04:57:10 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:57:10 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.6 04:57:10 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:dc1ad586098ce6d6ea7a257e3c77391c20aa389b-3.0.0-dev.6 04:57:10 - 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 04:57:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:57:11 04:57:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:57:11 arm64: Pulling from edgex-lftools-log-publisher 04:57:11 8998bd30e6a1: Pulling fs layer 04:57:11 04944245beec: Pulling fs layer 04:57:11 699f458cf7ca: Pulling fs layer 04:57:11 765212b225bb: Pulling fs layer 04:57:11 f23df028b6ca: Pulling fs layer 04:57:11 d65c8cfc05b1: Pulling fs layer 04:57:11 2437ff75d9bd: Pulling fs layer 04:57:11 f23df028b6ca: Waiting 04:57:11 d65c8cfc05b1: Waiting 04:57:11 2437ff75d9bd: Waiting 04:57:11 765212b225bb: Waiting 04:57:11 04944245beec: Verifying Checksum 04:57:11 04944245beec: Download complete 04:57:11 765212b225bb: Verifying Checksum 04:57:11 765212b225bb: Download complete 04:57:11 f23df028b6ca: Verifying Checksum 04:57:11 f23df028b6ca: Download complete 04:57:11 d65c8cfc05b1: Verifying Checksum 04:57:11 d65c8cfc05b1: Download complete 04:57:11 699f458cf7ca: Download complete 04:57:12 8998bd30e6a1: Verifying Checksum 04:57:12 8998bd30e6a1: Download complete 04:57:14 2437ff75d9bd: Verifying Checksum 04:57:14 2437ff75d9bd: Download complete 04:57:16 8998bd30e6a1: Pull complete 04:57:16 04944245beec: Pull complete 04:57:18 699f458cf7ca: Pull complete 04:57:18 765212b225bb: Pull complete 04:57:19 f23df028b6ca: Pull complete 04:57:19 d65c8cfc05b1: Pull complete 04:57:34 2437ff75d9bd: Pull complete 04:57:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:57:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:57:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:34 prd-ubuntu20.04-docker-arm64-4c-16g-3939 does not seem to be running inside a container 04:57: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/device-virtual-go/77 -v /w/workspace/device-virtual-go/77:/w/workspace/device-virtual-go/77:rw,z -v /w/workspace/device-virtual-go/77@tmp:/w/workspace/device-virtual-go/77@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 04:57:37 $ docker top d8cdb3383d35ae0e6b9717381c5c198f2dcf8c285050baf875d20f4bcec6936f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:57:37 ---> job-cost.sh 04:57:37 lf-activate-venv: SKIPPING 04:57:37 INFO: No Stack... 04:57:38 INFO: Retrieving Pricing Info for: v3-standard-4 04:57:39 INFO: Archiving Costs [Pipeline] sh 04:57:39 + cat /w/workspace/device-virtual-go/77/archives/cost.csv 04:57:39 + cut -d, -f6 [Pipeline] lock 04:57:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-77-stack-cost] 04:57:39 Resource [jenkins-edgexfoundry-device-virtual-go-main-77-stack-cost] did not exist. Created. 04:57:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:57:40 /w/workspace/device-virtual-go/77@tmp/durable-62d915cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:57:41 + echo total: 0.10999999940395355 [Pipeline] stash 04:57:41 Warning: overwriting stash ‘stack-cost’ 04:57:41 Stashed 1 file(s) [Pipeline] } 04:57:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 04:57:41 $ docker stop --time=1 d8cdb3383d35ae0e6b9717381c5c198f2dcf8c285050baf875d20f4bcec6936f 04:57:42 $ docker rm -f --volumes d8cdb3383d35ae0e6b9717381c5c198f2dcf8c285050baf875d20f4bcec6936f [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 04:57:43 provisioning config files... 04:57:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5205935318653841349tmp [Pipeline] { [Pipeline] sh 04:57:43 + set +x 04:57:43 + bash+ -s -- 04:57:43 curl -s https://codecov.io/bash 04:57:43 04:57:43 _____ _ 04:57:43 / ____| | | 04:57:43 | | ___ __| | ___ ___ _____ __ 04:57:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:57:43 | |___| (_) | (_| | __/ (_| (_) \ V / 04:57:43 \_____\___/ \__,_|\___|\___\___/ \_/ 04:57:43 Bash-1.0.6 04:57:43 04:57:43 04:57:43 ==> git version 2.25.1 found 04:57:43 ==> 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 04:57:43 Release-Date: 2020-01-08 04:57:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:57:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:57:43 ==> Jenkins CI detected. 04:57:43 current dir:  /w/workspace/exfoundry_device-virtual-go_main 04:57:43 project root: . 04:57:43 --> token set from env 04:57:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:57:43 ==> Running gcov in . (disable via -X gcov) 04:57:43 ==> Python coveragepy not found 04:57:43 ==> Searching for coverage reports in: 04:57:43 + . 04:57:43 -> Found 1 reports 04:57:43 ==> Detecting git/mercurial file structure 04:57:43 ==> Reading reports 04:57:43 + ./coverage.out bytes=44128 04:57:43 ==> Appending adjustments 04:57:43 https://docs.codecov.io/docs/fixing-reports 04:57:43 + Found adjustments 04:57:43 ==> Gzipping contents 04:57:43 8.0K /tmp/codecov.LVHp1l.gz 04:57:43 ==> Uploading reports 04:57:43 url: https://codecov.io 04:57:43 query: branch=main&commit=dc1ad586098ce6d6ea7a257e3c77391c20aa389b&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:57:43 -> Pinging Codecov 04:57:43 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=dc1ad586098ce6d6ea7a257e3c77391c20aa389b&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:57:44 -> Uploading to 04:57:44 https://storage.googleapis.com/codecov/v4/raw/2023-01-30/5E52B4B073DB2E39498172D8E973AA87/dc1ad586098ce6d6ea7a257e3c77391c20aa389b/b89939fd-f22d-49b5-a907-b8ee2ec77fd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230130T045744Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d66af55f9a5e4f360061abd0efa40cf3ce937bf7d35a68f953971d1377fefd00 04:57:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:57:44 Dload Upload Total Spent Left Speed 04:57:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5480 0 0 100 5480 0 19432 --:--:-- --:--:-- --:--:-- 19432 04:57:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/dc1ad586098ce6d6ea7a257e3c77391c20aa389b [Pipeline] } 04:57:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:57:44 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:57:44 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:45 04:57:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:57:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:57:45 df9b9388f04a: Pulling fs layer 04:57:45 52dc419b0ee2: Pulling fs layer 04:57:45 25bc292e5bac: Pulling fs layer 04:57:45 114826534d7a: Pulling fs layer 04:57:45 4657fd5d0bcf: Pulling fs layer 04:57:45 6ad1cebc031e: Pulling fs layer 04:57:45 8a3aa393b2d8: Pulling fs layer 04:57:45 6ad1cebc031e: Waiting 04:57:45 4657fd5d0bcf: Waiting 04:57:45 8a3aa393b2d8: Waiting 04:57:45 25bc292e5bac: Download complete 04:57:45 52dc419b0ee2: Download complete 04:57:45 4657fd5d0bcf: Download complete 04:57:45 df9b9388f04a: Verifying Checksum 04:57:45 df9b9388f04a: Download complete 04:57:45 df9b9388f04a: Pull complete 04:57:45 52dc419b0ee2: Pull complete 04:57:45 6ad1cebc031e: Verifying Checksum 04:57:45 25bc292e5bac: Pull complete 04:57:46 114826534d7a: Verifying Checksum 04:57:46 114826534d7a: Download complete 04:57:46 8a3aa393b2d8: Verifying Checksum 04:57:46 8a3aa393b2d8: Download complete 04:57:50 114826534d7a: Pull complete 04:57:50 4657fd5d0bcf: Pull complete 04:57:50 6ad1cebc031e: Pull complete 04:57:52 8a3aa393b2d8: Pull complete 04:57:52 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:57:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:57:52 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:57:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:57:55 $ docker top 56eec9805d7894780ad826c39e8d69b8d379634315092924c48c36aa80cc0f41 -eo pid,comm [Pipeline] { [Pipeline] echo 04:57:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 04:57:55 + set -o pipefail 04:57:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 04:58:01 04:58:01 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 04:58:01 04:58:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/0204cac3-b362-42b0-9bf8-c428ad6d43ce 04:58:01 04:58:01 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:58:01 04:58:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:58:01 04:58:01 04:58:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:58:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:58:01 More details here: https://snyk.co/ue1NS [Pipeline] } 04:58:01 $ docker stop --time=1 56eec9805d7894780ad826c39e8d69b8d379634315092924c48c36aa80cc0f41 04:58:03 $ docker rm -f --volumes 56eec9805d7894780ad826c39e8d69b8d379634315092924c48c36aa80cc0f41 [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 04:58:04 + git log --format=format:%s -1 dc1ad586098ce6d6ea7a257e3c77391c20aa389b [Pipeline] sh 04:58:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:05 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:58:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:05 $ docker top 0e9d1b9683b4e7c1dc53b990df3d2a291075bd17b9c73088aad4dfc2e7f1dff6 -eo pid,comm 04:58:05 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). 04:58:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:05 [ssh-agent] Looking for ssh-agent implementation... 04:58:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:05 $ docker exec 0e9d1b9683b4e7c1dc53b990df3d2a291075bd17b9c73088aad4dfc2e7f1dff6 ssh-agent 04:58:05 SSH_AUTH_SOCK=/tmp/ssh-8NTVEcfBXuTJ/agent.32 04:58:05 SSH_AGENT_PID=38 04:58:05 Running ssh-add (command line suppressed) 04:58:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6875067855738873655.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6875067855738873655.key) 04:58:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:06 + git semver tag 04:58:06 2023-01-30 04:58:06,450 [run_tag] DEBUG tag force:False 04:58:06 2023-01-30 04:58:06,450 [check_head_tag] DEBUG check head tag 04:58:06 2023-01-30 04:58:06,451 [execute] INFO git cat-file --batch-check 04:58:06 2023-01-30 04:58:06,451 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:58:06 2023-01-30 04:58:06,455 [execute] INFO git cat-file --batch 04:58:06 2023-01-30 04:58:06,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:58:06 2023-01-30 04:58:06,469 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:58:06 2023-01-30 04:58:06,470 [execute] INFO git tag -a v3.0.0-dev.6 -m v3.0.0-dev.6 04:58:06 2023-01-30 04:58:06,470 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.6', '-m', 'v3.0.0-dev.6'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 04:58:06 2023-01-30 04:58:06,474 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:58:06 3.0.0-dev.6 [Pipeline] } 04:58:06 $ docker exec --env ******** --env ******** 0e9d1b9683b4e7c1dc53b990df3d2a291075bd17b9c73088aad4dfc2e7f1dff6 ssh-agent -k 04:58:06 unset SSH_AUTH_SOCK; 04:58:06 unset SSH_AGENT_PID; 04:58:06 echo Agent pid 38 killed; 04:58:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:06 + git semver [Pipeline] } 04:58:07 $ docker stop --time=1 0e9d1b9683b4e7c1dc53b990df3d2a291075bd17b9c73088aad4dfc2e7f1dff6 04:58:08 $ docker rm -f --volumes 0e9d1b9683b4e7c1dc53b990df3d2a291075bd17b9c73088aad4dfc2e7f1dff6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:58:08 04:58:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:58:09 0.23.1-centos7: Pulling from edgex-lftools 04:58:09 ab5ef0e58194: Pulling fs layer 04:58:09 9712f1f96733: Pulling fs layer 04:58:09 63f879dbbcfc: Pulling fs layer 04:58:09 0d9ebad4ef96: Pulling fs layer 04:58:09 e9a5061849ea: Pulling fs layer 04:58:09 d747dcd14b5f: Pulling fs layer 04:58:09 2de7ff778b66: Pulling fs layer 04:58:09 0d9ebad4ef96: Waiting 04:58:09 d747dcd14b5f: Waiting 04:58:09 2de7ff778b66: Waiting 04:58:09 e9a5061849ea: Waiting 04:58:09 9712f1f96733: Download complete 04:58:10 63f879dbbcfc: Verifying Checksum 04:58:10 63f879dbbcfc: Download complete 04:58:10 0d9ebad4ef96: Verifying Checksum 04:58:10 0d9ebad4ef96: Download complete 04:58:10 d747dcd14b5f: Verifying Checksum 04:58:10 d747dcd14b5f: Download complete 04:58:10 e9a5061849ea: Verifying Checksum 04:58:10 e9a5061849ea: Download complete 04:58:10 ab5ef0e58194: Verifying Checksum 04:58:10 ab5ef0e58194: Download complete 04:58:10 2de7ff778b66: Verifying Checksum 04:58:10 2de7ff778b66: Download complete 04:58:13 ab5ef0e58194: Pull complete 04:58:13 9712f1f96733: Pull complete 04:58:14 63f879dbbcfc: Pull complete 04:58:17 0d9ebad4ef96: Pull complete 04:58:18 e9a5061849ea: Pull complete 04:58:18 d747dcd14b5f: Pull complete 04:58:19 2de7ff778b66: Pull complete 04:58:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:58:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:58:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:19 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:58: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:58:23 $ docker top a2d4d09c7abeb383f2b003de82f2e0a3eedf0b834435b8e163bb0894abfd4e86 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:58:23 provisioning config files... 04:58:23 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15975744320849188874tmp 04:58:23 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10852885701392556765tmp 04:58:23 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15314134323465361070tmp [Pipeline] { [Pipeline] echo 04:58:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:58:23 ---> sigul-configuration.sh 04:58:23 gpg: directory `/root/.gnupg' created 04:58:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:58:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:58:23 gpg: keyring `/root/.gnupg/secring.gpg' created 04:58:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:58:23 gpg: CAST5 encrypted data 04:58:23 gpg: encrypted with 1 passphrase 04:58:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:58:23 + mkdir /home/jenkins 04:58:23 + mkdir /home/jenkins/sigul [Pipeline] sh 04:58:24 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:58:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:58:24 ---> sigul-install.sh 04:58:24 Sigul already installed; skipping installation. [Pipeline] sh 04:58:24 + git tag --list 04:58:24 v1.0.0 04:58:24 v1.1.0 04:58:24 v1.1.1 04:58:24 v1.2.1 04:58:24 v1.2.2 04:58:24 v1.2.3 04:58:24 v1.3.0 04:58:24 v1.3.1 04:58:24 v2.0.0 04:58:24 v2.1.0 04:58:24 v2.1.1 04:58:24 v2.1.1-dev.1 04:58:24 v2.1.1-dev.2 04:58:24 v2.2.0 04:58:24 v2.2.1-dev.1 04:58:24 v2.2.1-dev.2 04:58:24 v2.2.1-dev.3 04:58:24 v2.2.1-dev.4 04:58:24 v2.2.1-dev.5 04:58:24 v2.2.1-dev.6 04:58:24 v2.2.1-dev.7 04:58:24 v2.2.1-dev.8 04:58:24 v2.3.0 04:58:24 v2.3.0-dev.10 04:58:24 v2.3.0-dev.11 04:58:24 v2.3.0-dev.12 04:58:24 v2.3.0-dev.13 04:58:24 v2.3.0-dev.14 04:58:24 v2.3.0-dev.15 04:58:24 v2.3.0-dev.16 04:58:24 v2.3.0-dev.17 04:58:24 v2.3.0-dev.18 04:58:24 v2.3.0-dev.19 04:58:24 v2.3.0-dev.20 04:58:24 v2.3.0-dev.21 04:58:24 v2.3.0-dev.22 04:58:24 v2.3.0-dev.23 04:58:24 v2.3.0-dev.24 04:58:24 v2.3.0-dev.25 04:58:24 v2.3.0-dev.26 04:58:24 v2.3.0-dev.27 04:58:24 v2.3.0-dev.28 04:58:24 v2.3.0-dev.29 04:58:24 v2.3.0-dev.30 04:58:24 v2.3.0-dev.8 04:58:24 v2.3.0-dev.9 04:58:24 v3.0.0-dev.1 04:58:24 v3.0.0-dev.2 04:58:24 v3.0.0-dev.3 04:58:24 v3.0.0-dev.4 04:58:24 v3.0.0-dev.5 04:58:24 v3.0.0-dev.6 [Pipeline] sh 04:58:25 + lftools sign git-tag v3.0.0-dev.6 04:58:25 Signing Git tag with Sigul... 04:58:25 Signing v3.0.0-dev.6 [Pipeline] echo 04:58:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:58:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:58:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:58:26 $ docker stop --time=1 a2d4d09c7abeb383f2b003de82f2e0a3eedf0b834435b8e163bb0894abfd4e86 04:58:27 $ docker rm -f --volumes a2d4d09c7abeb383f2b003de82f2e0a3eedf0b834435b8e163bb0894abfd4e86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:58:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:28 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:58:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:28 $ docker top 370de4531f370ce879ae09a0492cf3ea5e81ab6e214159724293ca28e0dffaf9 -eo pid,comm 04:58:28 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). 04:58:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:28 [ssh-agent] Looking for ssh-agent implementation... 04:58:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:28 $ docker exec 370de4531f370ce879ae09a0492cf3ea5e81ab6e214159724293ca28e0dffaf9 ssh-agent 04:58:28 SSH_AUTH_SOCK=/tmp/ssh-p1Mo8Mrll88c/agent.32 04:58:28 SSH_AGENT_PID=38 04:58:28 Running ssh-add (command line suppressed) 04:58:29 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_465152833825920520.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_465152833825920520.key) 04:58:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:29 + git semver bump pre 04:58:29 2023-01-30 04:58:29,525 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:58:29 2023-01-30 04:58:29,525 [bump_version] DEBUG bumping version:3.0.0-dev.6 on axis:pre with prefix:dev 04:58:29 2023-01-30 04:58:29,525 [bump_version] DEBUG bumped version:3.0.0-dev.7 04:58:29 2023-01-30 04:58:29,525 [write_version] DEBUG write version:3.0.0-dev.7 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 04:58:29 2023-01-30 04:58:29,525 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:58:29 2023-01-30 04:58:29,525 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:58:29 2023-01-30 04:58:29,527 [execute] INFO git cat-file --batch-check 04:58:29 2023-01-30 04:58:29,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:29 2023-01-30 04:58:29,532 [execute] INFO git cat-file --batch 04:58:29 2023-01-30 04:58:29,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:29 2023-01-30 04:58:29,538 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:58:29 3.0.0-dev.7 [Pipeline] } 04:58:29 $ docker exec --env ******** --env ******** 370de4531f370ce879ae09a0492cf3ea5e81ab6e214159724293ca28e0dffaf9 ssh-agent -k 04:58:29 unset SSH_AUTH_SOCK; 04:58:29 unset SSH_AGENT_PID; 04:58:29 echo Agent pid 38 killed; 04:58:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:30 + git semver [Pipeline] } 04:58:30 $ docker stop --time=1 370de4531f370ce879ae09a0492cf3ea5e81ab6e214159724293ca28e0dffaf9 04:58:31 $ docker rm -f --volumes 370de4531f370ce879ae09a0492cf3ea5e81ab6e214159724293ca28e0dffaf9 [Pipeline] // withDockerContainer [Pipeline] sh 04:58:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:58:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:32 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:58:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:58:32 $ docker top 875995ea0537be9582a90dae64a838f2936a40845d0ddee028b56edd1bdc335d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:58:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:58:32 [ssh-agent] Looking for ssh-agent implementation... 04:58:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:58:32 $ docker exec 875995ea0537be9582a90dae64a838f2936a40845d0ddee028b56edd1bdc335d ssh-agent 04:58:33 SSH_AUTH_SOCK=/tmp/ssh-7Oiuoo9GrVBV/agent.31 04:58:33 SSH_AGENT_PID=37 04:58:33 Running ssh-add (command line suppressed) 04:58:33 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3069375400771468749.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3069375400771468749.key) 04:58:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:58:33 + git semver push 04:58:33 2023-01-30 04:58:33,674 [run_push] DEBUG push 04:58:33 2023-01-30 04:58:33,674 [execute] INFO git cat-file --batch-check 04:58:33 2023-01-30 04:58:33,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:58:33 2023-01-30 04:58:33,679 [execute] INFO git rev-list 6803bc335f4587e3c067198e9eb8f147d6c44d34 -- 04:58:33 2023-01-30 04:58:33,679 [execute] DEBUG Popen(['git', 'rev-list', '6803bc335f4587e3c067198e9eb8f147d6c44d34', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:58:33 2023-01-30 04:58:33,687 [execute] INFO git fetch -v origin 04:58:33 2023-01-30 04:58:33,687 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:58:34 2023-01-30 04:58:34,204 [run_push] DEBUG no remote changes detected 04:58:34 2023-01-30 04:58:34,205 [execute] INFO git push origin semver 04:58:34 2023-01-30 04:58:34,205 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:58:35 2023-01-30 04:58:34,980 [run_push] DEBUG push all version tags 04:58:35 2023-01-30 04:58:34,980 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:58:35 2023-01-30 04:58:34,981 [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) 04:58:35 2023-01-30 04:58:35,754 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:58:35 3.0.0-dev.7 [Pipeline] } 04:58:35 $ docker exec --env ******** --env ******** 875995ea0537be9582a90dae64a838f2936a40845d0ddee028b56edd1bdc335d ssh-agent -k 04:58:36 unset SSH_AUTH_SOCK; 04:58:36 unset SSH_AGENT_PID; 04:58:36 echo Agent pid 37 killed; 04:58:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:58:36 + git semver [Pipeline] } 04:58:36 $ docker stop --time=1 875995ea0537be9582a90dae64a838f2936a40845d0ddee028b56edd1bdc335d 04:58:38 $ docker rm -f --volumes 875995ea0537be9582a90dae64a838f2936a40845d0ddee028b56edd1bdc335d [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 04:58:38 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 04:58:38 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:58:38 total 16 04:58:38 drwxr-xr-x 3 root root 4096 Jan 30 04:50 . 04:58:38 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 04:58 .. 04:58:38 drwxr-xr-x 2 root root 4096 Jan 30 04:50 cost 04:58:38 -rw-r--r-- 1 root root 88 Jan 30 04:50 cost.csv 04:58:38 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 04:58:38 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:58:38 total 16 04:58:38 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 04:50 . 04:58:38 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 04:58 .. 04:58:38 drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 04:50 cost 04:58:38 -rw-r--r-- 1 jenkins jenkins 88 Jan 30 04:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:58:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:58:39 ---> package-listing.sh 04:58:39 ++ facter osfamily 04:58:39 ++ tr '[:upper:]' '[:lower:]' 04:58:40 + OS_FAMILY=debian 04:58:40 + workspace=/w/workspace/exfoundry_device-virtual-go_main 04:58:40 + START_PACKAGES=/tmp/packages_start.txt 04:58:40 + END_PACKAGES=/tmp/packages_end.txt 04:58:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:58:40 + PACKAGES=/tmp/packages_start.txt 04:58:40 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:58:40 + PACKAGES=/tmp/packages_end.txt 04:58:40 + case "${OS_FAMILY}" in 04:58:40 + dpkg -l 04:58:40 + grep '^ii' 04:58:40 + '[' -f /tmp/packages_start.txt ']' 04:58:40 + '[' -f /tmp/packages_end.txt ']' 04:58:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:58:40 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:58:40 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 04:58:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 04:58:40 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 04:58:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:58:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:58:41 prd-ubuntu20.04-docker-8c-8g-3937 does not seem to be running inside a container 04:58:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:58:41 $ docker top 27a52bb1e635ce56780baf6f8b4a2d27e8dcbe27c17049b1bdd89dfab6cfbf8d -eo pid,comm [Pipeline] { [Pipeline] sh 04:58:41 + touch /tmp/pre-build-complete [Pipeline] sh 04:58:41 + mkdir -p /var/log/sysstat [Pipeline] sh 04:58:42 + ls /var/log/sa-host 04:58:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:58:42 provisioning config files... 04:58:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5701088202270230232tmp [Pipeline] { [Pipeline] echo 04:58:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:58:42 ---> create-netrc.sh [Pipeline] } 04:58:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:58:43 ---> python-tools-install.sh [Pipeline] echo 04:58:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:58:43 ---> sudo-logs.sh 04:58:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:58:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:58:43 ---> job-cost.sh 04:58:43 lf-activate-venv: SKIPPING 04:58:43 DEBUG: total: 0.2199999988079071 04:58:43 INFO: Retrieving Stack Cost... 04:58:44 INFO: Retrieving Pricing Info for: v3-standard-8 04:58:44 INFO: Archiving Costs [Pipeline] echo 04:58:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:58:45 ---> logs-deploy.sh 04:58:45 lf-activate-venv: SKIPPING 04:58:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/77 04:58:45 INFO: archiving workspace using pattern(s): 04:58:46 Archives upload complete. 04:58:46 INFO: archiving logs to Nexus