Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 266afac79739f3db6a467d2e291baff0c6e168aa 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-ssh6549559298221881621.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh4539920040609490430.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9813265266222377286.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh12433556928304082161.key Verifying host key using known hosts file > 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-ssh5723228900295940950.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1370’ Running on prd-ubuntu20.04-docker-8c-8g-1374 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 266afac79739f3db6a467d2e291baff0c6e168aa (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 266afac79739f3db6a467d2e291baff0c6e168aa # timeout=10 Commit message: "fix: add device service key in CommandRequestTopic (#309)" > git rev-list --no-walk 058be3283080a1c8583c0889253315c1374bf37e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:05:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:05:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:05:12 ========================================================= 17:05:12 EdgeX Global Pipelines Version Info 17:05:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:05:12 ------------------- 17:05:12 stable info: 17:05:12 ------------------- 17:05:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:05:12 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:05:12 Message: update stable to v1.0.239 17:05:13 ------------------- 17:05:13 experimental info: 17:05:13 ------------------- 17:05:13 Commited By: **** collab-it+edgex@linuxfoundation.org 17:05:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 17:05:13 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 266afac79739f3db6a467d2e291baff0c6e168aa [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 266afac [Pipeline] echo 17:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:13 provisioning config files... 17:05:14 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6470796331204934005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:14 ---> docker-login.sh 17:05:14 nexus3.edgexfoundry.org:10001 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:14 Configure a credential helper to remove this warning. See 17:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:14 17:05:14 Login Succeeded 17:05:14 nexus3.edgexfoundry.org:10002 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:14 Configure a credential helper to remove this warning. See 17:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:14 17:05:14 Login Succeeded 17:05:14 nexus3.edgexfoundry.org:10003 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:14 Configure a credential helper to remove this warning. See 17:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:14 17:05:14 Login Succeeded 17:05:14 nexus3.edgexfoundry.org:10004 17:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:15 Configure a credential helper to remove this warning. See 17:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:15 17:05:15 Login Succeeded 17:05:15 docker.io 17:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:15 Configure a credential helper to remove this warning. See 17:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:15 17:05:15 Login Succeeded 17:05:15 ---> docker-login.sh ends [Pipeline] } 17:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:05:15 + git rev-list -1 --merges 266afac79739f3db6a467d2e291baff0c6e168aa~1..266afac79739f3db6a467d2e291baff0c6e168aa [Pipeline] echo 17:05:15 -----------> git rev-list -1 --merges 266afac79739f3db6a467d2e291baff0c6e168aa~1..266afac79739f3db6a467d2e291baff0c6e168aa 266afac79739f3db6a467d2e291baff0c6e168aa [false] [Pipeline] sh 17:05:16 + git log --format=format:%s -1 266afac79739f3db6a467d2e291baff0c6e168aa [Pipeline] echo 17:05:16 ========================================================= 17:05:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:05:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:05:16 + git log --format=format:%s -1 266afac79739f3db6a467d2e291baff0c6e168aa [Pipeline] echo 17:05:16 [semverPrep] GIT_COMMIT: 266afac79739f3db6a467d2e291baff0c6e168aa, Commit Message: fix: add device service key in CommandRequestTopic (#309) [Pipeline] echo 17:05:16 [semverPrep] This is not a build commit. [Pipeline] sh 17:05:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:05:16 + grep -v github /etc/ssh/ssh_known_hosts 17:05:16 + [ -e /tmp/ssh_known_hosts ] 17:05:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:05:16 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:05:16 sudo tee -a /etc/ssh/ssh_known_hosts 17:05:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:17 17:05:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:17 0.1.4: Pulling from edgex-devops/py-git-semver 17:05:17 b85a868b505f: Pulling fs layer 17:05:17 e2be974225ed: Pulling fs layer 17:05:17 339a4e72a1f5: Pulling fs layer 17:05:17 988bab9f4d93: Pulling fs layer 17:05:17 1469e6f7b9e6: Pulling fs layer 17:05:17 eaf3925da568: Pulling fs layer 17:05:17 bab4dde63d76: Pulling fs layer 17:05:17 bde34c3a00c8: Pulling fs layer 17:05:17 b352a97aabf1: Pulling fs layer 17:05:17 4872d77fe225: Pulling fs layer 17:05:17 5851b861e8e6: Pulling fs layer 17:05:17 bde34c3a00c8: Waiting 17:05:17 988bab9f4d93: Waiting 17:05:17 bab4dde63d76: Waiting 17:05:17 5851b861e8e6: Waiting 17:05:17 4872d77fe225: Waiting 17:05:17 b352a97aabf1: Waiting 17:05:17 eaf3925da568: Waiting 17:05:17 e2be974225ed: Download complete 17:05:17 988bab9f4d93: Verifying Checksum 17:05:17 1469e6f7b9e6: Verifying Checksum 17:05:17 1469e6f7b9e6: Download complete 17:05:17 eaf3925da568: Verifying Checksum 17:05:17 eaf3925da568: Download complete 17:05:17 339a4e72a1f5: Verifying Checksum 17:05:17 339a4e72a1f5: Download complete 17:05:17 bde34c3a00c8: Verifying Checksum 17:05:17 bde34c3a00c8: Download complete 17:05:17 b352a97aabf1: Download complete 17:05:17 4872d77fe225: Verifying Checksum 17:05:17 4872d77fe225: Download complete 17:05:17 5851b861e8e6: Verifying Checksum 17:05:17 5851b861e8e6: Download complete 17:05:17 b85a868b505f: Download complete 17:05:17 bab4dde63d76: Verifying Checksum 17:05:17 bab4dde63d76: Download complete 17:05:18 b85a868b505f: Pull complete 17:05:19 e2be974225ed: Pull complete 17:05:19 339a4e72a1f5: Pull complete 17:05:19 988bab9f4d93: Pull complete 17:05:19 1469e6f7b9e6: Pull complete 17:05:20 eaf3925da568: Pull complete 17:05:22 bab4dde63d76: Pull complete 17:05:22 bde34c3a00c8: Pull complete 17:05:22 b352a97aabf1: Pull complete 17:05:22 4872d77fe225: Pull complete 17:05:22 5851b861e8e6: Pull complete 17:05:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:05:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:05:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:05:22 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:05:22 $ 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 17:05:25 $ docker top fd607170daf2482846cfaf9f1bc7ef555a7469088eaeabc02a633faf382aa761 -eo pid,comm 17:05:25 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). 17:05:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:25 [ssh-agent] Looking for ssh-agent implementation... 17:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:25 $ docker exec fd607170daf2482846cfaf9f1bc7ef555a7469088eaeabc02a633faf382aa761 ssh-agent 17:05:25 SSH_AUTH_SOCK=/tmp/ssh-v8UM0WGskXIf/agent.32 17:05:25 SSH_AGENT_PID=38 17:05:25 Running ssh-add (command line suppressed) 17:05:25 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8603900698269414273.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8603900698269414273.key) 17:05:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:25 + git tag --points-at HEAD [Pipeline] } 17:05:25 $ docker exec --env ******** --env ******** fd607170daf2482846cfaf9f1bc7ef555a7469088eaeabc02a633faf382aa761 ssh-agent -k 17:05:26 unset SSH_AUTH_SOCK; 17:05:26 unset SSH_AGENT_PID; 17:05:26 echo Agent pid 38 killed; 17:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:05:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:05:26 [ssh-agent] Looking for ssh-agent implementation... 17:05:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:05:26 $ docker exec fd607170daf2482846cfaf9f1bc7ef555a7469088eaeabc02a633faf382aa761 ssh-agent 17:05:26 SSH_AUTH_SOCK=/tmp/ssh-QVQpyTdqlcgw/agent.70 17:05:26 SSH_AGENT_PID=76 17:05:26 Running ssh-add (command line suppressed) 17:05:26 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11627568208927587064.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_11627568208927587064.key) 17:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:05:26 + git semver init 17:05:27 2022-09-27 17:05:26,953 [run_init] DEBUG init version:0.0.0 force:False 17:05:27 2022-09-27 17:05:26,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 17:05:27 2022-09-27 17:05:26,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 17:05:27 2022-09-27 17:05:26,955 [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) 17:05:28 2022-09-27 17:05:28,179 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 17:05:28 2022-09-27 17:05:28,179 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 17:05:28 2022-09-27 17:05:28,179 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:05:28 2022-09-27 17:05:28,179 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:05:28 2.3.0-dev.19 [Pipeline] } 17:05:28 $ docker exec --env ******** --env ******** fd607170daf2482846cfaf9f1bc7ef555a7469088eaeabc02a633faf382aa761 ssh-agent -k 17:05:28 unset SSH_AUTH_SOCK; 17:05:28 unset SSH_AGENT_PID; 17:05:28 echo Agent pid 76 killed; 17:05:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:05:28 + git semver [Pipeline] } 17:05:29 $ docker stop --time=1 fd607170daf2482846cfaf9f1bc7ef555a7469088eaeabc02a633faf382aa761 17:05:30 $ docker rm -f fd607170daf2482846cfaf9f1bc7ef555a7469088eaeabc02a633faf382aa761 [Pipeline] // withDockerContainer [Pipeline] sh 17:05:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:05:30 Stashed 1 file(s) [Pipeline] echo 17:05:30 [edgeXSemver]: initialized semver on version 2.3.0-dev.19 [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 17:05:31 provisioning config files... 17:05:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config14990095425630307349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:05:31 ---> docker-login.sh 17:05:31 nexus3.edgexfoundry.org:10001 17:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:31 Configure a credential helper to remove this warning. See 17:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:31 17:05:31 Login Succeeded 17:05:31 nexus3.edgexfoundry.org:10002 17:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:31 Configure a credential helper to remove this warning. See 17:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:31 17:05:31 Login Succeeded 17:05:31 nexus3.edgexfoundry.org:10003 17:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:31 Configure a credential helper to remove this warning. See 17:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:31 17:05:31 Login Succeeded 17:05:31 nexus3.edgexfoundry.org:10004 17:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:31 Configure a credential helper to remove this warning. See 17:05:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:31 17:05:31 Login Succeeded 17:05:31 docker.io 17:05:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:05:32 Configure a credential helper to remove this warning. See 17:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:05:32 17:05:32 Login Succeeded 17:05:32 ---> docker-login.sh ends [Pipeline] } 17:05:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:05:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:05:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:05:32 ========================================================= 17:05:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:05:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:05:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:05:32 Sending build context to Docker daemon 23.15MB 17:05:32 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:05:32 Step 2/13 : FROM ${BASE} AS builder 17:05:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:05:32 2408cc74d12b: Pulling fs layer 17:05:32 ea60b727a1ce: Pulling fs layer 17:05:32 30c4a7721957: Pulling fs layer 17:05:32 370296b7ddb6: Pulling fs layer 17:05:32 7c6cee850709: Pulling fs layer 17:05:32 39a5fcdaea64: Pulling fs layer 17:05:32 d94ebbe4e438: Pulling fs layer 17:05:32 bcfd1f05c69d: Pulling fs layer 17:05:32 59ccb84bbe0f: Pulling fs layer 17:05:32 370296b7ddb6: Waiting 17:05:32 7c6cee850709: Waiting 17:05:32 39a5fcdaea64: Waiting 17:05:32 bcfd1f05c69d: Waiting 17:05:32 d94ebbe4e438: Waiting 17:05:32 59ccb84bbe0f: Waiting 17:05:32 30c4a7721957: Download complete 17:05:32 ea60b727a1ce: Download complete 17:05:32 7c6cee850709: Verifying Checksum 17:05:32 7c6cee850709: Download complete 17:05:32 2408cc74d12b: Verifying Checksum 17:05:32 2408cc74d12b: Download complete 17:05:32 39a5fcdaea64: Download complete 17:05:32 d94ebbe4e438: Verifying Checksum 17:05:32 d94ebbe4e438: Download complete 17:05:32 2408cc74d12b: Pull complete 17:05:33 ea60b727a1ce: Pull complete 17:05:33 30c4a7721957: Pull complete 17:05:33 59ccb84bbe0f: Verifying Checksum 17:05:33 59ccb84bbe0f: Download complete 17:05:33 bcfd1f05c69d: Verifying Checksum 17:05:33 bcfd1f05c69d: Download complete 17:05:33 370296b7ddb6: Verifying Checksum 17:05:33 370296b7ddb6: Download complete 17:05:36 370296b7ddb6: Pull complete 17:05:37 7c6cee850709: Pull complete 17:05:37 39a5fcdaea64: Pull complete 17:05:37 d94ebbe4e438: Pull complete 17:05:39 bcfd1f05c69d: Pull complete 17:05:39 59ccb84bbe0f: Pull complete 17:05:39 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:05:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:05:39 ---> a4fb48ad2a94 17:05:39 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:05:44 ---> Running in 77f809abaab8 17:05:44 Removing intermediate container 77f809abaab8 17:05:44 ---> aeb72f015956 17:05:44 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:05:44 ---> Running in 794aa67e4ede 17:05:44 Removing intermediate container 794aa67e4ede 17:05:44 ---> f5bae15cc97a 17:05:44 Step 5/13 : ARG ADD_BUILD_TAGS="" 17:05:44 ---> Running in 84b200654463 17:05:44 Removing intermediate container 84b200654463 17:05:44 ---> c9586338034f 17:05:44 Step 6/13 : WORKDIR /device-virtual-go 17:05:44 ---> Running in 76af00791b11 17:05:44 Removing intermediate container 76af00791b11 17:05:44 ---> 758cbe0e16d4 17:05:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:05:44 ---> Running in 92f3872305d8 17:05:45 Removing intermediate container 92f3872305d8 17:05:45 ---> 28e0b4fc1647 17:05:45 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:05:45 ---> Running in b2f04574545a 17:05:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:05:46 Still waiting to schedule task 17:05:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1371’ 17:05:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:05:46 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:05:46 (2/4) Installing libedit (20210910.3.1-r0) 17:05:46 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:05:47 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:05:47 Executing busybox-1.35.0-r13.trigger 17:05:47 OK: 216 MiB in 55 packages 17:05:47 Removing intermediate container b2f04574545a 17:05:47 ---> 0d10ed1af2fa 17:05:47 Step 9/13 : COPY go.mod vendor* ./ 17:05:47 ---> 7de9d4697eb9 17:05:47 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:05:47 ---> Running in 8191eb79ac42 17:06:09 Removing intermediate container 8191eb79ac42 17:06:09 ---> 77b42c13ce10 17:06:09 Step 11/13 : COPY . . 17:06:09 ---> 158961fe8194 17:06:09 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:06:09 ---> Running in fd4c6a397c20 17:06:09 Removing intermediate container fd4c6a397c20 17:06:09 ---> b8d8896b5b58 17:06:09 Step 13/13 : RUN $MAKE 17:06:09 ---> Running in 6aad5bcee1d9 17:06:09 noop 17:06:09 Removing intermediate container 6aad5bcee1d9 17:06:09 ---> 6d409bb9542c 17:06:09 Successfully built 6d409bb9542c 17:06:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:09 + docker inspect -f . ci-base-image-x86_64 17:06:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:10 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:06:10 $ 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 17:06:10 $ docker top 828d0329a4ef2189b558bb702c4202456612dc4c6e6f58978e9f04eeff9918e0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:10 + go version 17:06:10 go version go1.18.3 linux/amd64 [Pipeline] } 17:06:10 $ docker stop --time=1 828d0329a4ef2189b558bb702c4202456612dc4c6e6f58978e9f04eeff9918e0 17:06:12 $ docker rm -f 828d0329a4ef2189b558bb702c4202456612dc4c6e6f58978e9f04eeff9918e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:12 + docker inspect -f . ci-base-image-x86_64 17:06:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:06:12 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:06:12 $ 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 17:06:12 $ docker top fd97e5d0a94348447a85adc8a757d219ac55835ab761fa16da6813d8e75b203e -eo pid,comm [Pipeline] { [Pipeline] sh 17:06:13 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 17:06:13 + make test 17:06:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:06:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:06:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:06:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 17:06:28 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:06:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:06:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:06:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:06:31 ./bin/test-attribution-txt.sh 17:06:31 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 17:06:31 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 17:06:31 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 17:06:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:06:31 $ docker stop --time=1 fd97e5d0a94348447a85adc8a757d219ac55835ab761fa16da6813d8e75b203e 17:06:34 $ docker rm -f fd97e5d0a94348447a85adc8a757d219ac55835ab761fa16da6813d8e75b203e [Pipeline] // withDockerContainer [Pipeline] sh 17:06:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:06:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:06:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:06:35 + ls -al . 17:06:35 total 196 17:06:35 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 17:06 . 17:06:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 17:05 .. 17:06:35 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 17:06 .git 17:06:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 17:05 .github 17:06:35 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 17:05 .gitignore 17:06:35 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 17:05 .golangci.yml 17:06:35 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 17:05 .semver 17:06:35 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 27 17:05 Attribution.txt 17:06:35 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 17:05 CHANGELOG.md 17:06:35 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 17:05 Dockerfile 17:06:35 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 17:05 GOVERNANCE.md 17:06:35 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 17:05 Jenkinsfile 17:06:35 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 17:05 LICENSE 17:06:35 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 17:05 Makefile 17:06:35 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 17:05 OWNERS.md 17:06:35 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 17:05 README.md 17:06:35 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 17:05 VERSION 17:06:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 17:05 bin 17:06:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 17:05 cmd 17:06:35 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 17:06 coverage.out 17:06:35 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 17:05 go.mod 17:06:35 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 17:05 go.sum 17:06:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 17:05 internal 17:06:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 17:05 snap 17:06:35 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 17:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:35 + 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=266afac79739f3db6a467d2e291baff0c6e168aa --label arch=amd64 --label version=2.3.0-dev.19 . 17:06:35 Sending build context to Docker daemon 23.19MB 17:06:35 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 17:06:35 Step 2/27 : FROM ${BASE} AS builder 17:06:35 ---> 6d409bb9542c 17:06:35 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:06:36 ---> Running in 3f0bd4b0aa36 17:06:36 Removing intermediate container 3f0bd4b0aa36 17:06:36 ---> 15037bcbcd40 17:06:36 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:06:36 ---> Running in 49c201f36b01 17:06:36 Removing intermediate container 49c201f36b01 17:06:36 ---> 87f07c0b3113 17:06:36 Step 5/27 : ARG ADD_BUILD_TAGS="" 17:06:36 ---> Running in 8f6d23d0d1fc 17:06:36 Removing intermediate container 8f6d23d0d1fc 17:06:36 ---> 2879edd2799c 17:06:36 Step 6/27 : WORKDIR /device-virtual-go 17:06:36 ---> Running in c979696c972c 17:06:36 Removing intermediate container c979696c972c 17:06:36 ---> 586a7fc0bc70 17:06:36 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:06:36 ---> Running in 121056efa11c 17:06:36 Removing intermediate container 121056efa11c 17:06:36 ---> d2bee36a324d 17:06:36 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:06:36 ---> Running in 7841c014efd5 17:06:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:06:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:06:42 OK: 216 MiB in 55 packages 17:06:42 Removing intermediate container 7841c014efd5 17:06:42 ---> 2e67d5872b07 17:06:42 Step 9/27 : COPY go.mod vendor* ./ 17:06:42 ---> 00f2238d4108 17:06:42 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:06:42 ---> Running in 7ac876f7cb66 17:06:43 Removing intermediate container 7ac876f7cb66 17:06:43 ---> 3a2ee52411d0 17:06:43 Step 11/27 : COPY . . 17:06:43 ---> dd081e5fab0e 17:06:43 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:06:43 ---> Running in 63d350fbe785 17:06:43 Removing intermediate container 63d350fbe785 17:06:43 ---> 68902b991eaa 17:06:43 Step 13/27 : RUN $MAKE 17:06:43 ---> Running in 2eeb7f273c75 17:06:44 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 17:07:06 Removing intermediate container 2eeb7f273c75 17:07:06 ---> 9afacce46e8d 17:07:06 Step 14/27 : FROM alpine:3.16 17:07:06 3.16: Pulling from library/alpine 17:07:06 213ec9aee27d: Pulling fs layer 17:07:06 213ec9aee27d: Verifying Checksum 17:07:06 213ec9aee27d: Download complete 17:07:06 213ec9aee27d: Pull complete 17:07:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:07:06 Status: Downloaded newer image for alpine:3.16 17:07:06 ---> 9c6f07244728 17:07:06 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:07:06 ---> Running in fbd3232a89d3 17:07:06 Removing intermediate container fbd3232a89d3 17:07:06 ---> 4f28bb237279 17:07:06 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:07:06 ---> Running in a9a9231e97f3 17:07:06 Removing intermediate container a9a9231e97f3 17:07:06 ---> 7b49b2013fa4 17:07:06 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 17:07:06 ---> Running in 7b219d3f81bb 17:07:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:07:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:07:06 (1/6) Installing dumb-init (1.2.5-r1) 17:07:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:07:06 (3/6) Installing libsodium (1.0.18-r0) 17:07:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:07:07 (5/6) Installing libzmq (4.3.4-r0) 17:07:07 (6/6) Installing zeromq (4.3.4-r0) 17:07:07 Executing busybox-1.35.0-r17.trigger 17:07:07 OK: 8 MiB in 20 packages 17:07:07 Removing intermediate container 7b219d3f81bb 17:07:07 ---> 15424be7bafa 17:07:07 Step 18/27 : WORKDIR / 17:07:07 ---> Running in 9b2341aee50a 17:07:07 Removing intermediate container 9b2341aee50a 17:07:07 ---> 6d42a33b52db 17:07:07 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:07:07 ---> 214cd631579f 17:07:07 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 17:07:07 ---> e8bf4f6f909a 17:07:07 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 17:07:08 ---> 54aad1382f29 17:07:08 Step 22/27 : EXPOSE 59900 17:07:08 ---> Running in a69cc60b2165 17:07:08 Removing intermediate container a69cc60b2165 17:07:08 ---> 1a0658c19daa 17:07:08 Step 23/27 : ENTRYPOINT ["/device-virtual"] 17:07:08 ---> Running in 684b77caa713 17:07:08 Removing intermediate container 684b77caa713 17:07:08 ---> fa6a0c813dad 17:07:08 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:07:08 ---> Running in 349e2e8c37ce 17:07:08 Removing intermediate container 349e2e8c37ce 17:07:08 ---> 28ab4e8fe9fe 17:07:08 Step 25/27 : LABEL arch=amd64 17:07:08 ---> Running in 9665e3c4eb64 17:07:08 Removing intermediate container 9665e3c4eb64 17:07:08 ---> dfc5a4bdbe43 17:07:08 Step 26/27 : LABEL git_sha=266afac79739f3db6a467d2e291baff0c6e168aa 17:07:09 ---> Running in 98c9288bc42f 17:07:09 Removing intermediate container 98c9288bc42f 17:07:09 ---> 4b778bcad00a 17:07:09 Step 27/27 : LABEL version=2.3.0-dev.19 17:07:09 ---> Running in 8999e8172686 17:07:09 Removing intermediate container 8999e8172686 17:07:09 ---> 98544c594171 17:07:09 [Warning] One or more build-args [ARCH] were not consumed 17:07:09 Successfully built 98544c594171 17:07:09 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:09 provisioning config files... 17:07:09 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13707022504945000582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:09 ---> docker-login.sh 17:07:09 nexus3.edgexfoundry.org:10001 17:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:09 Configure a credential helper to remove this warning. See 17:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:09 17:07:09 Login Succeeded 17:07:09 nexus3.edgexfoundry.org:10002 17:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:09 Configure a credential helper to remove this warning. See 17:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:09 17:07:09 Login Succeeded 17:07:09 nexus3.edgexfoundry.org:10003 17:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:09 Configure a credential helper to remove this warning. See 17:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:09 17:07:09 Login Succeeded 17:07:09 nexus3.edgexfoundry.org:10004 17:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:09 Configure a credential helper to remove this warning. See 17:07:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:09 17:07:09 Login Succeeded 17:07:09 docker.io 17:07:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:07:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:07:10 Configure a credential helper to remove this warning. See 17:07:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:07:10 17:07:10 Login Succeeded 17:07:10 ---> docker-login.sh ends [Pipeline] } 17:07:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:07:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:07:10 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 17:07:10 266afac79739f3db6a467d2e291baff0c6e168aa 17:07:10 latest 17:07:10 2.3.0-dev.19 17:07:10 266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19 17:07:10 main 17:07:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:10 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:266afac79739f3db6a467d2e291baff0c6e168aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:11 + docker push nexus3.edgexfoundry.org:10004/device-virtual:266afac79739f3db6a467d2e291baff0c6e168aa 17:07:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 17:07:11 75cec788745b: Preparing 17:07:11 a0eaaee5af73: Preparing 17:07:11 5be3e0a3b467: Preparing 17:07:11 7ada370c7001: Preparing 17:07:11 bf495f49f16c: Preparing 17:07:11 994393dc58e7: Preparing 17:07:11 994393dc58e7: Waiting 17:07:11 bf495f49f16c: Pushed 17:07:11 a0eaaee5af73: Pushed 17:07:11 5be3e0a3b467: Pushed 17:07:11 994393dc58e7: Layer already exists 17:07:11 7ada370c7001: Pushed 17:07:13 75cec788745b: Pushed 17:07:13 266afac79739f3db6a467d2e291baff0c6e168aa: digest: sha256:a805fd9e292f64e6d7e8e541e36357af849097600fceb4af110b17c7234a15b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:13 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 17:07:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 17:07:14 75cec788745b: Preparing 17:07:14 a0eaaee5af73: Preparing 17:07:14 5be3e0a3b467: Preparing 17:07:14 7ada370c7001: Preparing 17:07:14 bf495f49f16c: Preparing 17:07:14 994393dc58e7: Preparing 17:07:14 994393dc58e7: Waiting 17:07:14 bf495f49f16c: Layer already exists 17:07:14 a0eaaee5af73: Layer already exists 17:07:14 7ada370c7001: Layer already exists 17:07:14 5be3e0a3b467: Layer already exists 17:07:14 75cec788745b: Layer already exists 17:07:14 994393dc58e7: Layer already exists 17:07:14 latest: digest: sha256:a805fd9e292f64e6d7e8e541e36357af849097600fceb4af110b17c7234a15b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.19 17:07:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 17:07:14 75cec788745b: Preparing 17:07:14 a0eaaee5af73: Preparing 17:07:14 5be3e0a3b467: Preparing 17:07:14 7ada370c7001: Preparing 17:07:14 bf495f49f16c: Preparing 17:07:14 994393dc58e7: Preparing 17:07:14 a0eaaee5af73: Layer already exists 17:07:14 75cec788745b: Layer already exists 17:07:14 bf495f49f16c: Layer already exists 17:07:14 5be3e0a3b467: Layer already exists 17:07:14 7ada370c7001: Layer already exists 17:07:14 994393dc58e7: Layer already exists 17:07:14 2.3.0-dev.19: digest: sha256:a805fd9e292f64e6d7e8e541e36357af849097600fceb4af110b17c7234a15b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:14 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19 17:07:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 17:07:15 75cec788745b: Preparing 17:07:15 a0eaaee5af73: Preparing 17:07:15 5be3e0a3b467: Preparing 17:07:15 7ada370c7001: Preparing 17:07:15 bf495f49f16c: Preparing 17:07:15 994393dc58e7: Preparing 17:07:15 994393dc58e7: Waiting 17:07:15 a0eaaee5af73: Layer already exists 17:07:15 bf495f49f16c: Layer already exists 17:07:15 75cec788745b: Layer already exists 17:07:15 7ada370c7001: Layer already exists 17:07:15 5be3e0a3b467: Layer already exists 17:07:15 994393dc58e7: Layer already exists 17:07:15 266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19: digest: sha256:a805fd9e292f64e6d7e8e541e36357af849097600fceb4af110b17c7234a15b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:15 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 17:07:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 17:07:15 75cec788745b: Preparing 17:07:15 a0eaaee5af73: Preparing 17:07:15 5be3e0a3b467: Preparing 17:07:15 7ada370c7001: Preparing 17:07:15 bf495f49f16c: Preparing 17:07:15 994393dc58e7: Preparing 17:07:15 994393dc58e7: Waiting 17:07:15 75cec788745b: Layer already exists 17:07:15 bf495f49f16c: Layer already exists 17:07:15 7ada370c7001: Layer already exists 17:07:15 a0eaaee5af73: Layer already exists 17:07:15 5be3e0a3b467: Layer already exists 17:07:15 994393dc58e7: Layer already exists 17:07:15 main: digest: sha256:a805fd9e292f64e6d7e8e541e36357af849097600fceb4af110b17c7234a15b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:07:15 ===================================================== [Pipeline] echo 17:07:15 taggedImages: 17:07:15 - nexus3.edgexfoundry.org:10004/device-virtual:266afac79739f3db6a467d2e291baff0c6e168aa 17:07:15 - nexus3.edgexfoundry.org:10004/device-virtual:latest 17:07:15 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.19 17:07:15 - nexus3.edgexfoundry.org:10004/device-virtual:266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19 17:07:15 - 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 17:07:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:16 17:07:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:16 latest: Pulling from edgex-lftools-log-publisher 17:07:16 5eb5b503b376: Pulling fs layer 17:07:16 5c69ac0246d0: Pulling fs layer 17:07:16 ec43610c2a17: Pulling fs layer 17:07:16 3a2ae6a8a46f: Pulling fs layer 17:07:16 33b1e0a273af: Pulling fs layer 17:07:16 5d3b04190fa2: Pulling fs layer 17:07:16 2f39f015ded8: Pulling fs layer 17:07:16 3a2ae6a8a46f: Waiting 17:07:16 33b1e0a273af: Waiting 17:07:16 2f39f015ded8: Waiting 17:07:16 5d3b04190fa2: Waiting 17:07:16 5c69ac0246d0: Download complete 17:07:16 3a2ae6a8a46f: Verifying Checksum 17:07:16 3a2ae6a8a46f: Download complete 17:07:16 33b1e0a273af: Verifying Checksum 17:07:16 33b1e0a273af: Download complete 17:07:16 5d3b04190fa2: Download complete 17:07:16 ec43610c2a17: Verifying Checksum 17:07:16 ec43610c2a17: Download complete 17:07:16 5eb5b503b376: Download complete 17:07:17 2f39f015ded8: Download complete 17:07:18 5eb5b503b376: Pull complete 17:07:18 5c69ac0246d0: Pull complete 17:07:19 ec43610c2a17: Pull complete 17:07:19 3a2ae6a8a46f: Pull complete 17:07:19 33b1e0a273af: Pull complete 17:07:20 5d3b04190fa2: Pull complete 17:07:24 2f39f015ded8: Pull complete 17:07:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:07:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:24 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:07:24 $ 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 17:07:29 $ docker top 7f06716e986a7d651f10215661f82ba53e2433d13b231816434520ec3ff3c666 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:29 ---> job-cost.sh 17:07:29 lf-activate-venv: SKIPPING 17:07:29 INFO: No Stack... 17:07:29 INFO: Retrieving Pricing Info for: v3-standard-8 17:07:30 INFO: Archiving Costs [Pipeline] sh 17:07:30 + cut -d, -f6 17:07:30 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [Pipeline] lock 17:07:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-55-stack-cost] 17:07:30 Resource [jenkins-edgexfoundry-device-virtual-go-main-55-stack-cost] did not exist. Created. 17:07:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:30 + echo total: 0.2199999988079071 [Pipeline] stash 17:07:30 Stashed 1 file(s) [Pipeline] } 17:07:30 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 17:07:30 $ docker stop --time=1 7f06716e986a7d651f10215661f82ba53e2433d13b231816434520ec3ff3c666 17:07:32 $ docker rm -f 7f06716e986a7d651f10215661f82ba53e2433d13b231816434520ec3ff3c666 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:08:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1376 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 17:08:43 Running in /w/workspace/device-virtual-go/55 [Pipeline] { [Pipeline] checkout 17:08:43 The recommended git tool is: git 17:08:48 using credential edgex-jenkins-ssh 17:08:48 Cloning the remote Git repository 17:08:48 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:08:48 > git init /w/workspace/device-virtual-go/55 # timeout=10 17:08:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:08:48 > git --version # timeout=10 17:08:48 > git --version # 'git version 2.25.1' 17:08:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:08:48 Verifying host key using known hosts file 17:08:49 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:08:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:08:59 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:08:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:09:00 Avoid second fetch 17:09:00 Checking out Revision 266afac79739f3db6a467d2e291baff0c6e168aa (main) 17:09:00 Commit message: "fix: add device service key in CommandRequestTopic (#309)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:09:00 > git config core.sparsecheckout # timeout=10 17:09:00 > git checkout -f 266afac79739f3db6a467d2e291baff0c6e168aa # timeout=10 17:09:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:09:01 % Total % Received % Xferd Average Speed Time Time Time Current 17:09:01 Dload Upload Total Spent Left Speed 17:09:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh 17:09:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:09:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:09:02 + sudo tee /etc/docker/daemon.new 17:09:02 { 17:09:02 "registry-mirrors": [ 17:09:02 "https://nexus3.edgexfoundry.org:10001" 17:09:02 ], 17:09:02 "bip": "10.250.0.254/24", 17:09:02 "hosts": [ 17:09:02 "tcp://0.0.0.0:5555", 17:09:02 "unix:///var/run/docker.sock" 17:09:02 ], 17:09:02 "mtu": 1458, 17:09:02 "selinux-enabled": true, 17:09:02 "seccomp-profile": "/etc/docker/seccomp.json" 17:09:02 } [Pipeline] sh 17:09:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:09:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:21 provisioning config files... 17:09:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/55@tmp/config1926692452938191115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:22 ---> docker-login.sh 17:09:22 nexus3.edgexfoundry.org:10001 17:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:22 Configure a credential helper to remove this warning. See 17:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:22 17:09:22 Login Succeeded 17:09:22 nexus3.edgexfoundry.org:10002 17:09:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:22 Configure a credential helper to remove this warning. See 17:09:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:22 17:09:22 Login Succeeded 17:09:22 nexus3.edgexfoundry.org:10003 17:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:23 Configure a credential helper to remove this warning. See 17:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:23 17:09:23 Login Succeeded 17:09:23 nexus3.edgexfoundry.org:10004 17:09:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:23 Configure a credential helper to remove this warning. See 17:09:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:23 17:09:23 Login Succeeded 17:09:23 docker.io 17:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:24 Configure a credential helper to remove this warning. See 17:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:24 17:09:24 Login Succeeded 17:09:24 ---> docker-login.sh ends [Pipeline] } 17:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:09:24 ========================================================= 17:09:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:09:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:09:25 Sending build context to Docker daemon 11.71MB 17:09:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 17:09:25 Step 2/13 : FROM ${BASE} AS builder 17:09:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:09:25 b3c136eddcbf: Pulling fs layer 17:09:25 c0a3192eca97: Pulling fs layer 17:09:25 a050256f5b6f: Pulling fs layer 17:09:25 656be50a0ddc: Pulling fs layer 17:09:25 2bbca73fdf42: Pulling fs layer 17:09:25 46d945488cbd: Pulling fs layer 17:09:25 8a5474983e97: Pulling fs layer 17:09:25 329c88fbcd65: Pulling fs layer 17:09:25 46d945488cbd: Waiting 17:09:25 8a5474983e97: Waiting 17:09:25 656be50a0ddc: Waiting 17:09:25 2bbca73fdf42: Waiting 17:09:25 a050256f5b6f: Verifying Checksum 17:09:25 a050256f5b6f: Download complete 17:09:25 c0a3192eca97: Verifying Checksum 17:09:25 c0a3192eca97: Download complete 17:09:25 2bbca73fdf42: Verifying Checksum 17:09:25 2bbca73fdf42: Download complete 17:09:25 46d945488cbd: Verifying Checksum 17:09:25 46d945488cbd: Download complete 17:09:25 b3c136eddcbf: Verifying Checksum 17:09:27 329c88fbcd65: Verifying Checksum 17:09:27 329c88fbcd65: Download complete 17:09:27 b3c136eddcbf: Pull complete 17:09:27 c0a3192eca97: Pull complete 17:09:27 a050256f5b6f: Pull complete 17:09:27 8a5474983e97: Verifying Checksum 17:09:27 8a5474983e97: Download complete 17:09:28 656be50a0ddc: Verifying Checksum 17:09:28 656be50a0ddc: Download complete 17:09:40 656be50a0ddc: Pull complete 17:09:40 2bbca73fdf42: Pull complete 17:09:40 46d945488cbd: Pull complete 17:09:45 8a5474983e97: Pull complete 17:09:47 329c88fbcd65: Pull complete 17:09:47 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:09:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:09:47 ---> ff4287adb874 17:09:47 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:09:48 ---> Running in fee28a354628 17:09:49 Removing intermediate container fee28a354628 17:09:49 ---> e30476b3130f 17:09:49 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:09:49 ---> Running in df6c3901acae 17:09:49 Removing intermediate container df6c3901acae 17:09:49 ---> 144b5c8d85ee 17:09:49 Step 5/13 : ARG ADD_BUILD_TAGS="" 17:09:49 ---> Running in b03603c9a288 17:09:50 Removing intermediate container b03603c9a288 17:09:50 ---> 7c1afeb25eeb 17:09:50 Step 6/13 : WORKDIR /device-virtual-go 17:09:50 ---> Running in 1243101a46a5 17:09:50 Removing intermediate container 1243101a46a5 17:09:50 ---> bc03a94ef8ac 17:09:50 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:09:50 ---> Running in a31d7874111a 17:09:52 Removing intermediate container a31d7874111a 17:09:52 ---> 986e1306458d 17:09:52 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:09:52 ---> Running in 035d1d3da614 17:09:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:09:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:09:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:09:55 (2/4) Installing libedit (20210910.3.1-r0) 17:09:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:09:55 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:09:55 Executing busybox-1.35.0-r13.trigger 17:09:55 OK: 226 MiB in 55 packages 17:09:56 Removing intermediate container 035d1d3da614 17:09:56 ---> 9535d8abe680 17:09:56 Step 9/13 : COPY go.mod vendor* ./ 17:09:57 ---> f33c532b3b74 17:09:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:09:57 ---> Running in 7ecfd41fb95d 17:10:43 Removing intermediate container 7ecfd41fb95d 17:10:43 ---> 1ed98f93624f 17:10:43 Step 11/13 : COPY . . 17:10:43 ---> e5bb488f0a5a 17:10:43 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:10:44 ---> Running in 3b199d6c1cc1 17:10:44 Removing intermediate container 3b199d6c1cc1 17:10:44 ---> 42fc5bead0f8 17:10:44 Step 13/13 : RUN $MAKE 17:10:44 ---> Running in 9897682d6b2d 17:10:45 noop 17:10:46 Removing intermediate container 9897682d6b2d 17:10:46 ---> 716485386960 17:10:46 Successfully built 716485386960 17:10:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:46 + docker inspect -f . ci-base-image-arm64 17:10:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:46 prd-ubuntu20.04-docker-arm64-4c-16g-1376 does not seem to be running inside a container 17:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/55 -v /w/workspace/device-virtual-go/55:/w/workspace/device-virtual-go/55:rw,z -v /w/workspace/device-virtual-go/55@tmp:/w/workspace/device-virtual-go/55@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 17:10:47 $ docker top 8a844a47c27a688b8b30a3a7fa006da9319b04ce9068863fab74ff5dd0a6d430 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:48 + go version 17:10:48 go version go1.18.3 linux/arm64 [Pipeline] } 17:10:48 $ docker stop --time=1 8a844a47c27a688b8b30a3a7fa006da9319b04ce9068863fab74ff5dd0a6d430 17:10:50 $ docker rm -f 8a844a47c27a688b8b30a3a7fa006da9319b04ce9068863fab74ff5dd0a6d430 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:50 + docker inspect -f . ci-base-image-arm64 17:10:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:51 prd-ubuntu20.04-docker-arm64-4c-16g-1376 does not seem to be running inside a container 17:10:51 $ 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/55 -v /w/workspace/device-virtual-go/55:/w/workspace/device-virtual-go/55:rw,z -v /w/workspace/device-virtual-go/55@tmp:/w/workspace/device-virtual-go/55@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 17:10:52 $ docker top f58b6e5a3b1f652558f369f1c9854246ac952289e5ce5fe4001ae16fa1fd79d1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:52 + git config --global --add safe.directory /w/workspace/device-virtual-go/55 [Pipeline] fileExists [Pipeline] sh 17:10:53 + make test 17:10:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:10:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:12:16 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:12:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements 17:12:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:12:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:12:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:12:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:12:38 ./bin/test-attribution-txt.sh 17:12:38 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 17:12:38 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 17:12:38 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 17:12:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:12:38 $ docker stop --time=1 f58b6e5a3b1f652558f369f1c9854246ac952289e5ce5fe4001ae16fa1fd79d1 17:12:40 $ docker rm -f f58b6e5a3b1f652558f369f1c9854246ac952289e5ce5fe4001ae16fa1fd79d1 [Pipeline] // withDockerContainer [Pipeline] sh 17:12:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:12:41 Warning: overwriting stash ‘coverage-report’ 17:12:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:12:42 + ls -al . 17:12:42 total 192 17:12:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 17:10 . 17:12:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 17:08 .. 17:12:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 17:09 .git 17:12:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 17:09 .github 17:12:42 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 17:09 .gitignore 17:12:42 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 17:09 .golangci.yml 17:12:42 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 27 17:09 Attribution.txt 17:12:42 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 27 17:09 CHANGELOG.md 17:12:42 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 27 17:09 Dockerfile 17:12:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 17:09 GOVERNANCE.md 17:12:42 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 17:09 Jenkinsfile 17:12:42 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 17:09 LICENSE 17:12:42 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 27 17:09 Makefile 17:12:42 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 17:09 OWNERS.md 17:12:42 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 27 17:09 README.md 17:12:42 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 17:05 VERSION 17:12:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 17:09 bin 17:12:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 17:09 cmd 17:12:42 -rw-r--r-- 1 jenkins jenkins 44128 Sep 27 17:12 coverage.out 17:12:42 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 27 17:09 go.mod 17:12:42 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 27 17:09 go.sum 17:12:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 17:09 internal 17:12:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 17:09 snap 17:12:42 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 17:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:42 + 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=266afac79739f3db6a467d2e291baff0c6e168aa --label arch=arm64 --label version=2.3.0-dev.19 . 17:12:43 Sending build context to Docker daemon 11.76MB 17:12:43 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 17:12:43 Step 2/27 : FROM ${BASE} AS builder 17:12:43 ---> 716485386960 17:12:43 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:12:43 ---> Running in 5080ec0c05e1 17:12:43 Removing intermediate container 5080ec0c05e1 17:12:43 ---> f4218cb90f77 17:12:43 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 17:12:43 ---> Running in 8c69707ab012 17:12:43 Removing intermediate container 8c69707ab012 17:12:43 ---> e6dc06a733f0 17:12:43 Step 5/27 : ARG ADD_BUILD_TAGS="" 17:12:43 ---> Running in efc54faadd5b 17:12:44 Removing intermediate container efc54faadd5b 17:12:44 ---> fd55dcfe0780 17:12:44 Step 6/27 : WORKDIR /device-virtual-go 17:12:44 ---> Running in c8faaef50bed 17:12:44 Removing intermediate container c8faaef50bed 17:12:44 ---> eabbb044c668 17:12:44 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:12:44 ---> Running in 0f8e865ca7e3 17:12:46 Removing intermediate container 0f8e865ca7e3 17:12:46 ---> c144613439ba 17:12:46 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:12:46 ---> Running in 80cfd4f23c40 17:12:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:12:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:12:49 OK: 226 MiB in 55 packages 17:12:50 Removing intermediate container 80cfd4f23c40 17:12:50 ---> 9edefe9dd429 17:12:50 Step 9/27 : COPY go.mod vendor* ./ 17:12:50 ---> 08eafd032929 17:12:50 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:12:50 ---> Running in 30b5a79a9d7b 17:12:52 Removing intermediate container 30b5a79a9d7b 17:12:52 ---> 8e37621f4633 17:12:52 Step 11/27 : COPY . . 17:12:53 ---> 6616cee6f449 17:12:53 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:12:54 ---> Running in 964b7ea1ebfe 17:12:54 Removing intermediate container 964b7ea1ebfe 17:12:54 ---> 56e139d08f1a 17:12:54 Step 13/27 : RUN $MAKE 17:12:54 ---> Running in e6bdc290cb5c 17:12:55 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 17:15:16 Removing intermediate container e6bdc290cb5c 17:15:16 ---> cacf9a6d58de 17:15:16 Step 14/27 : FROM alpine:3.16 17:15:16 3.16: Pulling from library/alpine 17:15:16 9b18e9b68314: Pulling fs layer 17:15:16 9b18e9b68314: Verifying Checksum 17:15:16 9b18e9b68314: Download complete 17:15:17 9b18e9b68314: Pull complete 17:15:17 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:15:17 Status: Downloaded newer image for alpine:3.16 17:15:17 ---> a6215f271958 17:15:17 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:15:17 ---> Running in 53b27f6e5223 17:15:17 Removing intermediate container 53b27f6e5223 17:15:17 ---> 0986cb196b4d 17:15:17 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:15:18 ---> Running in fcdb4e63f776 17:15:19 Removing intermediate container fcdb4e63f776 17:15:19 ---> 861f7d6da6cc 17:15:19 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 17:15:19 ---> Running in a63c0a5c7258 17:15:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:15:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:15:22 (1/6) Installing dumb-init (1.2.5-r1) 17:15:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:15:22 (3/6) Installing libsodium (1.0.18-r0) 17:15:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:15:22 (5/6) Installing libzmq (4.3.4-r0) 17:15:23 (6/6) Installing zeromq (4.3.4-r0) 17:15:23 Executing busybox-1.35.0-r17.trigger 17:15:23 OK: 8 MiB in 20 packages 17:15:24 Removing intermediate container a63c0a5c7258 17:15:24 ---> 0ca7dc3758d3 17:15:24 Step 18/27 : WORKDIR / 17:15:24 ---> Running in d7eb5238d356 17:15:24 Removing intermediate container d7eb5238d356 17:15:24 ---> b5c86a390ecd 17:15:24 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:15:25 ---> e4802d3839fe 17:15:25 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 17:15:25 ---> 215ee3985596 17:15:25 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 17:15:27 ---> 2ad37e6390ba 17:15:27 Step 22/27 : EXPOSE 59900 17:15:27 ---> Running in aab08b4dae30 17:15:27 Removing intermediate container aab08b4dae30 17:15:27 ---> b12567db9f72 17:15:27 Step 23/27 : ENTRYPOINT ["/device-virtual"] 17:15:27 ---> Running in de0bc1aa27c3 17:15:27 Removing intermediate container de0bc1aa27c3 17:15:27 ---> bdf9b4dfd17f 17:15:27 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:15:27 ---> Running in 2c982d76c4d0 17:15:28 Removing intermediate container 2c982d76c4d0 17:15:28 ---> d0fbd31c35b5 17:15:28 Step 25/27 : LABEL arch=arm64 17:15:28 ---> Running in 91c3acb14c52 17:15:28 Removing intermediate container 91c3acb14c52 17:15:28 ---> d9290952ad6f 17:15:28 Step 26/27 : LABEL git_sha=266afac79739f3db6a467d2e291baff0c6e168aa 17:15:28 ---> Running in 63e365619dbf 17:15:28 Removing intermediate container 63e365619dbf 17:15:28 ---> 4f042c69211f 17:15:28 Step 27/27 : LABEL version=2.3.0-dev.19 17:15:28 ---> Running in 24c910a4799a 17:15:29 Removing intermediate container 24c910a4799a 17:15:29 ---> 116144cb41c8 17:15:29 [Warning] One or more build-args [ARCH] were not consumed 17:15:29 Successfully built 116144cb41c8 17:15:29 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 17:15:29 provisioning config files... 17:15:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/55@tmp/config17230974656851831147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:29 ---> docker-login.sh 17:15:29 nexus3.edgexfoundry.org:10001 17:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:30 Configure a credential helper to remove this warning. See 17:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:30 17:15:30 Login Succeeded 17:15:30 nexus3.edgexfoundry.org:10002 17:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:30 Configure a credential helper to remove this warning. See 17:15:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:30 17:15:30 Login Succeeded 17:15:30 nexus3.edgexfoundry.org:10003 17:15:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:31 Configure a credential helper to remove this warning. See 17:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:31 17:15:31 Login Succeeded 17:15:31 nexus3.edgexfoundry.org:10004 17:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:31 Configure a credential helper to remove this warning. See 17:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:31 17:15:31 Login Succeeded 17:15:31 docker.io 17:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:32 Configure a credential helper to remove this warning. See 17:15:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:32 17:15:32 Login Succeeded 17:15:32 ---> docker-login.sh ends [Pipeline] } 17:15:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:15:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:15:32 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 17:15:32 266afac79739f3db6a467d2e291baff0c6e168aa 17:15:32 latest 17:15:32 2.3.0-dev.19 17:15:32 266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19 17:15:32 main 17:15:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:32 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:266afac79739f3db6a467d2e291baff0c6e168aa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:266afac79739f3db6a467d2e291baff0c6e168aa 17:15:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 17:15:32 c2694ee31c30: Preparing 17:15:32 c8e0fe33434b: Preparing 17:15:32 41f63ef89e65: Preparing 17:15:32 2ee5057654da: Preparing 17:15:32 b84db59f2f79: Preparing 17:15:32 5d3e392a13a0: Preparing 17:15:32 5d3e392a13a0: Waiting 17:15:33 b84db59f2f79: Pushed 17:15:33 41f63ef89e65: Pushed 17:15:33 c8e0fe33434b: Pushed 17:15:33 5d3e392a13a0: Layer already exists 17:15:33 2ee5057654da: Pushed 17:15:38 c2694ee31c30: Pushed 17:15:38 266afac79739f3db6a467d2e291baff0c6e168aa: digest: sha256:a98e5a4be823fecb6a2489cf1aed094f7977970f6af8967f56f0f7fc3df7b3ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:38 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 17:15:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 17:15:38 c2694ee31c30: Preparing 17:15:38 c8e0fe33434b: Preparing 17:15:38 41f63ef89e65: Preparing 17:15:38 2ee5057654da: Preparing 17:15:38 b84db59f2f79: Preparing 17:15:38 5d3e392a13a0: Preparing 17:15:38 5d3e392a13a0: Waiting 17:15:38 2ee5057654da: Layer already exists 17:15:38 c2694ee31c30: Layer already exists 17:15:38 c8e0fe33434b: Layer already exists 17:15:38 41f63ef89e65: Layer already exists 17:15:38 b84db59f2f79: Layer already exists 17:15:38 5d3e392a13a0: Layer already exists 17:15:39 latest: digest: sha256:a98e5a4be823fecb6a2489cf1aed094f7977970f6af8967f56f0f7fc3df7b3ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:39 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.19 17:15:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 17:15:40 c2694ee31c30: Preparing 17:15:40 c8e0fe33434b: Preparing 17:15:40 41f63ef89e65: Preparing 17:15:40 2ee5057654da: Preparing 17:15:40 b84db59f2f79: Preparing 17:15:40 5d3e392a13a0: Preparing 17:15:40 5d3e392a13a0: Waiting 17:15:40 b84db59f2f79: Layer already exists 17:15:40 c2694ee31c30: Layer already exists 17:15:40 c8e0fe33434b: Layer already exists 17:15:40 41f63ef89e65: Layer already exists 17:15:40 2ee5057654da: Layer already exists 17:15:40 5d3e392a13a0: Layer already exists 17:15:40 2.3.0-dev.19: digest: sha256:a98e5a4be823fecb6a2489cf1aed094f7977970f6af8967f56f0f7fc3df7b3ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19 17:15:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 17:15:40 c2694ee31c30: Preparing 17:15:40 c8e0fe33434b: Preparing 17:15:40 41f63ef89e65: Preparing 17:15:40 2ee5057654da: Preparing 17:15:40 b84db59f2f79: Preparing 17:15:40 5d3e392a13a0: Preparing 17:15:40 5d3e392a13a0: Waiting 17:15:40 41f63ef89e65: Layer already exists 17:15:40 c2694ee31c30: Layer already exists 17:15:40 2ee5057654da: Layer already exists 17:15:40 b84db59f2f79: Layer already exists 17:15:40 c8e0fe33434b: Layer already exists 17:15:40 5d3e392a13a0: Layer already exists 17:15:41 266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19: digest: sha256:a98e5a4be823fecb6a2489cf1aed094f7977970f6af8967f56f0f7fc3df7b3ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 17:15:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 17:15:41 c2694ee31c30: Preparing 17:15:41 c8e0fe33434b: Preparing 17:15:41 41f63ef89e65: Preparing 17:15:41 2ee5057654da: Preparing 17:15:41 b84db59f2f79: Preparing 17:15:41 5d3e392a13a0: Preparing 17:15:41 5d3e392a13a0: Waiting 17:15:41 c8e0fe33434b: Layer already exists 17:15:41 2ee5057654da: Layer already exists 17:15:41 41f63ef89e65: Layer already exists 17:15:41 c2694ee31c30: Layer already exists 17:15:41 b84db59f2f79: Layer already exists 17:15:41 5d3e392a13a0: Layer already exists 17:15:42 main: digest: sha256:a98e5a4be823fecb6a2489cf1aed094f7977970f6af8967f56f0f7fc3df7b3ee size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:15:42 ===================================================== [Pipeline] echo 17:15:42 taggedImages: 17:15:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:266afac79739f3db6a467d2e291baff0c6e168aa 17:15:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 17:15:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.19 17:15:42 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:266afac79739f3db6a467d2e291baff0c6e168aa-2.3.0-dev.19 17:15:42 - 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 17:15:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:42 17:15:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:15:42 arm64: Pulling from edgex-lftools-log-publisher 17:15:42 8998bd30e6a1: Pulling fs layer 17:15:42 04944245beec: Pulling fs layer 17:15:42 699f458cf7ca: Pulling fs layer 17:15:42 765212b225bb: Pulling fs layer 17:15:42 f23df028b6ca: Pulling fs layer 17:15:42 d65c8cfc05b1: Pulling fs layer 17:15:42 2437ff75d9bd: Pulling fs layer 17:15:42 f23df028b6ca: Waiting 17:15:42 d65c8cfc05b1: Waiting 17:15:42 2437ff75d9bd: Waiting 17:15:42 765212b225bb: Waiting 17:15:43 04944245beec: Verifying Checksum 17:15:43 04944245beec: Download complete 17:15:43 765212b225bb: Verifying Checksum 17:15:43 765212b225bb: Download complete 17:15:43 f23df028b6ca: Verifying Checksum 17:15:43 f23df028b6ca: Download complete 17:15:43 d65c8cfc05b1: Verifying Checksum 17:15:43 d65c8cfc05b1: Download complete 17:15:43 699f458cf7ca: Verifying Checksum 17:15:43 699f458cf7ca: Download complete 17:15:43 8998bd30e6a1: Verifying Checksum 17:15:43 8998bd30e6a1: Download complete 17:15:46 2437ff75d9bd: Verifying Checksum 17:15:47 8998bd30e6a1: Pull complete 17:15:48 04944245beec: Pull complete 17:15:49 699f458cf7ca: Pull complete 17:15:49 765212b225bb: Pull complete 17:15:50 f23df028b6ca: Pull complete 17:15:50 d65c8cfc05b1: Pull complete 17:16:05 2437ff75d9bd: Pull complete 17:16:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:16:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:16:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:05 prd-ubuntu20.04-docker-arm64-4c-16g-1376 does not seem to be running inside a container 17:16:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/55 -v /w/workspace/device-virtual-go/55:/w/workspace/device-virtual-go/55:rw,z -v /w/workspace/device-virtual-go/55@tmp:/w/workspace/device-virtual-go/55@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 17:16:08 $ docker top e51ea3adbda79ad3d0b8edb1743bdb52bb5632008a87cef77cf9e7f9768d4c40 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:16:08 ---> job-cost.sh 17:16:08 lf-activate-venv: SKIPPING 17:16:08 INFO: No Stack... 17:16:09 INFO: Retrieving Pricing Info for: v3-standard-4 17:16:10 INFO: Archiving Costs [Pipeline] sh 17:16:10 + cat /w/workspace/device-virtual-go/55/archives/cost.csv 17:16:10 + cut -d, -f6 [Pipeline] lock 17:16:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-55-stack-cost] 17:16:10 Resource [jenkins-edgexfoundry-device-virtual-go-main-55-stack-cost] did not exist. Created. 17:16:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:16:11 /w/workspace/device-virtual-go/55@tmp/durable-deb9ca69/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:16:11 + echo total: 0.10999999940395355 [Pipeline] stash 17:16:11 Warning: overwriting stash ‘stack-cost’ 17:16:11 Stashed 1 file(s) [Pipeline] } 17:16:11 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } 17:16:11 $ docker stop --time=1 e51ea3adbda79ad3d0b8edb1743bdb52bb5632008a87cef77cf9e7f9768d4c40 17:16:13 $ docker rm -f e51ea3adbda79ad3d0b8edb1743bdb52bb5632008a87cef77cf9e7f9768d4c40 [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 17:16:14 provisioning config files... 17:16:14 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6714114105977738262tmp [Pipeline] { [Pipeline] sh 17:16:14 + set +x 17:16:14 + + curl -s https://codecov.io/bashbash 17:16:14 -s -- 17:16:14 17:16:14 _____ _ 17:16:14 / ____| | | 17:16:14 | | ___ __| | ___ ___ _____ __ 17:16:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:16:14 | |___| (_) | (_| | __/ (_| (_) \ V / 17:16:14 \_____\___/ \__,_|\___|\___\___/ \_/ 17:16:14 Bash-1.0.6 17:16:14 17:16:14 17:16:14 ==> git version 2.25.1 found 17:16:14 ==> 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 17:16:14 Release-Date: 2020-01-08 17:16:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:16:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:16:14 ==> Jenkins CI detected. 17:16:14 current dir:  /w/workspace/exfoundry_device-virtual-go_main 17:16:14 project root: . 17:16:14 --> token set from env 17:16:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:16:14 ==> Running gcov in . (disable via -X gcov) 17:16:14 ==> Python coveragepy not found 17:16:14 ==> Searching for coverage reports in: 17:16:14 + . 17:16:14 -> Found 1 reports 17:16:14 ==> Detecting git/mercurial file structure 17:16:14 ==> Reading reports 17:16:14 + ./coverage.out bytes=44128 17:16:14 ==> Appending adjustments 17:16:14 https://docs.codecov.io/docs/fixing-reports 17:16:14 + Found adjustments 17:16:14 ==> Gzipping contents 17:16:14 8.0K /tmp/codecov.o9OzDZ.gz 17:16:14 ==> Uploading reports 17:16:14 url: https://codecov.io 17:16:14 query: branch=main&commit=266afac79739f3db6a467d2e291baff0c6e168aa&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:16:14 -> Pinging Codecov 17:16:14 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=266afac79739f3db6a467d2e291baff0c6e168aa&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:16:15 -> Uploading to 17:16:15 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/5E52B4B073DB2E39498172D8E973AA87/266afac79739f3db6a467d2e291baff0c6e168aa/b161a1b5-fc94-4277-bbf8-436076443874.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T171614Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5c87534109e40f0f1e65ac3aaefe74ba4f7ea384dd67b4a7bb7e056d70c7a668 17:16:15 % Total % Received % Xferd Average Speed Time Time Time Current 17:16:15 Dload Upload Total Spent Left Speed 17:16:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5497 0 0 100 5497 0 20980 --:--:-- --:--:-- --:--:-- 20980 17:16:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/266afac79739f3db6a467d2e291baff0c6e168aa [Pipeline] } 17:16:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:16:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:16:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:15 17:16:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:16:16 df9b9388f04a: Pulling fs layer 17:16:16 52dc419b0ee2: Pulling fs layer 17:16:16 25bc292e5bac: Pulling fs layer 17:16:16 114826534d7a: Pulling fs layer 17:16:16 4657fd5d0bcf: Pulling fs layer 17:16:16 6ad1cebc031e: Pulling fs layer 17:16:16 8a3aa393b2d8: Pulling fs layer 17:16:16 4657fd5d0bcf: Waiting 17:16:16 6ad1cebc031e: Waiting 17:16:16 114826534d7a: Waiting 17:16:16 8a3aa393b2d8: Waiting 17:16:16 25bc292e5bac: Download complete 17:16:16 52dc419b0ee2: Verifying Checksum 17:16:16 52dc419b0ee2: Download complete 17:16:16 4657fd5d0bcf: Verifying Checksum 17:16:16 4657fd5d0bcf: Download complete 17:16:16 df9b9388f04a: Verifying Checksum 17:16:16 6ad1cebc031e: Verifying Checksum 17:16:16 6ad1cebc031e: Download complete 17:16:16 df9b9388f04a: Pull complete 17:16:17 52dc419b0ee2: Pull complete 17:16:17 25bc292e5bac: Pull complete 17:16:18 114826534d7a: Download complete 17:16:18 8a3aa393b2d8: Verifying Checksum 17:16:18 8a3aa393b2d8: Download complete 17:16:22 114826534d7a: Pull complete 17:16:22 4657fd5d0bcf: Pull complete 17:16:22 6ad1cebc031e: Pull complete 17:16:25 8a3aa393b2d8: Pull complete 17:16:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:16:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:16:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:25 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:16:25 $ 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 17:16:29 $ docker top 6aa70eede03438a8cfc3b4237ed45810387f87997f211c215c07897b50662b60 -eo pid,comm [Pipeline] { [Pipeline] echo 17:16:29 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 17:16:29 + set -o pipefail 17:16:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 17:16:34 17:16:34 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 17:16:34 17:16:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/a8a7e1f7-379e-4299-b1c2-bc920be229e5 17:16:34 17:16:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:16:34 17:16:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:16:34 17:16:34 [Pipeline] } 17:16:34 $ docker stop --time=1 6aa70eede03438a8cfc3b4237ed45810387f87997f211c215c07897b50662b60 17:16:37 $ docker rm -f 6aa70eede03438a8cfc3b4237ed45810387f87997f211c215c07897b50662b60 [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 17:16:38 + git log --format=format:%s -1 266afac79739f3db6a467d2e291baff0c6e168aa [Pipeline] sh 17:16:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:16:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:39 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:16:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:16:39 $ docker top a3510467f4ceb19c5af1aa9931e9ea862fbaba7352893725c597cf5aab14753a -eo pid,comm 17:16:39 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). 17:16:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:16:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:16:39 [ssh-agent] Looking for ssh-agent implementation... 17:16:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:16:39 $ docker exec a3510467f4ceb19c5af1aa9931e9ea862fbaba7352893725c597cf5aab14753a ssh-agent 17:16:39 SSH_AUTH_SOCK=/tmp/ssh-8Y9gpVMQ3su2/agent.32 17:16:39 SSH_AGENT_PID=38 17:16:39 Running ssh-add (command line suppressed) 17:16:40 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3791548902357442577.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3791548902357442577.key) 17:16:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:16:40 + git semver tag 17:16:40 2022-09-27 17:16:40,493 [run_tag] DEBUG tag force:False 17:16:40 2022-09-27 17:16:40,493 [check_head_tag] DEBUG check head tag 17:16:40 2022-09-27 17:16:40,494 [execute] INFO git cat-file --batch-check 17:16:40 2022-09-27 17:16:40,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 17:16:40 2022-09-27 17:16:40,497 [execute] INFO git cat-file --batch 17:16:40 2022-09-27 17:16:40,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 17:16:40 2022-09-27 17:16:40,508 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:16:40 2022-09-27 17:16:40,509 [execute] INFO git tag -a v2.3.0-dev.19 -m v2.3.0-dev.19 17:16:40 2022-09-27 17:16:40,509 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.19', '-m', 'v2.3.0-dev.19'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 17:16:40 2022-09-27 17:16:40,514 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:16:40 2.3.0-dev.19 [Pipeline] } 17:16:40 $ docker exec --env ******** --env ******** a3510467f4ceb19c5af1aa9931e9ea862fbaba7352893725c597cf5aab14753a ssh-agent -k 17:16:40 unset SSH_AUTH_SOCK; 17:16:40 unset SSH_AGENT_PID; 17:16:40 echo Agent pid 38 killed; 17:16:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:16:40 + git semver [Pipeline] } 17:16:41 $ docker stop --time=1 a3510467f4ceb19c5af1aa9931e9ea862fbaba7352893725c597cf5aab14753a 17:16:42 $ docker rm -f a3510467f4ceb19c5af1aa9931e9ea862fbaba7352893725c597cf5aab14753a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:16:42 17:16:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:16:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:16:43 0.23.1-centos7: Pulling from edgex-lftools 17:16:43 ab5ef0e58194: Pulling fs layer 17:16:43 9712f1f96733: Pulling fs layer 17:16:43 63f879dbbcfc: Pulling fs layer 17:16:43 0d9ebad4ef96: Pulling fs layer 17:16:43 e9a5061849ea: Pulling fs layer 17:16:43 d747dcd14b5f: Pulling fs layer 17:16:43 2de7ff778b66: Pulling fs layer 17:16:43 0d9ebad4ef96: Waiting 17:16:43 e9a5061849ea: Waiting 17:16:43 2de7ff778b66: Waiting 17:16:43 9712f1f96733: Verifying Checksum 17:16:43 9712f1f96733: Download complete 17:16:43 63f879dbbcfc: Verifying Checksum 17:16:43 63f879dbbcfc: Download complete 17:16:43 e9a5061849ea: Verifying Checksum 17:16:43 e9a5061849ea: Download complete 17:16:43 0d9ebad4ef96: Verifying Checksum 17:16:43 0d9ebad4ef96: Download complete 17:16:43 d747dcd14b5f: Verifying Checksum 17:16:43 d747dcd14b5f: Download complete 17:16:43 ab5ef0e58194: Verifying Checksum 17:16:43 ab5ef0e58194: Download complete 17:16:43 2de7ff778b66: Verifying Checksum 17:16:43 2de7ff778b66: Download complete 17:16:46 ab5ef0e58194: Pull complete 17:16:46 9712f1f96733: Pull complete 17:16:47 63f879dbbcfc: Pull complete 17:16:51 0d9ebad4ef96: Pull complete 17:16:51 e9a5061849ea: Pull complete 17:16:51 d747dcd14b5f: Pull complete 17:16:51 2de7ff778b66: Pull complete 17:16:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:16:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:16:52 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:16:52 $ 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 17:16:55 $ docker top 90c429de023b290ce6c42646960b2c8aa7a8f1d38750cab891ed492697a618fb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:16:55 provisioning config files... 17:16:55 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13296726175083059199tmp 17:16:55 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3108681268989589822tmp 17:16:55 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3755954434275716341tmp [Pipeline] { [Pipeline] echo 17:16:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:16:56 ---> sigul-configuration.sh 17:16:56 gpg: directory `/root/.gnupg' created 17:16:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:16:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:16:56 gpg: keyring `/root/.gnupg/secring.gpg' created 17:16:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:16:56 gpg: CAST5 encrypted data 17:16:56 gpg: encrypted with 1 passphrase 17:16:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:16:56 + mkdir /home/jenkins 17:16:56 + mkdir /home/jenkins/sigul [Pipeline] sh 17:16:56 + 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 17:16:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:16:57 ---> sigul-install.sh 17:16:57 Sigul already installed; skipping installation. [Pipeline] sh 17:16:57 + git tag --list 17:16:57 v1.0.0 17:16:57 v1.1.0 17:16:57 v1.1.1 17:16:57 v1.2.1 17:16:57 v1.2.2 17:16:57 v1.2.3 17:16:57 v1.3.0 17:16:57 v1.3.1 17:16:57 v2.0.0 17:16:57 v2.1.0 17:16:57 v2.1.1 17:16:57 v2.1.1-dev.1 17:16:57 v2.1.1-dev.2 17:16:57 v2.2.0 17:16:57 v2.2.1-dev.1 17:16:57 v2.2.1-dev.2 17:16:57 v2.2.1-dev.3 17:16:57 v2.2.1-dev.4 17:16:57 v2.2.1-dev.5 17:16:57 v2.2.1-dev.6 17:16:57 v2.2.1-dev.7 17:16:57 v2.2.1-dev.8 17:16:57 v2.3.0-dev.10 17:16:57 v2.3.0-dev.11 17:16:57 v2.3.0-dev.12 17:16:57 v2.3.0-dev.13 17:16:57 v2.3.0-dev.14 17:16:57 v2.3.0-dev.15 17:16:57 v2.3.0-dev.16 17:16:57 v2.3.0-dev.17 17:16:57 v2.3.0-dev.18 17:16:57 v2.3.0-dev.19 17:16:57 v2.3.0-dev.8 17:16:57 v2.3.0-dev.9 [Pipeline] sh 17:16:57 + lftools sign git-tag v2.3.0-dev.19 17:16:58 Signing Git tag with Sigul... 17:16:58 Signing v2.3.0-dev.19 [Pipeline] echo 17:16:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:16:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:16:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:16:58 $ docker stop --time=1 90c429de023b290ce6c42646960b2c8aa7a8f1d38750cab891ed492697a618fb 17:17:00 $ docker rm -f 90c429de023b290ce6c42646960b2c8aa7a8f1d38750cab891ed492697a618fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:17:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:00 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:17:00 $ 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 17:17:01 $ docker top c1e9c3627add70691f6b7c48006b58dedc6e602f30976ade7713ae1db9969694 -eo pid,comm 17:17:01 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). 17:17:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:01 [ssh-agent] Looking for ssh-agent implementation... 17:17:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:01 $ docker exec c1e9c3627add70691f6b7c48006b58dedc6e602f30976ade7713ae1db9969694 ssh-agent 17:17:01 SSH_AUTH_SOCK=/tmp/ssh-MuXIeY8TI5fy/agent.33 17:17:01 SSH_AGENT_PID=39 17:17:01 Running ssh-add (command line suppressed) 17:17:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7080496764853718813.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7080496764853718813.key) 17:17:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:02 + git semver bump pre 17:17:02 2022-09-27 17:17:02,230 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:17:02 2022-09-27 17:17:02,231 [bump_version] DEBUG bumping version:2.3.0-dev.19 on axis:pre with prefix:dev 17:17:02 2022-09-27 17:17:02,231 [bump_version] DEBUG bumped version:2.3.0-dev.20 17:17:02 2022-09-27 17:17:02,231 [write_version] DEBUG write version:2.3.0-dev.20 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 17:17:02 2022-09-27 17:17:02,231 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:17:02 2022-09-27 17:17:02,231 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:17:02 2022-09-27 17:17:02,233 [execute] INFO git cat-file --batch-check 17:17:02 2022-09-27 17:17:02,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:02 2022-09-27 17:17:02,238 [execute] INFO git cat-file --batch 17:17:02 2022-09-27 17:17:02,238 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:02 2022-09-27 17:17:02,243 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:17:02 2.3.0-dev.20 [Pipeline] } 17:17:02 $ docker exec --env ******** --env ******** c1e9c3627add70691f6b7c48006b58dedc6e602f30976ade7713ae1db9969694 ssh-agent -k 17:17:02 unset SSH_AUTH_SOCK; 17:17:02 unset SSH_AGENT_PID; 17:17:02 echo Agent pid 39 killed; 17:17:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:02 + git semver [Pipeline] } 17:17:03 $ docker stop --time=1 c1e9c3627add70691f6b7c48006b58dedc6e602f30976ade7713ae1db9969694 17:17:04 $ docker rm -f c1e9c3627add70691f6b7c48006b58dedc6e602f30976ade7713ae1db9969694 [Pipeline] // withDockerContainer [Pipeline] sh 17:17:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:17:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:17:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:04 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:17:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:17:05 $ docker top 30d76ccc0d6bd7a00a9f4e5d46e7507a5890f531b2719bb6b6cc202800b0485b -eo pid,comm 17:17:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:17:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:17:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:17:05 [ssh-agent] Looking for ssh-agent implementation... 17:17:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:17:05 $ docker exec 30d76ccc0d6bd7a00a9f4e5d46e7507a5890f531b2719bb6b6cc202800b0485b ssh-agent 17:17:05 SSH_AUTH_SOCK=/tmp/ssh-2KlpL7mc2QMv/agent.31 17:17:05 SSH_AGENT_PID=37 17:17:05 Running ssh-add (command line suppressed) 17:17:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3003858120028255781.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3003858120028255781.key) 17:17:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:17:06 + git semver push 17:17:06 2022-09-27 17:17:06,291 [run_push] DEBUG push 17:17:06 2022-09-27 17:17:06,292 [execute] INFO git cat-file --batch-check 17:17:06 2022-09-27 17:17:06,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:17:06 2022-09-27 17:17:06,296 [execute] INFO git rev-list cd7de2bc28844a21a6a87f14357e7a42abda17a6 -- 17:17:06 2022-09-27 17:17:06,296 [execute] DEBUG Popen(['git', 'rev-list', 'cd7de2bc28844a21a6a87f14357e7a42abda17a6', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:17:06 2022-09-27 17:17:06,304 [execute] INFO git fetch -v origin 17:17:06 2022-09-27 17:17:06,305 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:17:06 2022-09-27 17:17:06,854 [run_push] DEBUG no remote changes detected 17:17:06 2022-09-27 17:17:06,855 [execute] INFO git push origin semver 17:17:06 2022-09-27 17:17:06,855 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:17:07 2022-09-27 17:17:07,715 [run_push] DEBUG push all version tags 17:17:07 2022-09-27 17:17:07,716 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:17:07 2022-09-27 17:17:07,716 [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) 17:17:08 2022-09-27 17:17:08,575 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 17:17:08 2.3.0-dev.20 [Pipeline] } 17:17:08 $ docker exec --env ******** --env ******** 30d76ccc0d6bd7a00a9f4e5d46e7507a5890f531b2719bb6b6cc202800b0485b ssh-agent -k 17:17:08 unset SSH_AUTH_SOCK; 17:17:08 unset SSH_AGENT_PID; 17:17:08 echo Agent pid 37 killed; 17:17:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:17:09 + git semver [Pipeline] } 17:17:09 $ docker stop --time=1 30d76ccc0d6bd7a00a9f4e5d46e7507a5890f531b2719bb6b6cc202800b0485b 17:17:10 $ docker rm -f 30d76ccc0d6bd7a00a9f4e5d46e7507a5890f531b2719bb6b6cc202800b0485b [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 17:17:11 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 17:17:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 17:17:11 total 16 17:17:11 drwxr-xr-x 3 root root 4096 Sep 27 17:07 . 17:17:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 17:16 .. 17:17:11 drwxr-xr-x 2 root root 4096 Sep 27 17:07 cost 17:17:11 -rw-r--r-- 1 root root 88 Sep 27 17:07 cost.csv 17:17:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 17:17:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 17:17:11 total 16 17:17:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 17:07 . 17:17:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 17:16 .. 17:17:11 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 17:07 cost 17:17:11 -rw-r--r-- 1 jenkins jenkins 88 Sep 27 17:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:17:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:17:12 ---> package-listing.sh 17:17:12 ++ facter osfamily 17:17:12 ++ tr '[:upper:]' '[:lower:]' 17:17:12 + OS_FAMILY=debian 17:17:12 + workspace=/w/workspace/exfoundry_device-virtual-go_main 17:17:12 + START_PACKAGES=/tmp/packages_start.txt 17:17:12 + END_PACKAGES=/tmp/packages_end.txt 17:17:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:17:12 + PACKAGES=/tmp/packages_start.txt 17:17:12 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 17:17:12 + PACKAGES=/tmp/packages_end.txt 17:17:12 + case "${OS_FAMILY}" in 17:17:12 + dpkg -l 17:17:12 + grep '^ii' 17:17:12 + '[' -f /tmp/packages_start.txt ']' 17:17:12 + '[' -f /tmp/packages_end.txt ']' 17:17:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:17:12 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 17:17:12 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 17:17:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 17:17:12 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 17:17:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:17:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:13 prd-ubuntu20.04-docker-8c-8g-1374 does not seem to be running inside a container 17:17:13 $ 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 17:17:13 $ docker top 7d87ae7c689882c3861930e6db5e72f7fd7d1644a5caef26e81528af060464bf -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:14 + touch /tmp/pre-build-complete [Pipeline] sh 17:17:14 + mkdir -p /var/log/sysstat [Pipeline] sh 17:17:15 + ls /var/log/sa-host 17:17:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:17:15 provisioning config files... 17:17:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2625452069913042709tmp [Pipeline] { [Pipeline] echo 17:17:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:17:15 ---> create-netrc.sh [Pipeline] } 17:17:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:17:15 ---> python-tools-install.sh [Pipeline] echo 17:17:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:17:16 ---> sudo-logs.sh 17:17:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:17:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:17:16 ---> job-cost.sh 17:17:16 lf-activate-venv: SKIPPING 17:17:16 DEBUG: total: 0.2199999988079071 17:17:16 INFO: Retrieving Stack Cost... 17:17:16 INFO: Retrieving Pricing Info for: v3-standard-8 17:17:17 INFO: Archiving Costs [Pipeline] echo 17:17:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:17:17 ---> logs-deploy.sh 17:17:17 lf-activate-venv: SKIPPING 17:17:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/55 17:17:17 INFO: archiving workspace using pattern(s): 17:17:18 Archives upload complete. 17:17:19 INFO: archiving logs to Nexus