Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 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-ssh16450702506443773482.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-ssh2596842041401954982.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-ssh3334258824163672491.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-ssh9313646756967607393.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-ssh15158299087497053906.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-4661 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 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 (main) > 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 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 # timeout=10 Commit message: "Merge pull request #334 from jinlinGuan/messaging-issue-166" > git rev-list --no-walk da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:52:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:52:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:52:29 ========================================================= 11:52:29 EdgeX Global Pipelines Version Info 11:52:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:52:30 ------------------- 11:52:30 stable info: 11:52:30 ------------------- 11:52:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:52:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:52:30 Message: update stable to v1.0.244 11:52:30 ------------------- 11:52:30 experimental info: 11:52:30 ------------------- 11:52:30 Commited By: **** collab-it+edgex@linuxfoundation.org 11:52:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:52:30 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:52:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:52:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:52:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:52:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7ce723 [Pipeline] echo 11:52:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:52:31 provisioning config files... 11:52:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1649873825476062097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:52:31 ---> docker-login.sh 11:52:31 nexus3.edgexfoundry.org:10001 11:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:31 Configure a credential helper to remove this warning. See 11:52:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:31 11:52:31 Login Succeeded 11:52:31 nexus3.edgexfoundry.org:10002 11:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:32 Configure a credential helper to remove this warning. See 11:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:32 11:52:32 Login Succeeded 11:52:32 nexus3.edgexfoundry.org:10003 11:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:32 Configure a credential helper to remove this warning. See 11:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:32 11:52:32 Login Succeeded 11:52:32 nexus3.edgexfoundry.org:10004 11:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:32 Configure a credential helper to remove this warning. See 11:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:32 11:52:32 Login Succeeded 11:52:32 docker.io 11:52:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:32 Configure a credential helper to remove this warning. See 11:52:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:32 11:52:32 Login Succeeded 11:52:32 ---> docker-login.sh ends [Pipeline] } 11:52:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:52:33 + git rev-list -1 --merges b7ce723d3d6de2615d4c98362cbd5647c3b6aed1~1..b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [Pipeline] echo 11:52:33 -----------> git rev-list -1 --merges b7ce723d3d6de2615d4c98362cbd5647c3b6aed1~1..b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 11:52:33 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [false] [Pipeline] sh 11:52:33 + git log --format=format:%s -1 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [Pipeline] echo 11:52:33 ========================================================= 11:52:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:52:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:52:33 + git log --format=format:%s -1 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [Pipeline] echo 11:52:33 [semverPrep] GIT_COMMIT: b7ce723d3d6de2615d4c98362cbd5647c3b6aed1, Commit Message: Merge pull request #334 from jinlinGuan/messaging-issue-166 [Pipeline] echo 11:52:33 [semverPrep] This is not a build commit. [Pipeline] sh 11:52:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:52:34 + grep -v github /etc/ssh/ssh_known_hosts 11:52:34 + [ -e /tmp/ssh_known_hosts ] 11:52:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:52:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:52:34 + sudo tee -a /etc/ssh/ssh_known_hosts 11:52:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:52:34 11:52:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:52:34 0.1.4: Pulling from edgex-devops/py-git-semver 11:52:34 b85a868b505f: Pulling fs layer 11:52:34 e2be974225ed: Pulling fs layer 11:52:34 339a4e72a1f5: Pulling fs layer 11:52:34 988bab9f4d93: Pulling fs layer 11:52:34 1469e6f7b9e6: Pulling fs layer 11:52:34 eaf3925da568: Pulling fs layer 11:52:34 bab4dde63d76: Pulling fs layer 11:52:34 bde34c3a00c8: Pulling fs layer 11:52:34 b352a97aabf1: Pulling fs layer 11:52:34 1469e6f7b9e6: Waiting 11:52:34 4872d77fe225: Pulling fs layer 11:52:34 5851b861e8e6: Pulling fs layer 11:52:34 eaf3925da568: Waiting 11:52:34 bab4dde63d76: Waiting 11:52:34 4872d77fe225: Waiting 11:52:34 b352a97aabf1: Waiting 11:52:34 bde34c3a00c8: Waiting 11:52:34 5851b861e8e6: Waiting 11:52:34 988bab9f4d93: Waiting 11:52:34 e2be974225ed: Verifying Checksum 11:52:34 e2be974225ed: Download complete 11:52:34 988bab9f4d93: Verifying Checksum 11:52:34 988bab9f4d93: Download complete 11:52:35 1469e6f7b9e6: Verifying Checksum 11:52:35 1469e6f7b9e6: Download complete 11:52:35 eaf3925da568: Verifying Checksum 11:52:35 eaf3925da568: Download complete 11:52:35 339a4e72a1f5: Verifying Checksum 11:52:35 339a4e72a1f5: Download complete 11:52:35 bde34c3a00c8: Verifying Checksum 11:52:35 bde34c3a00c8: Download complete 11:52:35 b352a97aabf1: Verifying Checksum 11:52:35 b352a97aabf1: Download complete 11:52:35 b85a868b505f: Verifying Checksum 11:52:35 b85a868b505f: Download complete 11:52:35 4872d77fe225: Verifying Checksum 11:52:35 4872d77fe225: Download complete 11:52:35 5851b861e8e6: Download complete 11:52:36 bab4dde63d76: Download complete 11:52:36 b85a868b505f: Pull complete 11:52:36 e2be974225ed: Pull complete 11:52:37 339a4e72a1f5: Pull complete 11:52:37 988bab9f4d93: Pull complete 11:52:37 1469e6f7b9e6: Pull complete 11:52:37 eaf3925da568: Pull complete 11:52:39 bab4dde63d76: Pull complete 11:52:39 bde34c3a00c8: Pull complete 11:52:39 b352a97aabf1: Pull complete 11:52:39 4872d77fe225: Pull complete 11:52:39 5851b861e8e6: Pull complete 11:52:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:52:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:52:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:39 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 11:52:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:52:42 $ docker top 3b5f257b1f651c7941815e45460f9f02135ad9dc45bb8c550b8362ab37c061ff -eo pid,comm 11:52:42 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). 11:52:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:52:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:52:42 [ssh-agent] Looking for ssh-agent implementation... 11:52:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:52:43 $ docker exec 3b5f257b1f651c7941815e45460f9f02135ad9dc45bb8c550b8362ab37c061ff ssh-agent 11:52:43 SSH_AUTH_SOCK=/tmp/ssh-VE5EJGnQDPDH/agent.32 11:52:43 SSH_AGENT_PID=38 11:52:43 Running ssh-add (command line suppressed) 11:52:43 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3321048757647973288.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3321048757647973288.key) 11:52:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:52:43 + git tag --points-at HEAD [Pipeline] } 11:52:43 $ docker exec --env ******** --env ******** 3b5f257b1f651c7941815e45460f9f02135ad9dc45bb8c550b8362ab37c061ff ssh-agent -k 11:52:43 unset SSH_AUTH_SOCK; 11:52:43 unset SSH_AGENT_PID; 11:52:43 echo Agent pid 38 killed; 11:52:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:52:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:52:43 [ssh-agent] Looking for ssh-agent implementation... 11:52:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:52:43 $ docker exec 3b5f257b1f651c7941815e45460f9f02135ad9dc45bb8c550b8362ab37c061ff ssh-agent 11:52:43 SSH_AUTH_SOCK=/tmp/ssh-PmfvEdk19jOg/agent.70 11:52:43 SSH_AGENT_PID=76 11:52:43 Running ssh-add (command line suppressed) 11:52:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7458001116967370716.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7458001116967370716.key) 11:52:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:52:44 + git semver init 11:52:44 2023-02-06 11:52:44,505 [run_init] DEBUG init version:0.0.0 force:False 11:52:44 2023-02-06 11:52:44,505 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 11:52:44 2023-02-06 11:52:44,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 11:52:44 2023-02-06 11:52:44,506 [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) 11:52:46 2023-02-06 11:52:46,117 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 11:52:46 2023-02-06 11:52:46,117 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 11:52:46 2023-02-06 11:52:46,117 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:52:46 2023-02-06 11:52:46,117 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:52:46 3.0.0-dev.8 [Pipeline] } 11:52:46 $ docker exec --env ******** --env ******** 3b5f257b1f651c7941815e45460f9f02135ad9dc45bb8c550b8362ab37c061ff ssh-agent -k 11:52:46 unset SSH_AUTH_SOCK; 11:52:46 unset SSH_AGENT_PID; 11:52:46 echo Agent pid 76 killed; 11:52:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:52:46 + git semver [Pipeline] } 11:52:47 $ docker stop --time=1 3b5f257b1f651c7941815e45460f9f02135ad9dc45bb8c550b8362ab37c061ff 11:52:48 $ docker rm -f --volumes 3b5f257b1f651c7941815e45460f9f02135ad9dc45bb8c550b8362ab37c061ff [Pipeline] // withDockerContainer [Pipeline] sh 11:52:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:52:49 Stashed 1 file(s) [Pipeline] echo 11:52:49 [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [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 11:52:49 provisioning config files... 11:52:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9441212523308518503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:52:49 ---> docker-login.sh 11:52:49 nexus3.edgexfoundry.org:10001 11:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:49 Configure a credential helper to remove this warning. See 11:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:49 11:52:49 Login Succeeded 11:52:49 nexus3.edgexfoundry.org:10002 11:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:49 Configure a credential helper to remove this warning. See 11:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:49 11:52:49 Login Succeeded 11:52:49 nexus3.edgexfoundry.org:10003 11:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:49 Configure a credential helper to remove this warning. See 11:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:49 11:52:49 Login Succeeded 11:52:49 nexus3.edgexfoundry.org:10004 11:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:49 Configure a credential helper to remove this warning. See 11:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:49 11:52:49 Login Succeeded 11:52:49 docker.io 11:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:52:50 Configure a credential helper to remove this warning. See 11:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:52:50 11:52:50 Login Succeeded 11:52:50 ---> docker-login.sh ends [Pipeline] } 11:52:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:52:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:52:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:52:50 ========================================================= 11:52:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:52:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:50 + 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 . 11:52:50 Sending build context to Docker daemon 23.34MB 11:52:50 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 11:52:50 Step 2/12 : FROM ${BASE} AS builder 11:52:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:52:51 213ec9aee27d: Pulling fs layer 11:52:51 4583459ba037: Pulling fs layer 11:52:51 93c1e223e6f2: Pulling fs layer 11:52:51 53926ce57604: Pulling fs layer 11:52:51 21b2b0c7a3f4: Pulling fs layer 11:52:51 53926ce57604: Waiting 11:52:51 22ff95d597cd: Pulling fs layer 11:52:51 12d6caf4c0d1: Pulling fs layer 11:52:51 22ff95d597cd: Waiting 11:52:51 96b7cbca73a9: Pulling fs layer 11:52:51 a7acece74701: Pulling fs layer 11:52:51 96b7cbca73a9: Waiting 11:52:51 21b2b0c7a3f4: Waiting 11:52:51 a7acece74701: Waiting 11:52:51 93c1e223e6f2: Verifying Checksum 11:52:51 93c1e223e6f2: Download complete 11:52:51 4583459ba037: Verifying Checksum 11:52:51 21b2b0c7a3f4: Download complete 11:52:51 22ff95d597cd: Verifying Checksum 11:52:51 22ff95d597cd: Download complete 11:52:51 213ec9aee27d: Verifying Checksum 11:52:51 213ec9aee27d: Download complete 11:52:51 12d6caf4c0d1: Verifying Checksum 11:52:51 12d6caf4c0d1: Download complete 11:52:51 213ec9aee27d: Pull complete 11:52:51 4583459ba037: Pull complete 11:52:51 93c1e223e6f2: Pull complete 11:52:52 a7acece74701: Verifying Checksum 11:52:52 53926ce57604: Verifying Checksum 11:52:52 53926ce57604: Download complete 11:52:53 96b7cbca73a9: Download complete 11:52:56 53926ce57604: Pull complete 11:52:56 21b2b0c7a3f4: Pull complete 11:52:56 22ff95d597cd: Pull complete 11:52:56 12d6caf4c0d1: Pull complete 11:52:58 96b7cbca73a9: Pull complete 11:53:00 a7acece74701: Pull complete 11:53:00 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 11:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:53:00 ---> db6d94c90886 11:53:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:53:04 Still waiting to schedule task 11:53:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:53:04 ---> Running in 49ae04589a7d 11:53:04 Removing intermediate container 49ae04589a7d 11:53:04 ---> 907da05c2b82 11:53:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:53:04 ---> Running in 58e6fca4ef59 11:53:04 Removing intermediate container 58e6fca4ef59 11:53:04 ---> 873e7e0e96e3 11:53:04 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:53:04 ---> Running in d5f291ab2c3b 11:53:04 Removing intermediate container d5f291ab2c3b 11:53:04 ---> f0f03bbc14d6 11:53:04 Step 6/12 : WORKDIR /device-virtual-go 11:53:04 ---> Running in 25dbfc371303 11:53:04 Removing intermediate container 25dbfc371303 11:53:04 ---> 647be67a33ba 11:53:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:53:04 ---> Running in 92da7569ac15 11:53:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:53:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:53:05 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:53:05 (2/4) Installing libedit (20210910.3.1-r0) 11:53:05 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:53:05 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:53:05 Executing busybox-1.35.0-r17.trigger 11:53:05 OK: 216 MiB in 55 packages 11:53:05 Removing intermediate container 92da7569ac15 11:53:05 ---> dbd75f46c855 11:53:05 Step 8/12 : COPY go.mod vendor* ./ 11:53:05 ---> 0cd06ff101f2 11:53:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:53:05 ---> Running in 61299c2ad46d 11:53:44 Removing intermediate container 61299c2ad46d 11:53:44 ---> ba0f6317071a 11:53:44 Step 10/12 : COPY . . 11:53:45 ---> 927b27bb51da 11:53:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:53:45 ---> Running in b45b94a37cbe 11:53:45 Removing intermediate container b45b94a37cbe 11:53:45 ---> 29d10413c5c5 11:53:45 Step 12/12 : RUN $MAKE 11:53:45 ---> Running in 62d9dfe3de7b 11:53:45 noop 11:53:46 Removing intermediate container 62d9dfe3de7b 11:53:46 ---> 568e324e857d 11:53:46 Successfully built 568e324e857d 11:53:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:46 + docker inspect -f . ci-base-image-x86_64 11:53:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:46 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 11:53:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:53:47 $ docker top 69c4bd64cbeb791bf6de26c8e8ad0328bd795a1a6d1776cb104721bb599eaa5b -eo pid,comm [Pipeline] { [Pipeline] sh 11:53:47 + go version 11:53:47 go version go1.18.7 linux/amd64 [Pipeline] } 11:53:47 $ docker stop --time=1 69c4bd64cbeb791bf6de26c8e8ad0328bd795a1a6d1776cb104721bb599eaa5b 11:53:48 $ docker rm -f --volumes 69c4bd64cbeb791bf6de26c8e8ad0328bd795a1a6d1776cb104721bb599eaa5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:53:49 + docker inspect -f . ci-base-image-x86_64 11:53:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:53:49 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 11:53:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:53:49 $ docker top fc903ec3e6a540483ff1d362f574fb5beca64013a3f358cca727359a70816897 -eo pid,comm [Pipeline] { [Pipeline] sh 11:53:49 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 11:53:50 + make test 11:53:50 go test ./... -coverprofile=coverage.out 11:53:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:54:00 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:54:00 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 11:54:06 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." 11:54:06 go vet ./... 11:54:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:54:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:54:09 ./bin/test-attribution-txt.sh 11:54:09 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 11:54:09 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 11:54:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:54:09 $ docker stop --time=1 fc903ec3e6a540483ff1d362f574fb5beca64013a3f358cca727359a70816897 11:54:12 $ docker rm -f --volumes fc903ec3e6a540483ff1d362f574fb5beca64013a3f358cca727359a70816897 [Pipeline] // withDockerContainer [Pipeline] sh 11:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:54:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:54:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:54:13 + ls -al . 11:54:13 total 192 11:54:13 drwxrwxr-x 9 jenkins jenkins 4096 Feb 6 11:53 . 11:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:52 .. 11:54:13 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:54 .git 11:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:52 .github 11:54:13 -rw-rw-r-- 1 jenkins jenkins 337 Feb 6 11:52 .gitignore 11:54:13 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 11:52 .golangci.yml 11:54:13 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 11:52 .semver 11:54:13 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 6 11:52 Attribution.txt 11:54:13 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 6 11:52 CHANGELOG.md 11:54:13 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 6 11:52 Dockerfile 11:54:13 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 11:52 GOVERNANCE.md 11:54:13 -rw-rw-r-- 1 jenkins jenkins 660 Feb 6 11:52 Jenkinsfile 11:54:13 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 11:52 LICENSE 11:54:13 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 6 11:52 Makefile 11:54:13 -rw-rw-r-- 1 jenkins jenkins 623 Feb 6 11:52 OWNERS.md 11:54:13 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 6 11:52 README.md 11:54:13 -rw-rw-r-- 1 jenkins jenkins 11 Feb 6 11:52 VERSION 11:54:13 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 11:52 bin 11:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:52 cmd 11:54:13 -rw-r--r-- 1 jenkins jenkins 44128 Feb 6 11:53 coverage.out 11:54:13 -rw-rw-r-- 1 jenkins jenkins 3251 Feb 6 11:52 go.mod 11:54:13 -rw-rw-r-- 1 jenkins jenkins 32586 Feb 6 11:52 go.sum 11:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:52 internal 11:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:52 snap 11:54:13 -rw-rw-r-- 1 jenkins jenkins 235 Feb 6 11:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:13 + 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=b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 --label arch=amd64 --label version=3.0.0-dev.8 . 11:54:13 Sending build context to Docker daemon 23.38MB 11:54:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:54:13 Step 2/25 : FROM ${BASE} AS builder 11:54:13 ---> 568e324e857d 11:54:13 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:54:14 ---> Running in 2fe445db0159 11:54:14 Removing intermediate container 2fe445db0159 11:54:14 ---> 3e9f301cc1c8 11:54:14 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:54:14 ---> Running in 5d8b8a1f3a0e 11:54:14 Removing intermediate container 5d8b8a1f3a0e 11:54:14 ---> 9546c125e09d 11:54:14 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:54:14 ---> Running in b16b5bf35fa8 11:54:14 Removing intermediate container b16b5bf35fa8 11:54:14 ---> 7a02596ed223 11:54:14 Step 6/25 : WORKDIR /device-virtual-go 11:54:14 ---> Running in 4d3db6c481bd 11:54:14 Removing intermediate container 4d3db6c481bd 11:54:14 ---> 4b4ce1f31623 11:54:14 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:54:14 ---> Running in b90eac2efa8b 11:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:54:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:54:15 OK: 216 MiB in 55 packages 11:54:15 Removing intermediate container b90eac2efa8b 11:54:15 ---> 49b87ba2b0bc 11:54:15 Step 8/25 : COPY go.mod vendor* ./ 11:54:15 ---> f0b1e1278f6a 11:54:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:54:15 ---> Running in 3bc4870fde40 11:54:16 Removing intermediate container 3bc4870fde40 11:54:16 ---> ea42885c3f27 11:54:16 Step 10/25 : COPY . . 11:54:17 ---> 5f6be7e6a12e 11:54:17 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:54:17 ---> Running in e279251a5400 11:54:17 Removing intermediate container e279251a5400 11:54:17 ---> d3a78190fa35 11:54:17 Step 12/25 : RUN $MAKE 11:54:17 ---> Running in 9d859f0ad98d 11:54:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:54:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4663 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:54:30 Running in /w/workspace/device-virtual-go/79 [Pipeline] { [Pipeline] checkout 11:54:30 The recommended git tool is: git 11:54:35 using credential edgex-jenkins-ssh 11:54:35 Cloning the remote Git repository 11:54:35 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:54:35 > git init /w/workspace/device-virtual-go/79 # timeout=10 11:54:37 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:54:37 > git --version # timeout=10 11:54:37 > git --version # 'git version 2.25.1' 11:54:37 using GIT_SSH to set credentials SSH Credentials for GitHub 11:54:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:54:39 Removing intermediate container 9d859f0ad98d 11:54:39 ---> 7350682a1f97 11:54:39 Step 13/25 : FROM alpine:3.16 11:54:39 3.16: Pulling from library/alpine 11:54:39 ca7dd9ec2225: Pulling fs layer 11:54:39 ca7dd9ec2225: Verifying Checksum 11:54:39 ca7dd9ec2225: Download complete 11:54:39 ca7dd9ec2225: Pull complete 11:54:39 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 11:54:39 Status: Downloaded newer image for alpine:3.16 11:54:39 ---> bfe296a52501 11:54:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:54:39 ---> Running in cb4578c397b0 11:54:39 Removing intermediate container cb4578c397b0 11:54:39 ---> b4d9159c335e 11:54:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:54:39 ---> Running in 104a00968d4a 11:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:54:39 (1/1) Installing dumb-init (1.2.5-r1) 11:54:39 Executing busybox-1.35.0-r17.trigger 11:54:39 OK: 6 MiB in 15 packages 11:54:39 Removing intermediate container 104a00968d4a 11:54:39 ---> 1866e15cc9f8 11:54:39 Step 16/25 : WORKDIR / 11:54:39 ---> Running in 37e3f6b803d0 11:54:39 Removing intermediate container 37e3f6b803d0 11:54:39 ---> 43f3bea09d49 11:54:39 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:54:39 ---> 9bde8d286738 11:54:39 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:54:39 ---> b8993890c844 11:54:39 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:54:39 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:54:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:54:40 Avoid second fetch 11:54:40 Checking out Revision b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 (main) 11:54:40 ---> 4c5dcf8cc292 11:54:40 Step 20/25 : EXPOSE 59900 11:54:40 ---> Running in f8f838389d59 11:54:40 Commit message: "Merge pull request #334 from jinlinGuan/messaging-issue-166" 11:54:40 Removing intermediate container f8f838389d59 11:54:40 ---> 6a5a5cdf951a 11:54:40 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:54:40 ---> Running in 50d0a2e4f002 11:54:40 Removing intermediate container 50d0a2e4f002 11:54:40 ---> 97f1b3f5b753 11:54:40 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:54:40 ---> Running in 51ee5f3d0346 11:54:40 Removing intermediate container 51ee5f3d0346 11:54:40 ---> 3da6edc01815 11:54:40 Step 23/25 : LABEL arch=amd64 11:54:40 ---> Running in 08c22585ff44 11:54:40 Removing intermediate container 08c22585ff44 11:54:40 ---> 02588e211e64 11:54:40 Step 24/25 : LABEL git_sha=b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 11:54:40 ---> Running in 006b3355671f 11:54:40 Removing intermediate container 006b3355671f 11:54:40 ---> beab948017a0 11:54:40 Step 25/25 : LABEL version=3.0.0-dev.8 11:54:40 ---> Running in dee773ba9910 11:54:40 Removing intermediate container dee773ba9910 11:54:40 ---> e03e2347a65b 11:54:40 [Warning] One or more build-args [ARCH] were not consumed 11:54:40 Successfully built e03e2347a65b 11:54:40 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] configFileProvider 11:54:41 provisioning config files... [Pipeline] sh 11:54:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16187022770116343208tmp 11:54:40 > git config core.sparsecheckout # timeout=10 11:54:40 > git checkout -f b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 # timeout=10 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:54:41 ---> docker-login.sh 11:54:41 nexus3.edgexfoundry.org:10001 11:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:41 Configure a credential helper to remove this warning. See 11:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:41 11:54:41 Login Succeeded 11:54:41 nexus3.edgexfoundry.org:10002 11:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:41 Configure a credential helper to remove this warning. See 11:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:41 11:54:41 Login Succeeded 11:54:41 nexus3.edgexfoundry.org:10003 11:54:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:54:41 % Total % Received % Xferd Average Speed Time Time Time Current 11:54:41 Dload Upload Total Spent Left Speed 11:54:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 60431 0 --:--:-- --:--:-- --:--:-- 60719 11:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:41 Configure a credential helper to remove this warning. See 11:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:41 11:54:41 Login Succeeded 11:54:41 nexus3.edgexfoundry.org:10004 11:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:41 Configure a credential helper to remove this warning. See 11:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:41 11:54:41 Login Succeeded 11:54:41 docker.io [Pipeline] sh 11:54:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:54:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:54:42 Configure a credential helper to remove this warning. See 11:54:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:54:42 11:54:42 Login Succeeded 11:54:42 ---> docker-login.sh ends [Pipeline] } 11:54:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:54:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:54:42 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:54:42 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 11:54:42 latest 11:54:42 3.0.0-dev.8 11:54:42 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8 11:54:42 main 11:54:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:54:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:42 + sudo tee /etc/docker/daemon.new+ 11:54:42 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:54:42 { 11:54:42 "registry-mirrors": [ 11:54:42 "https://nexus3.edgexfoundry.org:10001" 11:54:42 ], 11:54:42 "bip": "10.250.0.254/24", 11:54:42 "hosts": [ 11:54:42 "tcp://0.0.0.0:5555", 11:54:42 "unix:///var/run/docker.sock" 11:54:42 ], 11:54:42 "mtu": 1458, 11:54:42 "selinux-enabled": true, 11:54:42 "seccomp-profile": "/etc/docker/seccomp.json" 11:54:42 } [Pipeline] sh 11:54:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 11:54:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:54:42 c8d5046f6d72: Preparing 11:54:42 e710253830e3: Preparing 11:54:42 e458b6747cb5: Preparing 11:54:42 b3db67d4a79a: Preparing 11:54:42 e5e13b0c77cb: Preparing 11:54:42 e5e13b0c77cb: Layer already exists 11:54:42 b3db67d4a79a: Pushed 11:54:42 e458b6747cb5: Pushed 11:54:42 e710253830e3: Pushed 11:54:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:54:43 + sudo service docker restart 11:54:45 c8d5046f6d72: Pushed 11:54:45 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1: digest: sha256:7a127c8586b7e4be7725bbf51d6472c6d90429f9f46c1e3130db3394154f143e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:45 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:45 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:54:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:54:45 c8d5046f6d72: Preparing 11:54:45 e710253830e3: Preparing 11:54:45 e458b6747cb5: Preparing 11:54:45 b3db67d4a79a: Preparing 11:54:45 e5e13b0c77cb: Preparing 11:54:45 e458b6747cb5: Layer already exists 11:54:45 e710253830e3: Layer already exists 11:54:45 b3db67d4a79a: Layer already exists 11:54:45 c8d5046f6d72: Layer already exists 11:54:45 e5e13b0c77cb: Layer already exists 11:54:45 latest: digest: sha256:7a127c8586b7e4be7725bbf51d6472c6d90429f9f46c1e3130db3394154f143e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:46 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.8 11:54:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:54:46 c8d5046f6d72: Preparing 11:54:46 e710253830e3: Preparing 11:54:46 e458b6747cb5: Preparing 11:54:46 b3db67d4a79a: Preparing 11:54:46 e5e13b0c77cb: Preparing 11:54:46 b3db67d4a79a: Layer already exists 11:54:46 e5e13b0c77cb: Layer already exists 11:54:46 e710253830e3: Layer already exists 11:54:46 e458b6747cb5: Layer already exists 11:54:46 c8d5046f6d72: Layer already exists 11:54:46 3.0.0-dev.8: digest: sha256:7a127c8586b7e4be7725bbf51d6472c6d90429f9f46c1e3130db3394154f143e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:46 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8 11:54:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:54:47 c8d5046f6d72: Preparing 11:54:47 e710253830e3: Preparing 11:54:47 e458b6747cb5: Preparing 11:54:47 b3db67d4a79a: Preparing 11:54:47 e5e13b0c77cb: Preparing 11:54:47 e5e13b0c77cb: Layer already exists 11:54:47 e458b6747cb5: Layer already exists 11:54:47 b3db67d4a79a: Layer already exists 11:54:47 c8d5046f6d72: Layer already exists 11:54:47 e710253830e3: Layer already exists 11:54:47 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8: digest: sha256:7a127c8586b7e4be7725bbf51d6472c6d90429f9f46c1e3130db3394154f143e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:47 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:54:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:54:47 c8d5046f6d72: Preparing 11:54:47 e710253830e3: Preparing 11:54:47 e458b6747cb5: Preparing 11:54:47 b3db67d4a79a: Preparing 11:54:47 e5e13b0c77cb: Preparing 11:54:47 e710253830e3: Layer already exists 11:54:47 c8d5046f6d72: Layer already exists 11:54:47 e5e13b0c77cb: Layer already exists 11:54:47 e458b6747cb5: Layer already exists 11:54:47 b3db67d4a79a: Layer already exists 11:54:47 main: digest: sha256:7a127c8586b7e4be7725bbf51d6472c6d90429f9f46c1e3130db3394154f143e size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:54:47 ===================================================== [Pipeline] echo 11:54:47 taggedImages: 11:54:47 - nexus3.edgexfoundry.org:10004/device-virtual:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 11:54:47 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:54:47 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.8 11:54:47 - nexus3.edgexfoundry.org:10004/device-virtual:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8 11:54:47 - 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 11:54:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:54:48 11:54:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:54:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:54:48 latest: Pulling from edgex-lftools-log-publisher 11:54:48 5eb5b503b376: Pulling fs layer 11:54:48 5c69ac0246d0: Pulling fs layer 11:54:48 ec43610c2a17: Pulling fs layer 11:54:48 3a2ae6a8a46f: Pulling fs layer 11:54:48 33b1e0a273af: Pulling fs layer 11:54:48 5d3b04190fa2: Pulling fs layer 11:54:48 2f39f015ded8: Pulling fs layer 11:54:48 3a2ae6a8a46f: Waiting 11:54:48 5d3b04190fa2: Waiting 11:54:48 33b1e0a273af: Waiting 11:54:48 5c69ac0246d0: Verifying Checksum 11:54:48 5c69ac0246d0: Download complete 11:54:48 3a2ae6a8a46f: Verifying Checksum 11:54:48 3a2ae6a8a46f: Download complete 11:54:48 33b1e0a273af: Verifying Checksum 11:54:48 33b1e0a273af: Download complete 11:54:48 5d3b04190fa2: Download complete 11:54:48 ec43610c2a17: Download complete 11:54:48 5eb5b503b376: Download complete 11:54:49 2f39f015ded8: Download complete 11:54:50 5eb5b503b376: Pull complete 11:54:50 5c69ac0246d0: Pull complete 11:54:50 ec43610c2a17: Pull complete 11:54:50 3a2ae6a8a46f: Pull complete 11:54:50 33b1e0a273af: Pull complete 11:54:50 5d3b04190fa2: Pull complete 11:54:55 2f39f015ded8: Pull complete 11:54:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:54:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:54:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:54:55 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 11:54:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:54:59 $ docker top 8eb27f3e917562f14db07bd98159ea26be15becbd15f778aaaeadf1c9813be06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:00 ---> job-cost.sh 11:55:00 lf-activate-venv: SKIPPING 11:55:00 INFO: No Stack... 11:55:00 INFO: Retrieving Pricing Info for: v3-standard-8 11:55:00 INFO: Archiving Costs [Pipeline] sh 11:55:00 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 11:55:00 + cut -d, -f6 [Pipeline] lock 11:55:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-79-stack-cost] 11:55:00 Resource [jenkins-edgexfoundry-device-virtual-go-main-79-stack-cost] did not exist. Created. 11:55:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:55:01 + echo total: 0.2199999988079071 [Pipeline] stash 11:55:01 Stashed 1 file(s) [Pipeline] } 11:55:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 11:55:01 $ docker stop --time=1 8eb27f3e917562f14db07bd98159ea26be15becbd15f778aaaeadf1c9813be06 11:55:02 $ docker rm -f --volumes 8eb27f3e917562f14db07bd98159ea26be15becbd15f778aaaeadf1c9813be06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 11:55:02 provisioning config files... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:55:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/79@tmp/config9161530283210634163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:02 ---> docker-login.sh 11:55:02 nexus3.edgexfoundry.org:10001 11:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:03 Configure a credential helper to remove this warning. See 11:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:03 11:55:03 Login Succeeded 11:55:03 nexus3.edgexfoundry.org:10002 11:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 nexus3.edgexfoundry.org:10003 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 nexus3.edgexfoundry.org:10004 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 docker.io 11:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:05 Configure a credential helper to remove this warning. See 11:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:05 11:55:05 Login Succeeded 11:55:05 ---> docker-login.sh ends [Pipeline] } 11:55:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:55:05 ========================================================= 11:55:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:55:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:05 + 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 . 11:55:05 Sending build context to Docker daemon 11.81MB 11:55:05 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 11:55:05 Step 2/12 : FROM ${BASE} AS builder 11:55:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:55:06 9b18e9b68314: Pulling fs layer 11:55:06 35d82f9e3411: Pulling fs layer 11:55:06 e16973657156: Pulling fs layer 11:55:06 fc693d55d65f: Pulling fs layer 11:55:06 7e9fc2657dce: Pulling fs layer 11:55:06 dda99020689f: Pulling fs layer 11:55:06 db1c61fa0a46: Pulling fs layer 11:55:06 891c053d2c06: Pulling fs layer 11:55:06 fc693d55d65f: Waiting 11:55:06 db1c61fa0a46: Waiting 11:55:06 7e9fc2657dce: Waiting 11:55:06 891c053d2c06: Waiting 11:55:06 dda99020689f: Waiting 11:55:06 e16973657156: Verifying Checksum 11:55:06 e16973657156: Download complete 11:55:06 35d82f9e3411: Verifying Checksum 11:55:06 35d82f9e3411: Download complete 11:55:06 7e9fc2657dce: Verifying Checksum 11:55:06 7e9fc2657dce: Download complete 11:55:06 dda99020689f: Verifying Checksum 11:55:06 dda99020689f: Download complete 11:55:06 9b18e9b68314: Verifying Checksum 11:55:07 9b18e9b68314: Pull complete 11:55:07 891c053d2c06: Verifying Checksum 11:55:07 891c053d2c06: Download complete 11:55:07 35d82f9e3411: Pull complete 11:55:08 e16973657156: Pull complete 11:55:08 db1c61fa0a46: Verifying Checksum 11:55:08 db1c61fa0a46: Download complete 11:55:09 fc693d55d65f: Verifying Checksum 11:55:09 fc693d55d65f: Download complete 11:55:21 fc693d55d65f: Pull complete 11:55:21 7e9fc2657dce: Pull complete 11:55:21 dda99020689f: Pull complete 11:55:26 db1c61fa0a46: Pull complete 11:55:28 891c053d2c06: Pull complete 11:55:28 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 11:55:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:55:28 ---> f96f9c87975a 11:55:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:55:30 ---> Running in ea724d3ee50b 11:55:30 Removing intermediate container ea724d3ee50b 11:55:30 ---> 78ec863dd3eb 11:55:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:55:30 ---> Running in 497e7fb69a5a 11:55:30 Removing intermediate container 497e7fb69a5a 11:55:30 ---> 8f2d54d2de9b 11:55:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:55:31 ---> Running in 0c06029bb46e 11:55:31 Removing intermediate container 0c06029bb46e 11:55:31 ---> b8fe453b6c13 11:55:31 Step 6/12 : WORKDIR /device-virtual-go 11:55:31 ---> Running in febec6cbbd94 11:55:31 Removing intermediate container febec6cbbd94 11:55:31 ---> 7e73774cd8d9 11:55:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:55:31 ---> Running in d21b2d51771b 11:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:55:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:55:34 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:55:34 (2/4) Installing libedit (20210910.3.1-r0) 11:55:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:55:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:55:34 Executing busybox-1.35.0-r17.trigger 11:55:34 OK: 226 MiB in 55 packages 11:55:35 Removing intermediate container d21b2d51771b 11:55:35 ---> 2ce063226731 11:55:35 Step 8/12 : COPY go.mod vendor* ./ 11:55:35 ---> 6ef1dc42b710 11:55:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:55:35 ---> Running in 28020a01a518 11:56:43 Removing intermediate container 28020a01a518 11:56:43 ---> 62ef588ce04b 11:56:43 Step 10/12 : COPY . . 11:56:43 ---> 47cc7fd637cb 11:56:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:56:43 ---> Running in 64fb79bb7bf3 11:56:43 Removing intermediate container 64fb79bb7bf3 11:56:43 ---> b709d6cc3cd4 11:56:43 Step 12/12 : RUN $MAKE 11:56:43 ---> Running in de8051cf75ac 11:56:43 noop 11:56:43 Removing intermediate container de8051cf75ac 11:56:43 ---> 21d5cd2e9053 11:56:43 Successfully built 21d5cd2e9053 11:56:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:43 + docker inspect -f . ci-base-image-arm64 11:56:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:44 prd-ubuntu20.04-docker-arm64-4c-16g-4663 does not seem to be running inside a container 11:56:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/79 -v /w/workspace/device-virtual-go/79:/w/workspace/device-virtual-go/79:rw,z -v /w/workspace/device-virtual-go/79@tmp:/w/workspace/device-virtual-go/79@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 11:56:45 $ docker top b8e604656d44a49faa183e611dd5c167b18317b608ee4af6a9d180cd7024cfb7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:56:46 + go version 11:56:46 go version go1.18.7 linux/arm64 [Pipeline] } 11:56:46 $ docker stop --time=1 b8e604656d44a49faa183e611dd5c167b18317b608ee4af6a9d180cd7024cfb7 11:56:47 $ docker rm -f --volumes b8e604656d44a49faa183e611dd5c167b18317b608ee4af6a9d180cd7024cfb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:48 + docker inspect -f . ci-base-image-arm64 11:56:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:48 prd-ubuntu20.04-docker-arm64-4c-16g-4663 does not seem to be running inside a container 11:56:48 $ 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/79 -v /w/workspace/device-virtual-go/79:/w/workspace/device-virtual-go/79:rw,z -v /w/workspace/device-virtual-go/79@tmp:/w/workspace/device-virtual-go/79@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 11:56:49 $ docker top 351ad6694344d829b2af3d61df566dc42eb0c494110ee8ae959539e89c71b569 -eo pid,comm [Pipeline] { [Pipeline] sh 11:56:50 + git config --global --add safe.directory /w/workspace/device-virtual-go/79 [Pipeline] fileExists [Pipeline] sh 11:56:51 + make test 11:56:51 go test ./... -coverprofile=coverage.out 11:56:52 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:58:14 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:58:14 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.128s coverage: 65.7% of statements 11:58:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:58:14 go vet ./... 11:58:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:58:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:58:29 ./bin/test-attribution-txt.sh 11:58:29 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 11:58:29 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 11:58:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:58:29 $ docker stop --time=1 351ad6694344d829b2af3d61df566dc42eb0c494110ee8ae959539e89c71b569 11:58:30 $ docker rm -f --volumes 351ad6694344d829b2af3d61df566dc42eb0c494110ee8ae959539e89c71b569 [Pipeline] // withDockerContainer [Pipeline] sh 11:58:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:58:31 Warning: overwriting stash ‘coverage-report’ 11:58:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:58:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:58:33 + ls -al . 11:58:33 total 188 11:58:33 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:56 . 11:58:33 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:54 .. 11:58:33 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 11:54 .git 11:58:33 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:54 .github 11:58:33 -rw-rw-r-- 1 jenkins jenkins 337 Feb 6 11:54 .gitignore 11:58:33 -rw-rw-r-- 1 jenkins jenkins 41 Feb 6 11:54 .golangci.yml 11:58:33 -rw-rw-r-- 1 jenkins jenkins 8423 Feb 6 11:54 Attribution.txt 11:58:33 -rw-rw-r-- 1 jenkins jenkins 11367 Feb 6 11:54 CHANGELOG.md 11:58:33 -rw-rw-r-- 1 jenkins jenkins 1646 Feb 6 11:54 Dockerfile 11:58:33 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 11:54 GOVERNANCE.md 11:58:33 -rw-rw-r-- 1 jenkins jenkins 660 Feb 6 11:54 Jenkinsfile 11:58:33 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 6 11:54 LICENSE 11:58:33 -rw-rw-r-- 1 jenkins jenkins 1661 Feb 6 11:54 Makefile 11:58:33 -rw-rw-r-- 1 jenkins jenkins 623 Feb 6 11:54 OWNERS.md 11:58:33 -rw-rw-r-- 1 jenkins jenkins 3578 Feb 6 11:54 README.md 11:58:33 -rw-rw-r-- 1 jenkins jenkins 11 Feb 6 11:52 VERSION 11:58:33 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 11:54 bin 11:58:33 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:54 cmd 11:58:33 -rw-r--r-- 1 jenkins jenkins 44128 Feb 6 11:58 coverage.out 11:58:33 -rw-rw-r-- 1 jenkins jenkins 3251 Feb 6 11:54 go.mod 11:58:33 -rw-rw-r-- 1 jenkins jenkins 32586 Feb 6 11:54 go.sum 11:58:33 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 11:54 internal 11:58:33 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 11:54 snap 11:58:33 -rw-rw-r-- 1 jenkins jenkins 235 Feb 6 11:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:33 + 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=b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 --label arch=arm64 --label version=3.0.0-dev.8 . 11:58:33 Sending build context to Docker daemon 11.86MB 11:58:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 11:58:33 Step 2/25 : FROM ${BASE} AS builder 11:58:33 ---> 21d5cd2e9053 11:58:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:58:33 ---> Running in 6f44fbd9c652 11:58:34 Removing intermediate container 6f44fbd9c652 11:58:34 ---> 83c8f9f44a0d 11:58:34 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:58:34 ---> Running in 7c47f748697b 11:58:34 Removing intermediate container 7c47f748697b 11:58:34 ---> ce3ba27fa73b 11:58:34 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:58:34 ---> Running in 91b4fc6b233c 11:58:35 Removing intermediate container 91b4fc6b233c 11:58:35 ---> e6229c992135 11:58:35 Step 6/25 : WORKDIR /device-virtual-go 11:58:35 ---> Running in 544538ada77a 11:58:35 Removing intermediate container 544538ada77a 11:58:35 ---> 8e997cf7e6b9 11:58:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:58:35 ---> Running in d1e282631e2f 11:58:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:58:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:58:37 OK: 226 MiB in 55 packages 11:58:39 Removing intermediate container d1e282631e2f 11:58:39 ---> 5d6663e10ce0 11:58:39 Step 8/25 : COPY go.mod vendor* ./ 11:58:39 ---> 32684dad1450 11:58:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:58:39 ---> Running in 5263b3f80ef6 11:58:42 Removing intermediate container 5263b3f80ef6 11:58:42 ---> 8a7a8024e6b1 11:58:42 Step 10/25 : COPY . . 11:58:43 ---> cdff955a9012 11:58:43 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:58:43 ---> Running in e4e7a6542de2 11:58:43 Removing intermediate container e4e7a6542de2 11:58:43 ---> 3d74b181dd81 11:58:43 Step 12/25 : RUN $MAKE 11:58:43 ---> Running in 55533960e281 11:58:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:01:06 Removing intermediate container 55533960e281 12:01:06 ---> 004f49e6e9da 12:01:06 Step 13/25 : FROM alpine:3.16 12:01:06 3.16: Pulling from library/alpine 12:01:06 6875df1f5354: Pulling fs layer 12:01:06 6875df1f5354: Verifying Checksum 12:01:06 6875df1f5354: Download complete 12:01:06 6875df1f5354: Pull complete 12:01:06 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 12:01:06 Status: Downloaded newer image for alpine:3.16 12:01:06 ---> 2b4661558fb8 12:01:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:01:06 ---> Running in c8a315c87d48 12:01:06 Removing intermediate container c8a315c87d48 12:01:06 ---> ef9e06763590 12:01:06 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:01:06 ---> Running in db8ccf3c3f1f 12:01:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:01:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:01:06 (1/1) Installing dumb-init (1.2.5-r1) 12:01:06 Executing busybox-1.35.0-r17.trigger 12:01:06 OK: 5 MiB in 15 packages 12:01:06 Removing intermediate container db8ccf3c3f1f 12:01:06 ---> 7d59b27c4f8d 12:01:06 Step 16/25 : WORKDIR / 12:01:06 ---> Running in 9a66eb9f13cc 12:01:06 Removing intermediate container 9a66eb9f13cc 12:01:06 ---> 4c57d01bcc00 12:01:06 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:01:06 ---> b2ce551b0eae 12:01:06 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:01:06 ---> e26473194e9f 12:01:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:01:06 ---> f93784043b72 12:01:06 Step 20/25 : EXPOSE 59900 12:01:06 ---> Running in a92dbbbb7674 12:01:06 Removing intermediate container a92dbbbb7674 12:01:06 ---> bde97347e9e3 12:01:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:01:06 ---> Running in 1c9c441c7b9a 12:01:06 Removing intermediate container 1c9c441c7b9a 12:01:06 ---> 8608b5d816e8 12:01:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:01:06 ---> Running in b1dddf5a2c12 12:01:06 Removing intermediate container b1dddf5a2c12 12:01:06 ---> 95620d18cc50 12:01:06 Step 23/25 : LABEL arch=arm64 12:01:06 ---> Running in 81b2bdc4bb2a 12:01:06 Removing intermediate container 81b2bdc4bb2a 12:01:06 ---> 9f7035176bb4 12:01:06 Step 24/25 : LABEL git_sha=b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 12:01:06 ---> Running in 8254de417ff1 12:01:06 Removing intermediate container 8254de417ff1 12:01:06 ---> 1180a9180930 12:01:06 Step 25/25 : LABEL version=3.0.0-dev.8 12:01:06 ---> Running in 86ad0fa34a22 12:01:06 Removing intermediate container 86ad0fa34a22 12:01:06 ---> be5338dade75 12:01:06 [Warning] One or more build-args [ARCH] were not consumed 12:01:06 Successfully built be5338dade75 12:01:06 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 12:01:06 provisioning config files... 12:01:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/79@tmp/config3998141514729551885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:06 ---> docker-login.sh 12:01:06 nexus3.edgexfoundry.org:10001 12:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 nexus3.edgexfoundry.org:10002 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 nexus3.edgexfoundry.org:10003 12:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:07 Configure a credential helper to remove this warning. See 12:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:07 12:01:07 Login Succeeded 12:01:07 nexus3.edgexfoundry.org:10004 12:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:08 Configure a credential helper to remove this warning. See 12:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:08 12:01:08 Login Succeeded 12:01:08 docker.io 12:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:09 Configure a credential helper to remove this warning. See 12:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:09 12:01:09 Login Succeeded 12:01:09 ---> docker-login.sh ends [Pipeline] } 12:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:01:09 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 12:01:09 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 12:01:09 latest 12:01:09 3.0.0-dev.8 12:01:09 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8 12:01:09 main 12:01:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:09 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 12:01:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:01:09 03f47323dc05: Preparing 12:01:09 9bf3ce3b1554: Preparing 12:01:09 1f8dfc18bffd: Preparing 12:01:09 8b35b36df298: Preparing 12:01:09 17bec77d7fdc: Preparing 12:01:09 17bec77d7fdc: Layer already exists 12:01:10 9bf3ce3b1554: Pushed 12:01:10 8b35b36df298: Pushed 12:01:10 1f8dfc18bffd: Pushed 12:01:15 03f47323dc05: Pushed 12:01:15 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1: digest: sha256:90e6fb6ced09721acdaf30626fe42a48cf8b73d02c90d7333155bd7348d8c9e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:15 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:16 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:01:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:01:16 03f47323dc05: Preparing 12:01:16 9bf3ce3b1554: Preparing 12:01:16 1f8dfc18bffd: Preparing 12:01:16 8b35b36df298: Preparing 12:01:16 17bec77d7fdc: Preparing 12:01:16 03f47323dc05: Layer already exists 12:01:16 9bf3ce3b1554: Layer already exists 12:01:16 1f8dfc18bffd: Layer already exists 12:01:16 8b35b36df298: Layer already exists 12:01:16 17bec77d7fdc: Layer already exists 12:01:16 latest: digest: sha256:90e6fb6ced09721acdaf30626fe42a48cf8b73d02c90d7333155bd7348d8c9e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:16 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.8 12:01:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:01:17 03f47323dc05: Preparing 12:01:17 9bf3ce3b1554: Preparing 12:01:17 1f8dfc18bffd: Preparing 12:01:17 8b35b36df298: Preparing 12:01:17 17bec77d7fdc: Preparing 12:01:17 17bec77d7fdc: Layer already exists 12:01:17 9bf3ce3b1554: Layer already exists 12:01:17 03f47323dc05: Layer already exists 12:01:17 1f8dfc18bffd: Layer already exists 12:01:17 8b35b36df298: Layer already exists 12:01:17 3.0.0-dev.8: digest: sha256:90e6fb6ced09721acdaf30626fe42a48cf8b73d02c90d7333155bd7348d8c9e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:17 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8 12:01:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:01:17 03f47323dc05: Preparing 12:01:17 9bf3ce3b1554: Preparing 12:01:17 1f8dfc18bffd: Preparing 12:01:17 8b35b36df298: Preparing 12:01:17 17bec77d7fdc: Preparing 12:01:17 9bf3ce3b1554: Layer already exists 12:01:17 03f47323dc05: Layer already exists 12:01:17 17bec77d7fdc: Layer already exists 12:01:17 1f8dfc18bffd: Layer already exists 12:01:17 8b35b36df298: Layer already exists 12:01:17 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8: digest: sha256:90e6fb6ced09721acdaf30626fe42a48cf8b73d02c90d7333155bd7348d8c9e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:18 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 12:01:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 12:01:18 03f47323dc05: Preparing 12:01:18 9bf3ce3b1554: Preparing 12:01:18 1f8dfc18bffd: Preparing 12:01:18 8b35b36df298: Preparing 12:01:18 17bec77d7fdc: Preparing 12:01:18 9bf3ce3b1554: Layer already exists 12:01:18 03f47323dc05: Layer already exists 12:01:18 1f8dfc18bffd: Layer already exists 12:01:18 8b35b36df298: Layer already exists 12:01:18 17bec77d7fdc: Layer already exists 12:01:18 main: digest: sha256:90e6fb6ced09721acdaf30626fe42a48cf8b73d02c90d7333155bd7348d8c9e7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:01:18 ===================================================== [Pipeline] echo 12:01:18 taggedImages: 12:01:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 12:01:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 12:01:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.8 12:01:18 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b7ce723d3d6de2615d4c98362cbd5647c3b6aed1-3.0.0-dev.8 12:01:18 - 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 12:01:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:01:18 12:01:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:01:19 arm64: Pulling from edgex-lftools-log-publisher 12:01:19 8998bd30e6a1: Pulling fs layer 12:01:19 04944245beec: Pulling fs layer 12:01:19 699f458cf7ca: Pulling fs layer 12:01:19 765212b225bb: Pulling fs layer 12:01:19 f23df028b6ca: Pulling fs layer 12:01:19 d65c8cfc05b1: Pulling fs layer 12:01:19 2437ff75d9bd: Pulling fs layer 12:01:19 f23df028b6ca: Waiting 12:01:19 d65c8cfc05b1: Waiting 12:01:19 765212b225bb: Waiting 12:01:19 2437ff75d9bd: Waiting 12:01:19 04944245beec: Verifying Checksum 12:01:19 04944245beec: Download complete 12:01:19 765212b225bb: Verifying Checksum 12:01:19 765212b225bb: Download complete 12:01:19 f23df028b6ca: Verifying Checksum 12:01:19 f23df028b6ca: Download complete 12:01:19 d65c8cfc05b1: Verifying Checksum 12:01:19 d65c8cfc05b1: Download complete 12:01:19 699f458cf7ca: Verifying Checksum 12:01:19 699f458cf7ca: Download complete 12:01:20 8998bd30e6a1: Verifying Checksum 12:01:20 8998bd30e6a1: Download complete 12:01:22 2437ff75d9bd: Verifying Checksum 12:01:22 2437ff75d9bd: Download complete 12:01:24 8998bd30e6a1: Pull complete 12:01:25 04944245beec: Pull complete 12:01:26 699f458cf7ca: Pull complete 12:01:27 765212b225bb: Pull complete 12:01:27 f23df028b6ca: Pull complete 12:01:28 d65c8cfc05b1: Pull complete 12:01:43 2437ff75d9bd: Pull complete 12:01:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:01:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:01:43 prd-ubuntu20.04-docker-arm64-4c-16g-4663 does not seem to be running inside a container 12:01:43 $ 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/79 -v /w/workspace/device-virtual-go/79:/w/workspace/device-virtual-go/79:rw,z -v /w/workspace/device-virtual-go/79@tmp:/w/workspace/device-virtual-go/79@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 12:01:45 $ docker top b2276f00f896a42f464a2538b6c342cdec871d2249fee1bbce238ade2b26d065 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:46 ---> job-cost.sh 12:01:46 lf-activate-venv: SKIPPING 12:01:46 INFO: No Stack... 12:01:47 INFO: Retrieving Pricing Info for: v3-standard-4 12:01:47 INFO: Archiving Costs [Pipeline] sh 12:01:48 + cat /w/workspace/device-virtual-go/79/archives/cost.csv 12:01:48 + cut -d, -f6 [Pipeline] lock 12:01:48 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-79-stack-cost] 12:01:48 Resource [jenkins-edgexfoundry-device-virtual-go-main-79-stack-cost] did not exist. Created. 12:01:48 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:01:49 /w/workspace/device-virtual-go/79@tmp/durable-b660611d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:01:49 + echo total: 0.10999999940395355 [Pipeline] stash 12:01:49 Warning: overwriting stash ‘stack-cost’ 12:01:49 Stashed 1 file(s) [Pipeline] } 12:01:49 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 12:01:49 $ docker stop --time=1 b2276f00f896a42f464a2538b6c342cdec871d2249fee1bbce238ade2b26d065 12:01:51 $ docker rm -f --volumes b2276f00f896a42f464a2538b6c342cdec871d2249fee1bbce238ade2b26d065 [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 12:01:51 provisioning config files... 12:01:51 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17278044728533603989tmp [Pipeline] { [Pipeline] sh 12:01:52 + set +x 12:01:52 + curl -s https://codecov.io/bash 12:01:52 + bash -s -- 12:01:52 12:01:52 _____ _ 12:01:52 / ____| | | 12:01:52 | | ___ __| | ___ ___ _____ __ 12:01:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:01:52 | |___| (_) | (_| | __/ (_| (_) \ V / 12:01:52 \_____\___/ \__,_|\___|\___\___/ \_/ 12:01:52 Bash-1.0.6 12:01:52 12:01:52 12:01:52 ==> git version 2.25.1 found 12:01:52 ==> 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 12:01:52 Release-Date: 2020-01-08 12:01:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:01:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:01:52 ==> Jenkins CI detected. 12:01:52 current dir:  /w/workspace/exfoundry_device-virtual-go_main 12:01:52 project root: . 12:01:52 --> token set from env 12:01:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:01:52 ==> Running gcov in . (disable via -X gcov) 12:01:52 ==> Python coveragepy not found 12:01:52 ==> Searching for coverage reports in: 12:01:52 + . 12:01:52 -> Found 1 reports 12:01:52 ==> Detecting git/mercurial file structure 12:01:52 ==> Reading reports 12:01:52 + ./coverage.out bytes=44128 12:01:52 ==> Appending adjustments 12:01:52 https://docs.codecov.io/docs/fixing-reports 12:01:52 + Found adjustments 12:01:52 ==> Gzipping contents 12:01:52 8.0K /tmp/codecov.ETObfT.gz 12:01:52 ==> Uploading reports 12:01:52 url: https://codecov.io 12:01:52 query: branch=main&commit=b7ce723d3d6de2615d4c98362cbd5647c3b6aed1&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:01:52 -> Pinging Codecov 12:01:52 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=b7ce723d3d6de2615d4c98362cbd5647c3b6aed1&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:01:52 -> Uploading to 12:01:52 https://storage.googleapis.com/codecov/v4/raw/2023-02-06/5E52B4B073DB2E39498172D8E973AA87/b7ce723d3d6de2615d4c98362cbd5647c3b6aed1/096ecd89-9a7d-4bd6-a035-8b56f200bc91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T120152Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af7e9f87652473c1aa1f204c4b97a7c4018854d75158baf55dfcb8b5b84491c5 12:01:52 % Total % Received % Xferd Average Speed Time Time Time Current 12:01:52 Dload Upload Total Spent Left Speed 12:01:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5482 0 0 100 5482 0 15843 --:--:-- --:--:-- --:--:-- 15798 12:01:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [Pipeline] } 12:01:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:01:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:01:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:01:53 12:01:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:01:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:01:53 df9b9388f04a: Pulling fs layer 12:01:53 52dc419b0ee2: Pulling fs layer 12:01:53 25bc292e5bac: Pulling fs layer 12:01:53 114826534d7a: Pulling fs layer 12:01:53 4657fd5d0bcf: Pulling fs layer 12:01:53 6ad1cebc031e: Pulling fs layer 12:01:53 8a3aa393b2d8: Pulling fs layer 12:01:53 6ad1cebc031e: Waiting 12:01:53 114826534d7a: Waiting 12:01:53 4657fd5d0bcf: Waiting 12:01:53 8a3aa393b2d8: Waiting 12:01:53 25bc292e5bac: Verifying Checksum 12:01:53 25bc292e5bac: Download complete 12:01:53 52dc419b0ee2: Verifying Checksum 12:01:53 52dc419b0ee2: Download complete 12:01:53 4657fd5d0bcf: Verifying Checksum 12:01:53 4657fd5d0bcf: Download complete 12:01:53 df9b9388f04a: Verifying Checksum 12:01:53 df9b9388f04a: Download complete 12:01:54 df9b9388f04a: Pull complete 12:01:54 52dc419b0ee2: Pull complete 12:01:54 6ad1cebc031e: Verifying Checksum 12:01:54 6ad1cebc031e: Download complete 12:01:54 25bc292e5bac: Pull complete 12:01:55 114826534d7a: Verifying Checksum 12:01:55 114826534d7a: Download complete 12:01:55 8a3aa393b2d8: Verifying Checksum 12:01:55 8a3aa393b2d8: Download complete 12:01:58 114826534d7a: Pull complete 12:01:58 4657fd5d0bcf: Pull complete 12:01:58 6ad1cebc031e: Pull complete 12:02:01 8a3aa393b2d8: Pull complete 12:02:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 12:02:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:02:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:01 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 12:02:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 12:02:04 $ docker top c673e06cfb15deb8376210904cb41702487352183b369f24eb10abd7b4c4c27d -eo pid,comm [Pipeline] { [Pipeline] echo 12:02:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 12:02:04 + set -o pipefail 12:02:04 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 12:02:11 12:02:11 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 12:02:11 12:02:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/4665f4fd-e606-48e1-9cf1-abdce1238109 12:02:11 12:02:11 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 12:02:11 12:02:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:02:11 12:02:11 12:02:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 12:02:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 12:02:11 More details here: https://snyk.co/ue1NS [Pipeline] } 12:02:11 $ docker stop --time=1 c673e06cfb15deb8376210904cb41702487352183b369f24eb10abd7b4c4c27d 12:02:14 $ docker rm -f --volumes c673e06cfb15deb8376210904cb41702487352183b369f24eb10abd7b4c4c27d [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 12:02:15 + git log --format=format:%s -1 b7ce723d3d6de2615d4c98362cbd5647c3b6aed1 [Pipeline] sh 12:02:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:02:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:15 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 12:02:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:02:16 $ docker top b4d0ac29b82fc269c2971c8256625f788c076486d078236b05faa8e207f88fee -eo pid,comm 12:02:16 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). 12:02:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:02:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:16 [ssh-agent] Looking for ssh-agent implementation... 12:02:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:16 $ docker exec b4d0ac29b82fc269c2971c8256625f788c076486d078236b05faa8e207f88fee ssh-agent 12:02:16 SSH_AUTH_SOCK=/tmp/ssh-NT3JwhxDxjWg/agent.32 12:02:16 SSH_AGENT_PID=38 12:02:16 Running ssh-add (command line suppressed) 12:02:16 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3439941071818865000.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3439941071818865000.key) 12:02:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:17 + git semver tag 12:02:17 2023-02-06 12:02:17,180 [run_tag] DEBUG tag force:False 12:02:17 2023-02-06 12:02:17,180 [check_head_tag] DEBUG check head tag 12:02:17 2023-02-06 12:02:17,181 [execute] INFO git cat-file --batch-check 12:02:17 2023-02-06 12:02:17,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:02:17 2023-02-06 12:02:17,185 [execute] INFO git cat-file --batch 12:02:17 2023-02-06 12:02:17,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 12:02:17 2023-02-06 12:02:17,207 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:02:17 2023-02-06 12:02:17,207 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 12:02:17 2023-02-06 12:02:17,208 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 12:02:17 2023-02-06 12:02:17,213 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:02:17 3.0.0-dev.8 [Pipeline] } 12:02:17 $ docker exec --env ******** --env ******** b4d0ac29b82fc269c2971c8256625f788c076486d078236b05faa8e207f88fee ssh-agent -k 12:02:17 unset SSH_AUTH_SOCK; 12:02:17 unset SSH_AGENT_PID; 12:02:17 echo Agent pid 38 killed; 12:02:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:02:18 + git semver [Pipeline] } 12:02:18 $ docker stop --time=1 b4d0ac29b82fc269c2971c8256625f788c076486d078236b05faa8e207f88fee 12:02:20 $ docker rm -f --volumes b4d0ac29b82fc269c2971c8256625f788c076486d078236b05faa8e207f88fee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:02:20 12:02:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:02:20 0.23.1-centos7: Pulling from edgex-lftools 12:02:20 ab5ef0e58194: Pulling fs layer 12:02:20 9712f1f96733: Pulling fs layer 12:02:20 63f879dbbcfc: Pulling fs layer 12:02:20 0d9ebad4ef96: Pulling fs layer 12:02:20 e9a5061849ea: Pulling fs layer 12:02:20 d747dcd14b5f: Pulling fs layer 12:02:20 2de7ff778b66: Pulling fs layer 12:02:20 0d9ebad4ef96: Waiting 12:02:20 d747dcd14b5f: Waiting 12:02:20 2de7ff778b66: Waiting 12:02:20 e9a5061849ea: Waiting 12:02:20 9712f1f96733: Download complete 12:02:21 63f879dbbcfc: Verifying Checksum 12:02:21 63f879dbbcfc: Download complete 12:02:21 e9a5061849ea: Verifying Checksum 12:02:21 e9a5061849ea: Download complete 12:02:21 d747dcd14b5f: Verifying Checksum 12:02:21 d747dcd14b5f: Download complete 12:02:22 ab5ef0e58194: Download complete 12:02:23 2de7ff778b66: Verifying Checksum 12:02:23 2de7ff778b66: Download complete 12:02:23 0d9ebad4ef96: Verifying Checksum 12:02:23 0d9ebad4ef96: Download complete 12:02:25 ab5ef0e58194: Pull complete 12:02:25 9712f1f96733: Pull complete 12:02:26 63f879dbbcfc: Pull complete 12:02:30 0d9ebad4ef96: Pull complete 12:02:30 e9a5061849ea: Pull complete 12:02:30 d747dcd14b5f: Pull complete 12:02:31 2de7ff778b66: Pull complete 12:02:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:02:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:02:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:31 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 12:02:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:02:34 $ docker top ac4a2a789ed0e8fadc089d338a8e682486588ad2d6d93a78d32f25c9f864b0f1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:02:34 provisioning config files... 12:02:34 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16977890531220212032tmp 12:02:34 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16821383883758023924tmp 12:02:34 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15684586521457739667tmp [Pipeline] { [Pipeline] echo 12:02:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:02:35 ---> sigul-configuration.sh 12:02:35 gpg: directory `/root/.gnupg' created 12:02:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:02:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:02:35 gpg: keyring `/root/.gnupg/secring.gpg' created 12:02:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:02:35 gpg: CAST5 encrypted data 12:02:35 gpg: encrypted with 1 passphrase 12:02:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:02:35 + mkdir /home/jenkins 12:02:35 + mkdir /home/jenkins/sigul [Pipeline] sh 12:02:35 + 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 12:02:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:02:35 ---> sigul-install.sh 12:02:35 Sigul already installed; skipping installation. [Pipeline] sh 12:02:36 + git tag --list 12:02:36 v1.0.0 12:02:36 v1.1.0 12:02:36 v1.1.1 12:02:36 v1.2.1 12:02:36 v1.2.2 12:02:36 v1.2.3 12:02:36 v1.3.0 12:02:36 v1.3.1 12:02:36 v2.0.0 12:02:36 v2.1.0 12:02:36 v2.1.1 12:02:36 v2.1.1-dev.1 12:02:36 v2.1.1-dev.2 12:02:36 v2.2.0 12:02:36 v2.2.1-dev.1 12:02:36 v2.2.1-dev.2 12:02:36 v2.2.1-dev.3 12:02:36 v2.2.1-dev.4 12:02:36 v2.2.1-dev.5 12:02:36 v2.2.1-dev.6 12:02:36 v2.2.1-dev.7 12:02:36 v2.2.1-dev.8 12:02:36 v2.3.0 12:02:36 v2.3.0-dev.10 12:02:36 v2.3.0-dev.11 12:02:36 v2.3.0-dev.12 12:02:36 v2.3.0-dev.13 12:02:36 v2.3.0-dev.14 12:02:36 v2.3.0-dev.15 12:02:36 v2.3.0-dev.16 12:02:36 v2.3.0-dev.17 12:02:36 v2.3.0-dev.18 12:02:36 v2.3.0-dev.19 12:02:36 v2.3.0-dev.20 12:02:36 v2.3.0-dev.21 12:02:36 v2.3.0-dev.22 12:02:36 v2.3.0-dev.23 12:02:36 v2.3.0-dev.24 12:02:36 v2.3.0-dev.25 12:02:36 v2.3.0-dev.26 12:02:36 v2.3.0-dev.27 12:02:36 v2.3.0-dev.28 12:02:36 v2.3.0-dev.29 12:02:36 v2.3.0-dev.30 12:02:36 v2.3.0-dev.8 12:02:36 v2.3.0-dev.9 12:02:36 v3.0.0-dev.1 12:02:36 v3.0.0-dev.2 12:02:36 v3.0.0-dev.3 12:02:36 v3.0.0-dev.4 12:02:36 v3.0.0-dev.5 12:02:36 v3.0.0-dev.6 12:02:36 v3.0.0-dev.7 12:02:36 v3.0.0-dev.8 [Pipeline] sh 12:02:36 + lftools sign git-tag v3.0.0-dev.8 12:02:37 Signing Git tag with Sigul... 12:02:37 Signing v3.0.0-dev.8 [Pipeline] echo 12:02:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:02:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:02:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:02:37 $ docker stop --time=1 ac4a2a789ed0e8fadc089d338a8e682486588ad2d6d93a78d32f25c9f864b0f1 12:02:38 $ docker rm -f --volumes ac4a2a789ed0e8fadc089d338a8e682486588ad2d6d93a78d32f25c9f864b0f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:02:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:02:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:39 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 12:02:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:02:40 $ docker top 9d12484a4884cbdf2ecc118af03d86d517935d1bc5eb9ec94a9b0ecb28dd9eca -eo pid,comm 12:02:40 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). 12:02:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:02:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:40 [ssh-agent] Looking for ssh-agent implementation... 12:02:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:40 $ docker exec 9d12484a4884cbdf2ecc118af03d86d517935d1bc5eb9ec94a9b0ecb28dd9eca ssh-agent 12:02:40 SSH_AUTH_SOCK=/tmp/ssh-M2fhVqSfY468/agent.32 12:02:40 SSH_AGENT_PID=39 12:02:40 Running ssh-add (command line suppressed) 12:02:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1636526014432735468.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1636526014432735468.key) 12:02:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:40 + git semver bump pre 12:02:41 2023-02-06 12:02:41,082 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:02:41 2023-02-06 12:02:41,082 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev 12:02:41 2023-02-06 12:02:41,082 [bump_version] DEBUG bumped version:3.0.0-dev.9 12:02:41 2023-02-06 12:02:41,082 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 12:02:41 2023-02-06 12:02:41,082 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:02:41 2023-02-06 12:02:41,083 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:02:41 2023-02-06 12:02:41,085 [execute] INFO git cat-file --batch-check 12:02:41 2023-02-06 12:02:41,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:02:41 2023-02-06 12:02:41,091 [execute] INFO git cat-file --batch 12:02:41 2023-02-06 12:02:41,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:02:41 2023-02-06 12:02:41,098 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:02:41 3.0.0-dev.9 [Pipeline] } 12:02:41 $ docker exec --env ******** --env ******** 9d12484a4884cbdf2ecc118af03d86d517935d1bc5eb9ec94a9b0ecb28dd9eca ssh-agent -k 12:02:41 unset SSH_AUTH_SOCK; 12:02:41 unset SSH_AGENT_PID; 12:02:41 echo Agent pid 39 killed; 12:02:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:02:41 + git semver [Pipeline] } 12:02:42 $ docker stop --time=1 9d12484a4884cbdf2ecc118af03d86d517935d1bc5eb9ec94a9b0ecb28dd9eca 12:02:43 $ docker rm -f --volumes 9d12484a4884cbdf2ecc118af03d86d517935d1bc5eb9ec94a9b0ecb28dd9eca [Pipeline] // withDockerContainer [Pipeline] sh 12:02:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:02:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:02:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:44 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 12:02:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:02:44 $ docker top ebf9f396770486bc2fb029112f2a8cb959ca9fbad8c3b57e80ab257622992946 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:02:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:02:44 [ssh-agent] Looking for ssh-agent implementation... 12:02:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:02:44 $ docker exec ebf9f396770486bc2fb029112f2a8cb959ca9fbad8c3b57e80ab257622992946 ssh-agent 12:02:44 SSH_AUTH_SOCK=/tmp/ssh-5eSjuvhtekkz/agent.31 12:02:44 SSH_AGENT_PID=37 12:02:44 Running ssh-add (command line suppressed) 12:02:44 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8150622957756411232.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8150622957756411232.key) 12:02:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:02:45 + git semver push 12:02:45 2023-02-06 12:02:45,347 [run_push] DEBUG push 12:02:45 2023-02-06 12:02:45,347 [execute] INFO git cat-file --batch-check 12:02:45 2023-02-06 12:02:45,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:02:45 2023-02-06 12:02:45,352 [execute] INFO git rev-list 31cb9b701db92c934a9933216b7cd948740824f6 -- 12:02:45 2023-02-06 12:02:45,352 [execute] DEBUG Popen(['git', 'rev-list', '31cb9b701db92c934a9933216b7cd948740824f6', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:02:45 2023-02-06 12:02:45,361 [execute] INFO git fetch -v origin 12:02:45 2023-02-06 12:02:45,361 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 12:02:46 2023-02-06 12:02:45,991 [run_push] DEBUG no remote changes detected 12:02:46 2023-02-06 12:02:45,992 [execute] INFO git push origin semver 12:02:46 2023-02-06 12:02:45,992 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:02:47 2023-02-06 12:02:46,933 [run_push] DEBUG push all version tags 12:02:47 2023-02-06 12:02:46,933 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:02:47 2023-02-06 12:02:46,934 [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) 12:02:48 2023-02-06 12:02:47,886 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 12:02:48 3.0.0-dev.9 [Pipeline] } 12:02:48 $ docker exec --env ******** --env ******** ebf9f396770486bc2fb029112f2a8cb959ca9fbad8c3b57e80ab257622992946 ssh-agent -k 12:02:48 unset SSH_AUTH_SOCK; 12:02:48 unset SSH_AGENT_PID; 12:02:48 echo Agent pid 37 killed; 12:02:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:02:48 + git semver [Pipeline] } 12:02:48 $ docker stop --time=1 ebf9f396770486bc2fb029112f2a8cb959ca9fbad8c3b57e80ab257622992946 12:02:50 $ docker rm -f --volumes ebf9f396770486bc2fb029112f2a8cb959ca9fbad8c3b57e80ab257622992946 [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 12:02:50 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 12:02:50 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:02:50 total 16 12:02:50 drwxr-xr-x 3 root root 4096 Feb 6 11:55 . 12:02:50 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 12:02 .. 12:02:50 drwxr-xr-x 2 root root 4096 Feb 6 11:55 cost 12:02:50 -rw-r--r-- 1 root root 88 Feb 6 11:55 cost.csv 12:02:50 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 12:02:50 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 12:02:50 total 16 12:02:50 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 11:55 . 12:02:50 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 12:02 .. 12:02:50 drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 11:55 cost 12:02:50 -rw-r--r-- 1 jenkins jenkins 88 Feb 6 11:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:02:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:02:51 ---> package-listing.sh 12:02:51 ++ facter osfamily 12:02:51 ++ tr '[:upper:]' '[:lower:]' 12:02:52 + OS_FAMILY=debian 12:02:52 + workspace=/w/workspace/exfoundry_device-virtual-go_main 12:02:52 + START_PACKAGES=/tmp/packages_start.txt 12:02:52 + END_PACKAGES=/tmp/packages_end.txt 12:02:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:02:52 + PACKAGES=/tmp/packages_start.txt 12:02:52 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:02:52 + PACKAGES=/tmp/packages_end.txt 12:02:52 + case "${OS_FAMILY}" in 12:02:52 + dpkg -l 12:02:52 + grep '^ii' 12:02:52 + '[' -f /tmp/packages_start.txt ']' 12:02:52 + '[' -f /tmp/packages_end.txt ']' 12:02:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:02:52 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 12:02:52 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 12:02:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 12:02:52 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 12:02:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:02:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:53 prd-ubuntu20.04-docker-8c-8g-4661 does not seem to be running inside a container 12:02:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:02:53 $ docker top 289c33f4ab1af31daf2f786861c75ee2d2995679487a16572a67d71c91e318fa -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:53 + touch /tmp/pre-build-complete [Pipeline] sh 12:02:54 + mkdir -p /var/log/sysstat [Pipeline] sh 12:02:54 + ls /var/log/sa-host 12:02:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:02:54 provisioning config files... 12:02:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13687420230697832156tmp [Pipeline] { [Pipeline] echo 12:02:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:02:54 ---> create-netrc.sh [Pipeline] } 12:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:02:55 ---> python-tools-install.sh [Pipeline] echo 12:02:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:02:55 ---> sudo-logs.sh 12:02:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:02:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:02:55 ---> job-cost.sh 12:02:55 lf-activate-venv: SKIPPING 12:02:55 DEBUG: total: 0.2199999988079071 12:02:55 INFO: Retrieving Stack Cost... 12:02:56 INFO: Retrieving Pricing Info for: v3-standard-8 12:02:57 INFO: Archiving Costs [Pipeline] echo 12:02:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:02:57 ---> logs-deploy.sh 12:02:57 lf-activate-venv: SKIPPING 12:02:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/79 12:02:57 INFO: archiving workspace using pattern(s): 12:02:58 Archives upload complete. 12:02:58 INFO: archiving logs to Nexus