Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 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-ssh472384077668471981.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh14144285564989382951.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17333578305002862051.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh2585514429156362445.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-ssh15999751335902650703.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.21 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6008 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 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 (main) Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#427)" > git config core.sparsecheckout # timeout=10 > git checkout -f b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 # timeout=10 > git rev-list --no-walk 3e7277aeb6c2165bba0097e742148e8cd729522a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:48:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:48:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:48:08 ========================================================= 21:48:08 EdgeX Global Pipelines Version Info 21:48:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:48:08 ------------------- 21:48:08 stable info: 21:48:08 ------------------- 21:48:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:48:08 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:48:08 Message: update stable to v1.0.254 21:48:09 ------------------- 21:48:09 experimental info: 21:48:09 ------------------- 21:48:09 Commited By: **** collab-it+edgex@linuxfoundation.org 21:48:09 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:48:09 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:48:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:48:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:48:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] echo 21:48:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b41150d [Pipeline] echo 21:48:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:48:10 provisioning config files... 21:48:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8272782654508942324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:10 ---> docker-login.sh 21:48:10 nexus3.edgexfoundry.org:10001 21:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:10 Configure a credential helper to remove this warning. See 21:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:10 21:48:10 Login Succeeded 21:48:10 nexus3.edgexfoundry.org:10002 21:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:10 Configure a credential helper to remove this warning. See 21:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:10 21:48:10 Login Succeeded 21:48:10 nexus3.edgexfoundry.org:10003 21:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:10 Configure a credential helper to remove this warning. See 21:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:10 21:48:10 Login Succeeded 21:48:10 nexus3.edgexfoundry.org:10004 21:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:10 Configure a credential helper to remove this warning. See 21:48:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:10 21:48:10 Login Succeeded 21:48:10 docker.io 21:48:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:11 Configure a credential helper to remove this warning. See 21:48:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:11 21:48:11 Login Succeeded 21:48:11 ---> docker-login.sh ends [Pipeline] } 21:48:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:48:11 + git rev-list -1 --merges b41150d8f29f1474a4d4d35e5cf0bbe8d5784310~1..b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] echo 21:48:11 -----------> git rev-list -1 --merges b41150d8f29f1474a4d4d35e5cf0bbe8d5784310~1..b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [false] [Pipeline] sh 21:48:12 + git log --format=format:%s -1 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] echo 21:48:12 ========================================================= 21:48:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:48:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:48:12 + git log --format=format:%s -1 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] echo 21:48:12 [semverPrep] GIT_COMMIT: b41150d8f29f1474a4d4d35e5cf0bbe8d5784310, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#427) [Pipeline] echo 21:48:12 [semverPrep] This is not a build commit. [Pipeline] sh 21:48:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:48:12 + grep -v github /etc/ssh/ssh_known_hosts 21:48:12 + [ -e /tmp/ssh_known_hosts ] 21:48:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:48:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:48:12 + sudo tee -a /etc/ssh/ssh_known_hosts 21:48:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:48:13 21:48:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:48:13 0.1.4: Pulling from edgex-devops/py-git-semver 21:48:13 b85a868b505f: Pulling fs layer 21:48:13 e2be974225ed: Pulling fs layer 21:48:13 339a4e72a1f5: Pulling fs layer 21:48:13 988bab9f4d93: Pulling fs layer 21:48:13 1469e6f7b9e6: Pulling fs layer 21:48:13 eaf3925da568: Pulling fs layer 21:48:13 bab4dde63d76: Pulling fs layer 21:48:13 bde34c3a00c8: Pulling fs layer 21:48:13 b352a97aabf1: Pulling fs layer 21:48:13 4872d77fe225: Pulling fs layer 21:48:13 5851b861e8e6: Pulling fs layer 21:48:13 988bab9f4d93: Waiting 21:48:13 1469e6f7b9e6: Waiting 21:48:13 bab4dde63d76: Waiting 21:48:13 4872d77fe225: Waiting 21:48:13 bde34c3a00c8: Waiting 21:48:13 b352a97aabf1: Waiting 21:48:13 5851b861e8e6: Waiting 21:48:13 eaf3925da568: Waiting 21:48:13 e2be974225ed: Verifying Checksum 21:48:13 e2be974225ed: Download complete 21:48:13 988bab9f4d93: Verifying Checksum 21:48:13 988bab9f4d93: Download complete 21:48:13 1469e6f7b9e6: Verifying Checksum 21:48:13 1469e6f7b9e6: Download complete 21:48:13 eaf3925da568: Verifying Checksum 21:48:13 eaf3925da568: Download complete 21:48:13 339a4e72a1f5: Verifying Checksum 21:48:13 339a4e72a1f5: Download complete 21:48:13 bde34c3a00c8: Verifying Checksum 21:48:13 bde34c3a00c8: Download complete 21:48:13 b352a97aabf1: Download complete 21:48:13 4872d77fe225: Verifying Checksum 21:48:13 4872d77fe225: Download complete 21:48:13 5851b861e8e6: Verifying Checksum 21:48:13 5851b861e8e6: Download complete 21:48:13 b85a868b505f: Verifying Checksum 21:48:13 b85a868b505f: Download complete 21:48:14 bab4dde63d76: Verifying Checksum 21:48:14 bab4dde63d76: Download complete 21:48:15 b85a868b505f: Pull complete 21:48:15 e2be974225ed: Pull complete 21:48:15 339a4e72a1f5: Pull complete 21:48:15 988bab9f4d93: Pull complete 21:48:15 1469e6f7b9e6: Pull complete 21:48:15 eaf3925da568: Pull complete 21:48:17 bab4dde63d76: Pull complete 21:48:17 bde34c3a00c8: Pull complete 21:48:17 b352a97aabf1: Pull complete 21:48:17 4872d77fe225: Pull complete 21:48:17 5851b861e8e6: Pull complete 21:48:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:48:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:48:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:17 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 21:48:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:48:20 $ docker top a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa -eo pid,comm 21:48:20 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). 21:48:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:48:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:20 [ssh-agent] Looking for ssh-agent implementation... 21:48:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:20 $ docker exec a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa ssh-agent 21:48:20 SSH_AUTH_SOCK=/tmp/ssh-rrnMfv7HMU5P/agent.33 21:48:20 SSH_AGENT_PID=39 21:48:20 Running ssh-add (command line suppressed) 21:48:20 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8825099724215073949.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8825099724215073949.key) 21:48:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:20 + git tag --points-at HEAD [Pipeline] } 21:48:20 $ docker exec --env ******** --env ******** a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa ssh-agent -k 21:48:20 unset SSH_AUTH_SOCK; 21:48:20 unset SSH_AGENT_PID; 21:48:20 echo Agent pid 39 killed; 21:48:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:48:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:48:21 [ssh-agent] Looking for ssh-agent implementation... 21:48:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:48:21 $ docker exec a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa ssh-agent 21:48:21 SSH_AUTH_SOCK=/tmp/ssh-661Dm4EaEBaz/agent.72 21:48:21 SSH_AGENT_PID=78 21:48:21 Running ssh-add (command line suppressed) 21:48:21 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3254902018135693987.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3254902018135693987.key) 21:48:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:48:21 + git semver init 21:48:21 2023-09-12 21:48:21,791 [run_init] DEBUG init version:0.0.0 force:False 21:48:21 2023-09-12 21:48:21,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 21:48:21 2023-09-12 21:48:21,792 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 21:48:21 2023-09-12 21:48:21,792 [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) 21:48:23 2023-09-12 21:48:22,838 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 21:48:23 2023-09-12 21:48:22,839 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 21:48:23 2023-09-12 21:48:22,839 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:48:23 2023-09-12 21:48:22,839 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:48:23 3.1.0-dev.12 [Pipeline] } 21:48:23 $ docker exec --env ******** --env ******** a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa ssh-agent -k 21:48:23 unset SSH_AUTH_SOCK; 21:48:23 unset SSH_AGENT_PID; 21:48:23 echo Agent pid 78 killed; 21:48:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:48:23 + git semver [Pipeline] } 21:48:23 $ docker stop --time=1 a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa 21:48:25 $ docker rm -f --volumes a0a4496952d6c9b8228a49d7c4f1eb962acbb682a7dc6711a929ffe6c44853aa [Pipeline] // withDockerContainer [Pipeline] sh 21:48:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:48:26 Stashed 1 file(s) [Pipeline] echo 21:48:26 [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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 21:48:26 provisioning config files... 21:48:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config10014558873739370768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:26 ---> docker-login.sh 21:48:26 nexus3.edgexfoundry.org:10001 21:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:26 Configure a credential helper to remove this warning. See 21:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:26 21:48:26 Login Succeeded 21:48:26 nexus3.edgexfoundry.org:10002 21:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:26 Configure a credential helper to remove this warning. See 21:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:26 21:48:26 Login Succeeded 21:48:26 nexus3.edgexfoundry.org:10003 21:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:26 Configure a credential helper to remove this warning. See 21:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:26 21:48:26 Login Succeeded 21:48:26 nexus3.edgexfoundry.org:10004 21:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:27 Configure a credential helper to remove this warning. See 21:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:27 21:48:27 Login Succeeded 21:48:27 docker.io 21:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:27 Configure a credential helper to remove this warning. See 21:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:27 21:48:27 Login Succeeded 21:48:27 ---> docker-login.sh ends [Pipeline] } 21:48:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:48:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:48:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:48:27 ========================================================= 21:48:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:48:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:48:27 Sending build context to Docker daemon 23.59MB 21:48:27 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:48:27 Step 2/12 : FROM ${BASE} AS builder 21:48:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:48:28 7264a8db6415: Pulling fs layer 21:48:28 c4d48a809fc2: Pulling fs layer 21:48:28 4f1c88b9dad5: Pulling fs layer 21:48:28 ad3a456e5733: Pulling fs layer 21:48:28 9e4f439ed901: Pulling fs layer 21:48:28 feaf6a47b606: Pulling fs layer 21:48:28 5e8b037d7d82: Pulling fs layer 21:48:28 8ac70367396e: Pulling fs layer 21:48:28 6db16350a2e2: Pulling fs layer 21:48:28 9250d5d63582: Pulling fs layer 21:48:28 feaf6a47b606: Waiting 21:48:28 5e8b037d7d82: Waiting 21:48:28 8ac70367396e: Waiting 21:48:28 9250d5d63582: Waiting 21:48:28 6db16350a2e2: Waiting 21:48:28 ad3a456e5733: Waiting 21:48:28 9e4f439ed901: Waiting 21:48:28 c4d48a809fc2: Download complete 21:48:28 ad3a456e5733: Verifying Checksum 21:48:28 9e4f439ed901: Verifying Checksum 21:48:28 9e4f439ed901: Download complete 21:48:28 7264a8db6415: Verifying Checksum 21:48:28 7264a8db6415: Download complete 21:48:28 feaf6a47b606: Verifying Checksum 21:48:28 feaf6a47b606: Download complete 21:48:28 8ac70367396e: Verifying Checksum 21:48:28 8ac70367396e: Download complete 21:48:28 7264a8db6415: Pull complete 21:48:28 4f1c88b9dad5: Verifying Checksum 21:48:28 4f1c88b9dad5: Download complete 21:48:28 6db16350a2e2: Verifying Checksum 21:48:28 6db16350a2e2: Download complete 21:48:28 c4d48a809fc2: Pull complete 21:48:29 9250d5d63582: Verifying Checksum 21:48:29 9250d5d63582: Download complete 21:48:29 5e8b037d7d82: Verifying Checksum 21:48:29 5e8b037d7d82: Download complete 21:48:32 4f1c88b9dad5: Pull complete 21:48:32 ad3a456e5733: Pull complete 21:48:32 9e4f439ed901: Pull complete 21:48:32 feaf6a47b606: Pull complete 21:48:35 5e8b037d7d82: Pull complete 21:48:35 8ac70367396e: Pull complete 21:48:35 6db16350a2e2: Pull complete 21:48:36 9250d5d63582: Pull complete 21:48:36 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 21:48:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:48:36 ---> fa269f55d9b9 21:48:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:48:41 Still waiting to schedule task 21:48:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:48:41 ---> Running in a1133a83db30 21:48:41 Removing intermediate container a1133a83db30 21:48:41 ---> 5591d2a51e85 21:48:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:48:41 ---> Running in 08b47134a6eb 21:48:41 Removing intermediate container 08b47134a6eb 21:48:41 ---> 541c0c7b38c7 21:48:41 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:48:41 ---> Running in e4572d3af853 21:48:41 Removing intermediate container e4572d3af853 21:48:41 ---> c8197a359ec5 21:48:41 Step 6/12 : WORKDIR /device-virtual-go 21:48:41 ---> Running in 0e31f6b462f1 21:48:42 Removing intermediate container 0e31f6b462f1 21:48:42 ---> 4c5575acc4e8 21:48:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:48:42 ---> Running in 5a54f0d12c40 21:48:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:48:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:48:42 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:48:42 (2/4) Installing libedit (20221030.3.1-r1) 21:48:42 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:48:42 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:48:42 Executing busybox-1.36.1-r2.trigger 21:48:42 OK: 270 MiB in 60 packages 21:48:43 Removing intermediate container 5a54f0d12c40 21:48:43 ---> 0cda426f7fc4 21:48:43 Step 8/12 : COPY go.mod vendor* ./ 21:48:43 ---> 2c57bcc38908 21:48:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:48:43 ---> Running in ce1e70acda4f 21:49:32 Removing intermediate container ce1e70acda4f 21:49:32 ---> 329eda0ea290 21:49:32 Step 10/12 : COPY . . 21:49:32 ---> b9c9d9d8e965 21:49:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:49:32 ---> Running in e25d0b4febf7 21:49:33 Removing intermediate container e25d0b4febf7 21:49:33 ---> 3d2640faf202 21:49:33 Step 12/12 : RUN $MAKE 21:49:33 ---> Running in f8b946c0b040 21:49:33 noop 21:49:33 Removing intermediate container f8b946c0b040 21:49:33 ---> 668467be274f 21:49:33 Successfully built 668467be274f 21:49:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:34 + docker inspect -f . ci-base-image-x86_64 21:49:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:34 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 21:49:34 $ 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 21:49:34 $ docker top e2ad229324d81507d7fcdc3e1a22975ae98ade12dfb63f8f7648512431b600ab -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:34 + go version 21:49:34 go version go1.21.0 linux/amd64 [Pipeline] } 21:49:34 $ docker stop --time=1 e2ad229324d81507d7fcdc3e1a22975ae98ade12dfb63f8f7648512431b600ab 21:49:36 $ docker rm -f --volumes e2ad229324d81507d7fcdc3e1a22975ae98ade12dfb63f8f7648512431b600ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:36 + docker inspect -f . ci-base-image-x86_64 21:49:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:36 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 21:49:36 $ 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 21:49:37 $ docker top a4791f55ae048dce5439eb8e4c83c1525117aeac7ec80b0cf7aedc89d91e6924 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:37 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 21:49:37 + make test 21:49:37 go test ./... -coverprofile=coverage.out 21:49:39 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:49:49 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:49:49 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements 21:49:54 go vet ./... 21:49:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:49:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:49:57 ./bin/test-attribution-txt.sh [Pipeline] echo 21:49:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:49:57 $ docker stop --time=1 a4791f55ae048dce5439eb8e4c83c1525117aeac7ec80b0cf7aedc89d91e6924 21:50:01 $ docker rm -f --volumes a4791f55ae048dce5439eb8e4c83c1525117aeac7ec80b0cf7aedc89d91e6924 [Pipeline] // withDockerContainer [Pipeline] sh 21:50:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:50:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:50:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:50:03 + ls -al . 21:50:03 total 204 21:50:03 drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:49 . 21:50:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 .. 21:50:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:49 .git 21:50:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 .github 21:50:03 -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 21:48 .gitignore 21:50:03 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:48 .golangci.yml 21:50:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:48 .semver 21:50:03 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 12 21:48 Attribution.txt 21:50:03 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 12 21:48 CHANGELOG.md 21:50:03 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 12 21:48 Dockerfile 21:50:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:48 GOVERNANCE.md 21:50:03 -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 21:48 Jenkinsfile 21:50:03 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:48 LICENSE 21:50:03 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 12 21:48 Makefile 21:50:03 -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 21:48 OWNERS.md 21:50:03 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 12 21:48 README.md 21:50:03 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 21:48 VERSION 21:50:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:48 bin 21:50:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 cmd 21:50:03 -rw-r--r-- 1 jenkins jenkins 43063 Sep 12 21:49 coverage.out 21:50:03 -rw-rw-r-- 1 jenkins jenkins 3636 Sep 12 21:48 go.mod 21:50:03 -rw-rw-r-- 1 jenkins jenkins 33427 Sep 12 21:48 go.sum 21:50:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 internal 21:50:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 snap 21:50:03 -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 21:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:03 + 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=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 --label arch=amd64 --label version=3.1.0-dev.12 . 21:50:03 Sending build context to Docker daemon 23.63MB 21:50:03 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:50:03 Step 2/25 : FROM ${BASE} AS builder 21:50:03 ---> 668467be274f 21:50:03 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:50:03 ---> Running in 7348f9f947d2 21:50:03 Removing intermediate container 7348f9f947d2 21:50:03 ---> 02803546ed76 21:50:03 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:50:03 ---> Running in 103fae3475fe 21:50:03 Removing intermediate container 103fae3475fe 21:50:03 ---> 242d7734df2f 21:50:03 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:50:03 ---> Running in 2ee27dd5909e 21:50:03 Removing intermediate container 2ee27dd5909e 21:50:03 ---> 2ce3e41bcaf7 21:50:03 Step 6/25 : WORKDIR /device-virtual-go 21:50:03 ---> Running in 7570a09f6f87 21:50:04 Removing intermediate container 7570a09f6f87 21:50:04 ---> cecd45c98509 21:50:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:50:04 ---> Running in 70b0274c7812 21:50:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:50:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:50:04 OK: 270 MiB in 60 packages 21:50:05 Removing intermediate container 70b0274c7812 21:50:05 ---> cc7742f0a9a4 21:50:05 Step 8/25 : COPY go.mod vendor* ./ 21:50:05 ---> d381b6bbae8d 21:50:05 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:50:05 ---> Running in bef8ee9b79d0 21:50:05 Removing intermediate container bef8ee9b79d0 21:50:05 ---> af7b4e7d31ed 21:50:05 Step 10/25 : COPY . . 21:50:06 ---> b18b9e235c61 21:50:06 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:50:07 ---> Running in 20615ee6ec4d 21:50:07 Removing intermediate container 20615ee6ec4d 21:50:07 ---> ef0e23853372 21:50:07 Step 12/25 : RUN $MAKE 21:50:08 ---> Running in 7c2185929e8b 21:50:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:50:30 Removing intermediate container 7c2185929e8b 21:50:30 ---> 76289ea6aeb8 21:50:30 Step 13/25 : FROM alpine:3.18 21:50:30 3.18: Pulling from library/alpine 21:50:30 7264a8db6415: Already exists 21:50:30 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:50:30 Status: Downloaded newer image for alpine:3.18 21:50:30 ---> 7e01a0d0a1dc 21:50:30 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:50:30 ---> Running in 84627eca161a 21:50:30 Removing intermediate container 84627eca161a 21:50:30 ---> f783146cb0d9 21:50:30 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:50:30 ---> Running in 75c1bdaa0032 21:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:50:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:50:30 (1/1) Installing dumb-init (1.2.5-r2) 21:50:30 Executing busybox-1.36.1-r2.trigger 21:50:30 OK: 7 MiB in 16 packages 21:50:30 Removing intermediate container 75c1bdaa0032 21:50:30 ---> efc667606c03 21:50:30 Step 16/25 : WORKDIR / 21:50:30 ---> Running in b5ef1d8fec30 21:50:30 Removing intermediate container b5ef1d8fec30 21:50:30 ---> 582a917210b6 21:50:30 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:50:30 ---> 92440002d7f3 21:50:30 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:50:30 ---> 339915c5751e 21:50:30 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:50:31 ---> dc13d685243c 21:50:31 Step 20/25 : EXPOSE 59900 21:50:31 ---> Running in ecf92207e6c0 21:50:31 Removing intermediate container ecf92207e6c0 21:50:31 ---> 738815afd5d2 21:50:31 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:50:31 ---> Running in ed1e5f8223dc 21:50:31 Removing intermediate container ed1e5f8223dc 21:50:31 ---> 4c936c5413e6 21:50:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:50:31 ---> Running in c4ae796de988 21:50:31 Removing intermediate container c4ae796de988 21:50:31 ---> 6984064ecc57 21:50:31 Step 23/25 : LABEL arch=amd64 21:50:31 ---> Running in 134b6d3a98cd 21:50:31 Removing intermediate container 134b6d3a98cd 21:50:31 ---> 08eec6a53370 21:50:31 Step 24/25 : LABEL git_sha=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 21:50:31 ---> Running in 4c4b51ba3043 21:50:31 Removing intermediate container 4c4b51ba3043 21:50:31 ---> 8ddb229f960e 21:50:31 Step 25/25 : LABEL version=3.1.0-dev.12 21:50:31 ---> Running in 5974bf6cdff8 21:50:31 Removing intermediate container 5974bf6cdff8 21:50:31 ---> fb58693aa9fa 21:50:31 [Warning] One or more build-args [ARCH] were not consumed 21:50:31 Successfully built fb58693aa9fa 21:50:31 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:31 provisioning config files... 21:50:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8626711076461156558tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:32 ---> docker-login.sh 21:50:32 nexus3.edgexfoundry.org:10001 21:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:32 Configure a credential helper to remove this warning. See 21:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:32 21:50:32 Login Succeeded 21:50:32 nexus3.edgexfoundry.org:10002 21:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:32 Configure a credential helper to remove this warning. See 21:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:32 21:50:32 Login Succeeded 21:50:32 nexus3.edgexfoundry.org:10003 21:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:32 Configure a credential helper to remove this warning. See 21:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:32 21:50:32 Login Succeeded 21:50:32 nexus3.edgexfoundry.org:10004 21:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:32 Configure a credential helper to remove this warning. See 21:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:32 21:50:32 Login Succeeded 21:50:32 docker.io 21:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:50:32 Configure a credential helper to remove this warning. See 21:50:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:50:32 21:50:32 Login Succeeded 21:50:32 ---> docker-login.sh ends [Pipeline] } 21:50:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:50:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:50:32 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 21:50:32 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 21:50:32 latest 21:50:32 3.1.0-dev.12 21:50:32 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 21:50:32 main 21:50:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:33 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:33 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 21:50:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:50:33 32b71d8dbb68: Preparing 21:50:33 4a26df6e1de9: Preparing 21:50:33 55cff8661adb: Preparing 21:50:33 762757fd45fe: Preparing 21:50:33 4693057ce236: Preparing 21:50:33 4693057ce236: Layer already exists 21:50:33 4a26df6e1de9: Pushed 21:50:33 762757fd45fe: Pushed 21:50:33 55cff8661adb: Pushed 21:50:36 32b71d8dbb68: Pushed 21:50:36 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:36 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:36 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 21:50:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:50:36 32b71d8dbb68: Preparing 21:50:36 4a26df6e1de9: Preparing 21:50:36 55cff8661adb: Preparing 21:50:36 762757fd45fe: Preparing 21:50:36 4693057ce236: Preparing 21:50:36 4693057ce236: Layer already exists 21:50:36 32b71d8dbb68: Layer already exists 21:50:36 762757fd45fe: Layer already exists 21:50:36 4a26df6e1de9: Layer already exists 21:50:36 55cff8661adb: Layer already exists 21:50:36 latest: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:37 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:37 + docker push nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.12 21:50:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:50:37 32b71d8dbb68: Preparing 21:50:37 4a26df6e1de9: Preparing 21:50:37 55cff8661adb: Preparing 21:50:37 762757fd45fe: Preparing 21:50:37 4693057ce236: Preparing 21:50:37 4693057ce236: Layer already exists 21:50:37 762757fd45fe: Layer already exists 21:50:37 55cff8661adb: Layer already exists 21:50:37 4a26df6e1de9: Layer already exists 21:50:37 32b71d8dbb68: Layer already exists 21:50:37 3.1.0-dev.12: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:37 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 21:50:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:50:38 32b71d8dbb68: Preparing 21:50:38 4a26df6e1de9: Preparing 21:50:38 55cff8661adb: Preparing 21:50:38 762757fd45fe: Preparing 21:50:38 4693057ce236: Preparing 21:50:38 55cff8661adb: Layer already exists 21:50:38 4a26df6e1de9: Layer already exists 21:50:38 762757fd45fe: Layer already exists 21:50:38 32b71d8dbb68: Layer already exists 21:50:38 4693057ce236: Layer already exists 21:50:38 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 21:50:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:50:38 32b71d8dbb68: Preparing 21:50:38 4a26df6e1de9: Preparing 21:50:38 55cff8661adb: Preparing 21:50:38 762757fd45fe: Preparing 21:50:38 4693057ce236: Preparing 21:50:38 762757fd45fe: Layer already exists 21:50:38 55cff8661adb: Layer already exists 21:50:38 4a26df6e1de9: Layer already exists 21:50:38 32b71d8dbb68: Layer already exists 21:50:38 4693057ce236: Layer already exists 21:50:38 main: digest: sha256:634c602cbd70db293db42382b95ca139ae240c66830bd17eef24439b33485650 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:50:38 ===================================================== [Pipeline] echo 21:50:38 taggedImages: 21:50:38 - nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 21:50:38 - nexus3.edgexfoundry.org:10004/device-virtual:latest 21:50:38 - nexus3.edgexfoundry.org:10004/device-virtual:3.1.0-dev.12 21:50:38 - nexus3.edgexfoundry.org:10004/device-virtual:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 21:50:38 - 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 21:50:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:39 21:50:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:39 latest: Pulling from edgex-lftools-log-publisher 21:50:39 5eb5b503b376: Pulling fs layer 21:50:39 5c69ac0246d0: Pulling fs layer 21:50:39 ec43610c2a17: Pulling fs layer 21:50:39 3a2ae6a8a46f: Pulling fs layer 21:50:39 33b1e0a273af: Pulling fs layer 21:50:39 5d3b04190fa2: Pulling fs layer 21:50:39 2f39f015ded8: Pulling fs layer 21:50:39 3a2ae6a8a46f: Waiting 21:50:39 33b1e0a273af: Waiting 21:50:39 5d3b04190fa2: Waiting 21:50:39 2f39f015ded8: Waiting 21:50:39 5c69ac0246d0: Download complete 21:50:39 3a2ae6a8a46f: Verifying Checksum 21:50:39 3a2ae6a8a46f: Download complete 21:50:39 33b1e0a273af: Verifying Checksum 21:50:39 33b1e0a273af: Download complete 21:50:39 ec43610c2a17: Verifying Checksum 21:50:39 ec43610c2a17: Download complete 21:50:39 5d3b04190fa2: Verifying Checksum 21:50:39 5d3b04190fa2: Download complete 21:50:39 5eb5b503b376: Verifying Checksum 21:50:39 5eb5b503b376: Download complete 21:50:40 2f39f015ded8: Download complete 21:50:40 5eb5b503b376: Pull complete 21:50:41 5c69ac0246d0: Pull complete 21:50:41 ec43610c2a17: Pull complete 21:50:41 3a2ae6a8a46f: Pull complete 21:50:41 33b1e0a273af: Pull complete 21:50:41 5d3b04190fa2: Pull complete 21:50:45 2f39f015ded8: Pull complete 21:50:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:50:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:45 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 21:50:45 $ 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 21:50:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6014 in /w/workspace/exfoundry_device-virtual-go_main 21:50:49 $ docker top 7257c27c1e0f6d04837aded8b625bf24177c7bcfd17cf18fc9e35a9793e84a55 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 21:50:49 Running in /w/workspace/device-virtual-go/138 [Pipeline] { [Pipeline] checkout 21:50:49 The recommended git tool is: git 21:50:50 ---> job-cost.sh 21:50:50 lf-activate-venv: SKIPPING 21:50:50 INFO: No Stack... 21:50:50 INFO: Retrieving Pricing Info for: v3-standard-8 21:50:50 INFO: Archiving Costs [Pipeline] sh 21:50:51 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 21:50:51 + cut -d, -f6 [Pipeline] lock 21:50:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] 21:50:51 Resource [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] did not exist. Created. 21:50:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:50:51 + echo total: 0.2199999988079071 [Pipeline] stash 21:50:51 Stashed 1 file(s) [Pipeline] } 21:50:51 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } 21:50:51 $ docker stop --time=1 7257c27c1e0f6d04837aded8b625bf24177c7bcfd17cf18fc9e35a9793e84a55 21:50:52 $ docker rm -f --volumes 7257c27c1e0f6d04837aded8b625bf24177c7bcfd17cf18fc9e35a9793e84a55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:50:56 using credential edgex-jenkins-ssh 21:50:56 Cloning the remote Git repository 21:50:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:50:56 > git init /w/workspace/device-virtual-go/138 # timeout=10 21:50:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:50:56 > git --version # timeout=10 21:50:56 > git --version # 'git version 2.25.1' 21:50:56 using GIT_SSH to set credentials SSH Credentials for GitHub 21:50:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:59 Avoid second fetch 21:50:59 Checking out Revision b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 (main) 21:50:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:50:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:50:59 > git config core.sparsecheckout # timeout=10 21:50:59 > git checkout -f b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 # timeout=10 21:51:00 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#427)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:51:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:51:01 % Total % Received % Xferd Average Speed Time Time Time Current 21:51:01 Dload Upload Total Spent Left Speed 21:51:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 21:51:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:51:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:51:02 + sudo tee /etc/docker/daemon.new 21:51:02 { 21:51:02 "registry-mirrors": [ 21:51:02 "https://nexus3.edgexfoundry.org:10001" 21:51:02 ], 21:51:02 "bip": "10.250.0.254/24", 21:51:02 "hosts": [ 21:51:02 "tcp://0.0.0.0:5555", 21:51:02 "unix:///var/run/docker.sock" 21:51:02 ], 21:51:02 "mtu": 1458, 21:51:02 "selinux-enabled": true, 21:51:02 "seccomp-profile": "/etc/docker/seccomp.json" 21:51:02 } [Pipeline] sh 21:51:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:51:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:21 provisioning config files... 21:51:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/138@tmp/config7756699088297207960tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:51:21 ---> docker-login.sh 21:51:21 nexus3.edgexfoundry.org:10001 21:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:22 Configure a credential helper to remove this warning. See 21:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:22 21:51:22 Login Succeeded 21:51:22 nexus3.edgexfoundry.org:10002 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 nexus3.edgexfoundry.org:10003 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 nexus3.edgexfoundry.org:10004 21:51:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:23 Configure a credential helper to remove this warning. See 21:51:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:23 21:51:23 Login Succeeded 21:51:23 docker.io 21:51:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:51:24 Configure a credential helper to remove this warning. See 21:51:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:51:24 21:51:24 Login Succeeded 21:51:24 ---> docker-login.sh ends [Pipeline] } 21:51:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:51:24 ========================================================= 21:51:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:51:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 21:51:25 Sending build context to Docker daemon 11.93MB 21:51:25 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:51:25 Step 2/12 : FROM ${BASE} AS builder 21:51:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:51:25 9fda8d8052c6: Pulling fs layer 21:51:25 5d54e960e981: Pulling fs layer 21:51:25 c4a7e357bf2a: Pulling fs layer 21:51:25 f0e02332f6b5: Pulling fs layer 21:51:25 66412af1f25a: Pulling fs layer 21:51:25 1baf3a5c0e64: Pulling fs layer 21:51:25 9a37bb91b891: Pulling fs layer 21:51:25 a29adfc67d43: Pulling fs layer 21:51:25 d5de9f91c1a4: Pulling fs layer 21:51:25 f0e02332f6b5: Waiting 21:51:25 66412af1f25a: Waiting 21:51:25 1baf3a5c0e64: Waiting 21:51:25 9a37bb91b891: Waiting 21:51:25 a29adfc67d43: Waiting 21:51:25 d5de9f91c1a4: Waiting 21:51:25 5d54e960e981: Verifying Checksum 21:51:25 5d54e960e981: Download complete 21:51:25 f0e02332f6b5: Verifying Checksum 21:51:25 f0e02332f6b5: Download complete 21:51:25 66412af1f25a: Verifying Checksum 21:51:25 66412af1f25a: Download complete 21:51:25 9fda8d8052c6: Download complete 21:51:26 9a37bb91b891: Verifying Checksum 21:51:26 9a37bb91b891: Download complete 21:51:26 a29adfc67d43: Verifying Checksum 21:51:26 a29adfc67d43: Download complete 21:51:26 9fda8d8052c6: Pull complete 21:51:27 5d54e960e981: Pull complete 21:51:27 d5de9f91c1a4: Verifying Checksum 21:51:27 d5de9f91c1a4: Download complete 21:51:27 c4a7e357bf2a: Verifying Checksum 21:51:27 c4a7e357bf2a: Download complete 21:51:28 1baf3a5c0e64: Verifying Checksum 21:51:28 1baf3a5c0e64: Download complete 21:51:41 c4a7e357bf2a: Pull complete 21:51:41 f0e02332f6b5: Pull complete 21:51:41 66412af1f25a: Pull complete 21:51:47 1baf3a5c0e64: Pull complete 21:51:48 9a37bb91b891: Pull complete 21:51:50 a29adfc67d43: Pull complete 21:51:52 d5de9f91c1a4: Pull complete 21:51:52 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 21:51:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:51:52 ---> 746ca1b523b5 21:51:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:51:54 ---> Running in 74c38b72e78e 21:51:54 Removing intermediate container 74c38b72e78e 21:51:54 ---> 371b0127f44e 21:51:54 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:51:54 ---> Running in 664b339529bd 21:51:54 Removing intermediate container 664b339529bd 21:51:54 ---> 05fde17a7072 21:51:54 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:51:55 ---> Running in 22c19e879d92 21:51:55 Removing intermediate container 22c19e879d92 21:51:55 ---> 59dde7fc0354 21:51:55 Step 6/12 : WORKDIR /device-virtual-go 21:51:55 ---> Running in 547f3d4822ee 21:51:55 Removing intermediate container 547f3d4822ee 21:51:55 ---> c8fa78861012 21:51:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:51:55 ---> Running in 38653f405414 21:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:51:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:51:58 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:51:58 (2/4) Installing libedit (20221030.3.1-r1) 21:51:58 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:51:58 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:51:58 Executing busybox-1.36.1-r2.trigger 21:51:58 OK: 272 MiB in 60 packages 21:52:00 Removing intermediate container 38653f405414 21:52:00 ---> 8e218af470a1 21:52:00 Step 8/12 : COPY go.mod vendor* ./ 21:52:00 ---> e2a67c65616c 21:52:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:52:00 ---> Running in 4f20c7bf8300 21:53:22 Removing intermediate container 4f20c7bf8300 21:53:22 ---> e06b1b772548 21:53:22 Step 10/12 : COPY . . 21:53:22 ---> 676c388f7c78 21:53:22 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:53:22 ---> Running in c2d858ac875a 21:53:22 Removing intermediate container c2d858ac875a 21:53:22 ---> 4eaa10c5938b 21:53:22 Step 12/12 : RUN $MAKE 21:53:22 ---> Running in 1f5a498ddfaf 21:53:22 noop 21:53:22 Removing intermediate container 1f5a498ddfaf 21:53:22 ---> 3303cf6c9642 21:53:22 Successfully built 3303cf6c9642 21:53:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:22 + docker inspect -f . ci-base-image-arm64 21:53:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:22 prd-ubuntu20.04-docker-arm64-4c-16g-6014 does not seem to be running inside a container 21:53:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/138 -v /w/workspace/device-virtual-go/138:/w/workspace/device-virtual-go/138:rw,z -v /w/workspace/device-virtual-go/138@tmp:/w/workspace/device-virtual-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:53:24 $ docker top 8127d3010a235976e1491abaf0351461fde3df3237315fae585c880240004606 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:25 + go version 21:53:25 go version go1.21.0 linux/arm64 [Pipeline] } 21:53:25 $ docker stop --time=1 8127d3010a235976e1491abaf0351461fde3df3237315fae585c880240004606 21:53:26 $ docker rm -f --volumes 8127d3010a235976e1491abaf0351461fde3df3237315fae585c880240004606 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:53:27 + docker inspect -f . ci-base-image-arm64 21:53:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:53:27 prd-ubuntu20.04-docker-arm64-4c-16g-6014 does not seem to be running inside a container 21:53:27 $ 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/138 -v /w/workspace/device-virtual-go/138:/w/workspace/device-virtual-go/138:rw,z -v /w/workspace/device-virtual-go/138@tmp:/w/workspace/device-virtual-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:53:29 $ docker top 0193430b26ebdca9f44e778151d4cc852401cefeaa2d8e21dd8b45f284699913 -eo pid,comm [Pipeline] { [Pipeline] sh 21:53:29 + git config --global --add safe.directory /w/workspace/device-virtual-go/138 [Pipeline] fileExists [Pipeline] sh 21:53:30 + make test 21:53:30 go test ./... -coverprofile=coverage.out 21:53:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:55:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:55:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.074s coverage: 58.4% of statements 21:55:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:55:27 go vet ./... 21:55:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:55:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:55:59 ./bin/test-attribution-txt.sh [Pipeline] echo 21:55:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:55:59 $ docker stop --time=1 0193430b26ebdca9f44e778151d4cc852401cefeaa2d8e21dd8b45f284699913 21:56:01 $ docker rm -f --volumes 0193430b26ebdca9f44e778151d4cc852401cefeaa2d8e21dd8b45f284699913 [Pipeline] // withDockerContainer [Pipeline] sh 21:56:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:56:02 Warning: overwriting stash ‘coverage-report’ 21:56:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:56:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:56:04 + ls -al . 21:56:04 total 200 21:56:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:53 . 21:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:50 .. 21:56:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:50 .git 21:56:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:50 .github 21:56:04 -rw-rw-r-- 1 jenkins jenkins 337 Sep 12 21:50 .gitignore 21:56:04 -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:50 .golangci.yml 21:56:04 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 12 21:50 Attribution.txt 21:56:04 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 12 21:50 CHANGELOG.md 21:56:04 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 12 21:50 Dockerfile 21:56:04 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:50 GOVERNANCE.md 21:56:04 -rw-rw-r-- 1 jenkins jenkins 660 Sep 12 21:50 Jenkinsfile 21:56:04 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:50 LICENSE 21:56:04 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 12 21:50 Makefile 21:56:04 -rw-rw-r-- 1 jenkins jenkins 623 Sep 12 21:50 OWNERS.md 21:56:04 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 12 21:50 README.md 21:56:04 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 21:48 VERSION 21:56:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:50 bin 21:56:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:50 cmd 21:56:04 -rw-r--r-- 1 jenkins jenkins 43063 Sep 12 21:55 coverage.out 21:56:04 -rw-rw-r-- 1 jenkins jenkins 3636 Sep 12 21:50 go.mod 21:56:04 -rw-rw-r-- 1 jenkins jenkins 33427 Sep 12 21:50 go.sum 21:56:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:50 internal 21:56:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:50 snap 21:56:04 -rw-rw-r-- 1 jenkins jenkins 235 Sep 12 21:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:04 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 --label arch=arm64 --label version=3.1.0-dev.12 . 21:56:04 Sending build context to Docker daemon 11.98MB 21:56:04 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:56:04 Step 2/25 : FROM ${BASE} AS builder 21:56:04 ---> 3303cf6c9642 21:56:04 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:56:04 ---> Running in caa1a5b3e3ea 21:56:05 Removing intermediate container caa1a5b3e3ea 21:56:05 ---> abc33c02fe01 21:56:05 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:56:05 ---> Running in 3c702342378c 21:56:05 Removing intermediate container 3c702342378c 21:56:05 ---> ecf545d9efaa 21:56:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:56:05 ---> Running in dfc080a00a78 21:56:06 Removing intermediate container dfc080a00a78 21:56:06 ---> 48bb43a7259d 21:56:06 Step 6/25 : WORKDIR /device-virtual-go 21:56:06 ---> Running in f25ad6892f9c 21:56:06 Removing intermediate container f25ad6892f9c 21:56:06 ---> 8d5817ecb300 21:56:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:56:06 ---> Running in 31942a061394 21:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:56:09 OK: 272 MiB in 60 packages 21:56:10 Removing intermediate container 31942a061394 21:56:10 ---> a0df4c3d4e6b 21:56:10 Step 8/25 : COPY go.mod vendor* ./ 21:56:11 ---> e23352f67d7a 21:56:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:56:11 ---> Running in 6d0848c0bd91 21:56:13 Removing intermediate container 6d0848c0bd91 21:56:13 ---> 645be315dfe3 21:56:13 Step 10/25 : COPY . . 21:56:15 ---> b1c9650e88ad 21:56:15 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:56:15 ---> Running in c0cc08ce2e61 21:56:15 Removing intermediate container c0cc08ce2e61 21:56:15 ---> 77404248ebe2 21:56:15 Step 12/25 : RUN $MAKE 21:56:15 ---> Running in e0519bf3b5a8 21:56:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:58:38 Removing intermediate container e0519bf3b5a8 21:58:38 ---> 5779c0bf9528 21:58:38 Step 13/25 : FROM alpine:3.18 21:58:38 3.18: Pulling from library/alpine 21:58:38 9fda8d8052c6: Already exists 21:58:38 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:58:38 Status: Downloaded newer image for alpine:3.18 21:58:38 ---> f6648c04cd6c 21:58:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:58:38 ---> Running in 5367096b0112 21:58:38 Removing intermediate container 5367096b0112 21:58:38 ---> 9ba86b9aee20 21:58:38 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:58:38 ---> Running in 5bcc44ade773 21:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:58:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:58:38 (1/1) Installing dumb-init (1.2.5-r2) 21:58:38 Executing busybox-1.36.1-r2.trigger 21:58:38 OK: 8 MiB in 16 packages 21:58:38 Removing intermediate container 5bcc44ade773 21:58:38 ---> e9e1772ca9b0 21:58:38 Step 16/25 : WORKDIR / 21:58:38 ---> Running in 448c4a587597 21:58:38 Removing intermediate container 448c4a587597 21:58:38 ---> 06c1cbc9f20e 21:58:38 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:58:38 ---> 8695ac688ce5 21:58:38 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:58:38 ---> 60455fa7f473 21:58:38 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:58:38 ---> 3472e2922cb4 21:58:38 Step 20/25 : EXPOSE 59900 21:58:38 ---> Running in 8394ba3aac3b 21:58:38 Removing intermediate container 8394ba3aac3b 21:58:38 ---> f2cd79c9da15 21:58:38 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:58:38 ---> Running in 17bdfbb9aee9 21:58:38 Removing intermediate container 17bdfbb9aee9 21:58:38 ---> 876b38dfd603 21:58:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:58:38 ---> Running in 467539a08418 21:58:38 Removing intermediate container 467539a08418 21:58:38 ---> 7ba600981413 21:58:38 Step 23/25 : LABEL arch=arm64 21:58:38 ---> Running in ba44b6a91546 21:58:38 Removing intermediate container ba44b6a91546 21:58:38 ---> ad4c30907b96 21:58:38 Step 24/25 : LABEL git_sha=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 21:58:38 ---> Running in 23404391223c 21:58:38 Removing intermediate container 23404391223c 21:58:38 ---> 1fcf85ab3d63 21:58:38 Step 25/25 : LABEL version=3.1.0-dev.12 21:58:38 ---> Running in c371bdd118a9 21:58:38 Removing intermediate container c371bdd118a9 21:58:38 ---> 362fedb806f7 21:58:38 [Warning] One or more build-args [ARCH] were not consumed 21:58:38 Successfully built 362fedb806f7 21:58:38 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 21:58:38 provisioning config files... 21:58:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/138@tmp/config10499828675116215692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:38 ---> docker-login.sh 21:58:38 nexus3.edgexfoundry.org:10001 21:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:38 Configure a credential helper to remove this warning. See 21:58:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:38 21:58:38 Login Succeeded 21:58:38 nexus3.edgexfoundry.org:10002 21:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:39 Configure a credential helper to remove this warning. See 21:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:39 21:58:39 Login Succeeded 21:58:39 nexus3.edgexfoundry.org:10003 21:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:39 Configure a credential helper to remove this warning. See 21:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:39 21:58:39 Login Succeeded 21:58:39 nexus3.edgexfoundry.org:10004 21:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:39 Configure a credential helper to remove this warning. See 21:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:39 21:58:39 Login Succeeded 21:58:39 docker.io 21:58:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:40 Configure a credential helper to remove this warning. See 21:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:40 21:58:40 Login Succeeded 21:58:40 ---> docker-login.sh ends [Pipeline] } 21:58:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:58:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:58:40 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 21:58:40 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 21:58:40 latest 21:58:40 3.1.0-dev.12 21:58:40 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 21:58:40 main 21:58:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 21:58:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:58:41 87bd0fac7ffd: Preparing 21:58:41 ff144387787c: Preparing 21:58:41 c45ecca5554e: Preparing 21:58:41 2f3be18e2e5a: Preparing 21:58:41 b2191e2be29d: Preparing 21:58:41 b2191e2be29d: Layer already exists 21:58:41 ff144387787c: Pushed 21:58:41 2f3be18e2e5a: Pushed 21:58:41 c45ecca5554e: Pushed 21:58:46 87bd0fac7ffd: Pushed 21:58:47 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:47 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:47 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:58:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:58:47 87bd0fac7ffd: Preparing 21:58:47 ff144387787c: Preparing 21:58:47 c45ecca5554e: Preparing 21:58:47 2f3be18e2e5a: Preparing 21:58:47 b2191e2be29d: Preparing 21:58:47 87bd0fac7ffd: Layer already exists 21:58:47 ff144387787c: Layer already exists 21:58:47 2f3be18e2e5a: Layer already exists 21:58:47 b2191e2be29d: Layer already exists 21:58:47 c45ecca5554e: Layer already exists 21:58:47 latest: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:48 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.12 21:58:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:58:48 87bd0fac7ffd: Preparing 21:58:48 ff144387787c: Preparing 21:58:48 c45ecca5554e: Preparing 21:58:48 2f3be18e2e5a: Preparing 21:58:48 b2191e2be29d: Preparing 21:58:48 2f3be18e2e5a: Layer already exists 21:58:48 b2191e2be29d: Layer already exists 21:58:48 c45ecca5554e: Layer already exists 21:58:48 ff144387787c: Layer already exists 21:58:48 87bd0fac7ffd: Layer already exists 21:58:48 3.1.0-dev.12: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 21:58:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:58:49 87bd0fac7ffd: Preparing 21:58:49 ff144387787c: Preparing 21:58:49 c45ecca5554e: Preparing 21:58:49 2f3be18e2e5a: Preparing 21:58:49 b2191e2be29d: Preparing 21:58:49 ff144387787c: Layer already exists 21:58:49 b2191e2be29d: Layer already exists 21:58:49 87bd0fac7ffd: Layer already exists 21:58:49 2f3be18e2e5a: Layer already exists 21:58:49 c45ecca5554e: Layer already exists 21:58:49 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 21:58:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:58:50 87bd0fac7ffd: Preparing 21:58:50 ff144387787c: Preparing 21:58:50 c45ecca5554e: Preparing 21:58:50 2f3be18e2e5a: Preparing 21:58:50 b2191e2be29d: Preparing 21:58:50 b2191e2be29d: Layer already exists 21:58:50 2f3be18e2e5a: Layer already exists 21:58:50 87bd0fac7ffd: Layer already exists 21:58:50 ff144387787c: Layer already exists 21:58:50 c45ecca5554e: Layer already exists 21:58:50 main: digest: sha256:c4260d72b1c8f79e3b3fcea94fc0b848d12736a16ffd99d46423836e51841e1a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:58:50 ===================================================== [Pipeline] echo 21:58:50 taggedImages: 21:58:50 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 21:58:50 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:58:50 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:3.1.0-dev.12 21:58:50 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:b41150d8f29f1474a4d4d35e5cf0bbe8d5784310-3.1.0-dev.12 21:58:50 - 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 21:58:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:51 21:58:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:58:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:58:51 arm64: Pulling from edgex-lftools-log-publisher 21:58:51 8998bd30e6a1: Pulling fs layer 21:58:51 04944245beec: Pulling fs layer 21:58:51 699f458cf7ca: Pulling fs layer 21:58:51 765212b225bb: Pulling fs layer 21:58:51 f23df028b6ca: Pulling fs layer 21:58:51 d65c8cfc05b1: Pulling fs layer 21:58:51 2437ff75d9bd: Pulling fs layer 21:58:51 765212b225bb: Waiting 21:58:51 f23df028b6ca: Waiting 21:58:51 d65c8cfc05b1: Waiting 21:58:51 2437ff75d9bd: Waiting 21:58:51 04944245beec: Verifying Checksum 21:58:51 04944245beec: Download complete 21:58:51 765212b225bb: Verifying Checksum 21:58:51 765212b225bb: Download complete 21:58:51 f23df028b6ca: Verifying Checksum 21:58:51 f23df028b6ca: Download complete 21:58:51 d65c8cfc05b1: Download complete 21:58:51 699f458cf7ca: Verifying Checksum 21:58:51 699f458cf7ca: Download complete 21:58:52 8998bd30e6a1: Download complete 21:58:54 2437ff75d9bd: Verifying Checksum 21:58:54 2437ff75d9bd: Download complete 21:58:56 8998bd30e6a1: Pull complete 21:58:56 04944245beec: Pull complete 21:58:57 699f458cf7ca: Pull complete 21:58:58 765212b225bb: Pull complete 21:58:58 f23df028b6ca: Pull complete 21:58:58 d65c8cfc05b1: Pull complete 21:59:13 2437ff75d9bd: Pull complete 21:59:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:59:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:59:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:14 prd-ubuntu20.04-docker-arm64-4c-16g-6014 does not seem to be running inside a container 21:59:14 $ 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/138 -v /w/workspace/device-virtual-go/138:/w/workspace/device-virtual-go/138:rw,z -v /w/workspace/device-virtual-go/138@tmp:/w/workspace/device-virtual-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:59:17 $ docker top c27eb67fa8dcc73cae6a23ed68d157c5ef7354ccaf310d2160f48eeb69143053 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:59:17 ---> job-cost.sh 21:59:17 lf-activate-venv: SKIPPING 21:59:17 INFO: No Stack... 21:59:18 INFO: Retrieving Pricing Info for: v3-standard-4 21:59:19 INFO: Archiving Costs [Pipeline] sh 21:59:19 + cat /w/workspace/device-virtual-go/138/archives/cost.csv 21:59:19 + cut -d, -f6 [Pipeline] lock 21:59:19 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] 21:59:19 Resource [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] did not exist. Created. 21:59:19 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:59:19 /w/workspace/device-virtual-go/138@tmp/durable-e3689f6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:59:20 + echo total: 0.10999999940395355 [Pipeline] stash 21:59:20 Warning: overwriting stash ‘stack-cost’ 21:59:20 Stashed 1 file(s) [Pipeline] } 21:59:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } 21:59:20 $ docker stop --time=1 c27eb67fa8dcc73cae6a23ed68d157c5ef7354ccaf310d2160f48eeb69143053 21:59:21 $ docker rm -f --volumes c27eb67fa8dcc73cae6a23ed68d157c5ef7354ccaf310d2160f48eeb69143053 [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 21:59:22 provisioning config files... 21:59:22 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1348547743895711219tmp [Pipeline] { [Pipeline] sh 21:59:22 + set +x 21:59:22 + curl -s https://codecov.io/bash 21:59:22 + bash -s -- 21:59:22 21:59:22 _____ _ 21:59:22 / ____| | | 21:59:22 | | ___ __| | ___ ___ _____ __ 21:59:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:59:22 | |___| (_) | (_| | __/ (_| (_) \ V / 21:59:22 \_____\___/ \__,_|\___|\___\___/ \_/ 21:59:22 Bash-1.0.6 21:59:22 21:59:22 21:59:22 ==> git version 2.25.1 found 21:59:22 ==> 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 21:59:22 Release-Date: 2020-01-08 21:59:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:59:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:59:22 ==> Jenkins CI detected. 21:59:22 current dir:  /w/workspace/exfoundry_device-virtual-go_main 21:59:22 project root: . 21:59:22 --> token set from env 21:59:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:59:22 ==> Running gcov in . (disable via -X gcov) 21:59:22 ==> Python coveragepy not found 21:59:22 ==> Searching for coverage reports in: 21:59:22 + . 21:59:22 -> Found 1 reports 21:59:22 ==> Detecting git/mercurial file structure 21:59:22 ==> Reading reports 21:59:22 + ./coverage.out bytes=43063 21:59:22 ==> Appending adjustments 21:59:22 https://docs.codecov.io/docs/fixing-reports 21:59:22 + Found adjustments 21:59:22 ==> Gzipping contents 21:59:22 8.0K /tmp/codecov.pkzR8p.gz 21:59:22 ==> Uploading reports 21:59:22 url: https://codecov.io 21:59:22 query: branch=main&commit=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:59:22 -> Pinging Codecov 21:59:22 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=b41150d8f29f1474a4d4d35e5cf0bbe8d5784310&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:59:22 -> Uploading to 21:59:22 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/5E52B4B073DB2E39498172D8E973AA87/b41150d8f29f1474a4d4d35e5cf0bbe8d5784310/b7e218f5-6321-40b8-be9d-3f80b424332b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T215922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1bc5fe54bb60c3b59292e29fa476ce84737227a7d684adc0bedb3024b17bcd22 21:59:22 % Total % Received % Xferd Average Speed Time Time Time Current 21:59:22 Dload Upload Total Spent Left Speed 21:59:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26584 --:--:-- --:--:-- --:--:-- 26584 21:59:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] } 21:59:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:59:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:59:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:59:23 21:59:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:59:23 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:59:23 df9b9388f04a: Pulling fs layer 21:59:23 52dc419b0ee2: Pulling fs layer 21:59:23 25bc292e5bac: Pulling fs layer 21:59:23 114826534d7a: Pulling fs layer 21:59:23 4657fd5d0bcf: Pulling fs layer 21:59:23 6ad1cebc031e: Pulling fs layer 21:59:23 8a3aa393b2d8: Pulling fs layer 21:59:23 114826534d7a: Waiting 21:59:23 4657fd5d0bcf: Waiting 21:59:23 6ad1cebc031e: Waiting 21:59:23 8a3aa393b2d8: Waiting 21:59:23 25bc292e5bac: Verifying Checksum 21:59:23 25bc292e5bac: Download complete 21:59:23 52dc419b0ee2: Verifying Checksum 21:59:23 52dc419b0ee2: Download complete 21:59:23 4657fd5d0bcf: Download complete 21:59:23 df9b9388f04a: Verifying Checksum 21:59:23 df9b9388f04a: Download complete 21:59:24 df9b9388f04a: Pull complete 21:59:24 6ad1cebc031e: Download complete 21:59:24 52dc419b0ee2: Pull complete 21:59:24 25bc292e5bac: Pull complete 21:59:24 114826534d7a: Verifying Checksum 21:59:24 114826534d7a: Download complete 21:59:24 8a3aa393b2d8: Verifying Checksum 21:59:24 8a3aa393b2d8: Download complete 21:59:27 114826534d7a: Pull complete 21:59:27 4657fd5d0bcf: Pull complete 21:59:27 6ad1cebc031e: Pull complete 21:59:30 8a3aa393b2d8: Pull complete 21:59:30 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:59:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:59:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:30 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 21:59:30 $ 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 21:59:34 $ docker top 154e4afa5806c1a1c37d5c0edd3771954c1b7dfe60c085894287fb62544a4172 -eo pid,comm [Pipeline] { [Pipeline] echo 21:59:34 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 21:59:35 + set -o pipefail 21:59:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 21:59:41 21:59:41 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 21:59:41 21:59:41 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/e455364f-e709-47f0-b70b-49c98a70d910 21:59:41 21:59:41 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:59:41 21:59:41 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:59:41 21:59:41 21:59:41 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:59:41 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:59:41 More details here: https://snyk.co/ue1NS 21:59:41 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 21:59:41 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:59:41 $ docker stop --time=1 154e4afa5806c1a1c37d5c0edd3771954c1b7dfe60c085894287fb62544a4172 21:59:44 $ docker rm -f --volumes 154e4afa5806c1a1c37d5c0edd3771954c1b7dfe60c085894287fb62544a4172 [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 21:59:45 + git log --format=format:%s -1 b41150d8f29f1474a4d4d35e5cf0bbe8d5784310 [Pipeline] sh 21:59:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:59:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:59:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:46 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 21:59:46 $ 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 21:59:46 $ docker top a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 -eo pid,comm 21:59:46 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). 21:59:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:59:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:59:46 [ssh-agent] Looking for ssh-agent implementation... 21:59:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:59:46 $ docker exec a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 ssh-agent 21:59:46 SSH_AUTH_SOCK=/tmp/ssh-gHvR0HjVAI88/agent.32 21:59:46 SSH_AGENT_PID=38 21:59:46 Running ssh-add (command line suppressed) 21:59:47 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13892457231513070478.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13892457231513070478.key) 21:59:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:59:47 + git semver tag 21:59:47 2023-09-12 21:59:47,538 [run_tag] DEBUG tag force:False 21:59:47 2023-09-12 21:59:47,538 [check_head_tag] DEBUG check head tag 21:59:47 2023-09-12 21:59:47,539 [execute] INFO git cat-file --batch-check 21:59:47 2023-09-12 21:59:47,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:59:47 2023-09-12 21:59:47,543 [execute] INFO git cat-file --batch 21:59:47 2023-09-12 21:59:47,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:59:47 2023-09-12 21:59:47,555 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:59:47 2023-09-12 21:59:47,556 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 21:59:47 2023-09-12 21:59:47,556 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 21:59:47 2023-09-12 21:59:47,560 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:59:47 3.1.0-dev.12 [Pipeline] } 21:59:47 $ docker exec --env ******** --env ******** a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 ssh-agent -k 21:59:47 unset SSH_AUTH_SOCK; 21:59:47 unset SSH_AGENT_PID; 21:59:47 echo Agent pid 38 killed; 21:59:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:59:48 + git semver [Pipeline] } 21:59:48 $ docker stop --time=1 a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 21:59:49 $ docker rm -f --volumes a5e703b53e2417a3f63b3b6de2e8e25035313f151635702818453a26c90e3156 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:59:49 21:59:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:59:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:59:50 0.23.1-centos7: Pulling from edgex-lftools 21:59:50 ab5ef0e58194: Pulling fs layer 21:59:50 9712f1f96733: Pulling fs layer 21:59:50 63f879dbbcfc: Pulling fs layer 21:59:50 0d9ebad4ef96: Pulling fs layer 21:59:50 e9a5061849ea: Pulling fs layer 21:59:50 d747dcd14b5f: Pulling fs layer 21:59:50 2de7ff778b66: Pulling fs layer 21:59:50 0d9ebad4ef96: Waiting 21:59:50 d747dcd14b5f: Waiting 21:59:50 2de7ff778b66: Waiting 21:59:50 9712f1f96733: Verifying Checksum 21:59:50 9712f1f96733: Download complete 21:59:50 63f879dbbcfc: Verifying Checksum 21:59:50 63f879dbbcfc: Download complete 21:59:50 e9a5061849ea: Verifying Checksum 21:59:50 e9a5061849ea: Download complete 21:59:50 0d9ebad4ef96: Verifying Checksum 21:59:50 0d9ebad4ef96: Download complete 21:59:50 d747dcd14b5f: Verifying Checksum 21:59:50 d747dcd14b5f: Download complete 21:59:50 ab5ef0e58194: Verifying Checksum 21:59:50 ab5ef0e58194: Download complete 21:59:50 2de7ff778b66: Verifying Checksum 21:59:50 2de7ff778b66: Download complete 21:59:53 ab5ef0e58194: Pull complete 21:59:53 9712f1f96733: Pull complete 21:59:53 63f879dbbcfc: Pull complete 21:59:57 0d9ebad4ef96: Pull complete 21:59:57 e9a5061849ea: Pull complete 21:59:57 d747dcd14b5f: Pull complete 21:59:58 2de7ff778b66: Pull complete 21:59:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:59:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:59:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:59:58 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 21:59:58 $ 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 22:00:02 $ docker top 7b6cd17986cbc81ed8396665aab48511f09e5f5da59261cc9a49576a76b90aca -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:00:02 provisioning config files... 22:00:02 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7247161683024030911tmp 22:00:02 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7445734462188891697tmp 22:00:02 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11385249344821577294tmp [Pipeline] { [Pipeline] echo 22:00:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:00:03 ---> sigul-configuration.sh 22:00:03 gpg: directory `/root/.gnupg' created 22:00:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:00:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:00:03 gpg: keyring `/root/.gnupg/secring.gpg' created 22:00:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:00:03 gpg: CAST5 encrypted data 22:00:03 gpg: encrypted with 1 passphrase 22:00:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:00:03 + mkdir /home/jenkins 22:00:03 + mkdir /home/jenkins/sigul [Pipeline] sh 22:00:03 + 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 22:00:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:00:04 ---> sigul-install.sh 22:00:04 Sigul already installed; skipping installation. [Pipeline] sh 22:00:04 + git tag --list 22:00:04 v1.0.0 22:00:04 v1.1.0 22:00:04 v1.1.1 22:00:04 v1.2.1 22:00:04 v1.2.2 22:00:04 v1.2.3 22:00:04 v1.3.0 22:00:04 v1.3.1 22:00:04 v2.0.0 22:00:04 v2.1.0 22:00:04 v2.1.1 22:00:04 v2.2.0 22:00:04 v2.3.0 22:00:04 v3.0 22:00:04 v3.0.0 22:00:04 v3.1.0-dev.1 22:00:04 v3.1.0-dev.10 22:00:04 v3.1.0-dev.11 22:00:04 v3.1.0-dev.12 22:00:04 v3.1.0-dev.2 22:00:04 v3.1.0-dev.3 22:00:04 v3.1.0-dev.4 22:00:04 v3.1.0-dev.5 22:00:04 v3.1.0-dev.6 22:00:04 v3.1.0-dev.7 22:00:04 v3.1.0-dev.8 22:00:04 v3.1.0-dev.9 [Pipeline] sh 22:00:04 + lftools sign git-tag v3.1.0-dev.12 22:00:05 Signing Git tag with Sigul... 22:00:05 Signing v3.1.0-dev.12 [Pipeline] echo 22:00:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:00:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:00:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:00:05 $ docker stop --time=1 7b6cd17986cbc81ed8396665aab48511f09e5f5da59261cc9a49576a76b90aca 22:00:07 $ docker rm -f --volumes 7b6cd17986cbc81ed8396665aab48511f09e5f5da59261cc9a49576a76b90aca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:00:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:00:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:07 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 22:00:07 $ 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 22:00:08 $ docker top d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c -eo pid,comm 22:00:08 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). 22:00:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:00:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:08 [ssh-agent] Looking for ssh-agent implementation... 22:00:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:08 $ docker exec d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c ssh-agent 22:00:08 SSH_AUTH_SOCK=/tmp/ssh-QjSM3feyLI7C/agent.32 22:00:08 SSH_AGENT_PID=38 22:00:08 Running ssh-add (command line suppressed) 22:00:08 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5168408086942894178.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_5168408086942894178.key) 22:00:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:09 + git semver bump pre 22:00:09 2023-09-12 22:00:09,146 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:00:09 2023-09-12 22:00:09,146 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev 22:00:09 2023-09-12 22:00:09,146 [bump_version] DEBUG bumped version:3.1.0-dev.13 22:00:09 2023-09-12 22:00:09,146 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 22:00:09 2023-09-12 22:00:09,146 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:00:09 2023-09-12 22:00:09,146 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:00:09 2023-09-12 22:00:09,148 [execute] INFO git cat-file --batch-check 22:00:09 2023-09-12 22:00:09,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:00:09 2023-09-12 22:00:09,153 [execute] INFO git cat-file --batch 22:00:09 2023-09-12 22:00:09,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:00:09 2023-09-12 22:00:09,157 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:00:09 3.1.0-dev.13 [Pipeline] } 22:00:09 $ docker exec --env ******** --env ******** d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c ssh-agent -k 22:00:09 unset SSH_AUTH_SOCK; 22:00:09 unset SSH_AGENT_PID; 22:00:09 echo Agent pid 38 killed; 22:00:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:00:09 + git semver [Pipeline] } 22:00:10 $ docker stop --time=1 d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c 22:00:11 $ docker rm -f --volumes d260b5a11e6920af6f6146996e12265c397ecfb7a6cccdd645e8d733fea0a43c [Pipeline] // withDockerContainer [Pipeline] sh 22:00:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:00:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:00:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:12 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 22:00:12 $ 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 22:00:12 $ docker top f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 -eo pid,comm 22:00:12 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). 22:00:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:00:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:00:12 [ssh-agent] Looking for ssh-agent implementation... 22:00:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:00:12 $ docker exec f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 ssh-agent 22:00:12 SSH_AUTH_SOCK=/tmp/ssh-t8OhldCzpHfq/agent.32 22:00:12 SSH_AGENT_PID=38 22:00:12 Running ssh-add (command line suppressed) 22:00:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16916547012964704284.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16916547012964704284.key) 22:00:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:00:13 + git semver push 22:00:13 2023-09-12 22:00:13,270 [run_push] DEBUG push 22:00:13 2023-09-12 22:00:13,271 [execute] INFO git cat-file --batch-check 22:00:13 2023-09-12 22:00:13,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:00:13 2023-09-12 22:00:13,274 [execute] INFO git rev-list 93bc7bde6f1bf74126f28c7ebd3d98dcd7a7b893 -- 22:00:13 2023-09-12 22:00:13,275 [execute] DEBUG Popen(['git', 'rev-list', '93bc7bde6f1bf74126f28c7ebd3d98dcd7a7b893', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:00:13 2023-09-12 22:00:13,283 [execute] INFO git fetch -v origin 22:00:13 2023-09-12 22:00:13,283 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:00:13 2023-09-12 22:00:13,738 [run_push] DEBUG no remote changes detected 22:00:13 2023-09-12 22:00:13,738 [execute] INFO git push origin semver 22:00:13 2023-09-12 22:00:13,739 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:00:14 2023-09-12 22:00:14,624 [run_push] DEBUG push all version tags 22:00:14 2023-09-12 22:00:14,625 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:00:14 2023-09-12 22:00:14,625 [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) 22:00:15 2023-09-12 22:00:15,376 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:00:15 3.1.0-dev.13 [Pipeline] } 22:00:15 $ docker exec --env ******** --env ******** f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 ssh-agent -k 22:00:15 unset SSH_AUTH_SOCK; 22:00:15 unset SSH_AGENT_PID; 22:00:15 echo Agent pid 38 killed; 22:00:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:00:15 + git semver [Pipeline] } 22:00:16 $ docker stop --time=1 f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 22:00:17 $ docker rm -f --volumes f8461f5a7fecd6587a052a0be6fc3ea5f47665f60c1ac68bb76f73164b514ff5 [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 22:00:17 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 22:00:17 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:00:17 total 16 22:00:17 drwxr-xr-x 3 root root 4096 Sep 12 21:50 . 22:00:17 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:00 .. 22:00:17 drwxr-xr-x 2 root root 4096 Sep 12 21:50 cost 22:00:17 -rw-r--r-- 1 root root 89 Sep 12 21:50 cost.csv 22:00:17 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 22:00:17 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:00:17 total 16 22:00:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:50 . 22:00:17 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 22:00 .. 22:00:17 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:50 cost 22:00:17 -rw-r--r-- 1 jenkins jenkins 89 Sep 12 21:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:00:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:00:19 ---> package-listing.sh 22:00:19 ++ facter osfamily 22:00:19 ++ tr '[:upper:]' '[:lower:]' 22:00:19 + OS_FAMILY=debian 22:00:19 + workspace=/w/workspace/exfoundry_device-virtual-go_main 22:00:19 + START_PACKAGES=/tmp/packages_start.txt 22:00:19 + END_PACKAGES=/tmp/packages_end.txt 22:00:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:00:19 + PACKAGES=/tmp/packages_start.txt 22:00:19 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:00:19 + PACKAGES=/tmp/packages_end.txt 22:00:19 + case "${OS_FAMILY}" in 22:00:19 + dpkg -l 22:00:19 + grep '^ii' 22:00:19 + '[' -f /tmp/packages_start.txt ']' 22:00:19 + '[' -f /tmp/packages_end.txt ']' 22:00:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:00:19 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:00:19 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 22:00:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 22:00:19 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 22:00:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:00:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:00:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:00:20 prd-ubuntu20.04-docker-8c-8g-6008 does not seem to be running inside a container 22:00:20 $ 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 22:00:20 $ docker top 26d7088cfe8a91945898caf0e89c63e74ab89b76268a606f664409ed7cba6543 -eo pid,comm [Pipeline] { [Pipeline] sh 22:00:21 + touch /tmp/pre-build-complete [Pipeline] sh 22:00:21 + mkdir -p /var/log/sysstat [Pipeline] sh 22:00:21 + ls /var/log/sa-host 22:00:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:00:21 provisioning config files... 22:00:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7791193325818124494tmp [Pipeline] { [Pipeline] echo 22:00:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:00:21 ---> create-netrc.sh [Pipeline] } 22:00:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:00:22 ---> python-tools-install.sh [Pipeline] echo 22:00:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:00:22 ---> sudo-logs.sh 22:00:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:00:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:00:22 ---> job-cost.sh 22:00:22 lf-activate-venv: SKIPPING 22:00:22 DEBUG: total: 0.2199999988079071 22:00:22 INFO: Retrieving Stack Cost... 22:00:23 INFO: Retrieving Pricing Info for: v3-standard-8 22:00:23 INFO: Archiving Costs [Pipeline] echo 22:00:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:00:23 ---> logs-deploy.sh 22:00:23 lf-activate-venv: SKIPPING 22:00:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/138 22:00:23 INFO: archiving workspace using pattern(s): 22:00:24 Archives upload complete. 22:00:24 INFO: archiving logs to Nexus