Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 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-ssh14369188633020170417.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9284211564842850217.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh8752506330928338690.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh5033697520669590923.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-ssh6767791350582147472.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15914’ Running on prd-ubuntu20.04-docker-8c-8g-15921 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#409)" > git config core.sparsecheckout # timeout=10 > git checkout -f 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 # timeout=10 > git rev-list --no-walk 6c8fd197dd4be6f85d7a1862d6d14bd92d1e774b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:02:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:02:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:02:19 ========================================================= 19:02:19 EdgeX Global Pipelines Version Info 19:02:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:02:20 ------------------- 19:02:20 stable info: 19:02:20 ------------------- 19:02:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:02:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:02:20 Message: update stable to v1.0.249 19:02:20 ------------------- 19:02:20 experimental info: 19:02:20 ------------------- 19:02:20 Commited By: **** collab-it+edgex@linuxfoundation.org 19:02:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 19:02:20 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 92ded1a [Pipeline] echo 19:02:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:02:21 provisioning config files... 19:02:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7607548439506115337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:21 ---> docker-login.sh 19:02:21 nexus3.edgexfoundry.org:10001 19:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:22 Configure a credential helper to remove this warning. See 19:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:22 19:02:22 Login Succeeded 19:02:22 nexus3.edgexfoundry.org:10002 19:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:22 Configure a credential helper to remove this warning. See 19:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:22 19:02:22 Login Succeeded 19:02:22 nexus3.edgexfoundry.org:10003 19:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:22 Configure a credential helper to remove this warning. See 19:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:22 19:02:22 Login Succeeded 19:02:22 nexus3.edgexfoundry.org:10004 19:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:22 Configure a credential helper to remove this warning. See 19:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:22 19:02:22 Login Succeeded 19:02:22 docker.io 19:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:22 Configure a credential helper to remove this warning. See 19:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:22 19:02:22 Login Succeeded 19:02:22 ---> docker-login.sh ends [Pipeline] } 19:02:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:02:23 + git rev-list -1 --merges 92ded1a488adcb2150b1bb4ba73aa6220ca027a9~1..92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [Pipeline] echo 19:02:23 -----------> git rev-list -1 --merges 92ded1a488adcb2150b1bb4ba73aa6220ca027a9~1..92ded1a488adcb2150b1bb4ba73aa6220ca027a9 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [false] [Pipeline] sh 19:02:23 + git log --format=format:%s -1 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [Pipeline] echo 19:02:23 ========================================================= 19:02:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:02:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:02:24 + git log --format=format:%s -1 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [Pipeline] echo 19:02:24 [semverPrep] GIT_COMMIT: 92ded1a488adcb2150b1bb4ba73aa6220ca027a9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#409) [Pipeline] echo 19:02:24 [semverPrep] This is not a build commit. [Pipeline] sh 19:02:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:02:24 + grep -v github /etc/ssh/ssh_known_hosts 19:02:24 + [ -e /tmp/ssh_known_hosts ] 19:02:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:02:24 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:02:24 sudo tee -a /etc/ssh/ssh_known_hosts 19:02:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:24 19:02:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:25 0.1.4: Pulling from edgex-devops/py-git-semver 19:02:25 b85a868b505f: Pulling fs layer 19:02:25 e2be974225ed: Pulling fs layer 19:02:25 339a4e72a1f5: Pulling fs layer 19:02:25 988bab9f4d93: Pulling fs layer 19:02:25 1469e6f7b9e6: Pulling fs layer 19:02:25 eaf3925da568: Pulling fs layer 19:02:25 bab4dde63d76: Pulling fs layer 19:02:25 bde34c3a00c8: Pulling fs layer 19:02:25 b352a97aabf1: Pulling fs layer 19:02:25 4872d77fe225: Pulling fs layer 19:02:25 5851b861e8e6: Pulling fs layer 19:02:25 bab4dde63d76: Waiting 19:02:25 bde34c3a00c8: Waiting 19:02:25 b352a97aabf1: Waiting 19:02:25 5851b861e8e6: Waiting 19:02:25 4872d77fe225: Waiting 19:02:25 988bab9f4d93: Waiting 19:02:25 eaf3925da568: Waiting 19:02:25 1469e6f7b9e6: Waiting 19:02:25 e2be974225ed: Download complete 19:02:25 988bab9f4d93: Verifying Checksum 19:02:25 988bab9f4d93: Download complete 19:02:25 1469e6f7b9e6: Verifying Checksum 19:02:25 1469e6f7b9e6: Download complete 19:02:25 eaf3925da568: Download complete 19:02:25 339a4e72a1f5: Verifying Checksum 19:02:25 339a4e72a1f5: Download complete 19:02:25 bde34c3a00c8: Download complete 19:02:25 b352a97aabf1: Verifying Checksum 19:02:25 b352a97aabf1: Download complete 19:02:25 4872d77fe225: Verifying Checksum 19:02:25 4872d77fe225: Download complete 19:02:25 5851b861e8e6: Verifying Checksum 19:02:25 5851b861e8e6: Download complete 19:02:25 b85a868b505f: Verifying Checksum 19:02:25 b85a868b505f: Download complete 19:02:25 bab4dde63d76: Verifying Checksum 19:02:25 bab4dde63d76: Download complete 19:02:26 b85a868b505f: Pull complete 19:02:26 e2be974225ed: Pull complete 19:02:27 339a4e72a1f5: Pull complete 19:02:27 988bab9f4d93: Pull complete 19:02:27 1469e6f7b9e6: Pull complete 19:02:27 eaf3925da568: Pull complete 19:02:29 bab4dde63d76: Pull complete 19:02:29 bde34c3a00c8: Pull complete 19:02:29 b352a97aabf1: Pull complete 19:02:29 4872d77fe225: Pull complete 19:02:29 5851b861e8e6: Pull complete 19:02:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:02:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:02:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:29 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:02:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:02:32 $ docker top b6266f274dfc0b4de6e336ea0096b459a9fe25d5e6fd198b211126b1e432fe70 -eo pid,comm 19:02:32 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). 19:02:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:02:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:02:32 [ssh-agent] Looking for ssh-agent implementation... 19:02:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:02:32 $ docker exec b6266f274dfc0b4de6e336ea0096b459a9fe25d5e6fd198b211126b1e432fe70 ssh-agent 19:02:32 SSH_AUTH_SOCK=/tmp/ssh-txa0CRLO8SqZ/agent.32 19:02:32 SSH_AGENT_PID=38 19:02:32 Running ssh-add (command line suppressed) 19:02:32 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9804840462387712612.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9804840462387712612.key) 19:02:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:02:33 + git tag --points-at HEAD [Pipeline] } 19:02:33 $ docker exec --env ******** --env ******** b6266f274dfc0b4de6e336ea0096b459a9fe25d5e6fd198b211126b1e432fe70 ssh-agent -k 19:02:33 unset SSH_AUTH_SOCK; 19:02:33 unset SSH_AGENT_PID; 19:02:33 echo Agent pid 38 killed; 19:02:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:02:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:02:33 [ssh-agent] Looking for ssh-agent implementation... 19:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:02:33 $ docker exec b6266f274dfc0b4de6e336ea0096b459a9fe25d5e6fd198b211126b1e432fe70 ssh-agent 19:02:33 SSH_AUTH_SOCK=/tmp/ssh-2BbPGNbyIf1Q/agent.70 19:02:33 SSH_AGENT_PID=76 19:02:33 Running ssh-add (command line suppressed) 19:02:33 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14846963954616772308.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14846963954616772308.key) 19:02:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:02:33 + git semver init 19:02:34 2023-05-17 19:02:34,159 [run_init] DEBUG init version:0.0.0 force:False 19:02:34 2023-05-17 19:02:34,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 19:02:34 2023-05-17 19:02:34,160 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 19:02:34 2023-05-17 19:02:34,160 [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) 19:02:35 2023-05-17 19:02:35,164 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 19:02:35 2023-05-17 19:02:35,164 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 19:02:35 2023-05-17 19:02:35,164 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:02:35 2023-05-17 19:02:35,164 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:02:35 3.0.0-dev.49 [Pipeline] } 19:02:35 $ docker exec --env ******** --env ******** b6266f274dfc0b4de6e336ea0096b459a9fe25d5e6fd198b211126b1e432fe70 ssh-agent -k 19:02:35 unset SSH_AUTH_SOCK; 19:02:35 unset SSH_AGENT_PID; 19:02:35 echo Agent pid 76 killed; 19:02:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:02:35 + git semver [Pipeline] } 19:02:36 $ docker stop --time=1 b6266f274dfc0b4de6e336ea0096b459a9fe25d5e6fd198b211126b1e432fe70 19:02:37 $ docker rm -f --volumes b6266f274dfc0b4de6e336ea0096b459a9fe25d5e6fd198b211126b1e432fe70 [Pipeline] // withDockerContainer [Pipeline] sh 19:02:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:02:38 Stashed 1 file(s) [Pipeline] echo 19:02:38 [edgeXSemver]: initialized semver on version 3.0.0-dev.49 [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 19:02:38 provisioning config files... 19:02:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config15860895312560269516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15920 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 19:02:38 Running in /w/workspace/device-virtual-go/121 [Pipeline] { [Pipeline] checkout 19:02:38 ---> docker-login.sh 19:02:38 nexus3.edgexfoundry.org:10001 19:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:38 Configure a credential helper to remove this warning. See 19:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:38 19:02:38 Login Succeeded 19:02:38 nexus3.edgexfoundry.org:10002 19:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:38 Configure a credential helper to remove this warning. See 19:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:38 19:02:38 Login Succeeded 19:02:38 nexus3.edgexfoundry.org:10003 19:02:38 The recommended git tool is: git 19:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:38 Configure a credential helper to remove this warning. See 19:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:38 19:02:38 Login Succeeded 19:02:38 nexus3.edgexfoundry.org:10004 19:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:38 Configure a credential helper to remove this warning. See 19:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:38 19:02:38 Login Succeeded 19:02:38 docker.io 19:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:02:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:02:39 Configure a credential helper to remove this warning. See 19:02:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:02:39 19:02:39 Login Succeeded 19:02:39 ---> docker-login.sh ends [Pipeline] } 19:02:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:02:39 ========================================================= 19:02:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:02:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:39 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:02:39 Sending build context to Docker daemon 23.66MB 19:02:39 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:02:39 Step 2/12 : FROM ${BASE} AS builder 19:02:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:02:39 f56be85fc22e: Pulling fs layer 19:02:39 85791d961cd3: Pulling fs layer 19:02:39 d694b5ae8c79: Pulling fs layer 19:02:39 9f32a84ed3da: Pulling fs layer 19:02:39 4d19c01a9841: Pulling fs layer 19:02:39 9325e15d5711: Pulling fs layer 19:02:39 556b6ee489ea: Pulling fs layer 19:02:39 4d19c01a9841: Waiting 19:02:39 9f32a84ed3da: Waiting 19:02:39 9325e15d5711: Waiting 19:02:39 c5a4b2cf53e6: Pulling fs layer 19:02:39 556b6ee489ea: Waiting 19:02:39 c5a4b2cf53e6: Waiting 19:02:39 85791d961cd3: Verifying Checksum 19:02:39 85791d961cd3: Download complete 19:02:39 9f32a84ed3da: Verifying Checksum 19:02:39 9f32a84ed3da: Download complete 19:02:39 4d19c01a9841: Verifying Checksum 19:02:39 4d19c01a9841: Download complete 19:02:39 f56be85fc22e: Verifying Checksum 19:02:39 f56be85fc22e: Download complete 19:02:39 9325e15d5711: Verifying Checksum 19:02:39 9325e15d5711: Download complete 19:02:39 f56be85fc22e: Pull complete 19:02:39 85791d961cd3: Pull complete 19:02:39 c5a4b2cf53e6: Verifying Checksum 19:02:39 c5a4b2cf53e6: Download complete 19:02:40 d694b5ae8c79: Verifying Checksum 19:02:40 d694b5ae8c79: Download complete 19:02:40 556b6ee489ea: Verifying Checksum 19:02:40 556b6ee489ea: Download complete 19:02:43 d694b5ae8c79: Pull complete 19:02:43 9f32a84ed3da: Pull complete 19:02:43 4d19c01a9841: Pull complete 19:02:43 9325e15d5711: Pull complete 19:02:44 using credential edgex-jenkins-ssh 19:02:44 Cloning the remote Git repository 19:02:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:02:44 > git init /w/workspace/device-virtual-go/121 # timeout=10 19:02:45 556b6ee489ea: Pull complete 19:02:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:02:44 > git --version # timeout=10 19:02:44 > git --version # 'git version 2.25.1' 19:02:44 using GIT_SSH to set credentials SSH Credentials for GitHub 19:02:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:02:46 c5a4b2cf53e6: Pull complete 19:02:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 19:02:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:02:46 ---> c4be618373d6 19:02:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:02:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:02:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:02:48 Avoid second fetch 19:02:48 Checking out Revision 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 (main) 19:02:48 > git config core.sparsecheckout # timeout=10 19:02:48 > git checkout -f 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 # timeout=10 19:02:48 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#409)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:02:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:02:49 % Total % Received % Xferd Average Speed Time Time Time Current 19:02:49 Dload Upload Total Spent Left Speed 19:02:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 19:02:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:02:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:02:50 + sudo tee /etc/docker/daemon.new 19:02:50 { 19:02:50 "registry-mirrors": [ 19:02:50 "https://nexus3.edgexfoundry.org:10001" 19:02:50 ], 19:02:50 "bip": "10.250.0.254/24", 19:02:50 "hosts": [ 19:02:50 "tcp://0.0.0.0:5555", 19:02:50 "unix:///var/run/docker.sock" 19:02:50 ], 19:02:50 "mtu": 1458, 19:02:50 "selinux-enabled": true, 19:02:50 "seccomp-profile": "/etc/docker/seccomp.json" 19:02:50 } [Pipeline] sh 19:02:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:02:51 + sudo service docker restart 19:02:51 ---> Running in 5aa10c2ade4b 19:02:51 Removing intermediate container 5aa10c2ade4b 19:02:51 ---> 5ea7006a1999 19:02:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:02:51 ---> Running in 27f2f1b79be5 19:02:51 Removing intermediate container 27f2f1b79be5 19:02:51 ---> ccfd04ee7f21 19:02:51 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:02:51 ---> Running in 545f968afd73 19:02:51 Removing intermediate container 545f968afd73 19:02:51 ---> f4f9ef75fc61 19:02:51 Step 6/12 : WORKDIR /device-virtual-go 19:02:51 ---> Running in 433715281b0a 19:02:51 Removing intermediate container 433715281b0a 19:02:51 ---> 8900479dcaba 19:02:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:51 ---> Running in 4076b4e2e879 19:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:02:52 (1/4) Installing openssh-keygen (9.1_p1-r3) 19:02:52 (2/4) Installing libedit (20221030.3.1-r0) 19:02:52 (3/4) Installing openssh-client-common (9.1_p1-r3) 19:02:52 (4/4) Installing openssh-client-default (9.1_p1-r3) 19:02:52 Executing busybox-1.35.0-r29.trigger 19:02:52 OK: 269 MiB in 57 packages 19:02:52 Removing intermediate container 4076b4e2e879 19:02:52 ---> 1ad7d0227e71 19:02:52 Step 8/12 : COPY go.mod vendor* ./ 19:02:52 ---> 82cb0dc592fb 19:02:52 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:52 ---> Running in 022ee58aeaeb [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:09 provisioning config files... 19:03:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/121@tmp/config3317895267238395145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:03:10 ---> docker-login.sh 19:03:10 nexus3.edgexfoundry.org:10001 19:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:10 Configure a credential helper to remove this warning. See 19:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:10 19:03:10 Login Succeeded 19:03:10 nexus3.edgexfoundry.org:10002 19:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:10 Configure a credential helper to remove this warning. See 19:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:10 19:03:10 Login Succeeded 19:03:10 nexus3.edgexfoundry.org:10003 19:03:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:11 Configure a credential helper to remove this warning. See 19:03:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:11 19:03:11 Login Succeeded 19:03:11 nexus3.edgexfoundry.org:10004 19:03:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:11 Configure a credential helper to remove this warning. See 19:03:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:11 19:03:11 Login Succeeded 19:03:11 docker.io 19:03:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:03:12 Configure a credential helper to remove this warning. See 19:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:03:12 19:03:12 Login Succeeded 19:03:12 ---> docker-login.sh ends [Pipeline] } 19:03:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:03:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:03:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:03:12 ========================================================= 19:03:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:03:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:03:13 Sending build context to Docker daemon 11.99MB 19:03:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 19:03:13 Step 2/12 : FROM ${BASE} AS builder 19:03:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:03:13 c41833b44d91: Pulling fs layer 19:03:13 ed15518f5707: Pulling fs layer 19:03:13 feae8fd75edb: Pulling fs layer 19:03:13 242c74f7c9fa: Pulling fs layer 19:03:13 3cdef696dda3: Pulling fs layer 19:03:13 2ced38df9373: Pulling fs layer 19:03:13 58f1dce35555: Pulling fs layer 19:03:13 3cdef696dda3: Waiting 19:03:13 242c74f7c9fa: Waiting 19:03:13 2ced38df9373: Waiting 19:03:13 58f1dce35555: Waiting 19:03:13 ed15518f5707: Verifying Checksum 19:03:13 ed15518f5707: Download complete 19:03:13 242c74f7c9fa: Verifying Checksum 19:03:13 242c74f7c9fa: Download complete 19:03:13 3cdef696dda3: Verifying Checksum 19:03:13 3cdef696dda3: Download complete 19:03:13 c41833b44d91: Download complete 19:03:14 c41833b44d91: Pull complete 19:03:15 58f1dce35555: Verifying Checksum 19:03:15 58f1dce35555: Download complete 19:03:15 ed15518f5707: Pull complete 19:03:16 feae8fd75edb: Verifying Checksum 19:03:16 feae8fd75edb: Download complete 19:03:16 2ced38df9373: Verifying Checksum 19:03:16 2ced38df9373: Download complete 19:03:26 feae8fd75edb: Pull complete 19:03:26 242c74f7c9fa: Pull complete 19:03:26 3cdef696dda3: Pull complete 19:03:31 Removing intermediate container 022ee58aeaeb 19:03:31 ---> 70c4f2098ca5 19:03:31 Step 10/12 : COPY . . 19:03:31 ---> 6c2f6e8e68f4 19:03:31 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:03:31 ---> Running in a6f0ff712813 19:03:31 Removing intermediate container a6f0ff712813 19:03:31 ---> 95c1cc4c7983 19:03:31 Step 12/12 : RUN $MAKE 19:03:31 ---> Running in f600d346d4ea 19:03:31 noop 19:03:31 Removing intermediate container f600d346d4ea 19:03:31 ---> 4a275f3ed34e 19:03:31 Successfully built 4a275f3ed34e 19:03:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:31 + docker inspect -f . ci-base-image-x86_64 19:03:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:31 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:03:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:03:32 $ docker top e8ebef4fe75f19d0863424cef3de6987b3049482ae1189e3097e69934cadbc7d -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:32 + go version 19:03:32 go version go1.20.2 linux/amd64 [Pipeline] } 19:03:32 $ docker stop --time=1 e8ebef4fe75f19d0863424cef3de6987b3049482ae1189e3097e69934cadbc7d 19:03:33 $ docker rm -f --volumes e8ebef4fe75f19d0863424cef3de6987b3049482ae1189e3097e69934cadbc7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:34 + docker inspect -f . ci-base-image-x86_64 19:03:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:34 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:03:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:03:34 $ docker top 71c977aa7babfe13eecd965688e0ba68850f8b4b7ed94ee3afd3e0ed11ae5ada -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:34 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 19:03:35 2ced38df9373: Pull complete 19:03:35 + make test 19:03:35 go test ./... -coverprofile=coverage.out 19:03:36 58f1dce35555: Pull complete 19:03:36 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 19:03:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:03:36 ---> fadd8f120f05 19:03:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:03:38 ---> Running in 3d3c537e65c9 19:03:38 Removing intermediate container 3d3c537e65c9 19:03:38 ---> 8389c375fe2e 19:03:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 19:03:38 ---> Running in 05866ecd164c 19:03:39 Removing intermediate container 05866ecd164c 19:03:39 ---> f0d5f947a055 19:03:39 Step 5/12 : ARG ADD_BUILD_TAGS="" 19:03:39 ---> Running in 06df47f66131 19:03:39 Removing intermediate container 06df47f66131 19:03:39 ---> 983fd7b067f2 19:03:39 Step 6/12 : WORKDIR /device-virtual-go 19:03:39 ---> Running in bf46cc2a0a73 19:03:39 Removing intermediate container bf46cc2a0a73 19:03:39 ---> cc23fe73f885 19:03:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:03:40 ---> Running in 12e5615b9a37 19:03:40 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:03:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:03:43 (1/4) Installing openssh-keygen (9.1_p1-r3) 19:03:43 (2/4) Installing libedit (20221030.3.1-r0) 19:03:43 (3/4) Installing openssh-client-common (9.1_p1-r3) 19:03:43 (4/4) Installing openssh-client-default (9.1_p1-r3) 19:03:43 Executing busybox-1.35.0-r29.trigger 19:03:43 OK: 268 MiB in 57 packages 19:03:44 Removing intermediate container 12e5615b9a37 19:03:44 ---> 0cfca0b23918 19:03:44 Step 8/12 : COPY go.mod vendor* ./ 19:03:44 ---> d1a8c77990ba 19:03:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:03:44 ---> Running in ad9cfe18f467 19:03:48 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:03:48 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 19:03:53 go vet ./... 19:03:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:03:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:03:57 ./bin/test-attribution-txt.sh [Pipeline] echo 19:03:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:03:57 $ docker stop --time=1 71c977aa7babfe13eecd965688e0ba68850f8b4b7ed94ee3afd3e0ed11ae5ada 19:04:00 $ docker rm -f --volumes 71c977aa7babfe13eecd965688e0ba68850f8b4b7ed94ee3afd3e0ed11ae5ada [Pipeline] // withDockerContainer [Pipeline] sh 19:04:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:04:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:04:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:01 + ls -al . 19:04:01 total 192 19:04:01 drwxrwxr-x 9 jenkins jenkins 4096 May 17 19:03 . 19:04:01 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 .. 19:04:01 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:02 .git 19:04:01 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 .github 19:04:01 -rw-rw-r-- 1 jenkins jenkins 337 May 17 19:02 .gitignore 19:04:01 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:02 .golangci.yml 19:04:01 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:02 .semver 19:04:01 -rw-rw-r-- 1 jenkins jenkins 8652 May 17 19:02 Attribution.txt 19:04:01 -rw-rw-r-- 1 jenkins jenkins 11367 May 17 19:02 CHANGELOG.md 19:04:01 -rw-rw-r-- 1 jenkins jenkins 1646 May 17 19:02 Dockerfile 19:04:01 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:02 GOVERNANCE.md 19:04:01 -rw-rw-r-- 1 jenkins jenkins 660 May 17 19:02 Jenkinsfile 19:04:01 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:02 LICENSE 19:04:01 -rw-rw-r-- 1 jenkins jenkins 1696 May 17 19:02 Makefile 19:04:01 -rw-rw-r-- 1 jenkins jenkins 623 May 17 19:02 OWNERS.md 19:04:01 -rw-rw-r-- 1 jenkins jenkins 4087 May 17 19:02 README.md 19:04:01 -rw-rw-r-- 1 jenkins jenkins 12 May 17 19:02 VERSION 19:04:01 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:02 bin 19:04:01 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 cmd 19:04:01 -rw-r--r-- 1 jenkins jenkins 43063 May 17 19:03 coverage.out 19:04:01 -rw-rw-r-- 1 jenkins jenkins 3209 May 17 19:02 go.mod 19:04:01 -rw-rw-r-- 1 jenkins jenkins 30994 May 17 19:02 go.sum 19:04:01 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 internal 19:04:01 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 snap 19:04:01 -rw-rw-r-- 1 jenkins jenkins 235 May 17 19:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:02 + 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=92ded1a488adcb2150b1bb4ba73aa6220ca027a9 --label arch=amd64 --label version=3.0.0-dev.49 . 19:04:02 Sending build context to Docker daemon 23.7MB 19:04:02 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 19:04:02 Step 2/25 : FROM ${BASE} AS builder 19:04:02 ---> 4a275f3ed34e 19:04:02 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:04:02 ---> Running in 18d0eeeea396 19:04:02 Removing intermediate container 18d0eeeea396 19:04:02 ---> 1618b8019e82 19:04:02 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 19:04:02 ---> Running in fab476413cfb 19:04:02 Removing intermediate container fab476413cfb 19:04:02 ---> 2f4bdead07e3 19:04:02 Step 5/25 : ARG ADD_BUILD_TAGS="" 19:04:02 ---> Running in d12a5db1dc92 19:04:02 Removing intermediate container d12a5db1dc92 19:04:02 ---> e61b4e7728c2 19:04:02 Step 6/25 : WORKDIR /device-virtual-go 19:04:02 ---> Running in ec1e547028ff 19:04:02 Removing intermediate container ec1e547028ff 19:04:02 ---> 960b7bee816f 19:04:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:02 ---> Running in d87bc052e6ae 19:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:04:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:04:03 OK: 269 MiB in 57 packages 19:04:03 Removing intermediate container d87bc052e6ae 19:04:03 ---> 3bfc3a71864b 19:04:03 Step 8/25 : COPY go.mod vendor* ./ 19:04:03 ---> efc82555a66a 19:04:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:03 ---> Running in 34543469905a 19:04:04 Removing intermediate container 34543469905a 19:04:04 ---> aa22ee7a8d56 19:04:04 Step 10/25 : COPY . . 19:04:05 ---> 0c14e35e9828 19:04:05 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:05 ---> Running in a11b7b16adf9 19:04:05 Removing intermediate container a11b7b16adf9 19:04:05 ---> 12c27d0b1fa2 19:04:05 Step 12/25 : RUN $MAKE 19:04:05 ---> Running in 67d056795033 19:04:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.49" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 19:04:23 Removing intermediate container 67d056795033 19:04:23 ---> 035b27e76570 19:04:23 Step 13/25 : FROM alpine:3.17 19:04:24 3.17: Pulling from library/alpine 19:04:24 f56be85fc22e: Already exists 19:04:24 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:04:24 Status: Downloaded newer image for alpine:3.17 19:04:24 ---> 9ed4aefc74f6 19:04:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:04:24 ---> Running in a63da6cab237 19:04:24 Removing intermediate container a63da6cab237 19:04:24 ---> 7752394370c8 19:04:24 Step 15/25 : RUN apk add --update --no-cache dumb-init 19:04:24 ---> Running in 58abbbe68f74 19:04:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:04:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:04:24 (1/1) Installing dumb-init (1.2.5-r2) 19:04:24 Executing busybox-1.35.0-r29.trigger 19:04:24 OK: 7 MiB in 16 packages 19:04:25 Removing intermediate container 58abbbe68f74 19:04:25 ---> e7d808bfb663 19:04:25 Step 16/25 : WORKDIR / 19:04:25 ---> Running in 94c18714b498 19:04:25 Removing intermediate container 94c18714b498 19:04:25 ---> 304ca0098a1b 19:04:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:04:25 ---> 04c3b06f49b0 19:04:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 19:04:25 ---> 2cae1d8da82f 19:04:25 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 19:04:26 ---> bc20d6825f9f 19:04:26 Step 20/25 : EXPOSE 59900 19:04:26 ---> Running in abe89c24c59c 19:04:26 Removing intermediate container abe89c24c59c 19:04:26 ---> 11f1a141f684 19:04:26 Step 21/25 : ENTRYPOINT ["/device-virtual"] 19:04:26 ---> Running in 5bed7f497fc5 19:04:26 Removing intermediate container 5bed7f497fc5 19:04:26 ---> 4e450fb03d37 19:04:26 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:04:26 ---> Running in b251b1180336 19:04:26 Removing intermediate container b251b1180336 19:04:26 ---> bbf936a8c538 19:04:26 Step 23/25 : LABEL arch=amd64 19:04:26 ---> Running in 8d14b2516cf9 19:04:26 Removing intermediate container 8d14b2516cf9 19:04:26 ---> d9e6d0b0dcc7 19:04:26 Step 24/25 : LABEL git_sha=92ded1a488adcb2150b1bb4ba73aa6220ca027a9 19:04:26 ---> Running in f344347d780e 19:04:26 Removing intermediate container f344347d780e 19:04:26 ---> 81db972663d9 19:04:26 Step 25/25 : LABEL version=3.0.0-dev.49 19:04:26 ---> Running in 8f753a42ecb5 19:04:26 Removing intermediate container 8f753a42ecb5 19:04:26 ---> c8de4d56133b 19:04:26 [Warning] One or more build-args [ARCH] were not consumed 19:04:26 Successfully built c8de4d56133b 19:04:26 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:26 provisioning config files... 19:04:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3486769546626351307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:26 ---> docker-login.sh 19:04:26 nexus3.edgexfoundry.org:10001 19:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:26 Configure a credential helper to remove this warning. See 19:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:26 19:04:26 Login Succeeded 19:04:26 nexus3.edgexfoundry.org:10002 19:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:26 Configure a credential helper to remove this warning. See 19:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:26 19:04:26 Login Succeeded 19:04:26 nexus3.edgexfoundry.org:10003 19:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:27 Configure a credential helper to remove this warning. See 19:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:27 19:04:27 Login Succeeded 19:04:27 nexus3.edgexfoundry.org:10004 19:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:27 Configure a credential helper to remove this warning. See 19:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:27 19:04:27 Login Succeeded 19:04:27 docker.io 19:04:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:27 Configure a credential helper to remove this warning. See 19:04:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:27 19:04:27 Login Succeeded 19:04:27 ---> docker-login.sh ends [Pipeline] } 19:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:04:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:27 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 19:04:27 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 19:04:27 latest 19:04:27 3.0.0-dev.49 19:04:27 92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49 19:04:27 main 19:04:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual:92ded1a488adcb2150b1bb4ba73aa6220ca027a9 19:04:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:04:28 a481cad45fb4: Preparing 19:04:28 d12d6edfe722: Preparing 19:04:28 300f34539061: Preparing 19:04:28 ad15af1432f9: Preparing 19:04:28 f1417ff83b31: Preparing 19:04:28 f1417ff83b31: Layer already exists 19:04:28 300f34539061: Pushed 19:04:28 d12d6edfe722: Pushed 19:04:28 ad15af1432f9: Pushed 19:04:30 a481cad45fb4: Pushed 19:04:30 92ded1a488adcb2150b1bb4ba73aa6220ca027a9: digest: sha256:1db9664ca5f8d0d5433b26035d3bb4b273d8ef0d513b74e218d780c0474a931a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:31 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 19:04:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:04:31 a481cad45fb4: Preparing 19:04:31 d12d6edfe722: Preparing 19:04:31 300f34539061: Preparing 19:04:31 ad15af1432f9: Preparing 19:04:31 f1417ff83b31: Preparing 19:04:31 d12d6edfe722: Layer already exists 19:04:31 ad15af1432f9: Layer already exists 19:04:31 f1417ff83b31: Layer already exists 19:04:31 a481cad45fb4: Layer already exists 19:04:31 300f34539061: Layer already exists 19:04:31 latest: digest: sha256:1db9664ca5f8d0d5433b26035d3bb4b273d8ef0d513b74e218d780c0474a931a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:31 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.49 19:04:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:04:31 a481cad45fb4: Preparing 19:04:31 d12d6edfe722: Preparing 19:04:31 300f34539061: Preparing 19:04:31 ad15af1432f9: Preparing 19:04:31 f1417ff83b31: Preparing 19:04:31 a481cad45fb4: Layer already exists 19:04:31 f1417ff83b31: Layer already exists 19:04:31 d12d6edfe722: Layer already exists 19:04:31 300f34539061: Layer already exists 19:04:31 ad15af1432f9: Layer already exists 19:04:31 3.0.0-dev.49: digest: sha256:1db9664ca5f8d0d5433b26035d3bb4b273d8ef0d513b74e218d780c0474a931a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:32 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual:92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49 19:04:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:04:32 a481cad45fb4: Preparing 19:04:32 d12d6edfe722: Preparing 19:04:32 300f34539061: Preparing 19:04:32 ad15af1432f9: Preparing 19:04:32 f1417ff83b31: Preparing 19:04:32 a481cad45fb4: Layer already exists 19:04:32 300f34539061: Layer already exists 19:04:32 d12d6edfe722: Layer already exists 19:04:32 f1417ff83b31: Layer already exists 19:04:32 ad15af1432f9: Layer already exists 19:04:32 92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49: digest: sha256:1db9664ca5f8d0d5433b26035d3bb4b273d8ef0d513b74e218d780c0474a931a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:32 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 19:04:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 19:04:33 a481cad45fb4: Preparing 19:04:33 d12d6edfe722: Preparing 19:04:33 300f34539061: Preparing 19:04:33 ad15af1432f9: Preparing 19:04:33 f1417ff83b31: Preparing 19:04:33 ad15af1432f9: Layer already exists 19:04:33 a481cad45fb4: Layer already exists 19:04:33 f1417ff83b31: Layer already exists 19:04:33 300f34539061: Layer already exists 19:04:33 d12d6edfe722: Layer already exists 19:04:33 main: digest: sha256:1db9664ca5f8d0d5433b26035d3bb4b273d8ef0d513b74e218d780c0474a931a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:04:33 ===================================================== [Pipeline] echo 19:04:33 taggedImages: 19:04:33 - nexus3.edgexfoundry.org:10004/device-virtual:92ded1a488adcb2150b1bb4ba73aa6220ca027a9 19:04:33 - nexus3.edgexfoundry.org:10004/device-virtual:latest 19:04:33 - nexus3.edgexfoundry.org:10004/device-virtual:3.0.0-dev.49 19:04:33 - nexus3.edgexfoundry.org:10004/device-virtual:92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49 19:04:33 - 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 19:04:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:33 19:04:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:33 latest: Pulling from edgex-lftools-log-publisher 19:04:33 5eb5b503b376: Pulling fs layer 19:04:33 5c69ac0246d0: Pulling fs layer 19:04:33 ec43610c2a17: Pulling fs layer 19:04:33 3a2ae6a8a46f: Pulling fs layer 19:04:33 33b1e0a273af: Pulling fs layer 19:04:33 5d3b04190fa2: Pulling fs layer 19:04:33 2f39f015ded8: Pulling fs layer 19:04:33 3a2ae6a8a46f: Waiting 19:04:33 33b1e0a273af: Waiting 19:04:33 5d3b04190fa2: Waiting 19:04:33 2f39f015ded8: Waiting 19:04:33 5c69ac0246d0: Verifying Checksum 19:04:33 5c69ac0246d0: Download complete 19:04:33 3a2ae6a8a46f: Verifying Checksum 19:04:33 3a2ae6a8a46f: Download complete 19:04:33 33b1e0a273af: Verifying Checksum 19:04:33 33b1e0a273af: Download complete 19:04:33 ec43610c2a17: Verifying Checksum 19:04:33 ec43610c2a17: Download complete 19:04:33 5d3b04190fa2: Download complete 19:04:34 5eb5b503b376: Download complete 19:04:34 2f39f015ded8: Download complete 19:04:35 5eb5b503b376: Pull complete 19:04:35 5c69ac0246d0: Pull complete 19:04:35 ec43610c2a17: Pull complete 19:04:35 3a2ae6a8a46f: Pull complete 19:04:35 33b1e0a273af: Pull complete 19:04:36 5d3b04190fa2: Pull complete 19:04:40 2f39f015ded8: Pull complete 19:04:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:04:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:40 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:04:43 $ docker top ba7cf32d96c8118e4406184aa47ace908a39b9cda7bfe4bd6b7c89eecc816d32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:44 ---> job-cost.sh 19:04:44 lf-activate-venv: SKIPPING 19:04:44 INFO: No Stack... 19:04:44 INFO: Retrieving Pricing Info for: v3-standard-8 19:04:44 INFO: Archiving Costs [Pipeline] sh 19:04:45 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 19:04:45 + cut -d, -f6 [Pipeline] lock 19:04:45 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-121-stack-cost] 19:04:45 Resource [jenkins-edgexfoundry-device-virtual-go-main-121-stack-cost] did not exist. Created. 19:04:45 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:04:45 + echo total: 0.2199999988079071 [Pipeline] stash 19:04:45 Stashed 1 file(s) [Pipeline] } 19:04:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 19:04:45 $ docker stop --time=1 ba7cf32d96c8118e4406184aa47ace908a39b9cda7bfe4bd6b7c89eecc816d32 19:04:46 $ docker rm -f --volumes ba7cf32d96c8118e4406184aa47ace908a39b9cda7bfe4bd6b7c89eecc816d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:04:52 Removing intermediate container ad9cfe18f467 19:04:52 ---> ae28848672d7 19:04:52 Step 10/12 : COPY . . 19:04:52 ---> 829d15e16d52 19:04:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:52 ---> Running in d1968a7b215f 19:04:52 Removing intermediate container d1968a7b215f 19:04:52 ---> 136a4ec5c1c2 19:04:52 Step 12/12 : RUN $MAKE 19:04:52 ---> Running in 22ed0ac3a20b 19:04:52 noop 19:04:52 Removing intermediate container 22ed0ac3a20b 19:04:52 ---> 4d7e526f0f79 19:04:52 Successfully built 4d7e526f0f79 19:04:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:53 + docker inspect -f . ci-base-image-arm64 19:04:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:53 prd-ubuntu20.04-docker-arm64-4c-16g-15920 does not seem to be running inside a container 19:04:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/121 -v /w/workspace/device-virtual-go/121:/w/workspace/device-virtual-go/121:rw,z -v /w/workspace/device-virtual-go/121@tmp:/w/workspace/device-virtual-go/121@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-arm64 cat 19:04:55 $ docker top 0df428ad1f2bcac439bb23f5532bdaf35047f41c6c5200a64136b463f8fe0147 -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:55 + go version 19:04:55 go version go1.20.2 linux/arm64 [Pipeline] } 19:04:55 $ docker stop --time=1 0df428ad1f2bcac439bb23f5532bdaf35047f41c6c5200a64136b463f8fe0147 19:04:57 $ docker rm -f --volumes 0df428ad1f2bcac439bb23f5532bdaf35047f41c6c5200a64136b463f8fe0147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:58 + docker inspect -f . ci-base-image-arm64 19:04:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:58 prd-ubuntu20.04-docker-arm64-4c-16g-15920 does not seem to be running inside a container 19:04:58 $ 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/121 -v /w/workspace/device-virtual-go/121:/w/workspace/device-virtual-go/121:rw,z -v /w/workspace/device-virtual-go/121@tmp:/w/workspace/device-virtual-go/121@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-arm64 cat 19:04:59 $ docker top 804fd9f4924d26d912d83f9c86e3eb39b5e0b2509504356664bdc8ef12d42c1a -eo pid,comm [Pipeline] { [Pipeline] sh 19:05:00 + git config --global --add safe.directory /w/workspace/device-virtual-go/121 [Pipeline] fileExists [Pipeline] sh 19:05:00 + make test 19:05:01 go test ./... -coverprofile=coverage.out 19:05:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:07:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:07:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.093s coverage: 58.4% of statements 19:07:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:07:31 go vet ./... 19:07:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:07:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:07:58 ./bin/test-attribution-txt.sh [Pipeline] echo 19:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:07:58 $ docker stop --time=1 804fd9f4924d26d912d83f9c86e3eb39b5e0b2509504356664bdc8ef12d42c1a 19:08:00 $ docker rm -f --volumes 804fd9f4924d26d912d83f9c86e3eb39b5e0b2509504356664bdc8ef12d42c1a [Pipeline] // withDockerContainer [Pipeline] sh 19:08:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:08:01 Warning: overwriting stash ‘coverage-report’ 19:08:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:08:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:08:03 + ls -al . 19:08:03 total 188 19:08:03 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:05 . 19:08:03 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 .. 19:08:03 drwxrwxr-x 8 jenkins jenkins 4096 May 17 19:02 .git 19:08:03 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 .github 19:08:03 -rw-rw-r-- 1 jenkins jenkins 337 May 17 19:02 .gitignore 19:08:03 -rw-rw-r-- 1 jenkins jenkins 41 May 17 19:02 .golangci.yml 19:08:03 -rw-rw-r-- 1 jenkins jenkins 8652 May 17 19:02 Attribution.txt 19:08:03 -rw-rw-r-- 1 jenkins jenkins 11367 May 17 19:02 CHANGELOG.md 19:08:03 -rw-rw-r-- 1 jenkins jenkins 1646 May 17 19:02 Dockerfile 19:08:03 -rw-rw-r-- 1 jenkins jenkins 677 May 17 19:02 GOVERNANCE.md 19:08:03 -rw-rw-r-- 1 jenkins jenkins 660 May 17 19:02 Jenkinsfile 19:08:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 17 19:02 LICENSE 19:08:03 -rw-rw-r-- 1 jenkins jenkins 1696 May 17 19:02 Makefile 19:08:03 -rw-rw-r-- 1 jenkins jenkins 623 May 17 19:02 OWNERS.md 19:08:03 -rw-rw-r-- 1 jenkins jenkins 4087 May 17 19:02 README.md 19:08:03 -rw-rw-r-- 1 jenkins jenkins 12 May 17 19:02 VERSION 19:08:03 drwxrwxr-x 2 jenkins jenkins 4096 May 17 19:02 bin 19:08:03 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 cmd 19:08:03 -rw-r--r-- 1 jenkins jenkins 43063 May 17 19:07 coverage.out 19:08:03 -rw-rw-r-- 1 jenkins jenkins 3209 May 17 19:02 go.mod 19:08:03 -rw-rw-r-- 1 jenkins jenkins 30994 May 17 19:02 go.sum 19:08:03 drwxrwxr-x 3 jenkins jenkins 4096 May 17 19:02 internal 19:08:03 drwxrwxr-x 4 jenkins jenkins 4096 May 17 19:02 snap 19:08:03 -rw-rw-r-- 1 jenkins jenkins 235 May 17 19:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:03 + 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=92ded1a488adcb2150b1bb4ba73aa6220ca027a9 --label arch=arm64 --label version=3.0.0-dev.49 . 19:08:04 Sending build context to Docker daemon 12.04MB 19:08:04 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 19:08:04 Step 2/25 : FROM ${BASE} AS builder 19:08:04 ---> 4d7e526f0f79 19:08:04 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:08:04 ---> Running in ed066b71fc2c 19:08:04 Removing intermediate container ed066b71fc2c 19:08:04 ---> 7884eea12ebe 19:08:04 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 19:08:04 ---> Running in a528e4a56335 19:08:05 Removing intermediate container a528e4a56335 19:08:05 ---> 2f95a0ac9d2c 19:08:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 19:08:05 ---> Running in 656482fcc9be 19:08:05 Removing intermediate container 656482fcc9be 19:08:05 ---> 94255b70198a 19:08:05 Step 6/25 : WORKDIR /device-virtual-go 19:08:05 ---> Running in a5baa2ff3c45 19:08:06 Removing intermediate container a5baa2ff3c45 19:08:06 ---> 4ddf8204a841 19:08:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:08:06 ---> Running in 1e22da578284 19:08:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:08:10 OK: 268 MiB in 57 packages 19:08:11 Removing intermediate container 1e22da578284 19:08:11 ---> f5775a839b7a 19:08:11 Step 8/25 : COPY go.mod vendor* ./ 19:08:11 ---> 99b5e660bd4d 19:08:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:12 ---> Running in 21723ed5fe90 19:08:15 Removing intermediate container 21723ed5fe90 19:08:15 ---> 8ad927fe245d 19:08:15 Step 10/25 : COPY . . 19:08:18 ---> fa4ddac09fe5 19:08:18 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:08:18 ---> Running in fcc088c6eacf 19:08:18 Removing intermediate container fcc088c6eacf 19:08:18 ---> d4586f80fb68 19:08:18 Step 12/25 : RUN $MAKE 19:08:18 ---> Running in f33d9d7c2ea8 19:08:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.0.0-dev.49" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 19:11:11 Removing intermediate container f33d9d7c2ea8 19:11:11 ---> 3518227111b6 19:11:11 Step 13/25 : FROM alpine:3.17 19:11:11 3.17: Pulling from library/alpine 19:11:11 c41833b44d91: Already exists 19:11:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 19:11:11 Status: Downloaded newer image for alpine:3.17 19:11:11 ---> 51e60588ff2c 19:11:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:11:11 ---> Running in 04f7ad70ed86 19:11:11 Removing intermediate container 04f7ad70ed86 19:11:11 ---> 831394abf481 19:11:11 Step 15/25 : RUN apk add --update --no-cache dumb-init 19:11:11 ---> Running in dd1babcd04b5 19:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:11:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:11:11 (1/1) Installing dumb-init (1.2.5-r2) 19:11:11 Executing busybox-1.35.0-r29.trigger 19:11:11 OK: 8 MiB in 16 packages 19:11:11 Removing intermediate container dd1babcd04b5 19:11:11 ---> 07c62fafb016 19:11:11 Step 16/25 : WORKDIR / 19:11:11 ---> Running in b8e58d56274e 19:11:11 Removing intermediate container b8e58d56274e 19:11:11 ---> ecc0b7eda446 19:11:11 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:11:11 ---> 94191669efba 19:11:11 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 19:11:11 ---> 6b8c8e1ab3b1 19:11:11 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 19:11:12 ---> 6d09a3543107 19:11:12 Step 20/25 : EXPOSE 59900 19:11:12 ---> Running in 1af057a42292 19:11:12 Removing intermediate container 1af057a42292 19:11:12 ---> e7d5e762f637 19:11:12 Step 21/25 : ENTRYPOINT ["/device-virtual"] 19:11:12 ---> Running in 5e1bbc2946ba 19:11:12 Removing intermediate container 5e1bbc2946ba 19:11:12 ---> 2ef728e65776 19:11:12 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:11:13 ---> Running in c936b7d60319 19:11:13 Removing intermediate container c936b7d60319 19:11:13 ---> eae905543451 19:11:13 Step 23/25 : LABEL arch=arm64 19:11:13 ---> Running in c45316046604 19:11:13 Removing intermediate container c45316046604 19:11:13 ---> d0b4f3e5625c 19:11:13 Step 24/25 : LABEL git_sha=92ded1a488adcb2150b1bb4ba73aa6220ca027a9 19:11:13 ---> Running in 411dbef96283 19:11:14 Removing intermediate container 411dbef96283 19:11:14 ---> 0ca7925b75c2 19:11:14 Step 25/25 : LABEL version=3.0.0-dev.49 19:11:14 ---> Running in 60a7ea6e25af 19:11:14 Removing intermediate container 60a7ea6e25af 19:11:14 ---> e2750df0d5e4 19:11:14 [Warning] One or more build-args [ARCH] were not consumed 19:11:14 Successfully built e2750df0d5e4 19:11:14 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 19:11:14 provisioning config files... 19:11:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/121@tmp/config18337862197651197041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:15 ---> docker-login.sh 19:11:15 nexus3.edgexfoundry.org:10001 19:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:15 Configure a credential helper to remove this warning. See 19:11:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:15 19:11:15 Login Succeeded 19:11:15 nexus3.edgexfoundry.org:10002 19:11:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:16 Configure a credential helper to remove this warning. See 19:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:16 19:11:16 Login Succeeded 19:11:16 nexus3.edgexfoundry.org:10003 19:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:16 Configure a credential helper to remove this warning. See 19:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:16 19:11:16 Login Succeeded 19:11:16 nexus3.edgexfoundry.org:10004 19:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:16 Configure a credential helper to remove this warning. See 19:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:16 19:11:16 Login Succeeded 19:11:16 docker.io 19:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:17 Configure a credential helper to remove this warning. See 19:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:17 19:11:17 Login Succeeded 19:11:17 ---> docker-login.sh ends [Pipeline] } 19:11:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:11:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:11:17 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 19:11:17 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 19:11:17 latest 19:11:17 3.0.0-dev.49 19:11:17 92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49 19:11:17 main 19:11:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:17 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:18 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:92ded1a488adcb2150b1bb4ba73aa6220ca027a9 19:11:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:11:18 bc2d57e53864: Preparing 19:11:18 d640f5356f14: Preparing 19:11:18 41a145f9d09f: Preparing 19:11:18 4fb66954ebd1: Preparing 19:11:18 26cbea5cba74: Preparing 19:11:18 26cbea5cba74: Layer already exists 19:11:18 d640f5356f14: Pushed 19:11:18 4fb66954ebd1: Pushed 19:11:18 41a145f9d09f: Pushed 19:11:25 bc2d57e53864: Pushed 19:11:25 92ded1a488adcb2150b1bb4ba73aa6220ca027a9: digest: sha256:c2ac863b8317763ff71804861831389c14070e502c2564b128cc40693025dfd4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:25 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:25 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 19:11:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:11:25 bc2d57e53864: Preparing 19:11:25 d640f5356f14: Preparing 19:11:25 41a145f9d09f: Preparing 19:11:25 4fb66954ebd1: Preparing 19:11:25 26cbea5cba74: Preparing 19:11:25 bc2d57e53864: Layer already exists 19:11:25 4fb66954ebd1: Layer already exists 19:11:25 d640f5356f14: Layer already exists 19:11:25 26cbea5cba74: Layer already exists 19:11:25 41a145f9d09f: Layer already exists 19:11:26 latest: digest: sha256:c2ac863b8317763ff71804861831389c14070e502c2564b128cc40693025dfd4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:26 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:26 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.49 19:11:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:11:26 bc2d57e53864: Preparing 19:11:26 d640f5356f14: Preparing 19:11:26 41a145f9d09f: Preparing 19:11:26 4fb66954ebd1: Preparing 19:11:26 26cbea5cba74: Preparing 19:11:26 41a145f9d09f: Layer already exists 19:11:26 bc2d57e53864: Layer already exists 19:11:26 26cbea5cba74: Layer already exists 19:11:26 d640f5356f14: Layer already exists 19:11:26 4fb66954ebd1: Layer already exists 19:11:27 3.0.0-dev.49: digest: sha256:c2ac863b8317763ff71804861831389c14070e502c2564b128cc40693025dfd4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:27 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49 19:11:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:11:27 bc2d57e53864: Preparing 19:11:27 d640f5356f14: Preparing 19:11:27 41a145f9d09f: Preparing 19:11:27 4fb66954ebd1: Preparing 19:11:27 26cbea5cba74: Preparing 19:11:27 4fb66954ebd1: Layer already exists 19:11:27 26cbea5cba74: Layer already exists 19:11:27 41a145f9d09f: Layer already exists 19:11:27 bc2d57e53864: Layer already exists 19:11:27 d640f5356f14: Layer already exists 19:11:28 92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49: digest: sha256:c2ac863b8317763ff71804861831389c14070e502c2564b128cc40693025dfd4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:28 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:28 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 19:11:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 19:11:28 bc2d57e53864: Preparing 19:11:28 d640f5356f14: Preparing 19:11:28 41a145f9d09f: Preparing 19:11:28 4fb66954ebd1: Preparing 19:11:28 26cbea5cba74: Preparing 19:11:28 4fb66954ebd1: Layer already exists 19:11:28 41a145f9d09f: Layer already exists 19:11:28 bc2d57e53864: Layer already exists 19:11:28 26cbea5cba74: Layer already exists 19:11:28 d640f5356f14: Layer already exists 19:11:29 main: digest: sha256:c2ac863b8317763ff71804861831389c14070e502c2564b128cc40693025dfd4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:11:29 ===================================================== [Pipeline] echo 19:11:29 taggedImages: 19:11:29 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:92ded1a488adcb2150b1bb4ba73aa6220ca027a9 19:11:29 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 19:11:29 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.0.0-dev.49 19:11:29 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:92ded1a488adcb2150b1bb4ba73aa6220ca027a9-3.0.0-dev.49 19:11:29 - 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 19:11:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:29 19:11:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:30 arm64: Pulling from edgex-lftools-log-publisher 19:11:30 8998bd30e6a1: Pulling fs layer 19:11:30 04944245beec: Pulling fs layer 19:11:30 699f458cf7ca: Pulling fs layer 19:11:30 765212b225bb: Pulling fs layer 19:11:30 f23df028b6ca: Pulling fs layer 19:11:30 d65c8cfc05b1: Pulling fs layer 19:11:30 2437ff75d9bd: Pulling fs layer 19:11:30 765212b225bb: Waiting 19:11:30 f23df028b6ca: Waiting 19:11:30 d65c8cfc05b1: Waiting 19:11:30 2437ff75d9bd: Waiting 19:11:30 04944245beec: Verifying Checksum 19:11:30 04944245beec: Download complete 19:11:30 765212b225bb: Verifying Checksum 19:11:30 765212b225bb: Download complete 19:11:30 f23df028b6ca: Verifying Checksum 19:11:30 f23df028b6ca: Download complete 19:11:30 d65c8cfc05b1: Verifying Checksum 19:11:30 d65c8cfc05b1: Download complete 19:11:30 699f458cf7ca: Verifying Checksum 19:11:30 699f458cf7ca: Download complete 19:11:30 8998bd30e6a1: Download complete 19:11:33 2437ff75d9bd: Download complete 19:11:35 8998bd30e6a1: Pull complete 19:11:36 04944245beec: Pull complete 19:11:37 699f458cf7ca: Pull complete 19:11:37 765212b225bb: Pull complete 19:11:38 f23df028b6ca: Pull complete 19:11:38 d65c8cfc05b1: Pull complete 19:11:53 2437ff75d9bd: Pull complete 19:11:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:11:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:53 prd-ubuntu20.04-docker-arm64-4c-16g-15920 does not seem to be running inside a container 19:11:54 $ 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/121 -v /w/workspace/device-virtual-go/121:/w/workspace/device-virtual-go/121:rw,z -v /w/workspace/device-virtual-go/121@tmp:/w/workspace/device-virtual-go/121@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:arm64 cat 19:11:57 $ docker top 9ffc2784372a0584a4e74be4d2599d35a237c2dd754753b2a108a0b6317d6035 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:58 ---> job-cost.sh 19:11:58 lf-activate-venv: SKIPPING 19:11:58 INFO: No Stack... 19:11:58 INFO: Retrieving Pricing Info for: v3-standard-4 19:11:59 INFO: Archiving Costs [Pipeline] sh 19:12:00 + cut -d, -f6 19:12:00 + cat /w/workspace/device-virtual-go/121/archives/cost.csv [Pipeline] lock 19:12:00 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-121-stack-cost] 19:12:00 Resource [jenkins-edgexfoundry-device-virtual-go-main-121-stack-cost] did not exist. Created. 19:12:00 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:12:01 /w/workspace/device-virtual-go/121@tmp/durable-bf7b65f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:12:01 + echo total: 0.10999999940395355 [Pipeline] stash 19:12:01 Warning: overwriting stash ‘stack-cost’ 19:12:01 Stashed 1 file(s) [Pipeline] } 19:12:01 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 19:12:01 $ docker stop --time=1 9ffc2784372a0584a4e74be4d2599d35a237c2dd754753b2a108a0b6317d6035 19:12:03 $ docker rm -f --volumes 9ffc2784372a0584a4e74be4d2599d35a237c2dd754753b2a108a0b6317d6035 [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 19:12:03 provisioning config files... 19:12:03 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6966627580863268195tmp [Pipeline] { [Pipeline] sh 19:12:04 + set +x 19:12:04 + curl -s https://codecov.io/bash 19:12:04 + bash -s -- 19:12:04 19:12:04 _____ _ 19:12:04 / ____| | | 19:12:04 | | ___ __| | ___ ___ _____ __ 19:12:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:12:04 | |___| (_) | (_| | __/ (_| (_) \ V / 19:12:04 \_____\___/ \__,_|\___|\___\___/ \_/ 19:12:04 Bash-1.0.6 19:12:04 19:12:04 19:12:04 ==> git version 2.25.1 found 19:12:04 ==> 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 19:12:04 Release-Date: 2020-01-08 19:12:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:12:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:12:04 ==> Jenkins CI detected. 19:12:04 current dir:  /w/workspace/exfoundry_device-virtual-go_main 19:12:04 project root: . 19:12:04 --> token set from env 19:12:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:12:04 ==> Running gcov in . (disable via -X gcov) 19:12:04 ==> Python coveragepy not found 19:12:04 ==> Searching for coverage reports in: 19:12:04 + . 19:12:04 -> Found 1 reports 19:12:04 ==> Detecting git/mercurial file structure 19:12:04 ==> Reading reports 19:12:04 + ./coverage.out bytes=43063 19:12:04 ==> Appending adjustments 19:12:04 https://docs.codecov.io/docs/fixing-reports 19:12:04 + Found adjustments 19:12:04 ==> Gzipping contents 19:12:04 8.0K /tmp/codecov.4hOPte.gz 19:12:04 ==> Uploading reports 19:12:04 url: https://codecov.io 19:12:04 query: branch=main&commit=92ded1a488adcb2150b1bb4ba73aa6220ca027a9&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:12:04 -> Pinging Codecov 19:12:04 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=92ded1a488adcb2150b1bb4ba73aa6220ca027a9&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:12:04 -> Uploading to 19:12:04 https://storage.googleapis.com/codecov/v4/raw/2023-05-17/5E52B4B073DB2E39498172D8E973AA87/92ded1a488adcb2150b1bb4ba73aa6220ca027a9/9ae75746-f0b5-4564-bbba-2c7322b4a57d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230517%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230517T191204Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb8baf0df61bd8d2e77ae6f65dea138eb6dcee3e7fa068f3d580a2de70bace54 19:12:04 % Total % Received % Xferd Average Speed Time Time Time Current 19:12:04 Dload Upload Total Spent Left Speed 19:12:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26448 --:--:-- --:--:-- --:--:-- 26448 19:12:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [Pipeline] } 19:12:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:12:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:12:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:05 19:12:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:05 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:12:05 df9b9388f04a: Pulling fs layer 19:12:05 52dc419b0ee2: Pulling fs layer 19:12:05 25bc292e5bac: Pulling fs layer 19:12:05 114826534d7a: Pulling fs layer 19:12:05 4657fd5d0bcf: Pulling fs layer 19:12:05 6ad1cebc031e: Pulling fs layer 19:12:05 8a3aa393b2d8: Pulling fs layer 19:12:05 114826534d7a: Waiting 19:12:05 4657fd5d0bcf: Waiting 19:12:05 6ad1cebc031e: Waiting 19:12:05 8a3aa393b2d8: Waiting 19:12:05 25bc292e5bac: Verifying Checksum 19:12:05 25bc292e5bac: Download complete 19:12:05 52dc419b0ee2: Download complete 19:12:05 4657fd5d0bcf: Verifying Checksum 19:12:05 4657fd5d0bcf: Download complete 19:12:05 df9b9388f04a: Verifying Checksum 19:12:05 df9b9388f04a: Download complete 19:12:05 6ad1cebc031e: Verifying Checksum 19:12:05 6ad1cebc031e: Download complete 19:12:05 df9b9388f04a: Pull complete 19:12:05 52dc419b0ee2: Pull complete 19:12:05 25bc292e5bac: Pull complete 19:12:06 114826534d7a: Verifying Checksum 19:12:06 114826534d7a: Download complete 19:12:06 8a3aa393b2d8: Verifying Checksum 19:12:06 8a3aa393b2d8: Download complete 19:12:09 114826534d7a: Pull complete 19:12:09 4657fd5d0bcf: Pull complete 19:12:09 6ad1cebc031e: Pull complete 19:12:12 8a3aa393b2d8: Pull complete 19:12:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:12:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:12:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:12 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:12:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:12:16 $ docker top 73679d8e1794d1f2474cd458f87feea6522d42f3123247e4be6276fa0766916d -eo pid,comm [Pipeline] { [Pipeline] echo 19:12:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 19:12:16 + set -o pipefail 19:12:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 19:12:22 19:12:22 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 19:12:22 19:12:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/782e2188-fd1e-40f0-bea1-ec16ec2df826 19:12:22 19:12:22 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 19:12:22 19:12:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:12:22 19:12:22 19:12:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:12:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:12:22 More details here: https://snyk.co/ue1NS [Pipeline] } 19:12:22 $ docker stop --time=1 73679d8e1794d1f2474cd458f87feea6522d42f3123247e4be6276fa0766916d 19:12:25 $ docker rm -f --volumes 73679d8e1794d1f2474cd458f87feea6522d42f3123247e4be6276fa0766916d [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 19:12:25 + git log --format=format:%s -1 92ded1a488adcb2150b1bb4ba73aa6220ca027a9 [Pipeline] sh 19:12:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:12:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:26 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:12:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:12:26 $ docker top 3bb672906770cda9c9201eb43535ed70bc92caaa2d1355b7c324794b18f77447 -eo pid,comm 19:12:27 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). 19:12:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:12:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:27 [ssh-agent] Looking for ssh-agent implementation... 19:12:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:27 $ docker exec 3bb672906770cda9c9201eb43535ed70bc92caaa2d1355b7c324794b18f77447 ssh-agent 19:12:27 SSH_AUTH_SOCK=/tmp/ssh-DWuoNBYx3Evv/agent.32 19:12:27 SSH_AGENT_PID=38 19:12:27 Running ssh-add (command line suppressed) 19:12:27 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3301837930121939656.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3301837930121939656.key) 19:12:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:27 + git semver tag 19:12:27 2023-05-17 19:12:27,853 [run_tag] DEBUG tag force:False 19:12:27 2023-05-17 19:12:27,853 [check_head_tag] DEBUG check head tag 19:12:27 2023-05-17 19:12:27,854 [execute] INFO git cat-file --batch-check 19:12:27 2023-05-17 19:12:27,855 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 19:12:27 2023-05-17 19:12:27,858 [execute] INFO git cat-file --batch 19:12:27 2023-05-17 19:12:27,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 19:12:27 2023-05-17 19:12:27,882 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:12:27 2023-05-17 19:12:27,882 [execute] INFO git tag -a v3.0.0-dev.49 -m v3.0.0-dev.49 19:12:27 2023-05-17 19:12:27,883 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.49', '-m', 'v3.0.0-dev.49'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 19:12:27 2023-05-17 19:12:27,886 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:12:27 3.0.0-dev.49 [Pipeline] } 19:12:27 $ docker exec --env ******** --env ******** 3bb672906770cda9c9201eb43535ed70bc92caaa2d1355b7c324794b18f77447 ssh-agent -k 19:12:28 unset SSH_AUTH_SOCK; 19:12:28 unset SSH_AGENT_PID; 19:12:28 echo Agent pid 38 killed; 19:12:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:12:28 + git semver [Pipeline] } 19:12:28 $ docker stop --time=1 3bb672906770cda9c9201eb43535ed70bc92caaa2d1355b7c324794b18f77447 19:12:29 $ docker rm -f --volumes 3bb672906770cda9c9201eb43535ed70bc92caaa2d1355b7c324794b18f77447 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:12:30 19:12:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:12:30 0.23.1-centos7: Pulling from edgex-lftools 19:12:30 ab5ef0e58194: Pulling fs layer 19:12:30 9712f1f96733: Pulling fs layer 19:12:30 63f879dbbcfc: Pulling fs layer 19:12:30 0d9ebad4ef96: Pulling fs layer 19:12:30 e9a5061849ea: Pulling fs layer 19:12:30 d747dcd14b5f: Pulling fs layer 19:12:30 0d9ebad4ef96: Waiting 19:12:30 e9a5061849ea: Waiting 19:12:30 2de7ff778b66: Pulling fs layer 19:12:30 d747dcd14b5f: Waiting 19:12:30 2de7ff778b66: Waiting 19:12:30 9712f1f96733: Download complete 19:12:31 63f879dbbcfc: Verifying Checksum 19:12:31 63f879dbbcfc: Download complete 19:12:31 0d9ebad4ef96: Verifying Checksum 19:12:31 0d9ebad4ef96: Download complete 19:12:31 d747dcd14b5f: Verifying Checksum 19:12:31 d747dcd14b5f: Download complete 19:12:31 ab5ef0e58194: Verifying Checksum 19:12:31 ab5ef0e58194: Download complete 19:12:31 e9a5061849ea: Verifying Checksum 19:12:31 e9a5061849ea: Download complete 19:12:31 2de7ff778b66: Verifying Checksum 19:12:31 2de7ff778b66: Download complete 19:12:33 ab5ef0e58194: Pull complete 19:12:33 9712f1f96733: Pull complete 19:12:34 63f879dbbcfc: Pull complete 19:12:37 0d9ebad4ef96: Pull complete 19:12:37 e9a5061849ea: Pull complete 19:12:37 d747dcd14b5f: Pull complete 19:12:39 2de7ff778b66: Pull complete 19:12:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:12:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:12:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:39 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:12:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:12:43 $ docker top 2bb02edfe2f7ef5b2caa4f80c8802a6664e4b6ff86a5a0ff2f412a572cad0cc7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:12:44 provisioning config files... 19:12:44 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config761802376639433282tmp 19:12:44 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13357023650007861432tmp 19:12:44 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11943109426549919695tmp [Pipeline] { [Pipeline] echo 19:12:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:12:44 ---> sigul-configuration.sh 19:12:44 gpg: directory `/root/.gnupg' created 19:12:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:12:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:12:44 gpg: keyring `/root/.gnupg/secring.gpg' created 19:12:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:12:44 gpg: CAST5 encrypted data 19:12:44 gpg: encrypted with 1 passphrase 19:12:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:12:44 + mkdir /home/jenkins 19:12:44 + mkdir /home/jenkins/sigul [Pipeline] sh 19:12:44 + 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 19:12:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:12:45 ---> sigul-install.sh 19:12:45 Sigul already installed; skipping installation. [Pipeline] sh 19:12:45 + git tag --list 19:12:45 v1.0.0 19:12:45 v1.1.0 19:12:45 v1.1.1 19:12:45 v1.2.1 19:12:45 v1.2.2 19:12:45 v1.2.3 19:12:45 v1.3.0 19:12:45 v1.3.1 19:12:45 v2.0.0 19:12:45 v2.1.0 19:12:45 v2.1.1 19:12:45 v2.1.1-dev.1 19:12:45 v2.1.1-dev.2 19:12:45 v2.2.0 19:12:45 v2.2.1-dev.1 19:12:45 v2.2.1-dev.2 19:12:45 v2.2.1-dev.3 19:12:45 v2.2.1-dev.4 19:12:45 v2.2.1-dev.5 19:12:45 v2.2.1-dev.6 19:12:45 v2.2.1-dev.7 19:12:45 v2.2.1-dev.8 19:12:45 v2.3.0 19:12:45 v2.3.0-dev.10 19:12:45 v2.3.0-dev.11 19:12:45 v2.3.0-dev.12 19:12:45 v2.3.0-dev.13 19:12:45 v2.3.0-dev.14 19:12:45 v2.3.0-dev.15 19:12:45 v2.3.0-dev.16 19:12:45 v2.3.0-dev.17 19:12:45 v2.3.0-dev.18 19:12:45 v2.3.0-dev.19 19:12:45 v2.3.0-dev.20 19:12:45 v2.3.0-dev.21 19:12:45 v2.3.0-dev.22 19:12:45 v2.3.0-dev.23 19:12:45 v2.3.0-dev.24 19:12:45 v2.3.0-dev.25 19:12:45 v2.3.0-dev.26 19:12:45 v2.3.0-dev.27 19:12:45 v2.3.0-dev.28 19:12:45 v2.3.0-dev.29 19:12:45 v2.3.0-dev.30 19:12:45 v2.3.0-dev.8 19:12:45 v2.3.0-dev.9 19:12:45 v3.0.0-dev.1 19:12:45 v3.0.0-dev.10 19:12:45 v3.0.0-dev.11 19:12:45 v3.0.0-dev.12 19:12:45 v3.0.0-dev.13 19:12:45 v3.0.0-dev.14 19:12:45 v3.0.0-dev.15 19:12:45 v3.0.0-dev.16 19:12:45 v3.0.0-dev.17 19:12:45 v3.0.0-dev.18 19:12:45 v3.0.0-dev.19 19:12:45 v3.0.0-dev.2 19:12:45 v3.0.0-dev.20 19:12:45 v3.0.0-dev.21 19:12:45 v3.0.0-dev.22 19:12:45 v3.0.0-dev.23 19:12:45 v3.0.0-dev.24 19:12:45 v3.0.0-dev.25 19:12:45 v3.0.0-dev.26 19:12:45 v3.0.0-dev.27 19:12:45 v3.0.0-dev.28 19:12:45 v3.0.0-dev.29 19:12:45 v3.0.0-dev.3 19:12:45 v3.0.0-dev.30 19:12:45 v3.0.0-dev.31 19:12:45 v3.0.0-dev.32 19:12:45 v3.0.0-dev.33 19:12:45 v3.0.0-dev.34 19:12:45 v3.0.0-dev.35 19:12:45 v3.0.0-dev.36 19:12:45 v3.0.0-dev.37 19:12:45 v3.0.0-dev.38 19:12:45 v3.0.0-dev.39 19:12:45 v3.0.0-dev.4 19:12:45 v3.0.0-dev.40 19:12:45 v3.0.0-dev.41 19:12:45 v3.0.0-dev.42 19:12:45 v3.0.0-dev.43 19:12:45 v3.0.0-dev.44 19:12:45 v3.0.0-dev.45 19:12:45 v3.0.0-dev.46 19:12:45 v3.0.0-dev.47 19:12:45 v3.0.0-dev.48 19:12:45 v3.0.0-dev.49 19:12:45 v3.0.0-dev.5 19:12:45 v3.0.0-dev.6 19:12:45 v3.0.0-dev.7 19:12:45 v3.0.0-dev.8 19:12:45 v3.0.0-dev.9 [Pipeline] sh 19:12:45 + lftools sign git-tag v3.0.0-dev.49 19:12:46 Signing Git tag with Sigul... 19:12:46 Signing v3.0.0-dev.49 [Pipeline] echo 19:12:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:12:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:12:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:12:46 $ docker stop --time=1 2bb02edfe2f7ef5b2caa4f80c8802a6664e4b6ff86a5a0ff2f412a572cad0cc7 19:12:48 $ docker rm -f --volumes 2bb02edfe2f7ef5b2caa4f80c8802a6664e4b6ff86a5a0ff2f412a572cad0cc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:12:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:12:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:48 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:12:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:12:49 $ docker top 13c86e819773d75a435a36fe69ce326fe5042d93a604e8f733fe3cf82d78ecea -eo pid,comm 19:12:49 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). 19:12:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:12:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:49 [ssh-agent] Looking for ssh-agent implementation... 19:12:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:49 $ docker exec 13c86e819773d75a435a36fe69ce326fe5042d93a604e8f733fe3cf82d78ecea ssh-agent 19:12:49 SSH_AUTH_SOCK=/tmp/ssh-I1OTvdPcCsAY/agent.32 19:12:49 SSH_AGENT_PID=38 19:12:49 Running ssh-add (command line suppressed) 19:12:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10827497024354362744.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_10827497024354362744.key) 19:12:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:50 + git semver bump pre 19:12:50 2023-05-17 19:12:50,246 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:12:50 2023-05-17 19:12:50,246 [bump_version] DEBUG bumping version:3.0.0-dev.49 on axis:pre with prefix:dev 19:12:50 2023-05-17 19:12:50,246 [bump_version] DEBUG bumped version:3.0.0-dev.50 19:12:50 2023-05-17 19:12:50,246 [write_version] DEBUG write version:3.0.0-dev.50 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 19:12:50 2023-05-17 19:12:50,246 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:12:50 2023-05-17 19:12:50,246 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:12:50 2023-05-17 19:12:50,248 [execute] INFO git cat-file --batch-check 19:12:50 2023-05-17 19:12:50,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:12:50 2023-05-17 19:12:50,253 [execute] INFO git cat-file --batch 19:12:50 2023-05-17 19:12:50,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:12:50 2023-05-17 19:12:50,258 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:12:50 3.0.0-dev.50 [Pipeline] } 19:12:50 $ docker exec --env ******** --env ******** 13c86e819773d75a435a36fe69ce326fe5042d93a604e8f733fe3cf82d78ecea ssh-agent -k 19:12:50 unset SSH_AUTH_SOCK; 19:12:50 unset SSH_AGENT_PID; 19:12:50 echo Agent pid 38 killed; 19:12:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:12:50 + git semver [Pipeline] } 19:12:51 $ docker stop --time=1 13c86e819773d75a435a36fe69ce326fe5042d93a604e8f733fe3cf82d78ecea 19:12:52 $ docker rm -f --volumes 13c86e819773d75a435a36fe69ce326fe5042d93a604e8f733fe3cf82d78ecea [Pipeline] // withDockerContainer [Pipeline] sh 19:12:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:12:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:12:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:52 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:12:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:12:53 $ docker top b0cffb79f5e7e3aec911c2a6597d06c247c1e8291eb2e87af4bddd3594c6b8ed -eo pid,comm 19:12:53 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). 19:12:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:12:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:12:53 [ssh-agent] Looking for ssh-agent implementation... 19:12:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:12:53 $ docker exec b0cffb79f5e7e3aec911c2a6597d06c247c1e8291eb2e87af4bddd3594c6b8ed ssh-agent 19:12:53 SSH_AUTH_SOCK=/tmp/ssh-BYgM1OfGj8Qg/agent.32 19:12:53 SSH_AGENT_PID=38 19:12:53 Running ssh-add (command line suppressed) 19:12:53 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13729355168589125960.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13729355168589125960.key) 19:12:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:12:54 + git semver push 19:12:54 2023-05-17 19:12:54,242 [run_push] DEBUG push 19:12:54 2023-05-17 19:12:54,243 [execute] INFO git cat-file --batch-check 19:12:54 2023-05-17 19:12:54,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:12:54 2023-05-17 19:12:54,246 [execute] INFO git rev-list 1ff9ce2a72531600e656e85d8032b804d380bdea -- 19:12:54 2023-05-17 19:12:54,247 [execute] DEBUG Popen(['git', 'rev-list', '1ff9ce2a72531600e656e85d8032b804d380bdea', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:12:54 2023-05-17 19:12:54,255 [execute] INFO git fetch -v origin 19:12:54 2023-05-17 19:12:54,256 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:12:54 2023-05-17 19:12:54,719 [run_push] DEBUG no remote changes detected 19:12:54 2023-05-17 19:12:54,719 [execute] INFO git push origin semver 19:12:54 2023-05-17 19:12:54,720 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:12:55 2023-05-17 19:12:55,496 [run_push] DEBUG push all version tags 19:12:55 2023-05-17 19:12:55,497 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:12:55 2023-05-17 19:12:55,497 [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) 19:12:56 2023-05-17 19:12:56,253 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 19:12:56 3.0.0-dev.50 [Pipeline] } 19:12:56 $ docker exec --env ******** --env ******** b0cffb79f5e7e3aec911c2a6597d06c247c1e8291eb2e87af4bddd3594c6b8ed ssh-agent -k 19:12:56 unset SSH_AUTH_SOCK; 19:12:56 unset SSH_AGENT_PID; 19:12:56 echo Agent pid 38 killed; 19:12:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:12:56 + git semver [Pipeline] } 19:12:57 $ docker stop --time=1 b0cffb79f5e7e3aec911c2a6597d06c247c1e8291eb2e87af4bddd3594c6b8ed 19:12:58 $ docker rm -f --volumes b0cffb79f5e7e3aec911c2a6597d06c247c1e8291eb2e87af4bddd3594c6b8ed [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 19:12:59 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 19:12:59 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 19:12:59 total 16 19:12:59 drwxr-xr-x 3 root root 4096 May 17 19:04 . 19:12:59 drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:12 .. 19:12:59 drwxr-xr-x 2 root root 4096 May 17 19:04 cost 19:12:59 -rw-r--r-- 1 root root 89 May 17 19:04 cost.csv 19:12:59 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 19:12:59 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 19:12:59 total 16 19:12:59 drwxr-xr-x 3 jenkins jenkins 4096 May 17 19:04 . 19:12:59 drwxrwxr-x 10 jenkins jenkins 4096 May 17 19:12 .. 19:12:59 drwxr-xr-x 2 jenkins jenkins 4096 May 17 19:04 cost 19:12:59 -rw-r--r-- 1 jenkins jenkins 89 May 17 19:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:12:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:13:00 ---> package-listing.sh 19:13:00 ++ facter osfamily 19:13:00 ++ tr '[:upper:]' '[:lower:]' 19:13:00 + OS_FAMILY=debian 19:13:00 + workspace=/w/workspace/exfoundry_device-virtual-go_main 19:13:00 + START_PACKAGES=/tmp/packages_start.txt 19:13:00 + END_PACKAGES=/tmp/packages_end.txt 19:13:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:13:00 + PACKAGES=/tmp/packages_start.txt 19:13:00 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 19:13:00 + PACKAGES=/tmp/packages_end.txt 19:13:00 + case "${OS_FAMILY}" in 19:13:00 + dpkg -l 19:13:00 + grep '^ii' 19:13:00 + '[' -f /tmp/packages_start.txt ']' 19:13:00 + '[' -f /tmp/packages_end.txt ']' 19:13:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:13:00 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 19:13:00 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 19:13:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 19:13:00 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 19:13:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:01 prd-ubuntu20.04-docker-8c-8g-15921 does not seem to be running inside a container 19:13:01 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:13:02 $ docker top 0e3bc2728eafaa7942ed30fcf5788b78254d71ca4301149fe9da556eec043d83 -eo pid,comm [Pipeline] { [Pipeline] sh 19:13:02 + touch /tmp/pre-build-complete [Pipeline] sh 19:13:02 + mkdir -p /var/log/sysstat [Pipeline] sh 19:13:02 + ls /var/log/sa-host 19:13:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:13:03 provisioning config files... 19:13:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11435603221041417387tmp [Pipeline] { [Pipeline] echo 19:13:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:13:03 ---> create-netrc.sh [Pipeline] } 19:13:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:13:03 ---> python-tools-install.sh [Pipeline] echo 19:13:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:13:04 ---> sudo-logs.sh 19:13:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:13:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:13:04 ---> job-cost.sh 19:13:04 lf-activate-venv: SKIPPING 19:13:04 DEBUG: total: 0.2199999988079071 19:13:04 INFO: Retrieving Stack Cost... 19:13:04 INFO: Retrieving Pricing Info for: v3-standard-8 19:13:05 INFO: Archiving Costs [Pipeline] echo 19:13:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:13:05 ---> logs-deploy.sh 19:13:05 lf-activate-venv: SKIPPING 19:13:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/121 19:13:05 INFO: archiving workspace using pattern(s): 19:13:06 Archives upload complete. 19:13:06 INFO: archiving logs to Nexus 19:13:07 ---> uname -a: 19:13:07 Linux prd-ubuntu20-04-docker-8c-8g-15921 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:13:07 19:13:07 19:13:07 ---> lscpu: 19:13:07 Architecture: x86_64 19:13:07 CPU op-mode(s): 32-bit, 64-bit 19:13:07 Byte Order: Little Endian 19:13:07 Address sizes: 40 bits physical, 48 bits virtual 19:13:07 CPU(s): 8 19:13:07 On-line CPU(s) list: 0-7 19:13:07 Thread(s) per core: 1 19:13:07 Core(s) per socket: 1 19:13:07 Socket(s): 8 19:13:07 NUMA node(s): 1 19:13:07 Vendor ID: AuthenticAMD 19:13:07 CPU family: 23 19:13:07 Model: 49 19:13:07 Model name: AMD EPYC-Rome Processor 19:13:07 Stepping: 0 19:13:07 CPU MHz: 2800.000 19:13:07 BogoMIPS: 5600.00 19:13:07 Virtualization: AMD-V 19:13:07 Hypervisor vendor: KVM 19:13:07 Virtualization type: full 19:13:07 L1d cache: 256 KiB 19:13:07 L1i cache: 256 KiB 19:13:07 L2 cache: 4 MiB 19:13:07 L3 cache: 128 MiB 19:13:07 NUMA node0 CPU(s): 0-7 19:13:07 Vulnerability Itlb multihit: Not affected 19:13:07 Vulnerability L1tf: Not affected 19:13:07 Vulnerability Mds: Not affected 19:13:07 Vulnerability Meltdown: Not affected 19:13:07 Vulnerability Mmio stale data: Not affected 19:13:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:13:07 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:13:07 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:13:07 Vulnerability Srbds: Not affected 19:13:07 Vulnerability Tsx async abort: Not affected 19:13:07 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 19:13:07 19:13:07 19:13:07 ---> nproc: 19:13:07 8 19:13:07 19:13:07 19:13:07 ---> df -h: 19:13:07 Filesystem Size Used Avail Use% Mounted on 19:13:07 overlay 155G 13G 143G 9% / 19:13:07 tmpfs 64M 0 64M 0% /dev 19:13:07 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:13:07 shm 64M 0 64M 0% /dev/shm 19:13:07 /dev/vda1 155G 13G 143G 9% /facter-os 19:13:07 19:13:07 19:13:07 ---> sar -b -r -n DEV: 19:13:07 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-15921) 05/17/23 _x86_64_ (8 CPU) 19:13:07 19:13:07 19:01:45 LINUX RESTART (8 CPU) 19:13:07 19:13:07 19:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:13:07 19:03:02 201.53 47.86 153.67 0.00 5380.30 187188.40 0.00 19:13:07 19:04:01 133.94 1.69 132.25 0.00 17.35 55558.45 0.00 19:13:07 19:05:01 166.17 0.08 166.09 0.00 10.80 37392.57 0.00 19:13:07 19:06:01 2.00 0.00 2.00 0.00 0.00 24.41 0.00 19:13:07 19:07:01 37.26 11.85 25.41 0.00 5437.23 6270.82 0.00 19:13:07 19:08:01 3.83 0.00 3.83 0.00 0.00 54.79 0.00 19:13:07 19:09:01 0.97 0.00 0.97 0.00 0.00 10.93 0.00 19:13:07 19:10:01 1.85 0.00 1.85 0.00 0.00 21.06 0.00 19:13:07 19:11:01 1.23 0.00 1.23 0.00 0.00 13.60 0.00 19:13:07 19:12:01 2.53 0.00 2.53 0.00 0.00 40.53 0.00 19:13:07 19:13:01 123.66 2.02 121.65 0.00 70.12 60471.39 0.00 19:13:07 Average: 61.25 5.78 55.47 0.00 993.81 31512.82 0.00 19:13:07 19:13:07 19:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:13:07 19:03:02 29133040 31602848 706692 2.15 76572 2671128 2025588 5.97 981168 2404328 5396 19:13:07 19:04:01 28412308 31587012 712680 2.17 146628 3237972 1760860 5.19 1155076 2872788 240 19:13:07 19:05:01 27624976 31585832 708644 2.16 158264 3949336 1779920 5.25 1258684 3486124 412 19:13:07 19:06:01 27624788 31585760 708448 2.15 158284 3949340 1779920 5.25 1258120 3486128 44 19:13:07 19:07:01 27237108 31554480 728864 2.22 166404 4282348 1832032 5.40 1503468 3600232 868 19:13:07 19:08:01 27254896 31572404 711088 2.16 166464 4282344 1832032 5.40 1485624 3600188 40 19:13:07 19:09:01 27261420 31578932 704468 2.14 166488 4282348 1832032 5.40 1479576 3600192 12 19:13:07 19:10:01 27262200 31579852 703492 2.14 166572 4282352 1832032 5.40 1479676 3600200 28 19:13:07 19:11:01 27262184 31579916 703380 2.14 166636 4282356 1832032 5.40 1479548 3600208 16 19:13:07 19:12:01 27262324 31580312 703020 2.14 166780 4282336 1832032 5.40 1479556 3600328 4 19:13:07 19:13:01 25733656 31530612 746988 2.27 204992 5592956 1788820 5.27 1622416 4849020 904 19:13:07 Average: 27460809 31576178 712524 2.17 158553 4099529 1829755 5.39 1380265 3518158 724 19:13:07 19:13:07 19:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:13:07 19:03:02 lo 6.80 6.80 0.66 0.66 0.00 0.00 0.00 0.00 19:13:07 19:03:02 ens3 705.82 465.04 7152.01 95.26 0.00 0.00 0.00 0.00 19:13:07 19:03:02 docker0 95.97 121.68 7.83 313.38 0.00 0.00 0.00 0.00 19:13:07 19:03:02 vetha931e83 67.91 89.80 6.59 56.84 0.00 0.00 0.00 0.00 19:13:07 19:04:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 19:13:07 19:04:01 ens3 248.25 132.60 1905.43 35.90 0.00 0.00 0.00 0.00 19:13:07 19:04:01 docker0 108.59 211.05 8.64 1868.85 0.00 0.00 0.00 0.00 19:13:07 19:05:01 lo 7.20 7.20 0.70 0.70 0.00 0.00 0.00 0.00 19:13:07 19:05:01 ens3 178.50 132.73 2646.52 297.02 0.00 0.00 0.00 0.00 19:13:07 19:05:01 docker0 2.77 6.62 0.17 85.52 0.00 0.00 0.00 0.00 19:13:07 19:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:13:07 19:06:01 ens3 0.90 0.47 3.13 0.03 0.00 0.00 0.00 0.00 19:13:07 19:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:07:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 19:13:07 19:07:01 ens3 104.08 48.61 1952.15 3.56 0.00 0.00 0.00 0.00 19:13:07 19:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:13:07 19:08:01 ens3 3.08 0.58 0.58 0.16 0.00 0.00 0.00 0.00 19:13:07 19:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:09:01 ens3 2.77 0.43 0.62 0.28 0.00 0.00 0.00 0.00 19:13:07 19:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:13:07 19:10:01 ens3 0.85 0.67 0.37 0.30 0.00 0.00 0.00 0.00 19:13:07 19:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:11:01 ens3 0.13 0.02 0.01 0.00 0.00 0.00 0.00 0.00 19:13:07 19:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:13:07 19:12:01 ens3 0.32 0.12 0.02 0.01 0.00 0.00 0.00 0.00 19:13:07 19:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:13:07 19:13:01 lo 2.20 2.20 0.22 0.22 0.00 0.00 0.00 0.00 19:13:07 19:13:01 ens3 408.13 271.75 7812.50 161.56 0.00 0.00 0.00 0.00 19:13:07 19:13:01 docker0 39.79 67.96 3.41 579.51 0.00 0.00 0.00 0.00 19:13:07 Average: lo 1.62 1.62 0.16 0.16 0.00 0.00 0.00 0.00 19:13:07 Average: ens3 150.11 95.67 1952.16 54.03 0.00 0.00 0.00 0.00 19:13:07 Average: docker0 22.33 36.76 1.81 256.39 0.00 0.00 0.00 0.00 19:13:07 19:13:07