Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from da9c53c8f531c50c136bf7f237b2fe6b058fda45 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-ssh3712216963139716467.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-ssh9275483309225536222.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-ssh8793254756391320162.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-ssh12344648350761802743.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-ssh792386586941806470.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 ‘prd-ubuntu20.04-docker-8c-8g-3956’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3958 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 da9c53c8f531c50c136bf7f237b2fe6b058fda45 (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 da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 Commit message: "build(deps): bump device-sdk-go version (#330)" > git rev-list --no-walk dc1ad586098ce6d6ea7a257e3c77391c20aa389b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:38:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:38:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:38:47 ========================================================= 07:38:47 EdgeX Global Pipelines Version Info 07:38:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:38:48 ------------------- 07:38:48 stable info: 07:38:48 ------------------- 07:38:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:38:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:38:48 Message: update stable to v1.0.244 07:38:48 ------------------- 07:38:48 experimental info: 07:38:48 ------------------- 07:38:48 Commited By: **** collab-it+edgex@linuxfoundation.org 07:38:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:38:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:38:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da9c53c8f531c50c136bf7f237b2fe6b058fda45 [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da9c53c [Pipeline] echo 07:38:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:49 provisioning config files... 07:38:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17110645464404574318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:49 ---> docker-login.sh 07:38:49 nexus3.edgexfoundry.org:10001 07:38:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:49 Configure a credential helper to remove this warning. See 07:38:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:49 07:38:49 Login Succeeded 07:38:49 nexus3.edgexfoundry.org:10002 07:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:50 Configure a credential helper to remove this warning. See 07:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:50 07:38:50 Login Succeeded 07:38:50 nexus3.edgexfoundry.org:10003 07:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:50 Configure a credential helper to remove this warning. See 07:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:50 07:38:50 Login Succeeded 07:38:50 nexus3.edgexfoundry.org:10004 07:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:50 Configure a credential helper to remove this warning. See 07:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:50 07:38:50 Login Succeeded 07:38:50 docker.io 07:38:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:38:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:38:50 Configure a credential helper to remove this warning. See 07:38:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:38:50 07:38:50 Login Succeeded 07:38:50 ---> docker-login.sh ends [Pipeline] } 07:38:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:38:51 + git rev-list -1 --merges da9c53c8f531c50c136bf7f237b2fe6b058fda45~1..da9c53c8f531c50c136bf7f237b2fe6b058fda45 [Pipeline] echo 07:38:51 -----------> git rev-list -1 --merges da9c53c8f531c50c136bf7f237b2fe6b058fda45~1..da9c53c8f531c50c136bf7f237b2fe6b058fda45 da9c53c8f531c50c136bf7f237b2fe6b058fda45 [false] [Pipeline] sh 07:38:51 + git log --format=format:%s -1 da9c53c8f531c50c136bf7f237b2fe6b058fda45 [Pipeline] echo 07:38:51 ========================================================= 07:38:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:38:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:38:51 + git log --format=format:%s -1 da9c53c8f531c50c136bf7f237b2fe6b058fda45 [Pipeline] echo 07:38:51 [semverPrep] GIT_COMMIT: da9c53c8f531c50c136bf7f237b2fe6b058fda45, Commit Message: build(deps): bump device-sdk-go version (#330) [Pipeline] echo 07:38:51 [semverPrep] This is not a build commit. [Pipeline] sh 07:38:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:38:52 + grep -v github /etc/ssh/ssh_known_hosts 07:38:52 + [ -e /tmp/ssh_known_hosts ] 07:38:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:38:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:38:52 + sudo tee -a /etc/ssh/ssh_known_hosts 07:38:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:52 07:38:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:52 0.1.4: Pulling from edgex-devops/py-git-semver 07:38:52 b85a868b505f: Pulling fs layer 07:38:52 e2be974225ed: Pulling fs layer 07:38:52 339a4e72a1f5: Pulling fs layer 07:38:52 988bab9f4d93: Pulling fs layer 07:38:52 1469e6f7b9e6: Pulling fs layer 07:38:52 eaf3925da568: Pulling fs layer 07:38:52 988bab9f4d93: Waiting 07:38:52 bab4dde63d76: Pulling fs layer 07:38:52 bde34c3a00c8: Pulling fs layer 07:38:52 eaf3925da568: Waiting 07:38:52 bab4dde63d76: Waiting 07:38:52 bde34c3a00c8: Waiting 07:38:52 b352a97aabf1: Pulling fs layer 07:38:52 4872d77fe225: Pulling fs layer 07:38:52 5851b861e8e6: Pulling fs layer 07:38:52 b352a97aabf1: Waiting 07:38:52 5851b861e8e6: Waiting 07:38:52 1469e6f7b9e6: Waiting 07:38:52 e2be974225ed: Download complete 07:38:52 988bab9f4d93: Verifying Checksum 07:38:52 988bab9f4d93: Download complete 07:38:53 339a4e72a1f5: Verifying Checksum 07:38:53 339a4e72a1f5: Download complete 07:38:53 eaf3925da568: Verifying Checksum 07:38:53 eaf3925da568: Download complete 07:38:53 1469e6f7b9e6: Verifying Checksum 07:38:53 1469e6f7b9e6: Download complete 07:38:53 bde34c3a00c8: Verifying Checksum 07:38:53 bde34c3a00c8: Download complete 07:38:53 b352a97aabf1: Verifying Checksum 07:38:53 b352a97aabf1: Download complete 07:38:53 4872d77fe225: Verifying Checksum 07:38:53 4872d77fe225: Download complete 07:38:53 5851b861e8e6: Download complete 07:38:53 b85a868b505f: Verifying Checksum 07:38:53 b85a868b505f: Download complete 07:38:53 bab4dde63d76: Verifying Checksum 07:38:53 bab4dde63d76: Download complete 07:38:54 b85a868b505f: Pull complete 07:38:54 e2be974225ed: Pull complete 07:38:55 339a4e72a1f5: Pull complete 07:38:55 988bab9f4d93: Pull complete 07:38:55 1469e6f7b9e6: Pull complete 07:38:55 eaf3925da568: Pull complete 07:38:57 bab4dde63d76: Pull complete 07:38:57 bde34c3a00c8: Pull complete 07:38:57 b352a97aabf1: Pull complete 07:38:58 4872d77fe225: Pull complete 07:38:58 5851b861e8e6: Pull complete 07:38:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:38:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:38:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:58 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:38:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:39:00 $ docker top e57fe390133e43e63ac62723f4612b8de1f4d6f3e85db7b7e0c8ab892109bbb2 -eo pid,comm 07:39:00 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). 07:39:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:39:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:39:01 [ssh-agent] Looking for ssh-agent implementation... 07:39:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:39:01 $ docker exec e57fe390133e43e63ac62723f4612b8de1f4d6f3e85db7b7e0c8ab892109bbb2 ssh-agent 07:39:01 SSH_AUTH_SOCK=/tmp/ssh-XGGDVte1QOGw/agent.32 07:39:01 SSH_AGENT_PID=38 07:39:01 Running ssh-add (command line suppressed) 07:39:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12247483947651467104.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_12247483947651467104.key) 07:39:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:39:01 + git tag --points-at HEAD [Pipeline] } 07:39:01 $ docker exec --env ******** --env ******** e57fe390133e43e63ac62723f4612b8de1f4d6f3e85db7b7e0c8ab892109bbb2 ssh-agent -k 07:39:01 unset SSH_AUTH_SOCK; 07:39:01 unset SSH_AGENT_PID; 07:39:01 echo Agent pid 38 killed; 07:39:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:39:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:39:01 [ssh-agent] Looking for ssh-agent implementation... 07:39:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:39:01 $ docker exec e57fe390133e43e63ac62723f4612b8de1f4d6f3e85db7b7e0c8ab892109bbb2 ssh-agent 07:39:02 SSH_AUTH_SOCK=/tmp/ssh-46iUDth7BPTh/agent.70 07:39:02 SSH_AGENT_PID=76 07:39:02 Running ssh-add (command line suppressed) 07:39:02 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6875736690249660633.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6875736690249660633.key) 07:39:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:39:02 + git semver init 07:39:02 2023-01-30 07:39:02,638 [run_init] DEBUG init version:0.0.0 force:False 07:39:02 2023-01-30 07:39:02,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 07:39:02 2023-01-30 07:39:02,639 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 07:39:02 2023-01-30 07:39:02,640 [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) 07:39:04 2023-01-30 07:39:03,752 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 07:39:04 2023-01-30 07:39:03,752 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 07:39:04 2023-01-30 07:39:03,752 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:39:04 2023-01-30 07:39:03,753 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:39:04 3.0.0-dev.7 [Pipeline] } 07:39:04 $ docker exec --env ******** --env ******** e57fe390133e43e63ac62723f4612b8de1f4d6f3e85db7b7e0c8ab892109bbb2 ssh-agent -k 07:39:04 unset SSH_AUTH_SOCK; 07:39:04 unset SSH_AGENT_PID; 07:39:04 echo Agent pid 76 killed; 07:39:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:39:04 + git semver [Pipeline] } 07:39:04 $ docker stop --time=1 e57fe390133e43e63ac62723f4612b8de1f4d6f3e85db7b7e0c8ab892109bbb2 07:39:06 $ docker rm -f --volumes e57fe390133e43e63ac62723f4612b8de1f4d6f3e85db7b7e0c8ab892109bbb2 [Pipeline] // withDockerContainer [Pipeline] sh 07:39:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:39:06 Stashed 1 file(s) [Pipeline] echo 07:39:06 [edgeXSemver]: initialized semver on version 3.0.0-dev.7 [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 07:39:06 provisioning config files... 07:39:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1746579457724752492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:07 ---> docker-login.sh 07:39:07 nexus3.edgexfoundry.org:10001 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 nexus3.edgexfoundry.org:10002 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 nexus3.edgexfoundry.org:10003 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 nexus3.edgexfoundry.org:10004 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 docker.io 07:39:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:07 Configure a credential helper to remove this warning. See 07:39:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:07 07:39:07 Login Succeeded 07:39:07 ---> docker-login.sh ends [Pipeline] } 07:39:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:39:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:07 ========================================================= 07:39:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:39:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:08 + 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 . 07:39:08 Sending build context to Docker daemon 23.33MB 07:39:08 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 07:39:08 Step 2/12 : FROM ${BASE} AS builder 07:39:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:39:08 213ec9aee27d: Pulling fs layer 07:39:08 4583459ba037: Pulling fs layer 07:39:08 93c1e223e6f2: Pulling fs layer 07:39:08 53926ce57604: Pulling fs layer 07:39:08 21b2b0c7a3f4: Pulling fs layer 07:39:08 53926ce57604: Waiting 07:39:08 21b2b0c7a3f4: Waiting 07:39:08 22ff95d597cd: Pulling fs layer 07:39:08 12d6caf4c0d1: Pulling fs layer 07:39:08 22ff95d597cd: Waiting 07:39:08 96b7cbca73a9: Pulling fs layer 07:39:08 a7acece74701: Pulling fs layer 07:39:08 12d6caf4c0d1: Waiting 07:39:08 a7acece74701: Waiting 07:39:08 93c1e223e6f2: Download complete 07:39:08 4583459ba037: Download complete 07:39:08 21b2b0c7a3f4: Download complete 07:39:08 22ff95d597cd: Download complete 07:39:08 213ec9aee27d: Verifying Checksum 07:39:08 213ec9aee27d: Download complete 07:39:08 12d6caf4c0d1: Verifying Checksum 07:39:08 12d6caf4c0d1: Download complete 07:39:08 213ec9aee27d: Pull complete 07:39:08 4583459ba037: Pull complete 07:39:09 93c1e223e6f2: Pull complete 07:39:09 a7acece74701: Verifying Checksum 07:39:09 a7acece74701: Download complete 07:39:09 53926ce57604: Verifying Checksum 07:39:09 53926ce57604: Download complete 07:39:09 96b7cbca73a9: Verifying Checksum 07:39:09 96b7cbca73a9: Download complete 07:39:14 53926ce57604: Pull complete 07:39:14 21b2b0c7a3f4: Pull complete 07:39:14 22ff95d597cd: Pull complete 07:39:14 12d6caf4c0d1: Pull complete 07:39:16 96b7cbca73a9: Pull complete 07:39:16 a7acece74701: Pull complete 07:39:16 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 07:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:39:16 ---> db6d94c90886 07:39:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:39:21 ---> Running in 24aed876a71d 07:39:21 Removing intermediate container 24aed876a71d 07:39:21 ---> 9c2c83ef46c5 07:39:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:39:21 ---> Running in 2b02f5e3787f 07:39:21 Removing intermediate container 2b02f5e3787f 07:39:21 ---> 9a03bb9b277a 07:39:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:39:21 ---> Running in b969b9f667a5 07:39:21 Removing intermediate container b969b9f667a5 07:39:21 ---> b98780c92edc 07:39:21 Step 6/12 : WORKDIR /device-virtual-go 07:39:21 ---> Running in 0476c532d939 07:39:21 Removing intermediate container 0476c532d939 07:39:21 ---> 7c2b840307b2 07:39:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:21 ---> Running in cb930661fc03 07:39:21 Still waiting to schedule task 07:39:21 ‘prd-ubuntu20.04-docker-arm64-4c-16g-3957’ is offline 07:39:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:39:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:39:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:39:22 (2/4) Installing libedit (20210910.3.1-r0) 07:39:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:39:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:39:22 Executing busybox-1.35.0-r17.trigger 07:39:22 OK: 216 MiB in 55 packages 07:39:22 Removing intermediate container cb930661fc03 07:39:22 ---> 292b3fb58920 07:39:22 Step 8/12 : COPY go.mod vendor* ./ 07:39:22 ---> 180c7ff9f043 07:39:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:22 ---> Running in 96c37c96b0ea 07:39:55 Removing intermediate container 96c37c96b0ea 07:39:55 ---> acf156b78967 07:39:55 Step 10/12 : COPY . . 07:39:55 ---> e6e70277c353 07:39:55 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:55 ---> Running in 4f49d1611e8b 07:39:55 Removing intermediate container 4f49d1611e8b 07:39:55 ---> 8112d051cfbe 07:39:55 Step 12/12 : RUN $MAKE 07:39:55 ---> Running in 47ca63a22a15 07:39:55 noop 07:39:55 Removing intermediate container 47ca63a22a15 07:39:55 ---> 8bf50a321e32 07:39:55 Successfully built 8bf50a321e32 07:39:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:55 + docker inspect -f . ci-base-image-x86_64 07:39:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:55 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:39:55 $ 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 07:39:55 $ docker top 5256d411e2b3cc66db55e2208fae3d583afea1137f62d5622659942d5612fbec -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:56 + go version 07:39:56 go version go1.18.7 linux/amd64 [Pipeline] } 07:39:56 $ docker stop --time=1 5256d411e2b3cc66db55e2208fae3d583afea1137f62d5622659942d5612fbec 07:39:57 $ docker rm -f --volumes 5256d411e2b3cc66db55e2208fae3d583afea1137f62d5622659942d5612fbec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:57 + docker inspect -f . ci-base-image-x86_64 07:39:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:57 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:39:57 $ 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 07:39:58 $ docker top 7b2255e63f7763c82941e1b88ea7fea501c0870f73018ed62e2d21189b32e2e3 -eo pid,comm [Pipeline] { [Pipeline] sh 07:39:58 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 07:39:58 + make test 07:39:58 go test ./... -coverprofile=coverage.out 07:39:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:40:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:40:09 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 07:40:17 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." 07:40:17 go vet ./... 07:40:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:40:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:40:19 ./bin/test-attribution-txt.sh 07:40:19 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 07:40:19 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 07:40:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:40:19 $ docker stop --time=1 7b2255e63f7763c82941e1b88ea7fea501c0870f73018ed62e2d21189b32e2e3 07:40:22 $ docker rm -f --volumes 7b2255e63f7763c82941e1b88ea7fea501c0870f73018ed62e2d21189b32e2e3 [Pipeline] // withDockerContainer [Pipeline] sh 07:40:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:40:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:40:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:40:23 + ls -al . 07:40:23 total 196 07:40:23 drwxrwxr-x 9 jenkins jenkins 4096 Jan 30 07:39 . 07:40:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 07:38 .. 07:40:23 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 07:40 .git 07:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 07:38 .github 07:40:23 -rw-rw-r-- 1 jenkins jenkins 337 Jan 30 07:38 .gitignore 07:40:23 -rw-rw-r-- 1 jenkins jenkins 41 Jan 30 07:38 .golangci.yml 07:40:23 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 07:39 .semver 07:40:23 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 30 07:38 Attribution.txt 07:40:23 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 30 07:38 CHANGELOG.md 07:40:23 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 30 07:38 Dockerfile 07:40:23 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 07:38 GOVERNANCE.md 07:40:23 -rw-rw-r-- 1 jenkins jenkins 660 Jan 30 07:38 Jenkinsfile 07:40:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 30 07:38 LICENSE 07:40:23 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 30 07:38 Makefile 07:40:23 -rw-rw-r-- 1 jenkins jenkins 623 Jan 30 07:38 OWNERS.md 07:40:23 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 30 07:38 README.md 07:40:23 -rw-rw-r-- 1 jenkins jenkins 11 Jan 30 07:39 VERSION 07:40:23 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 07:38 bin 07:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 07:38 cmd 07:40:23 -rw-r--r-- 1 jenkins jenkins 44128 Jan 30 07:40 coverage.out 07:40:23 -rw-rw-r-- 1 jenkins jenkins 3306 Jan 30 07:38 go.mod 07:40:23 -rw-rw-r-- 1 jenkins jenkins 34165 Jan 30 07:38 go.sum 07:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 07:38 internal 07:40:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 07:38 snap 07:40:23 -rw-rw-r-- 1 jenkins jenkins 235 Jan 30 07:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:23 + 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=da9c53c8f531c50c136bf7f237b2fe6b058fda45 --label arch=amd64 --label version=3.0.0-dev.7 . 07:40:23 Sending build context to Docker daemon 23.37MB 07:40:23 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:40:23 Step 2/25 : FROM ${BASE} AS builder 07:40:23 ---> 8bf50a321e32 07:40:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:40:23 ---> Running in b4e470d38ac8 07:40:24 Removing intermediate container b4e470d38ac8 07:40:24 ---> 1771ece9f0b3 07:40:24 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:40:24 ---> Running in 2894cad8a2a7 07:40:24 Removing intermediate container 2894cad8a2a7 07:40:24 ---> 62d0f26d19bf 07:40:24 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:40:24 ---> Running in b2e6a4c2d8f5 07:40:24 Removing intermediate container b2e6a4c2d8f5 07:40:24 ---> d13e96f56386 07:40:24 Step 6/25 : WORKDIR /device-virtual-go 07:40:24 ---> Running in 6844b462fc40 07:40:24 Removing intermediate container 6844b462fc40 07:40:24 ---> 15cf1d556efe 07:40:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:40:24 ---> Running in 3d760b7dc549 07:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:40:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:40:24 OK: 216 MiB in 55 packages 07:40:25 Removing intermediate container 3d760b7dc549 07:40:25 ---> 53b5b976e338 07:40:25 Step 8/25 : COPY go.mod vendor* ./ 07:40:25 ---> d19d8dbc300e 07:40:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:25 ---> Running in a664a3d3dddd 07:40:26 Removing intermediate container a664a3d3dddd 07:40:26 ---> 68e63b4db9b7 07:40:26 Step 10/25 : COPY . . 07:40:27 ---> 09268d0ba722 07:40:27 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:40:27 ---> Running in 9e09b54782b2 07:40:27 Removing intermediate container 9e09b54782b2 07:40:27 ---> 70678502e900 07:40:27 Step 12/25 : RUN $MAKE 07:40:27 ---> Running in f391b6cb07b8 07:40:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:40:49 Removing intermediate container f391b6cb07b8 07:40:49 ---> 532371c463aa 07:40:49 Step 13/25 : FROM alpine:3.16 07:40:49 3.16: Pulling from library/alpine 07:40:49 ca7dd9ec2225: Pulling fs layer 07:40:49 ca7dd9ec2225: Verifying Checksum 07:40:49 ca7dd9ec2225: Download complete 07:40:49 ca7dd9ec2225: Pull complete 07:40:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 07:40:49 Status: Downloaded newer image for alpine:3.16 07:40:49 ---> bfe296a52501 07:40:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:40:49 ---> Running in 9ff219c24ac6 07:40:49 Removing intermediate container 9ff219c24ac6 07:40:49 ---> a40053322e2d 07:40:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:40:49 ---> Running in 1ae1a563fbd3 07:40:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:40:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:40:49 (1/1) Installing dumb-init (1.2.5-r1) 07:40:49 Executing busybox-1.35.0-r17.trigger 07:40:49 OK: 6 MiB in 15 packages 07:40:49 Removing intermediate container 1ae1a563fbd3 07:40:49 ---> 519f7dce9f01 07:40:49 Step 16/25 : WORKDIR / 07:40:49 ---> Running in b953272925ed 07:40:49 Removing intermediate container b953272925ed 07:40:49 ---> ea4fe76026b2 07:40:49 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:40:49 ---> 91a9271e5f2c 07:40:49 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:40:49 ---> a16f1fc5b1f0 07:40:49 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:40:49 ---> 6ccd9d39f9f5 07:40:49 Step 20/25 : EXPOSE 59900 07:40:49 ---> Running in 258efd898c94 07:40:49 Removing intermediate container 258efd898c94 07:40:49 ---> 176f96e5e74a 07:40:49 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:40:49 ---> Running in 41c049ec492d 07:40:50 Removing intermediate container 41c049ec492d 07:40:50 ---> 2f90659799c1 07:40:50 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:40:50 ---> Running in 44babd67aa23 07:40:50 Removing intermediate container 44babd67aa23 07:40:50 ---> ecd3b6d708e7 07:40:50 Step 23/25 : LABEL arch=amd64 07:40:50 ---> Running in 88f944a252db 07:40:50 Removing intermediate container 88f944a252db 07:40:50 ---> 54c1ada563be 07:40:50 Step 24/25 : LABEL git_sha=da9c53c8f531c50c136bf7f237b2fe6b058fda45 07:40:50 ---> Running in d71e62e0c766 07:40:50 Removing intermediate container d71e62e0c766 07:40:50 ---> d7005dca6b2c 07:40:50 Step 25/25 : LABEL version=3.0.0-dev.7 07:40:50 ---> Running in bac528e704ca 07:40:50 Removing intermediate container bac528e704ca 07:40:50 ---> ce65018e6d70 07:40:50 [Warning] One or more build-args [ARCH] were not consumed 07:40:50 Successfully built ce65018e6d70 07:40:50 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:40:50 provisioning config files... 07:40:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config16464052807958861428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:40:50 ---> docker-login.sh 07:40:50 nexus3.edgexfoundry.org:10001 07:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:50 Configure a credential helper to remove this warning. See 07:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:50 07:40:50 Login Succeeded 07:40:50 nexus3.edgexfoundry.org:10002 07:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:50 Configure a credential helper to remove this warning. See 07:40:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:50 07:40:50 Login Succeeded 07:40:50 nexus3.edgexfoundry.org:10003 07:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:51 Configure a credential helper to remove this warning. See 07:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:51 07:40:51 Login Succeeded 07:40:51 nexus3.edgexfoundry.org:10004 07:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:51 Configure a credential helper to remove this warning. See 07:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:51 07:40:51 Login Succeeded 07:40:51 docker.io 07:40:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:40:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:40:51 Configure a credential helper to remove this warning. See 07:40:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:40:51 07:40:51 Login Succeeded 07:40:51 ---> docker-login.sh ends [Pipeline] } 07:40:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:40:51 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 07:40:51 da9c53c8f531c50c136bf7f237b2fe6b058fda45 07:40:51 latest 07:40:51 3.0.0-dev.7 07:40:51 da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7 07:40:51 main 07:40:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:51 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:da9c53c8f531c50c136bf7f237b2fe6b058fda45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual:da9c53c8f531c50c136bf7f237b2fe6b058fda45 07:40:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:40:52 57385473b9b6: Preparing 07:40:52 e6cb55bc2bb2: Preparing 07:40:52 efe6523b4ab7: Preparing 07:40:52 5108a3151254: Preparing 07:40:52 e5e13b0c77cb: Preparing 07:40:52 e5e13b0c77cb: Layer already exists 07:40:52 5108a3151254: Pushed 07:40:52 e6cb55bc2bb2: Pushed 07:40:52 efe6523b4ab7: Pushed 07:40:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3959 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 07:40:53 Running in /w/workspace/device-virtual-go/78 [Pipeline] { [Pipeline] checkout 07:40:53 The recommended git tool is: git 07:40:54 57385473b9b6: Pushed 07:40:55 da9c53c8f531c50c136bf7f237b2fe6b058fda45: digest: sha256:72a7bc797fcac40a46927faea45e15b8dfe848b5fa4e8cec65d75661a3de6901 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:55 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:55 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 07:40:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:40:55 57385473b9b6: Preparing 07:40:55 e6cb55bc2bb2: Preparing 07:40:55 efe6523b4ab7: Preparing 07:40:55 5108a3151254: Preparing 07:40:55 e5e13b0c77cb: Preparing 07:40:55 57385473b9b6: Layer already exists 07:40:55 e5e13b0c77cb: Layer already exists 07:40:55 e6cb55bc2bb2: Layer already exists 07:40:55 efe6523b4ab7: Layer already exists 07:40:55 5108a3151254: Layer already exists 07:40:55 latest: digest: sha256:72a7bc797fcac40a46927faea45e15b8dfe848b5fa4e8cec65d75661a3de6901 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:56 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.7 07:40:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:40:56 57385473b9b6: Preparing 07:40:56 e6cb55bc2bb2: Preparing 07:40:56 efe6523b4ab7: Preparing 07:40:56 5108a3151254: Preparing 07:40:56 e5e13b0c77cb: Preparing 07:40:56 e5e13b0c77cb: Layer already exists 07:40:56 57385473b9b6: Layer already exists 07:40:56 5108a3151254: Layer already exists 07:40:56 e6cb55bc2bb2: Layer already exists 07:40:56 efe6523b4ab7: Layer already exists 07:40:56 3.0.0-dev.7: digest: sha256:72a7bc797fcac40a46927faea45e15b8dfe848b5fa4e8cec65d75661a3de6901 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:56 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7 07:40:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:40:57 57385473b9b6: Preparing 07:40:57 e6cb55bc2bb2: Preparing 07:40:57 efe6523b4ab7: Preparing 07:40:57 5108a3151254: Preparing 07:40:57 e5e13b0c77cb: Preparing 07:40:57 57385473b9b6: Layer already exists 07:40:57 e5e13b0c77cb: Layer already exists 07:40:57 efe6523b4ab7: Layer already exists 07:40:57 5108a3151254: Layer already exists 07:40:57 e6cb55bc2bb2: Layer already exists 07:40:57 da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7: digest: sha256:72a7bc797fcac40a46927faea45e15b8dfe848b5fa4e8cec65d75661a3de6901 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:57 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:57 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 07:40:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 07:40:57 57385473b9b6: Preparing 07:40:57 e6cb55bc2bb2: Preparing 07:40:57 efe6523b4ab7: Preparing 07:40:57 5108a3151254: Preparing 07:40:57 e5e13b0c77cb: Preparing 07:40:57 efe6523b4ab7: Layer already exists 07:40:57 57385473b9b6: Layer already exists 07:40:57 e6cb55bc2bb2: Layer already exists 07:40:57 5108a3151254: Layer already exists 07:40:57 e5e13b0c77cb: Layer already exists 07:40:57 main: digest: sha256:72a7bc797fcac40a46927faea45e15b8dfe848b5fa4e8cec65d75661a3de6901 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:40:57 ===================================================== [Pipeline] echo 07:40:57 taggedImages: 07:40:57 - nexus3.edgexfoundry.org:10004/device-virtual:da9c53c8f531c50c136bf7f237b2fe6b058fda45 07:40:57 - nexus3.edgexfoundry.org:10004/device-virtual:latest 07:40:57 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.7 07:40:57 - nexus3.edgexfoundry.org:10004/device-virtual:da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7 07:40:57 - 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 07:40:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:58 07:40:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:40:58 latest: Pulling from edgex-lftools-log-publisher 07:40:58 5eb5b503b376: Pulling fs layer 07:40:58 5c69ac0246d0: Pulling fs layer 07:40:58 ec43610c2a17: Pulling fs layer 07:40:58 3a2ae6a8a46f: Pulling fs layer 07:40:58 33b1e0a273af: Pulling fs layer 07:40:58 5d3b04190fa2: Pulling fs layer 07:40:58 2f39f015ded8: Pulling fs layer 07:40:58 33b1e0a273af: Waiting 07:40:58 5d3b04190fa2: Waiting 07:40:58 2f39f015ded8: Waiting 07:40:58 5c69ac0246d0: Download complete 07:40:58 3a2ae6a8a46f: Verifying Checksum 07:40:58 3a2ae6a8a46f: Download complete 07:40:58 using credential edgex-jenkins-ssh 07:40:58 Cloning the remote Git repository 07:40:58 33b1e0a273af: Verifying Checksum 07:40:58 33b1e0a273af: Download complete 07:40:58 5d3b04190fa2: Verifying Checksum 07:40:58 5d3b04190fa2: Download complete 07:40:58 ec43610c2a17: Verifying Checksum 07:40:58 ec43610c2a17: Download complete 07:40:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:40:58 > git init /w/workspace/device-virtual-go/78 # timeout=10 07:40:58 5eb5b503b376: Download complete 07:40:59 2f39f015ded8: Download complete 07:41:00 5eb5b503b376: Pull complete 07:41:00 5c69ac0246d0: Pull complete 07:41:00 ec43610c2a17: Pull complete 07:41:00 3a2ae6a8a46f: Pull complete 07:41:00 33b1e0a273af: Pull complete 07:41:00 5d3b04190fa2: Pull complete 07:41:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:41:01 > git --version # timeout=10 07:41:01 > git --version # 'git version 2.25.1' 07:41:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:41:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:41:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:41:04 Avoid second fetch 07:41:04 Checking out Revision da9c53c8f531c50c136bf7f237b2fe6b058fda45 (main) 07:41:04 Commit message: "build(deps): bump device-sdk-go version (#330)" 07:41:05 2f39f015ded8: Pull complete 07:41:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:41:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:41:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:05 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:41:05 $ 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 07:41:05 07:41:05 GitHub has been notified of this commit’s build result 07:41:05 07:41:04 > git config core.sparsecheckout # timeout=10 07:41:04 > git checkout -f da9c53c8f531c50c136bf7f237b2fe6b058fda45 # timeout=10 07:41:08 $ docker top 9307c0b40a72eded64b7ab6ec94dea075760b36ef61bf1b92f6d48a0ffbfcb3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:41:08 ---> job-cost.sh 07:41:08 lf-activate-venv: SKIPPING 07:41:08 INFO: No Stack... 07:41:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:41:09 % Total % Received % Xferd Average Speed Time Time Time Current 07:41:09 Dload Upload Total Spent Left Speed 07:41:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k 07:41:09 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 07:41:09 INFO: Archiving Costs [Pipeline] sh 07:41:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:41:10 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 07:41:10 + cut -d, -f6 [Pipeline] lock 07:41:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-78-stack-cost] 07:41:10 Resource [jenkins-edgexfoundry-device-virtual-go-main-78-stack-cost] did not exist. Created. 07:41:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:41:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:41:10 + sudo tee /etc/docker/daemon.new 07:41:10 { 07:41:10 "registry-mirrors": [ 07:41:10 "https://nexus3.edgexfoundry.org:10001" 07:41:10 ], 07:41:10 "bip": "10.250.0.254/24", 07:41:10 "hosts": [ 07:41:10 "tcp://0.0.0.0:5555", 07:41:10 "unix:///var/run/docker.sock" 07:41:10 ], 07:41:10 "mtu": 1458, 07:41:10 "selinux-enabled": true, 07:41:10 "seccomp-profile": "/etc/docker/seccomp.json" 07:41:10 } [Pipeline] sh 07:41:10 + echo total: 0.2199999988079071 [Pipeline] stash 07:41:10 Stashed 1 file(s) [Pipeline] } 07:41:10 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 07:41:10 $ docker stop --time=1 9307c0b40a72eded64b7ab6ec94dea075760b36ef61bf1b92f6d48a0ffbfcb3b 07:41:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 07:41:11 $ docker rm -f --volumes 9307c0b40a72eded64b7ab6ec94dea075760b36ef61bf1b92f6d48a0ffbfcb3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:41:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:41:30 provisioning config files... 07:41:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/78@tmp/config3211786403466720159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:30 ---> docker-login.sh 07:41:30 nexus3.edgexfoundry.org:10001 07:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:31 Configure a credential helper to remove this warning. See 07:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:31 07:41:31 Login Succeeded 07:41:31 nexus3.edgexfoundry.org:10002 07:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:31 Configure a credential helper to remove this warning. See 07:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:31 07:41:31 Login Succeeded 07:41:31 nexus3.edgexfoundry.org:10003 07:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:31 Configure a credential helper to remove this warning. See 07:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:31 07:41:31 Login Succeeded 07:41:31 nexus3.edgexfoundry.org:10004 07:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:32 Configure a credential helper to remove this warning. See 07:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:32 07:41:32 Login Succeeded 07:41:32 docker.io 07:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:41:32 Configure a credential helper to remove this warning. See 07:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:41:32 07:41:32 Login Succeeded 07:41:32 ---> docker-login.sh ends [Pipeline] } 07:41:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:41:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:41:33 ========================================================= 07:41:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:41:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:33 + 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 . 07:41:33 Sending build context to Docker daemon 11.81MB 07:41:33 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 07:41:33 Step 2/12 : FROM ${BASE} AS builder 07:41:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:41:33 9b18e9b68314: Pulling fs layer 07:41:33 35d82f9e3411: Pulling fs layer 07:41:33 e16973657156: Pulling fs layer 07:41:33 fc693d55d65f: Pulling fs layer 07:41:33 7e9fc2657dce: Pulling fs layer 07:41:33 dda99020689f: Pulling fs layer 07:41:33 db1c61fa0a46: Pulling fs layer 07:41:33 891c053d2c06: Pulling fs layer 07:41:33 fc693d55d65f: Waiting 07:41:33 7e9fc2657dce: Waiting 07:41:33 dda99020689f: Waiting 07:41:33 db1c61fa0a46: Waiting 07:41:33 891c053d2c06: Waiting 07:41:33 e16973657156: Verifying Checksum 07:41:33 e16973657156: Download complete 07:41:33 35d82f9e3411: Download complete 07:41:33 7e9fc2657dce: Verifying Checksum 07:41:33 7e9fc2657dce: Download complete 07:41:33 dda99020689f: Verifying Checksum 07:41:33 dda99020689f: Download complete 07:41:33 9b18e9b68314: Download complete 07:41:34 9b18e9b68314: Pull complete 07:41:35 891c053d2c06: Verifying Checksum 07:41:35 891c053d2c06: Download complete 07:41:35 35d82f9e3411: Pull complete 07:41:35 e16973657156: Pull complete 07:41:36 db1c61fa0a46: Verifying Checksum 07:41:36 db1c61fa0a46: Download complete 07:41:36 fc693d55d65f: Verifying Checksum 07:41:36 fc693d55d65f: Download complete 07:41:49 fc693d55d65f: Pull complete 07:41:49 7e9fc2657dce: Pull complete 07:41:49 dda99020689f: Pull complete 07:41:54 db1c61fa0a46: Pull complete 07:41:57 891c053d2c06: Pull complete 07:41:57 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 07:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:41:57 ---> f96f9c87975a 07:41:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:41:58 ---> Running in 234dff772bec 07:41:58 Removing intermediate container 234dff772bec 07:41:58 ---> 63a95ccead71 07:41:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:41:59 ---> Running in 4b846abe196d 07:41:59 Removing intermediate container 4b846abe196d 07:41:59 ---> 3ea0959a8f3d 07:41:59 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:41:59 ---> Running in be82a89ee7ba 07:41:59 Removing intermediate container be82a89ee7ba 07:41:59 ---> 29bc3cf9e471 07:41:59 Step 6/12 : WORKDIR /device-virtual-go 07:41:59 ---> Running in c0c5398d429c 07:41:59 Removing intermediate container c0c5398d429c 07:41:59 ---> 2316d8cdc257 07:41:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:42:00 ---> Running in 187427fea776 07:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:42:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:42:02 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:42:02 (2/4) Installing libedit (20210910.3.1-r0) 07:42:02 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:42:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:42:02 Executing busybox-1.35.0-r17.trigger 07:42:02 OK: 226 MiB in 55 packages 07:42:04 Removing intermediate container 187427fea776 07:42:04 ---> 67b44aee2ef8 07:42:04 Step 8/12 : COPY go.mod vendor* ./ 07:42:05 ---> f0fc4b8aecbc 07:42:05 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:42:05 ---> Running in ca59051a5093 07:43:01 Removing intermediate container ca59051a5093 07:43:01 ---> c58cc3c73134 07:43:01 Step 10/12 : COPY . . 07:43:03 ---> f3be3eb88d5a 07:43:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:43:03 ---> Running in 6c7d80757fd6 07:43:03 Removing intermediate container 6c7d80757fd6 07:43:03 ---> 1fad008739f1 07:43:03 Step 12/12 : RUN $MAKE 07:43:03 ---> Running in cf83e5a3f9d8 07:43:04 noop 07:43:05 Removing intermediate container cf83e5a3f9d8 07:43:05 ---> d02c95d49de8 07:43:05 Successfully built d02c95d49de8 07:43:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:05 + docker inspect -f . ci-base-image-arm64 07:43:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:05 prd-ubuntu20.04-docker-arm64-4c-16g-3959 does not seem to be running inside a container 07:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/78 -v /w/workspace/device-virtual-go/78:/w/workspace/device-virtual-go/78:rw,z -v /w/workspace/device-virtual-go/78@tmp:/w/workspace/device-virtual-go/78@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 07:43:06 $ docker top f8f7f0c3a64fab8849f6438978439621071565be571f671d07a558e92988aab7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:07 + go version 07:43:07 go version go1.18.7 linux/arm64 [Pipeline] } 07:43:07 $ docker stop --time=1 f8f7f0c3a64fab8849f6438978439621071565be571f671d07a558e92988aab7 07:43:09 $ docker rm -f --volumes f8f7f0c3a64fab8849f6438978439621071565be571f671d07a558e92988aab7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:09 + docker inspect -f . ci-base-image-arm64 07:43:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:43:09 prd-ubuntu20.04-docker-arm64-4c-16g-3959 does not seem to be running inside a container 07:43:10 $ 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/78 -v /w/workspace/device-virtual-go/78:/w/workspace/device-virtual-go/78:rw,z -v /w/workspace/device-virtual-go/78@tmp:/w/workspace/device-virtual-go/78@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 07:43:11 $ docker top 5d095e41006d631ee10cab1733d2c7f2790d597a7311eec2c4fb028989f0afe1 -eo pid,comm [Pipeline] { [Pipeline] sh 07:43:11 + git config --global --add safe.directory /w/workspace/device-virtual-go/78 [Pipeline] fileExists [Pipeline] sh 07:43:11 + make test 07:43:11 go test ./... -coverprofile=coverage.out 07:43:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:44:34 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:44:34 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.125s coverage: 65.7% of statements 07:44:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:44:34 go vet ./... 07:44:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:44:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:44:47 ./bin/test-attribution-txt.sh 07:44:47 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 07:44:47 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 07:44:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:44:47 $ docker stop --time=1 5d095e41006d631ee10cab1733d2c7f2790d597a7311eec2c4fb028989f0afe1 07:44:50 $ docker rm -f --volumes 5d095e41006d631ee10cab1733d2c7f2790d597a7311eec2c4fb028989f0afe1 [Pipeline] // withDockerContainer [Pipeline] sh 07:44:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:44:51 Warning: overwriting stash ‘coverage-report’ 07:44:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:44:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:44:52 + ls -al . 07:44:52 total 192 07:44:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 07:43 . 07:44:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 07:41 .. 07:44:52 drwxrwxr-x 8 jenkins jenkins 4096 Jan 30 07:41 .git 07:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 07:41 .github 07:44:52 -rw-rw-r-- 1 jenkins jenkins 337 Jan 30 07:41 .gitignore 07:44:52 -rw-rw-r-- 1 jenkins jenkins 41 Jan 30 07:41 .golangci.yml 07:44:52 -rw-rw-r-- 1 jenkins jenkins 8423 Jan 30 07:41 Attribution.txt 07:44:52 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 30 07:41 CHANGELOG.md 07:44:52 -rw-rw-r-- 1 jenkins jenkins 1646 Jan 30 07:41 Dockerfile 07:44:52 -rw-rw-r-- 1 jenkins jenkins 677 Jan 30 07:41 GOVERNANCE.md 07:44:52 -rw-rw-r-- 1 jenkins jenkins 660 Jan 30 07:41 Jenkinsfile 07:44:52 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 30 07:41 LICENSE 07:44:52 -rw-rw-r-- 1 jenkins jenkins 1661 Jan 30 07:41 Makefile 07:44:52 -rw-rw-r-- 1 jenkins jenkins 623 Jan 30 07:41 OWNERS.md 07:44:52 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 30 07:41 README.md 07:44:52 -rw-rw-r-- 1 jenkins jenkins 11 Jan 30 07:39 VERSION 07:44:52 drwxrwxr-x 2 jenkins jenkins 4096 Jan 30 07:41 bin 07:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 07:41 cmd 07:44:52 -rw-r--r-- 1 jenkins jenkins 44128 Jan 30 07:44 coverage.out 07:44:52 -rw-rw-r-- 1 jenkins jenkins 3306 Jan 30 07:41 go.mod 07:44:52 -rw-rw-r-- 1 jenkins jenkins 34165 Jan 30 07:41 go.sum 07:44:52 drwxrwxr-x 3 jenkins jenkins 4096 Jan 30 07:41 internal 07:44:52 drwxrwxr-x 4 jenkins jenkins 4096 Jan 30 07:41 snap 07:44:52 -rw-rw-r-- 1 jenkins jenkins 235 Jan 30 07:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:44:52 + 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=da9c53c8f531c50c136bf7f237b2fe6b058fda45 --label arch=arm64 --label version=3.0.0-dev.7 . 07:44:53 Sending build context to Docker daemon 11.86MB 07:44:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:44:53 Step 2/25 : FROM ${BASE} AS builder 07:44:53 ---> d02c95d49de8 07:44:53 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:44:53 ---> Running in 62eceac2b041 07:44:53 Removing intermediate container 62eceac2b041 07:44:53 ---> 4039f403a919 07:44:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:44:53 ---> Running in 54d2da537671 07:44:53 Removing intermediate container 54d2da537671 07:44:53 ---> b3027f9b4665 07:44:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:44:53 ---> Running in ec93a3cc30a4 07:44:54 Removing intermediate container ec93a3cc30a4 07:44:54 ---> 3571e24df1a5 07:44:54 Step 6/25 : WORKDIR /device-virtual-go 07:44:54 ---> Running in f053687dbc03 07:44:54 Removing intermediate container f053687dbc03 07:44:54 ---> 67171a33a18f 07:44:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:44:54 ---> Running in f3be63ed102c 07:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:44:56 OK: 226 MiB in 55 packages 07:44:57 Removing intermediate container f3be63ed102c 07:44:57 ---> 0404722478ae 07:44:57 Step 8/25 : COPY go.mod vendor* ./ 07:44:58 ---> c99896a0eb7f 07:44:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:44:58 ---> Running in a2c0012ffbd5 07:45:00 Removing intermediate container a2c0012ffbd5 07:45:00 ---> f2545a32974a 07:45:00 Step 10/25 : COPY . . 07:45:02 ---> b3a8010c950d 07:45:02 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:45:02 ---> Running in 138d2f49f93e 07:45:02 Removing intermediate container 138d2f49f93e 07:45:02 ---> fab9bd11e9dd 07:45:02 Step 12/25 : RUN $MAKE 07:45:02 ---> Running in 3acb5a1794f4 07:45:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:47:25 Removing intermediate container 3acb5a1794f4 07:47:25 ---> 3428830ba029 07:47:25 Step 13/25 : FROM alpine:3.16 07:47:25 3.16: Pulling from library/alpine 07:47:25 6875df1f5354: Pulling fs layer 07:47:25 6875df1f5354: Verifying Checksum 07:47:25 6875df1f5354: Download complete 07:47:25 6875df1f5354: Pull complete 07:47:25 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 07:47:25 Status: Downloaded newer image for alpine:3.16 07:47:25 ---> 2b4661558fb8 07:47:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:47:25 ---> Running in 63b1929e0ca3 07:47:25 Removing intermediate container 63b1929e0ca3 07:47:25 ---> 4c5173e7c3c8 07:47:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:47:25 ---> Running in 33e951a2263a 07:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:47:26 (1/1) Installing dumb-init (1.2.5-r1) 07:47:26 Executing busybox-1.35.0-r17.trigger 07:47:26 OK: 5 MiB in 15 packages 07:47:27 Removing intermediate container 33e951a2263a 07:47:27 ---> 286439fca5d4 07:47:27 Step 16/25 : WORKDIR / 07:47:27 ---> Running in 5899e4081aed 07:47:27 Removing intermediate container 5899e4081aed 07:47:27 ---> b3a77d329d54 07:47:27 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:47:27 ---> 5db5843e26cf 07:47:27 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:47:28 ---> 2b533c900403 07:47:28 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:47:31 ---> be8d983d1610 07:47:31 Step 20/25 : EXPOSE 59900 07:47:31 ---> Running in da7eba91b53a 07:47:31 Removing intermediate container da7eba91b53a 07:47:31 ---> 0c846bf85e7c 07:47:31 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:47:31 ---> Running in 46259b52a8fb 07:47:31 Removing intermediate container 46259b52a8fb 07:47:31 ---> b391aecbf48b 07:47:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:47:31 ---> Running in 3e31f2bf3e5b 07:47:32 Removing intermediate container 3e31f2bf3e5b 07:47:32 ---> a3145ffbd43d 07:47:32 Step 23/25 : LABEL arch=arm64 07:47:32 ---> Running in c280dd240f32 07:47:32 Removing intermediate container c280dd240f32 07:47:32 ---> b1beab1a82ac 07:47:32 Step 24/25 : LABEL git_sha=da9c53c8f531c50c136bf7f237b2fe6b058fda45 07:47:32 ---> Running in cc792ea69b1d 07:47:32 Removing intermediate container cc792ea69b1d 07:47:32 ---> 3f2b27f136a1 07:47:32 Step 25/25 : LABEL version=3.0.0-dev.7 07:47:32 ---> Running in 912b3fa400df 07:47:32 Removing intermediate container 912b3fa400df 07:47:32 ---> 9429aaa39874 07:47:32 [Warning] One or more build-args [ARCH] were not consumed 07:47:33 Successfully built 9429aaa39874 07:47:33 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 07:47:33 provisioning config files... 07:47:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/78@tmp/config552197828890182405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:33 ---> docker-login.sh 07:47:33 nexus3.edgexfoundry.org:10001 07:47:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:33 Configure a credential helper to remove this warning. See 07:47:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:33 07:47:33 Login Succeeded 07:47:33 nexus3.edgexfoundry.org:10002 07:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:34 Configure a credential helper to remove this warning. See 07:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:34 07:47:34 Login Succeeded 07:47:34 nexus3.edgexfoundry.org:10003 07:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:34 Configure a credential helper to remove this warning. See 07:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:34 07:47:34 Login Succeeded 07:47:34 nexus3.edgexfoundry.org:10004 07:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:35 Configure a credential helper to remove this warning. See 07:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:35 07:47:35 Login Succeeded 07:47:35 docker.io 07:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:47:35 Configure a credential helper to remove this warning. See 07:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:47:35 07:47:35 Login Succeeded 07:47:35 ---> docker-login.sh ends [Pipeline] } 07:47:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:47:35 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 07:47:35 da9c53c8f531c50c136bf7f237b2fe6b058fda45 07:47:35 latest 07:47:35 3.0.0-dev.7 07:47:35 da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7 07:47:35 main 07:47:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:35 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:da9c53c8f531c50c136bf7f237b2fe6b058fda45 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:da9c53c8f531c50c136bf7f237b2fe6b058fda45 07:47:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:47:36 9d48761c4496: Preparing 07:47:36 d1f2d5166721: Preparing 07:47:36 65e7eb30c919: Preparing 07:47:36 43232de85b90: Preparing 07:47:36 17bec77d7fdc: Preparing 07:47:36 17bec77d7fdc: Layer already exists 07:47:36 65e7eb30c919: Pushed 07:47:36 d1f2d5166721: Pushed 07:47:36 43232de85b90: Pushed 07:47:41 9d48761c4496: Pushed 07:47:41 da9c53c8f531c50c136bf7f237b2fe6b058fda45: digest: sha256:eeb348b9eb6b1d38fd00c70af699bcf4a65308df1314e3953daedc8ea33d373a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:42 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 07:47:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:47:42 9d48761c4496: Preparing 07:47:42 d1f2d5166721: Preparing 07:47:42 65e7eb30c919: Preparing 07:47:42 43232de85b90: Preparing 07:47:42 17bec77d7fdc: Preparing 07:47:42 17bec77d7fdc: Layer already exists 07:47:42 43232de85b90: Layer already exists 07:47:42 65e7eb30c919: Layer already exists 07:47:42 d1f2d5166721: Layer already exists 07:47:42 9d48761c4496: Layer already exists 07:47:42 latest: digest: sha256:eeb348b9eb6b1d38fd00c70af699bcf4a65308df1314e3953daedc8ea33d373a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.7 07:47:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:47:43 9d48761c4496: Preparing 07:47:43 d1f2d5166721: Preparing 07:47:43 65e7eb30c919: Preparing 07:47:43 43232de85b90: Preparing 07:47:43 17bec77d7fdc: Preparing 07:47:43 17bec77d7fdc: Layer already exists 07:47:43 65e7eb30c919: Layer already exists 07:47:43 9d48761c4496: Layer already exists 07:47:43 d1f2d5166721: Layer already exists 07:47:43 43232de85b90: Layer already exists 07:47:43 3.0.0-dev.7: digest: sha256:eeb348b9eb6b1d38fd00c70af699bcf4a65308df1314e3953daedc8ea33d373a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:43 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7 07:47:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:47:44 9d48761c4496: Preparing 07:47:44 d1f2d5166721: Preparing 07:47:44 65e7eb30c919: Preparing 07:47:44 43232de85b90: Preparing 07:47:44 17bec77d7fdc: Preparing 07:47:44 17bec77d7fdc: Layer already exists 07:47:44 d1f2d5166721: Layer already exists 07:47:44 65e7eb30c919: Layer already exists 07:47:44 9d48761c4496: Layer already exists 07:47:44 43232de85b90: Layer already exists 07:47:44 da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7: digest: sha256:eeb348b9eb6b1d38fd00c70af699bcf4a65308df1314e3953daedc8ea33d373a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:44 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 07:47:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 07:47:44 9d48761c4496: Preparing 07:47:44 d1f2d5166721: Preparing 07:47:44 65e7eb30c919: Preparing 07:47:44 43232de85b90: Preparing 07:47:44 17bec77d7fdc: Preparing 07:47:44 17bec77d7fdc: Layer already exists 07:47:44 65e7eb30c919: Layer already exists 07:47:44 43232de85b90: Layer already exists 07:47:44 9d48761c4496: Layer already exists 07:47:44 d1f2d5166721: Layer already exists 07:47:44 main: digest: sha256:eeb348b9eb6b1d38fd00c70af699bcf4a65308df1314e3953daedc8ea33d373a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:47:45 ===================================================== [Pipeline] echo 07:47:45 taggedImages: 07:47:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:da9c53c8f531c50c136bf7f237b2fe6b058fda45 07:47:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 07:47:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.7 07:47:45 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:da9c53c8f531c50c136bf7f237b2fe6b058fda45-3.0.0-dev.7 07:47:45 - 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 07:47:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:45 07:47:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:47:46 arm64: Pulling from edgex-lftools-log-publisher 07:47:46 8998bd30e6a1: Pulling fs layer 07:47:46 04944245beec: Pulling fs layer 07:47:46 699f458cf7ca: Pulling fs layer 07:47:46 765212b225bb: Pulling fs layer 07:47:46 f23df028b6ca: Pulling fs layer 07:47:46 d65c8cfc05b1: Pulling fs layer 07:47:46 2437ff75d9bd: Pulling fs layer 07:47:46 d65c8cfc05b1: Waiting 07:47:46 2437ff75d9bd: Waiting 07:47:46 765212b225bb: Waiting 07:47:46 f23df028b6ca: Waiting 07:47:46 04944245beec: Verifying Checksum 07:47:46 04944245beec: Download complete 07:47:46 765212b225bb: Verifying Checksum 07:47:46 765212b225bb: Download complete 07:47:46 f23df028b6ca: Verifying Checksum 07:47:46 f23df028b6ca: Download complete 07:47:46 d65c8cfc05b1: Verifying Checksum 07:47:46 d65c8cfc05b1: Download complete 07:47:46 699f458cf7ca: Verifying Checksum 07:47:46 699f458cf7ca: Download complete 07:47:46 8998bd30e6a1: Verifying Checksum 07:47:46 8998bd30e6a1: Download complete 07:47:49 2437ff75d9bd: Verifying Checksum 07:47:49 2437ff75d9bd: Download complete 07:47:50 8998bd30e6a1: Pull complete 07:47:51 04944245beec: Pull complete 07:47:52 699f458cf7ca: Pull complete 07:47:52 765212b225bb: Pull complete 07:47:53 f23df028b6ca: Pull complete 07:47:53 d65c8cfc05b1: Pull complete 07:48:08 2437ff75d9bd: Pull complete 07:48:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:48:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:48:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:09 prd-ubuntu20.04-docker-arm64-4c-16g-3959 does not seem to be running inside a container 07:48:09 $ 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/78 -v /w/workspace/device-virtual-go/78:/w/workspace/device-virtual-go/78:rw,z -v /w/workspace/device-virtual-go/78@tmp:/w/workspace/device-virtual-go/78@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 07:48:11 $ docker top 56112e80eb495e6b932010d937ce88ae0523bcb16a3d472a0673dd56bd9be7d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:48:12 ---> job-cost.sh 07:48:12 lf-activate-venv: SKIPPING 07:48:12 INFO: No Stack... 07:48:12 INFO: Retrieving Pricing Info for: v3-standard-4 07:48:13 INFO: Archiving Costs [Pipeline] sh 07:48:14 + cat /w/workspace/device-virtual-go/78/archives/cost.csv 07:48:14 + cut -d, -f6 [Pipeline] lock 07:48:14 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-78-stack-cost] 07:48:14 Resource [jenkins-edgexfoundry-device-virtual-go-main-78-stack-cost] did not exist. Created. 07:48:14 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:48:14 /w/workspace/device-virtual-go/78@tmp/durable-55c6fcaf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:48:15 + echo total: 0.10999999940395355 [Pipeline] stash 07:48:15 Warning: overwriting stash ‘stack-cost’ 07:48:15 Stashed 1 file(s) [Pipeline] } 07:48:15 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 07:48:15 $ docker stop --time=1 56112e80eb495e6b932010d937ce88ae0523bcb16a3d472a0673dd56bd9be7d1 07:48:17 $ docker rm -f --volumes 56112e80eb495e6b932010d937ce88ae0523bcb16a3d472a0673dd56bd9be7d1 [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 07:48:17 provisioning config files... 07:48:17 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4503863207388995679tmp [Pipeline] { [Pipeline] sh 07:48:17 + set +x 07:48:17 + curl -s https://codecov.io/bash 07:48:17 + bash -s -- 07:48:17 07:48:17 _____ _ 07:48:17 / ____| | | 07:48:17 | | ___ __| | ___ ___ _____ __ 07:48:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:48:17 | |___| (_) | (_| | __/ (_| (_) \ V / 07:48:17 \_____\___/ \__,_|\___|\___\___/ \_/ 07:48:17 Bash-1.0.6 07:48:17 07:48:17 07:48:17 ==> git version 2.25.1 found 07:48:17 ==> 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 07:48:17 Release-Date: 2020-01-08 07:48:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:48:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:48:17 ==> Jenkins CI detected. 07:48:17 current dir:  /w/workspace/exfoundry_device-virtual-go_main 07:48:17 project root: . 07:48:17 --> token set from env 07:48:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:48:17 ==> Running gcov in . (disable via -X gcov) 07:48:17 ==> Python coveragepy not found 07:48:17 ==> Searching for coverage reports in: 07:48:17 + . 07:48:17 -> Found 1 reports 07:48:17 ==> Detecting git/mercurial file structure 07:48:18 ==> Reading reports 07:48:18 + ./coverage.out bytes=44128 07:48:18 ==> Appending adjustments 07:48:18 https://docs.codecov.io/docs/fixing-reports 07:48:18 + Found adjustments 07:48:18 ==> Gzipping contents 07:48:18 8.0K /tmp/codecov.kYcLpM.gz 07:48:18 ==> Uploading reports 07:48:18 url: https://codecov.io 07:48:18 query: branch=main&commit=da9c53c8f531c50c136bf7f237b2fe6b058fda45&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:48:18 -> Pinging Codecov 07:48:18 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=da9c53c8f531c50c136bf7f237b2fe6b058fda45&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:48:18 -> Uploading to 07:48:18 https://storage.googleapis.com/codecov/v4/raw/2023-01-30/5E52B4B073DB2E39498172D8E973AA87/da9c53c8f531c50c136bf7f237b2fe6b058fda45/637f0848-9b8f-4b8e-91c4-d4bb03b30615.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230130T074818Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e3567f1e656892529b59eb80cd28367592362af60235a17912074cd8c21535e4 07:48:18 % Total % Received % Xferd Average Speed Time Time Time Current 07:48:18 Dload Upload Total Spent Left Speed 07:48:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5478 0 0 100 5478 0 19425 --:--:-- --:--:-- --:--:-- 19425 07:48:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/da9c53c8f531c50c136bf7f237b2fe6b058fda45 [Pipeline] } 07:48:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:48:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:48:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:48:19 07:48:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:48:19 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:48:19 df9b9388f04a: Pulling fs layer 07:48:19 52dc419b0ee2: Pulling fs layer 07:48:19 25bc292e5bac: Pulling fs layer 07:48:19 114826534d7a: Pulling fs layer 07:48:19 4657fd5d0bcf: Pulling fs layer 07:48:19 6ad1cebc031e: Pulling fs layer 07:48:19 8a3aa393b2d8: Pulling fs layer 07:48:19 114826534d7a: Waiting 07:48:19 4657fd5d0bcf: Waiting 07:48:19 6ad1cebc031e: Waiting 07:48:19 8a3aa393b2d8: Waiting 07:48:19 25bc292e5bac: Verifying Checksum 07:48:19 25bc292e5bac: Download complete 07:48:19 52dc419b0ee2: Download complete 07:48:19 4657fd5d0bcf: Download complete 07:48:19 df9b9388f04a: Verifying Checksum 07:48:19 df9b9388f04a: Download complete 07:48:19 df9b9388f04a: Pull complete 07:48:20 52dc419b0ee2: Pull complete 07:48:20 25bc292e5bac: Pull complete 07:48:20 6ad1cebc031e: Verifying Checksum 07:48:20 6ad1cebc031e: Download complete 07:48:21 114826534d7a: Verifying Checksum 07:48:21 114826534d7a: Download complete 07:48:21 8a3aa393b2d8: Verifying Checksum 07:48:21 8a3aa393b2d8: Download complete 07:48:24 114826534d7a: Pull complete 07:48:24 4657fd5d0bcf: Pull complete 07:48:24 6ad1cebc031e: Pull complete 07:48:27 8a3aa393b2d8: Pull complete 07:48:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:48:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:48:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:27 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:48:27 $ 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 07:48:33 $ docker top 6b5dfe7d4993a39e2f8894925369bcb568139f7d938ec53f45fbfe075fd606b0 -eo pid,comm [Pipeline] { [Pipeline] echo 07:48:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 07:48:33 + set -o pipefail 07:48:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 07:48:41 07:48:41 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 07:48:41 07:48:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/f13d6d06-a5ba-4bdd-9cf6-e72cdedce367 07:48:41 07:48:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 07:48:41 07:48:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:48:41 07:48:41 07:48:41 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:48:41 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:48:41 More details here: https://snyk.co/ue1NS [Pipeline] } 07:48:41 $ docker stop --time=1 6b5dfe7d4993a39e2f8894925369bcb568139f7d938ec53f45fbfe075fd606b0 07:48:46 $ docker rm -f --volumes 6b5dfe7d4993a39e2f8894925369bcb568139f7d938ec53f45fbfe075fd606b0 [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 07:48:47 + git log --format=format:%s -1 da9c53c8f531c50c136bf7f237b2fe6b058fda45 [Pipeline] sh 07:48:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:48:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:48:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:47 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:48:47 $ 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 07:48:48 $ docker top fa0f9baa401691a827ebc6e689441f46a4bc80d89e85263566d94e1e72eb4111 -eo pid,comm 07:48:48 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). 07:48:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:48:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:48:48 [ssh-agent] Looking for ssh-agent implementation... 07:48:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:48:48 $ docker exec fa0f9baa401691a827ebc6e689441f46a4bc80d89e85263566d94e1e72eb4111 ssh-agent 07:48:48 SSH_AUTH_SOCK=/tmp/ssh-sxJM6d8iEj9e/agent.33 07:48:48 SSH_AGENT_PID=39 07:48:48 Running ssh-add (command line suppressed) 07:48:48 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4588492858556416776.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4588492858556416776.key) 07:48:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:48:49 + git semver tag 07:48:49 2023-01-30 07:48:49,323 [run_tag] DEBUG tag force:False 07:48:49 2023-01-30 07:48:49,323 [check_head_tag] DEBUG check head tag 07:48:49 2023-01-30 07:48:49,324 [execute] INFO git cat-file --batch-check 07:48:49 2023-01-30 07:48:49,324 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 07:48:49 2023-01-30 07:48:49,328 [execute] INFO git cat-file --batch 07:48:49 2023-01-30 07:48:49,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 07:48:49 2023-01-30 07:48:49,344 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:48:49 2023-01-30 07:48:49,344 [execute] INFO git tag -a v3.0.0-dev.7 -m v3.0.0-dev.7 07:48:49 2023-01-30 07:48:49,344 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.7', '-m', 'v3.0.0-dev.7'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 07:48:49 2023-01-30 07:48:49,348 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:48:49 3.0.0-dev.7 [Pipeline] } 07:48:49 $ docker exec --env ******** --env ******** fa0f9baa401691a827ebc6e689441f46a4bc80d89e85263566d94e1e72eb4111 ssh-agent -k 07:48:49 unset SSH_AUTH_SOCK; 07:48:49 unset SSH_AGENT_PID; 07:48:49 echo Agent pid 39 killed; 07:48:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:48:49 + git semver [Pipeline] } 07:48:50 $ docker stop --time=1 fa0f9baa401691a827ebc6e689441f46a4bc80d89e85263566d94e1e72eb4111 07:48:51 $ docker rm -f --volumes fa0f9baa401691a827ebc6e689441f46a4bc80d89e85263566d94e1e72eb4111 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:48:51 07:48:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:48:52 0.23.1-centos7: Pulling from edgex-lftools 07:48:52 ab5ef0e58194: Pulling fs layer 07:48:52 9712f1f96733: Pulling fs layer 07:48:52 63f879dbbcfc: Pulling fs layer 07:48:52 0d9ebad4ef96: Pulling fs layer 07:48:52 e9a5061849ea: Pulling fs layer 07:48:52 d747dcd14b5f: Pulling fs layer 07:48:52 2de7ff778b66: Pulling fs layer 07:48:52 e9a5061849ea: Waiting 07:48:52 0d9ebad4ef96: Waiting 07:48:52 2de7ff778b66: Waiting 07:48:52 9712f1f96733: Verifying Checksum 07:48:52 9712f1f96733: Download complete 07:48:53 63f879dbbcfc: Verifying Checksum 07:48:53 63f879dbbcfc: Download complete 07:48:53 e9a5061849ea: Verifying Checksum 07:48:53 e9a5061849ea: Download complete 07:48:53 d747dcd14b5f: Verifying Checksum 07:48:53 d747dcd14b5f: Download complete 07:48:53 0d9ebad4ef96: Verifying Checksum 07:48:53 0d9ebad4ef96: Download complete 07:48:53 ab5ef0e58194: Verifying Checksum 07:48:53 ab5ef0e58194: Download complete 07:48:53 2de7ff778b66: Verifying Checksum 07:48:53 2de7ff778b66: Download complete 07:48:56 ab5ef0e58194: Pull complete 07:48:56 9712f1f96733: Pull complete 07:48:56 63f879dbbcfc: Pull complete 07:49:01 0d9ebad4ef96: Pull complete 07:49:01 e9a5061849ea: Pull complete 07:49:01 d747dcd14b5f: Pull complete 07:49:03 2de7ff778b66: Pull complete 07:49:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:49:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:49:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:03 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:49:03 $ 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 07:49:11 $ docker top 942ff5e53be2cd47337ee8c53c3b1185878ed04d6d85fea0a5734d1f2429e537 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:49:11 provisioning config files... 07:49:11 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14755329423866422524tmp 07:49:11 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14573109808640110017tmp 07:49:11 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6359841325200129967tmp [Pipeline] { [Pipeline] echo 07:49:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:49:12 ---> sigul-configuration.sh 07:49:12 gpg: directory `/root/.gnupg' created 07:49:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:49:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:49:12 gpg: keyring `/root/.gnupg/secring.gpg' created 07:49:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:49:12 gpg: CAST5 encrypted data 07:49:12 gpg: encrypted with 1 passphrase 07:49:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:49:12 + mkdir /home/jenkins 07:49:12 + mkdir /home/jenkins/sigul [Pipeline] sh 07:49:12 + 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 07:49:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:49:13 ---> sigul-install.sh 07:49:13 Sigul already installed; skipping installation. [Pipeline] sh 07:49:13 + git tag --list 07:49:13 v1.0.0 07:49:13 v1.1.0 07:49:13 v1.1.1 07:49:13 v1.2.1 07:49:13 v1.2.2 07:49:13 v1.2.3 07:49:13 v1.3.0 07:49:13 v1.3.1 07:49:13 v2.0.0 07:49:13 v2.1.0 07:49:13 v2.1.1 07:49:13 v2.1.1-dev.1 07:49:13 v2.1.1-dev.2 07:49:13 v2.2.0 07:49:13 v2.2.1-dev.1 07:49:13 v2.2.1-dev.2 07:49:13 v2.2.1-dev.3 07:49:13 v2.2.1-dev.4 07:49:13 v2.2.1-dev.5 07:49:13 v2.2.1-dev.6 07:49:13 v2.2.1-dev.7 07:49:13 v2.2.1-dev.8 07:49:13 v2.3.0 07:49:13 v2.3.0-dev.10 07:49:13 v2.3.0-dev.11 07:49:13 v2.3.0-dev.12 07:49:13 v2.3.0-dev.13 07:49:13 v2.3.0-dev.14 07:49:13 v2.3.0-dev.15 07:49:13 v2.3.0-dev.16 07:49:13 v2.3.0-dev.17 07:49:13 v2.3.0-dev.18 07:49:13 v2.3.0-dev.19 07:49:13 v2.3.0-dev.20 07:49:13 v2.3.0-dev.21 07:49:13 v2.3.0-dev.22 07:49:13 v2.3.0-dev.23 07:49:13 v2.3.0-dev.24 07:49:13 v2.3.0-dev.25 07:49:13 v2.3.0-dev.26 07:49:13 v2.3.0-dev.27 07:49:13 v2.3.0-dev.28 07:49:13 v2.3.0-dev.29 07:49:13 v2.3.0-dev.30 07:49:13 v2.3.0-dev.8 07:49:13 v2.3.0-dev.9 07:49:13 v3.0.0-dev.1 07:49:13 v3.0.0-dev.2 07:49:13 v3.0.0-dev.3 07:49:13 v3.0.0-dev.4 07:49:13 v3.0.0-dev.5 07:49:13 v3.0.0-dev.6 07:49:13 v3.0.0-dev.7 [Pipeline] sh 07:49:13 + lftools sign git-tag v3.0.0-dev.7 07:49:14 Signing Git tag with Sigul... 07:49:14 Signing v3.0.0-dev.7 [Pipeline] echo 07:49:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:49:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:49:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:49:15 $ docker stop --time=1 942ff5e53be2cd47337ee8c53c3b1185878ed04d6d85fea0a5734d1f2429e537 07:49:16 $ docker rm -f --volumes 942ff5e53be2cd47337ee8c53c3b1185878ed04d6d85fea0a5734d1f2429e537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:49:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:17 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:49:17 $ 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 07:49:17 $ docker top 314e3323f42b84b31c8cf4e065f12583fe52f65b817605eba0170bb8b230c872 -eo pid,comm 07:49:17 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). 07:49:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:17 [ssh-agent] Looking for ssh-agent implementation... 07:49:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:17 $ docker exec 314e3323f42b84b31c8cf4e065f12583fe52f65b817605eba0170bb8b230c872 ssh-agent 07:49:17 SSH_AUTH_SOCK=/tmp/ssh-XIvVUXaVRwoS/agent.32 07:49:17 SSH_AGENT_PID=38 07:49:17 Running ssh-add (command line suppressed) 07:49:18 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4303995614930020551.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4303995614930020551.key) 07:49:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:18 + git semver bump pre 07:49:18 2023-01-30 07:49:18,564 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:49:18 2023-01-30 07:49:18,564 [bump_version] DEBUG bumping version:3.0.0-dev.7 on axis:pre with prefix:dev 07:49:18 2023-01-30 07:49:18,564 [bump_version] DEBUG bumped version:3.0.0-dev.8 07:49:18 2023-01-30 07:49:18,565 [write_version] DEBUG write version:3.0.0-dev.8 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 07:49:18 2023-01-30 07:49:18,565 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:49:18 2023-01-30 07:49:18,565 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:49:18 2023-01-30 07:49:18,566 [execute] INFO git cat-file --batch-check 07:49:18 2023-01-30 07:49:18,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:18 2023-01-30 07:49:18,571 [execute] INFO git cat-file --batch 07:49:18 2023-01-30 07:49:18,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:18 2023-01-30 07:49:18,577 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:49:18 3.0.0-dev.8 [Pipeline] } 07:49:18 $ docker exec --env ******** --env ******** 314e3323f42b84b31c8cf4e065f12583fe52f65b817605eba0170bb8b230c872 ssh-agent -k 07:49:18 unset SSH_AUTH_SOCK; 07:49:18 unset SSH_AGENT_PID; 07:49:18 echo Agent pid 38 killed; 07:49:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:19 + git semver [Pipeline] } 07:49:19 $ docker stop --time=1 314e3323f42b84b31c8cf4e065f12583fe52f65b817605eba0170bb8b230c872 07:49:20 $ docker rm -f --volumes 314e3323f42b84b31c8cf4e065f12583fe52f65b817605eba0170bb8b230c872 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:49:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:49:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:21 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:49:21 $ 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 07:49:21 $ docker top 29fc755dc19434ce8e6df681886dddd9285f849d3a1edf38de93d94db5671e88 -eo pid,comm 07:49:21 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). 07:49:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:49:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:49:21 [ssh-agent] Looking for ssh-agent implementation... 07:49:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:49:21 $ docker exec 29fc755dc19434ce8e6df681886dddd9285f849d3a1edf38de93d94db5671e88 ssh-agent 07:49:22 SSH_AUTH_SOCK=/tmp/ssh-WAB3Xr6oyP8G/agent.32 07:49:22 SSH_AGENT_PID=38 07:49:22 Running ssh-add (command line suppressed) 07:49:22 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5859319155412638490.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5859319155412638490.key) 07:49:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:49:22 + git semver push 07:49:22 2023-01-30 07:49:22,632 [run_push] DEBUG push 07:49:22 2023-01-30 07:49:22,633 [execute] INFO git cat-file --batch-check 07:49:22 2023-01-30 07:49:22,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:49:22 2023-01-30 07:49:22,637 [execute] INFO git rev-list 81d48a99806502937d76143c6d42645826d04593 -- 07:49:22 2023-01-30 07:49:22,638 [execute] DEBUG Popen(['git', 'rev-list', '81d48a99806502937d76143c6d42645826d04593', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:49:22 2023-01-30 07:49:22,647 [execute] INFO git fetch -v origin 07:49:22 2023-01-30 07:49:22,647 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:49:23 2023-01-30 07:49:23,175 [run_push] DEBUG no remote changes detected 07:49:23 2023-01-30 07:49:23,175 [execute] INFO git push origin semver 07:49:23 2023-01-30 07:49:23,176 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:49:24 2023-01-30 07:49:23,940 [run_push] DEBUG push all version tags 07:49:24 2023-01-30 07:49:23,941 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:49:24 2023-01-30 07:49:23,941 [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) 07:49:24 2023-01-30 07:49:24,693 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 07:49:24 3.0.0-dev.8 [Pipeline] } 07:49:24 $ docker exec --env ******** --env ******** 29fc755dc19434ce8e6df681886dddd9285f849d3a1edf38de93d94db5671e88 ssh-agent -k 07:49:24 unset SSH_AUTH_SOCK; 07:49:24 unset SSH_AGENT_PID; 07:49:24 echo Agent pid 38 killed; 07:49:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:49:25 + git semver [Pipeline] } 07:49:25 $ docker stop --time=1 29fc755dc19434ce8e6df681886dddd9285f849d3a1edf38de93d94db5671e88 07:49:26 $ docker rm -f --volumes 29fc755dc19434ce8e6df681886dddd9285f849d3a1edf38de93d94db5671e88 [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 07:49:27 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 07:49:27 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 07:49:27 total 16 07:49:27 drwxr-xr-x 3 root root 4096 Jan 30 07:41 . 07:49:27 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 07:49 .. 07:49:27 drwxr-xr-x 2 root root 4096 Jan 30 07:41 cost 07:49:27 -rw-r--r-- 1 root root 88 Jan 30 07:41 cost.csv 07:49:27 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 07:49:27 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 07:49:27 total 16 07:49:27 drwxr-xr-x 3 jenkins jenkins 4096 Jan 30 07:41 . 07:49:27 drwxrwxr-x 10 jenkins jenkins 4096 Jan 30 07:49 .. 07:49:27 drwxr-xr-x 2 jenkins jenkins 4096 Jan 30 07:41 cost 07:49:27 -rw-r--r-- 1 jenkins jenkins 88 Jan 30 07:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:49:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:49:28 ---> package-listing.sh 07:49:28 ++ facter osfamily 07:49:28 ++ tr '[:upper:]' '[:lower:]' 07:49:28 + OS_FAMILY=debian 07:49:28 + workspace=/w/workspace/exfoundry_device-virtual-go_main 07:49:28 + START_PACKAGES=/tmp/packages_start.txt 07:49:28 + END_PACKAGES=/tmp/packages_end.txt 07:49:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:49:28 + PACKAGES=/tmp/packages_start.txt 07:49:28 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 07:49:28 + PACKAGES=/tmp/packages_end.txt 07:49:28 + case "${OS_FAMILY}" in 07:49:28 + dpkg -l 07:49:28 + grep '^ii' 07:49:28 + '[' -f /tmp/packages_start.txt ']' 07:49:28 + '[' -f /tmp/packages_end.txt ']' 07:49:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:49:28 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 07:49:28 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 07:49:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 07:49:28 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 07:49:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:49:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:29 prd-ubuntu20.04-docker-8c-8g-3958 does not seem to be running inside a container 07:49:29 $ 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 07:49:29 $ docker top 0a036305a4b8f86dda366a485fb9683dce0cde01670f2cac90abbb4ba47d6114 -eo pid,comm [Pipeline] { [Pipeline] sh 07:49:30 + touch /tmp/pre-build-complete [Pipeline] sh 07:49:30 + mkdir -p /var/log/sysstat [Pipeline] sh 07:49:31 + ls /var/log/sa-host 07:49:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:31 provisioning config files... 07:49:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config502473930512772569tmp [Pipeline] { [Pipeline] echo 07:49:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:49:31 ---> create-netrc.sh [Pipeline] } 07:49:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:49:31 ---> python-tools-install.sh [Pipeline] echo 07:49:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:49:32 ---> sudo-logs.sh 07:49:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:49:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:49:32 ---> job-cost.sh 07:49:32 lf-activate-venv: SKIPPING 07:49:32 DEBUG: total: 0.2199999988079071 07:49:32 INFO: Retrieving Stack Cost... 07:49:32 INFO: Retrieving Pricing Info for: v3-standard-8 07:49:33 INFO: Archiving Costs [Pipeline] echo 07:49:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:49:33 ---> logs-deploy.sh 07:49:33 lf-activate-venv: SKIPPING 07:49:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/78 07:49:33 INFO: archiving workspace using pattern(s): 07:49:34 Archives upload complete. 07:49:34 INFO: archiving logs to Nexus 07:49:35 ---> uname -a: 07:49:35 Linux prd-ubuntu20-04-docker-8c-8g-3958 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 07:49:35 07:49:35 07:49:35 ---> lscpu: 07:49:35 Architecture: x86_64 07:49:35 CPU op-mode(s): 32-bit, 64-bit 07:49:35 Byte Order: Little Endian 07:49:35 Address sizes: 40 bits physical, 48 bits virtual 07:49:35 CPU(s): 8 07:49:35 On-line CPU(s) list: 0-7 07:49:35 Thread(s) per core: 1 07:49:35 Core(s) per socket: 1 07:49:35 Socket(s): 8 07:49:35 NUMA node(s): 1 07:49:35 Vendor ID: AuthenticAMD 07:49:35 CPU family: 23 07:49:35 Model: 49 07:49:35 Model name: AMD EPYC-Rome Processor 07:49:35 Stepping: 0 07:49:35 CPU MHz: 2799.956 07:49:35 BogoMIPS: 5599.91 07:49:35 Virtualization: AMD-V 07:49:35 Hypervisor vendor: KVM 07:49:35 Virtualization type: full 07:49:35 L1d cache: 256 KiB 07:49:35 L1i cache: 256 KiB 07:49:35 L2 cache: 4 MiB 07:49:35 L3 cache: 128 MiB 07:49:35 NUMA node0 CPU(s): 0-7 07:49:35 Vulnerability Itlb multihit: Not affected 07:49:35 Vulnerability L1tf: Not affected 07:49:35 Vulnerability Mds: Not affected 07:49:35 Vulnerability Meltdown: Not affected 07:49:35 Vulnerability Mmio stale data: Not affected 07:49:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:49:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 07:49:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 07:49:35 Vulnerability Srbds: Not affected 07:49:35 Vulnerability Tsx async abort: Not affected 07:49:35 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 07:49:35 07:49:35 07:49:35 ---> nproc: 07:49:35 8 07:49:35 07:49:35 07:49:35 ---> df -h: 07:49:35 Filesystem Size Used Avail Use% Mounted on 07:49:35 overlay 155G 13G 143G 9% / 07:49:35 tmpfs 64M 0 64M 0% /dev 07:49:35 tmpfs 16G 0 16G 0% /sys/fs/cgroup 07:49:35 shm 64M 0 64M 0% /dev/shm 07:49:35 /dev/vda1 155G 13G 143G 9% /facter-os 07:49:35 07:49:35 07:49:35 ---> sar -b -r -n DEV: 07:49:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3958) 01/30/23 _x86_64_ (8 CPU) 07:49:35 07:49:35 07:38:10 LINUX RESTART (8 CPU) 07:49:35 07:49:35 07:39:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 07:49:35 07:40:01 196.00 1.85 194.15 0.00 66.16 74492.59 0.00 07:49:35 07:41:01 142.68 0.32 142.37 0.00 16.00 24579.60 0.00 07:49:35 07:42:01 32.53 0.02 32.51 0.00 4.00 16457.41 0.00 07:49:35 07:43:01 1.53 0.00 1.53 0.00 0.00 17.06 0.00 07:49:35 07:44:01 56.22 11.61 44.61 0.00 5177.67 8730.28 0.00 07:49:35 07:45:01 4.63 0.02 4.62 0.00 0.13 104.38 0.00 07:49:35 07:46:01 1.43 0.00 1.43 0.00 0.00 16.00 0.00 07:49:35 07:47:01 1.98 0.00 1.98 0.00 0.00 21.73 0.00 07:49:35 07:48:01 1.37 0.00 1.37 0.00 0.00 15.06 0.00 07:49:35 07:49:01 68.01 0.37 67.64 0.00 17.33 36361.67 0.00 07:49:35 Average: 50.39 1.42 48.98 0.00 528.90 15981.67 0.00 07:49:35 07:49:35 07:39:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:49:35 07:40:01 28299132 31521988 780332 2.37 144648 3276136 2122096 6.25 1219376 2913412 59020 07:49:35 07:41:01 27805784 31544628 758240 2.31 151940 3761956 2036168 6.00 1255708 3347160 303988 07:49:35 07:42:01 27650248 31577860 723564 2.20 158472 3915488 1753864 5.17 1238480 3488280 196 07:49:35 07:43:01 27650544 31578232 722928 2.20 158496 3915492 1753864 5.17 1238004 3488280 24 07:49:35 07:44:01 27128700 31560776 722808 2.20 191752 4371040 1805128 5.32 1556700 3655296 280 07:49:35 07:45:01 27132672 31560048 722612 2.20 190308 4367784 1792704 5.28 1555196 3652068 8 07:49:35 07:46:01 27139956 31567384 715236 2.18 190392 4367788 1792704 5.28 1547500 3652072 8 07:49:35 07:47:01 27140516 31568308 714568 2.17 190472 4367788 1792704 5.28 1547404 3652304 8 07:49:35 07:48:01 27140216 31568076 714732 2.17 190552 4367784 1792704 5.28 1547500 3652308 4 07:49:35 07:49:01 25670860 31511772 766964 2.33 223900 5634416 2057068 6.06 1674992 4877176 591224 07:49:35 Average: 27275863 31555907 734198 2.23 179093 4234567 1869900 5.51 1438086 3637836 95476 07:49:35 07:49:35 07:39:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:49:35 07:40:01 ens3 446.64 327.84 6248.83 45.05 0.00 0.00 0.00 0.00 07:49:35 07:40:01 veth3f14559 0.00 0.14 0.00 0.01 0.00 0.00 0.00 0.00 07:49:35 07:40:01 docker0 196.66 269.02 15.96 2146.00 0.00 0.00 0.00 0.00 07:49:35 07:40:01 lo 2.85 2.85 0.28 0.28 0.00 0.00 0.00 0.00 07:49:35 07:41:01 ens3 192.62 149.35 2692.59 309.22 0.00 0.00 0.00 0.00 07:49:35 07:41:01 docker0 2.82 6.17 0.18 81.53 0.00 0.00 0.00 0.00 07:49:35 07:41:01 lo 7.67 7.67 0.75 0.75 0.00 0.00 0.00 0.00 07:49:35 07:42:01 ens3 14.01 9.03 13.32 5.09 0.00 0.00 0.00 0.00 07:49:35 07:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:42:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 07:49:35 07:43:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 07:49:35 07:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:49:35 07:44:01 ens3 121.68 74.24 2751.15 5.38 0.00 0.00 0.00 0.00 07:49:35 07:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:44:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 07:49:35 07:45:01 ens3 0.27 0.18 0.02 0.01 0.00 0.00 0.00 0.00 07:49:35 07:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:49:35 07:46:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:47:01 ens3 0.12 0.13 0.01 0.01 0.00 0.00 0.00 0.00 07:49:35 07:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 07:49:35 07:48:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:49:35 07:49:01 ens3 341.94 273.57 7751.61 35.42 0.00 0.00 0.00 0.00 07:49:35 07:49:01 docker0 55.84 75.95 4.25 584.10 0.00 0.00 0.00 0.00 07:49:35 07:49:01 lo 2.13 2.13 0.20 0.20 0.00 0.00 0.00 0.00 07:49:35 Average: ens3 111.18 83.04 1938.53 40.01 0.00 0.00 0.00 0.00 07:49:35 Average: docker0 25.25 34.72 2.02 278.05 0.00 0.00 0.00 0.00 07:49:35 Average: lo 1.38 1.38 0.13 0.13 0.00 0.00 0.00 0.00 07:49:35 07:49:35 07:49:35 ---> sar -P ALL: 07:49:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3958) 01/30/23 _x86_64_ (8 CPU) 07:49:35 07:49:35 07:38:10 LINUX RESTART (8 CPU) 07:49:35 07:49:35 07:39:02 CPU %user %nice %system %iowait %steal %idle 07:49:35 07:40:01 all 11.44 0.00 4.39 3.58 0.07 80.51 07:49:35 07:40:01 0 10.85 0.00 4.40 0.70 0.07 83.99 07:49:35 07:40:01 1 11.71 0.00 5.23 6.53 0.09 76.44 07:49:35 07:40:01 2 12.08 0.00 4.90 1.11 0.07 81.83 07:49:35 07:40:01 3 11.14 0.00 3.89 0.17 0.07 84.73 07:49:35 07:40:01 4 11.24 0.00 4.44 0.48 0.07 83.77 07:49:35 07:40:01 5 12.06 0.00 3.55 0.42 0.07 83.89 07:49:35 07:40:01 6 10.84 0.00 5.28 19.21 0.07 64.60 07:49:35 07:40:01 7 11.62 0.00 3.46 0.07 0.07 84.78 07:49:35 07:41:01 all 36.41 0.00 5.90 1.39 0.09 56.21 07:49:35 07:41:01 0 35.69 0.00 5.50 0.10 0.08 58.63 07:49:35 07:41:01 1 37.93 0.00 6.13 0.56 0.10 55.28 07:49:35 07:41:01 2 35.40 0.00 5.86 0.17 0.07 58.50 07:49:35 07:41:01 3 38.76 0.00 6.66 0.40 0.10 54.07 07:49:35 07:41:01 4 37.60 0.00 6.09 0.10 0.08 56.12 07:49:35 07:41:01 5 35.15 0.00 5.95 2.81 0.07 56.03 07:49:35 07:41:01 6 32.72 0.00 5.16 6.52 0.12 55.49 07:49:35 07:41:01 7 38.00 0.00 5.81 0.50 0.10 55.58 07:49:35 07:42:01 all 1.38 0.00 0.61 0.69 0.04 97.29 07:49:35 07:42:01 0 1.52 0.00 0.58 0.75 0.02 97.13 07:49:35 07:42:01 1 1.55 0.00 0.42 0.00 0.08 97.95 07:49:35 07:42:01 2 1.40 0.00 0.60 0.00 0.02 97.98 07:49:35 07:42:01 3 0.97 0.00 1.02 0.02 0.02 97.98 07:49:35 07:42:01 4 1.35 0.00 0.48 0.45 0.02 97.69 07:49:35 07:42:01 5 1.81 0.00 0.89 3.71 0.12 93.47 07:49:35 07:42:01 6 1.00 0.00 0.32 0.57 0.02 98.10 07:49:35 07:42:01 7 1.42 0.00 0.57 0.00 0.03 97.98 07:49:35 07:43:01 all 0.02 0.00 0.01 0.01 0.01 99.95 07:49:35 07:43:01 0 0.05 0.00 0.00 0.00 0.00 99.95 07:49:35 07:43:01 1 0.03 0.00 0.02 0.00 0.02 99.93 07:49:35 07:43:01 2 0.03 0.00 0.00 0.00 0.00 99.97 07:49:35 07:43:01 3 0.02 0.00 0.02 0.02 0.00 99.95 07:49:35 07:43:01 4 0.02 0.00 0.02 0.00 0.02 99.95 07:49:35 07:43:01 5 0.00 0.00 0.02 0.02 0.02 99.95 07:49:35 07:43:01 6 0.00 0.00 0.00 0.02 0.00 99.98 07:49:35 07:43:01 7 0.03 0.00 0.00 0.00 0.02 99.95 07:49:35 07:44:01 all 2.06 0.00 1.32 0.63 0.03 95.96 07:49:35 07:44:01 0 2.58 0.00 2.47 1.02 0.03 93.90 07:49:35 07:44:01 1 2.12 0.00 2.79 1.14 0.03 93.92 07:49:35 07:44:01 2 1.29 0.00 0.82 0.52 0.02 97.36 07:49:35 07:44:01 3 2.21 0.00 1.02 0.30 0.03 96.44 07:49:35 07:44:01 4 1.97 0.00 0.87 0.05 0.02 97.10 07:49:35 07:44:01 5 2.18 0.00 0.75 0.40 0.03 96.64 07:49:35 07:44:01 6 2.95 0.00 1.14 1.12 0.02 94.77 07:49:35 07:44:01 7 1.17 0.00 0.70 0.54 0.05 97.54 07:49:35 07:45:01 all 0.07 0.00 0.04 0.02 0.01 99.87 07:49:35 07:45:01 0 0.07 0.00 0.02 0.00 0.00 99.92 07:49:35 07:45:01 1 0.02 0.00 0.05 0.02 0.00 99.92 07:49:35 07:45:01 2 0.20 0.00 0.08 0.07 0.00 99.65 07:49:35 07:45:01 3 0.02 0.00 0.05 0.00 0.02 99.92 07:49:35 07:45:01 4 0.05 0.00 0.03 0.00 0.00 99.92 07:49:35 07:45:01 5 0.07 0.00 0.03 0.02 0.00 99.88 07:49:35 07:45:01 6 0.07 0.00 0.02 0.00 0.00 99.92 07:49:35 07:45:01 7 0.05 0.00 0.07 0.03 0.03 99.82 07:49:35 07:46:01 all 0.23 0.00 0.01 0.01 0.01 99.74 07:49:35 07:46:01 0 0.02 0.00 0.00 0.00 0.00 99.98 07:49:35 07:46:01 1 0.00 0.00 0.00 0.02 0.02 99.97 07:49:35 07:46:01 2 0.02 0.00 0.00 0.05 0.00 99.93 07:49:35 07:46:01 3 0.02 0.00 0.00 0.00 0.00 99.98 07:49:35 07:46:01 4 0.00 0.00 0.02 0.00 0.00 99.98 07:49:35 07:46:01 5 1.70 0.00 0.00 0.00 0.02 98.29 07:49:35 07:46:01 6 0.02 0.00 0.02 0.00 0.02 99.95 07:49:35 07:46:01 7 0.05 0.00 0.03 0.00 0.03 99.88 07:49:35 07:47:01 all 0.15 0.00 0.01 0.01 0.01 99.82 07:49:35 07:47:01 0 0.00 0.00 0.02 0.00 0.00 99.98 07:49:35 07:47:01 1 0.02 0.00 0.00 0.02 0.00 99.97 07:49:35 07:47:01 2 0.00 0.00 0.00 0.07 0.00 99.93 07:49:35 07:47:01 3 0.02 0.00 0.02 0.00 0.02 99.95 07:49:35 07:47:01 4 0.00 0.00 0.00 0.00 0.03 99.97 07:49:35 07:47:01 5 1.04 0.00 0.00 0.00 0.02 98.94 07:49:35 07:47:01 6 0.03 0.00 0.00 0.00 0.00 99.97 07:49:35 07:47:01 7 0.08 0.00 0.03 0.02 0.03 99.83 07:49:35 07:48:01 all 0.01 0.00 0.01 0.01 0.01 99.95 07:49:35 07:48:01 0 0.02 0.00 0.00 0.00 0.02 99.97 07:49:35 07:48:01 1 0.00 0.00 0.00 0.02 0.02 99.97 07:49:35 07:48:01 2 0.02 0.00 0.02 0.10 0.00 99.87 07:49:35 07:48:01 3 0.02 0.00 0.00 0.00 0.02 99.97 07:49:35 07:48:01 4 0.00 0.00 0.00 0.00 0.00 100.00 07:49:35 07:48:01 5 0.02 0.00 0.02 0.00 0.02 99.95 07:49:35 07:48:01 6 0.00 0.00 0.02 0.00 0.00 99.98 07:49:35 07:48:01 7 0.05 0.00 0.03 0.00 0.02 99.90 07:49:35 07:49:01 all 7.17 0.00 3.05 2.55 0.10 87.12 07:49:35 07:49:01 0 5.58 0.00 2.89 0.02 0.03 91.48 07:49:35 07:49:01 1 7.07 0.00 3.03 2.14 0.05 87.71 07:49:35 07:49:01 2 6.75 0.00 3.34 1.91 0.27 87.73 07:49:35 07:49:01 3 8.86 0.00 2.96 0.83 0.05 87.30 07:49:35 07:49:01 4 6.72 0.00 3.43 0.10 0.03 89.71 07:49:35 07:49:01 5 8.05 0.00 2.48 0.12 0.03 89.31 07:49:35 07:49:01 6 6.69 0.00 2.56 5.11 0.05 85.59 07:49:35 07:49:01 7 7.68 0.00 3.74 10.17 0.29 78.12 07:49:35 Average: all 5.85 0.00 1.52 0.88 0.04 91.71 07:49:35 Average: 0 5.60 0.00 1.58 0.26 0.03 92.55 07:49:35 Average: 1 6.00 0.00 1.75 1.02 0.04 91.19 07:49:35 Average: 2 5.67 0.00 1.55 0.40 0.04 92.34 07:49:35 Average: 3 6.16 0.00 1.55 0.17 0.03 92.09 07:49:35 Average: 4 5.85 0.00 1.52 0.12 0.03 92.48 07:49:35 Average: 5 6.18 0.00 1.36 0.75 0.04 91.68 07:49:35 Average: 6 5.37 0.00 1.43 3.20 0.03 89.98 07:49:35 Average: 7 5.98 0.00 1.43 1.12 0.07 91.40 07:49:35 07:49:35 07:49:35