Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ecf0fc734cc14a642189e470a894444964f864e 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-ssh15698860503460146164.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-ssh1502712485052424277.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-ssh3435572028662667349.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-ssh8519828554061426563.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-ssh3462606098330494516.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7719 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 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ecf0fc734cc14a642189e470a894444964f864e (main) Commit message: "Merge pull request #313 from hahattan/update-example" > git config core.sparsecheckout # timeout=10 > git checkout -f 2ecf0fc734cc14a642189e470a894444964f864e # timeout=10 > git rev-list --no-walk 476f8fe53201fee1938bf38d508323121d922085 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:00:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:00:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:00:06 ========================================================= 04:00:06 EdgeX Global Pipelines Version Info 04:00:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:00:07 ------------------- 04:00:07 stable info: 04:00:07 ------------------- 04:00:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:00:07 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:00:07 Message: update stable to v1.0.239 04:00:08 ------------------- 04:00:08 experimental info: 04:00:08 ------------------- 04:00:08 Commited By: **** collab-it+edgex@linuxfoundation.org 04:00:08 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:00:08 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ecf0fc734cc14a642189e470a894444964f864e [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ecf0fc [Pipeline] echo 04:00:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:08 provisioning config files... 04:00:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9663487233575072757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:09 ---> docker-login.sh 04:00:09 nexus3.edgexfoundry.org:10001 04:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:09 Configure a credential helper to remove this warning. See 04:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:09 04:00:09 Login Succeeded 04:00:09 nexus3.edgexfoundry.org:10002 04:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:09 Configure a credential helper to remove this warning. See 04:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:09 04:00:09 Login Succeeded 04:00:09 nexus3.edgexfoundry.org:10003 04:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:09 Configure a credential helper to remove this warning. See 04:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:09 04:00:09 Login Succeeded 04:00:09 nexus3.edgexfoundry.org:10004 04:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:09 Configure a credential helper to remove this warning. See 04:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:09 04:00:09 Login Succeeded 04:00:09 docker.io 04:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:10 Configure a credential helper to remove this warning. See 04:00:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:10 04:00:10 Login Succeeded 04:00:10 ---> docker-login.sh ends [Pipeline] } 04:00:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:00:10 + git rev-list -1 --merges 2ecf0fc734cc14a642189e470a894444964f864e~1..2ecf0fc734cc14a642189e470a894444964f864e [Pipeline] echo 04:00:10 -----------> git rev-list -1 --merges 2ecf0fc734cc14a642189e470a894444964f864e~1..2ecf0fc734cc14a642189e470a894444964f864e 2ecf0fc734cc14a642189e470a894444964f864e 04:00:10 2ecf0fc734cc14a642189e470a894444964f864e [false] [Pipeline] sh 04:00:11 + git log --format=format:%s -1 2ecf0fc734cc14a642189e470a894444964f864e [Pipeline] echo 04:00:11 ========================================================= 04:00:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:00:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:11 + git log --format=format:%s -1 2ecf0fc734cc14a642189e470a894444964f864e [Pipeline] echo 04:00:11 [semverPrep] GIT_COMMIT: 2ecf0fc734cc14a642189e470a894444964f864e, Commit Message: Merge pull request #313 from hahattan/update-example [Pipeline] echo 04:00:11 [semverPrep] This is not a build commit. [Pipeline] sh 04:00:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:00:11 + grep -v github /etc/ssh/ssh_known_hosts 04:00:11 + [ -e /tmp/ssh_known_hosts ] 04:00:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:00:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:00:11 + sudo tee -a /etc/ssh/ssh_known_hosts 04:00:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:12 04:00:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:12 0.1.4: Pulling from edgex-devops/py-git-semver 04:00:12 b85a868b505f: Pulling fs layer 04:00:12 e2be974225ed: Pulling fs layer 04:00:12 339a4e72a1f5: Pulling fs layer 04:00:12 988bab9f4d93: Pulling fs layer 04:00:12 1469e6f7b9e6: Pulling fs layer 04:00:12 eaf3925da568: Pulling fs layer 04:00:12 bab4dde63d76: Pulling fs layer 04:00:12 bde34c3a00c8: Pulling fs layer 04:00:12 b352a97aabf1: Pulling fs layer 04:00:12 4872d77fe225: Pulling fs layer 04:00:12 5851b861e8e6: Pulling fs layer 04:00:12 988bab9f4d93: Waiting 04:00:12 bde34c3a00c8: Waiting 04:00:12 b352a97aabf1: Waiting 04:00:12 1469e6f7b9e6: Waiting 04:00:12 4872d77fe225: Waiting 04:00:12 bab4dde63d76: Waiting 04:00:12 eaf3925da568: Waiting 04:00:12 5851b861e8e6: Waiting 04:00:12 e2be974225ed: Download complete 04:00:12 988bab9f4d93: Verifying Checksum 04:00:12 988bab9f4d93: Download complete 04:00:12 339a4e72a1f5: Download complete 04:00:12 1469e6f7b9e6: Verifying Checksum 04:00:12 1469e6f7b9e6: Download complete 04:00:12 eaf3925da568: Download complete 04:00:12 bde34c3a00c8: Verifying Checksum 04:00:12 bde34c3a00c8: Download complete 04:00:12 b352a97aabf1: Verifying Checksum 04:00:12 b352a97aabf1: Download complete 04:00:12 4872d77fe225: Verifying Checksum 04:00:12 4872d77fe225: Download complete 04:00:12 b85a868b505f: Verifying Checksum 04:00:12 b85a868b505f: Download complete 04:00:13 bab4dde63d76: Verifying Checksum 04:00:13 bab4dde63d76: Download complete 04:00:14 b85a868b505f: Pull complete 04:00:14 e2be974225ed: Pull complete 04:00:14 339a4e72a1f5: Pull complete 04:00:14 988bab9f4d93: Pull complete 04:00:15 1469e6f7b9e6: Pull complete 04:00:15 eaf3925da568: Pull complete 04:00:17 bab4dde63d76: Pull complete 04:00:17 bde34c3a00c8: Pull complete 04:00:17 b352a97aabf1: Pull complete 04:00:17 4872d77fe225: Pull complete 04:00:17 5851b861e8e6: Pull complete 04:00:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:00:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:17 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:00:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:00:23 $ docker top 09a3a3c7eeb792333c69794d4de7b267c2d7bc0a6845aaad06d7f2a6d3b4d032 -eo pid,comm 04:00:23 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). 04:00:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:00:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:23 [ssh-agent] Looking for ssh-agent implementation... 04:00:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:23 $ docker exec 09a3a3c7eeb792333c69794d4de7b267c2d7bc0a6845aaad06d7f2a6d3b4d032 ssh-agent 04:00:23 SSH_AUTH_SOCK=/tmp/ssh-2X5YmqLqNA58/agent.32 04:00:23 SSH_AGENT_PID=38 04:00:23 Running ssh-add (command line suppressed) 04:00:23 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15245507442292561685.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15245507442292561685.key) 04:00:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:24 + git tag --points-at HEAD [Pipeline] } 04:00:24 $ docker exec --env ******** --env ******** 09a3a3c7eeb792333c69794d4de7b267c2d7bc0a6845aaad06d7f2a6d3b4d032 ssh-agent -k 04:00:24 unset SSH_AUTH_SOCK; 04:00:24 unset SSH_AGENT_PID; 04:00:24 echo Agent pid 38 killed; 04:00:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:00:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:24 [ssh-agent] Looking for ssh-agent implementation... 04:00:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:24 $ docker exec 09a3a3c7eeb792333c69794d4de7b267c2d7bc0a6845aaad06d7f2a6d3b4d032 ssh-agent 04:00:24 SSH_AUTH_SOCK=/tmp/ssh-qFLJgujPnFyC/agent.70 04:00:24 SSH_AGENT_PID=76 04:00:24 Running ssh-add (command line suppressed) 04:00:24 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14843859945402619839.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14843859945402619839.key) 04:00:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:24 + git semver init 04:00:25 2022-10-12 04:00:25,174 [run_init] DEBUG init version:0.0.0 force:False 04:00:25 2022-10-12 04:00:25,175 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 04:00:25 2022-10-12 04:00:25,175 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 04:00:25 2022-10-12 04:00:25,176 [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) 04:00:26 2022-10-12 04:00:26,425 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 04:00:26 2022-10-12 04:00:26,426 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 04:00:26 2022-10-12 04:00:26,426 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:00:26 2022-10-12 04:00:26,427 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:00:26 2.3.0-dev.24 [Pipeline] } 04:00:26 $ docker exec --env ******** --env ******** 09a3a3c7eeb792333c69794d4de7b267c2d7bc0a6845aaad06d7f2a6d3b4d032 ssh-agent -k 04:00:26 unset SSH_AUTH_SOCK; 04:00:26 unset SSH_AGENT_PID; 04:00:26 echo Agent pid 76 killed; 04:00:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:00:27 + git semver [Pipeline] } 04:00:27 $ docker stop --time=1 09a3a3c7eeb792333c69794d4de7b267c2d7bc0a6845aaad06d7f2a6d3b4d032 04:00:28 $ docker rm -f 09a3a3c7eeb792333c69794d4de7b267c2d7bc0a6845aaad06d7f2a6d3b4d032 [Pipeline] // withDockerContainer [Pipeline] sh 04:00:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:00:29 Stashed 1 file(s) [Pipeline] echo 04:00:29 [edgeXSemver]: initialized semver on version 2.3.0-dev.24 [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 04:00:29 provisioning config files... 04:00:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config351364647385837759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:29 ---> docker-login.sh 04:00:29 nexus3.edgexfoundry.org:10001 04:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:29 Configure a credential helper to remove this warning. See 04:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:29 04:00:29 Login Succeeded 04:00:29 nexus3.edgexfoundry.org:10002 04:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:29 Configure a credential helper to remove this warning. See 04:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:29 04:00:29 Login Succeeded 04:00:29 nexus3.edgexfoundry.org:10003 04:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:29 Configure a credential helper to remove this warning. See 04:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:29 04:00:29 Login Succeeded 04:00:29 nexus3.edgexfoundry.org:10004 04:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:29 Configure a credential helper to remove this warning. See 04:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:29 04:00:29 Login Succeeded 04:00:29 docker.io 04:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:30 Configure a credential helper to remove this warning. See 04:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:30 04:00:30 Login Succeeded 04:00:30 ---> docker-login.sh ends [Pipeline] } 04:00:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:30 ========================================================= 04:00:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:00:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:30 + 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 . 04:00:30 Sending build context to Docker daemon 23.18MB 04:00:30 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:00:30 Step 2/13 : FROM ${BASE} AS builder 04:00:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:00:30 213ec9aee27d: Pulling fs layer 04:00:30 4583459ba037: Pulling fs layer 04:00:30 93c1e223e6f2: Pulling fs layer 04:00:30 53926ce57604: Pulling fs layer 04:00:30 21b2b0c7a3f4: Pulling fs layer 04:00:30 30f14e443154: Pulling fs layer 04:00:30 801331c1e519: Pulling fs layer 04:00:30 99cc6dd402b0: Pulling fs layer 04:00:30 7d9ed39f4882: Pulling fs layer 04:00:30 99cc6dd402b0: Waiting 04:00:30 30f14e443154: Waiting 04:00:30 7d9ed39f4882: Waiting 04:00:30 53926ce57604: Waiting 04:00:30 801331c1e519: Waiting 04:00:31 93c1e223e6f2: Verifying Checksum 04:00:31 93c1e223e6f2: Download complete 04:00:31 4583459ba037: Download complete 04:00:31 21b2b0c7a3f4: Verifying Checksum 04:00:31 21b2b0c7a3f4: Download complete 04:00:31 30f14e443154: Verifying Checksum 04:00:31 30f14e443154: Download complete 04:00:31 213ec9aee27d: Verifying Checksum 04:00:31 213ec9aee27d: Download complete 04:00:31 801331c1e519: Verifying Checksum 04:00:31 801331c1e519: Download complete 04:00:31 213ec9aee27d: Pull complete 04:00:31 4583459ba037: Pull complete 04:00:31 93c1e223e6f2: Pull complete 04:00:31 7d9ed39f4882: Verifying Checksum 04:00:31 7d9ed39f4882: Download complete 04:00:31 53926ce57604: Verifying Checksum 04:00:31 53926ce57604: Download complete 04:00:32 99cc6dd402b0: Verifying Checksum 04:00:32 99cc6dd402b0: Download complete 04:00:36 53926ce57604: Pull complete 04:00:36 21b2b0c7a3f4: Pull complete 04:00:36 30f14e443154: Pull complete 04:00:36 801331c1e519: Pull complete 04:00:38 99cc6dd402b0: Pull complete 04:00:39 7d9ed39f4882: Pull complete 04:00:39 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:00:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:00:39 ---> 1dedd983c030 04:00:39 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:00:44 Still waiting to schedule task 04:00:44 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7718’ 04:00:47 ---> Running in fa14bd338522 04:00:47 Removing intermediate container fa14bd338522 04:00:47 ---> 52c3d2ffab14 04:00:47 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 04:00:47 ---> Running in e8fbc6dcfdea 04:00:47 Removing intermediate container e8fbc6dcfdea 04:00:47 ---> 1695a5608843 04:00:47 Step 5/13 : ARG ADD_BUILD_TAGS="" 04:00:47 ---> Running in 7dddd2a1b9d8 04:00:47 Removing intermediate container 7dddd2a1b9d8 04:00:47 ---> 052a9714821b 04:00:47 Step 6/13 : WORKDIR /device-virtual-go 04:00:47 ---> Running in e3d7dfd2e1ff 04:00:47 Removing intermediate container e3d7dfd2e1ff 04:00:47 ---> 95b7d4a8985c 04:00:47 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:00:47 ---> Running in df7a005d2b34 04:00:47 Removing intermediate container df7a005d2b34 04:00:47 ---> 15b43404eb62 04:00:47 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:00:47 ---> Running in b4e075563aa2 04:00:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:00:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:00:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 04:00:49 (2/4) Installing libedit (20210910.3.1-r0) 04:00:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 04:00:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 04:00:49 Executing busybox-1.35.0-r17.trigger 04:00:49 OK: 216 MiB in 55 packages 04:00:50 Removing intermediate container b4e075563aa2 04:00:50 ---> 7ad11f05c2ec 04:00:50 Step 9/13 : COPY go.mod vendor* ./ 04:00:50 ---> bb98f212c936 04:00:50 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:50 ---> Running in d91bdcd3401e 04:01:23 Removing intermediate container d91bdcd3401e 04:01:23 ---> b733949fa56e 04:01:23 Step 11/13 : COPY . . 04:01:23 ---> 83d03fadc350 04:01:23 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:23 ---> Running in 43291a082c1f 04:01:23 Removing intermediate container 43291a082c1f 04:01:23 ---> 5d8a1b264c39 04:01:23 Step 13/13 : RUN $MAKE 04:01:23 ---> Running in e02a08511970 04:01:23 noop 04:01:23 Removing intermediate container e02a08511970 04:01:23 ---> 32f6743fdd64 04:01:23 Successfully built 32f6743fdd64 04:01:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:23 + docker inspect -f . ci-base-image-x86_64 04:01:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:23 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:01:24 $ 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 04:01:24 $ docker top 7fc189d7098c83d69795b31063a52e77fed70b23997c55555d8a0554f517ddbf -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:24 + go version 04:01:24 go version go1.18.7 linux/amd64 [Pipeline] } 04:01:24 $ docker stop --time=1 7fc189d7098c83d69795b31063a52e77fed70b23997c55555d8a0554f517ddbf 04:01:25 $ docker rm -f 7fc189d7098c83d69795b31063a52e77fed70b23997c55555d8a0554f517ddbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:26 + docker inspect -f . ci-base-image-x86_64 04:01:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:26 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:01:26 $ 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 04:01:26 $ docker top b7cf5961cde28ad02330c35e87289ceeb4b34537963e28b6a4969c244a112105 -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:27 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 04:01:27 + make test 04:01:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:01:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:01:35 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:01:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 04:01:43 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." 04:01:43 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:01:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:01:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:01:45 ./bin/test-attribution-txt.sh [Pipeline] echo 04:01:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:01:45 $ docker stop --time=1 b7cf5961cde28ad02330c35e87289ceeb4b34537963e28b6a4969c244a112105 04:01:49 $ docker rm -f b7cf5961cde28ad02330c35e87289ceeb4b34537963e28b6a4969c244a112105 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:01:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:01:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:01:50 + ls -al . 04:01:50 total 200 04:01:50 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 04:01 . 04:01:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:00 .. 04:01:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 04:01 .git 04:01:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:00 .github 04:01:50 -rw-rw-r-- 1 jenkins jenkins 337 Oct 12 04:00 .gitignore 04:01:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 04:00 .golangci.yml 04:01:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 04:00 .semver 04:01:50 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 12 04:00 Attribution.txt 04:01:50 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 12 04:00 CHANGELOG.md 04:01:50 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 12 04:00 Dockerfile 04:01:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 04:00 GOVERNANCE.md 04:01:50 -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 04:00 Jenkinsfile 04:01:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 04:00 LICENSE 04:01:50 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 12 04:00 Makefile 04:01:50 -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 04:00 OWNERS.md 04:01:50 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 12 04:00 README.md 04:01:50 -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 04:00 VERSION 04:01:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 04:00 bin 04:01:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:00 cmd 04:01:50 -rw-r--r-- 1 jenkins jenkins 44128 Oct 12 04:01 coverage.out 04:01:50 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 12 04:00 go.mod 04:01:50 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 12 04:00 go.sum 04:01:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:00 internal 04:01:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:00 snap 04:01:50 -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 04:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:50 + 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=2ecf0fc734cc14a642189e470a894444964f864e --label arch=amd64 --label version=2.3.0-dev.24 . 04:01:50 Sending build context to Docker daemon 23.23MB 04:01:50 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 04:01:50 Step 2/27 : FROM ${BASE} AS builder 04:01:50 ---> 32f6743fdd64 04:01:50 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:01:51 ---> Running in 9ddb39620075 04:01:51 Removing intermediate container 9ddb39620075 04:01:51 ---> 1eabb565e805 04:01:51 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 04:01:51 ---> Running in bc236de85120 04:01:51 Removing intermediate container bc236de85120 04:01:51 ---> 0cd8fefac8bb 04:01:51 Step 5/27 : ARG ADD_BUILD_TAGS="" 04:01:51 ---> Running in dd0767079bce 04:01:51 Removing intermediate container dd0767079bce 04:01:51 ---> 286873889605 04:01:51 Step 6/27 : WORKDIR /device-virtual-go 04:01:51 ---> Running in 4a27ec6a1dc1 04:01:51 Removing intermediate container 4a27ec6a1dc1 04:01:51 ---> bdc4bfcbe1e4 04:01:51 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:51 ---> Running in 51e28fc52f1d 04:01:52 Removing intermediate container 51e28fc52f1d 04:01:52 ---> 430469cda364 04:01:52 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:52 ---> Running in 9ae41b66ec41 04:01:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:01:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:01:53 OK: 216 MiB in 55 packages 04:01:54 Removing intermediate container 9ae41b66ec41 04:01:54 ---> ef970222002e 04:01:54 Step 9/27 : COPY go.mod vendor* ./ 04:01:54 ---> e2783938167c 04:01:54 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:54 ---> Running in 98d94a8032ab 04:01:55 Removing intermediate container 98d94a8032ab 04:01:55 ---> b2e1d4933780 04:01:55 Step 11/27 : COPY . . 04:01:55 ---> 3d914e92ad60 04:01:55 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:55 ---> Running in b297465a1188 04:01:56 Removing intermediate container b297465a1188 04:01:56 ---> eb981de84150 04:01:56 Step 13/27 : RUN $MAKE 04:01:56 ---> Running in 610a5351cb7b 04:01:56 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 04:02:23 Removing intermediate container 610a5351cb7b 04:02:23 ---> bf7198557bc9 04:02:23 Step 14/27 : FROM alpine:3.16 04:02:23 3.16: Pulling from library/alpine 04:02:23 213ec9aee27d: Already exists 04:02:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:02:23 Status: Downloaded newer image for alpine:3.16 04:02:23 ---> 9c6f07244728 04:02:23 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:02:23 ---> Running in d89f2192233e 04:02:23 Removing intermediate container d89f2192233e 04:02:23 ---> 2648e0d8af40 04:02:23 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:23 ---> Running in 772a99036a49 04:02:23 Removing intermediate container 772a99036a49 04:02:23 ---> 708bc0f37497 04:02:23 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 04:02:23 ---> Running in effc1c87bd10 04:02:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:02:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:02:23 (1/6) Installing dumb-init (1.2.5-r1) 04:02:23 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:02:23 (3/6) Installing libsodium (1.0.18-r0) 04:02:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:02:23 (5/6) Installing libzmq (4.3.4-r0) 04:02:23 (6/6) Installing zeromq (4.3.4-r0) 04:02:23 Executing busybox-1.35.0-r17.trigger 04:02:23 OK: 8 MiB in 20 packages 04:02:23 Removing intermediate container effc1c87bd10 04:02:23 ---> 4553ce2a6782 04:02:23 Step 18/27 : WORKDIR / 04:02:23 ---> Running in 75b549df0508 04:02:24 Removing intermediate container 75b549df0508 04:02:24 ---> 7676f8a0e231 04:02:24 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:02:24 ---> ef5f0969e959 04:02:24 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 04:02:24 ---> 66366237075b 04:02:24 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 04:02:25 ---> 02a9d6ec668b 04:02:25 Step 22/27 : EXPOSE 59900 04:02:25 ---> Running in bc4c63fc5c56 04:02:25 Removing intermediate container bc4c63fc5c56 04:02:25 ---> 1c2902b79cb5 04:02:25 Step 23/27 : ENTRYPOINT ["/device-virtual"] 04:02:25 ---> Running in 8bdd38b61370 04:02:25 Removing intermediate container 8bdd38b61370 04:02:25 ---> ced96b859718 04:02:25 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:02:25 ---> Running in b60c0d9c0e0c 04:02:25 Removing intermediate container b60c0d9c0e0c 04:02:25 ---> 0bb090352c56 04:02:25 Step 25/27 : LABEL arch=amd64 04:02:25 ---> Running in 47720a97a53f 04:02:25 Removing intermediate container 47720a97a53f 04:02:25 ---> 2f613a48d10b 04:02:25 Step 26/27 : LABEL git_sha=2ecf0fc734cc14a642189e470a894444964f864e 04:02:25 ---> Running in bd62a1c34d68 04:02:25 Removing intermediate container bd62a1c34d68 04:02:25 ---> ce10382f0853 04:02:25 Step 27/27 : LABEL version=2.3.0-dev.24 04:02:25 ---> Running in 598b4c6f99c0 04:02:25 Removing intermediate container 598b4c6f99c0 04:02:25 ---> 9c3ebbb4caff 04:02:25 [Warning] One or more build-args [ARCH] were not consumed 04:02:25 Successfully built 9c3ebbb4caff 04:02:25 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:25 provisioning config files... 04:02:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3910863859705490584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:26 ---> docker-login.sh 04:02:26 nexus3.edgexfoundry.org:10001 04:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:26 Configure a credential helper to remove this warning. See 04:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:26 04:02:26 Login Succeeded 04:02:26 nexus3.edgexfoundry.org:10002 04:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:26 Configure a credential helper to remove this warning. See 04:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:26 04:02:26 Login Succeeded 04:02:26 nexus3.edgexfoundry.org:10003 04:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:26 Configure a credential helper to remove this warning. See 04:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:26 04:02:26 Login Succeeded 04:02:26 nexus3.edgexfoundry.org:10004 04:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:26 Configure a credential helper to remove this warning. See 04:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:26 04:02:26 Login Succeeded 04:02:26 docker.io 04:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:26 Configure a credential helper to remove this warning. See 04:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:26 04:02:26 Login Succeeded 04:02:26 ---> docker-login.sh ends [Pipeline] } 04:02:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:02:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:02:26 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 04:02:26 2ecf0fc734cc14a642189e470a894444964f864e 04:02:26 latest 04:02:26 2.3.0-dev.24 04:02:26 2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24 04:02:26 main 04:02:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:27 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2ecf0fc734cc14a642189e470a894444964f864e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:27 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2ecf0fc734cc14a642189e470a894444964f864e 04:02:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:02:27 da6e1d7b90fa: Preparing 04:02:27 53bf1b8bf961: Preparing 04:02:27 6c31805d593c: Preparing 04:02:27 7aa556665f2e: Preparing 04:02:27 3034bdc85e45: Preparing 04:02:27 994393dc58e7: Preparing 04:02:27 994393dc58e7: Waiting 04:02:27 3034bdc85e45: Pushed 04:02:27 53bf1b8bf961: Pushed 04:02:27 6c31805d593c: Pushed 04:02:27 994393dc58e7: Layer already exists 04:02:27 7aa556665f2e: Pushed 04:02:29 da6e1d7b90fa: Pushed 04:02:29 2ecf0fc734cc14a642189e470a894444964f864e: digest: sha256:2c7c1216086b8e39364cc0882e4d098eaa70d4e5291b23e137de9d8fb66306b8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:30 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:30 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 04:02:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:02:30 da6e1d7b90fa: Preparing 04:02:30 53bf1b8bf961: Preparing 04:02:30 6c31805d593c: Preparing 04:02:30 7aa556665f2e: Preparing 04:02:30 3034bdc85e45: Preparing 04:02:30 994393dc58e7: Preparing 04:02:30 994393dc58e7: Waiting 04:02:30 53bf1b8bf961: Layer already exists 04:02:30 da6e1d7b90fa: Layer already exists 04:02:30 7aa556665f2e: Layer already exists 04:02:30 6c31805d593c: Layer already exists 04:02:30 3034bdc85e45: Layer already exists 04:02:30 994393dc58e7: Layer already exists 04:02:30 latest: digest: sha256:2c7c1216086b8e39364cc0882e4d098eaa70d4e5291b23e137de9d8fb66306b8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:30 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.24 04:02:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:02:31 da6e1d7b90fa: Preparing 04:02:31 53bf1b8bf961: Preparing 04:02:31 6c31805d593c: Preparing 04:02:31 7aa556665f2e: Preparing 04:02:31 3034bdc85e45: Preparing 04:02:31 994393dc58e7: Preparing 04:02:31 994393dc58e7: Waiting 04:02:31 da6e1d7b90fa: Layer already exists 04:02:31 6c31805d593c: Layer already exists 04:02:31 7aa556665f2e: Layer already exists 04:02:31 3034bdc85e45: Layer already exists 04:02:31 53bf1b8bf961: Layer already exists 04:02:31 994393dc58e7: Layer already exists 04:02:31 2.3.0-dev.24: digest: sha256:2c7c1216086b8e39364cc0882e4d098eaa70d4e5291b23e137de9d8fb66306b8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:31 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24 04:02:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:02:31 da6e1d7b90fa: Preparing 04:02:31 53bf1b8bf961: Preparing 04:02:31 6c31805d593c: Preparing 04:02:31 7aa556665f2e: Preparing 04:02:31 3034bdc85e45: Preparing 04:02:31 994393dc58e7: Preparing 04:02:31 994393dc58e7: Waiting 04:02:31 6c31805d593c: Layer already exists 04:02:31 da6e1d7b90fa: Layer already exists 04:02:31 53bf1b8bf961: Layer already exists 04:02:31 7aa556665f2e: Layer already exists 04:02:31 3034bdc85e45: Layer already exists 04:02:31 994393dc58e7: Layer already exists 04:02:31 2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24: digest: sha256:2c7c1216086b8e39364cc0882e4d098eaa70d4e5291b23e137de9d8fb66306b8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:32 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:32 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 04:02:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 04:02:32 da6e1d7b90fa: Preparing 04:02:32 53bf1b8bf961: Preparing 04:02:32 6c31805d593c: Preparing 04:02:32 7aa556665f2e: Preparing 04:02:32 3034bdc85e45: Preparing 04:02:32 994393dc58e7: Preparing 04:02:32 994393dc58e7: Waiting 04:02:32 53bf1b8bf961: Layer already exists 04:02:32 3034bdc85e45: Layer already exists 04:02:32 7aa556665f2e: Layer already exists 04:02:32 6c31805d593c: Layer already exists 04:02:32 da6e1d7b90fa: Layer already exists 04:02:32 994393dc58e7: Layer already exists 04:02:32 main: digest: sha256:2c7c1216086b8e39364cc0882e4d098eaa70d4e5291b23e137de9d8fb66306b8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:02:32 ===================================================== [Pipeline] echo 04:02:32 taggedImages: 04:02:32 - nexus3.edgexfoundry.org:10004/device-virtual:2ecf0fc734cc14a642189e470a894444964f864e 04:02:32 - nexus3.edgexfoundry.org:10004/device-virtual:latest 04:02:32 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.24 04:02:32 - nexus3.edgexfoundry.org:10004/device-virtual:2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24 04:02:32 - 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 04:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:32 04:02:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:33 latest: Pulling from edgex-lftools-log-publisher 04:02:33 5eb5b503b376: Pulling fs layer 04:02:33 5c69ac0246d0: Pulling fs layer 04:02:33 ec43610c2a17: Pulling fs layer 04:02:33 3a2ae6a8a46f: Pulling fs layer 04:02:33 33b1e0a273af: Pulling fs layer 04:02:33 5d3b04190fa2: Pulling fs layer 04:02:33 3a2ae6a8a46f: Waiting 04:02:33 2f39f015ded8: Pulling fs layer 04:02:33 5d3b04190fa2: Waiting 04:02:33 2f39f015ded8: Waiting 04:02:33 5c69ac0246d0: Verifying Checksum 04:02:33 5c69ac0246d0: Download complete 04:02:33 3a2ae6a8a46f: Verifying Checksum 04:02:33 3a2ae6a8a46f: Download complete 04:02:33 33b1e0a273af: Verifying Checksum 04:02:33 33b1e0a273af: Download complete 04:02:33 ec43610c2a17: Verifying Checksum 04:02:33 ec43610c2a17: Download complete 04:02:33 5d3b04190fa2: Verifying Checksum 04:02:33 5d3b04190fa2: Download complete 04:02:33 5eb5b503b376: Download complete 04:02:33 2f39f015ded8: Download complete 04:02:34 5eb5b503b376: Pull complete 04:02:34 5c69ac0246d0: Pull complete 04:02:35 ec43610c2a17: Pull complete 04:02:35 3a2ae6a8a46f: Pull complete 04:02:35 33b1e0a273af: Pull complete 04:02:35 5d3b04190fa2: Pull complete 04:02:39 2f39f015ded8: Pull complete 04:02:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:02:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:02:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:39 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:02:39 $ 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 04:02:46 $ docker top acb317cbbb363ff4501cd3bc59db6f70d877284a02f68684634116fb37c27f72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:46 ---> job-cost.sh 04:02:46 lf-activate-venv: SKIPPING 04:02:46 INFO: No Stack... 04:02:47 INFO: Retrieving Pricing Info for: v3-standard-8 04:02:47 INFO: Archiving Costs [Pipeline] sh 04:02:47 + + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 04:02:47 cut -d, -f6 [Pipeline] lock 04:02:47 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-60-stack-cost] 04:02:47 Resource [jenkins-edgexfoundry-device-virtual-go-main-60-stack-cost] did not exist. Created. 04:02:47 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:02:48 + echo total: 0.2199999988079071 [Pipeline] stash 04:02:48 Stashed 1 file(s) [Pipeline] } 04:02:48 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 04:02:48 $ docker stop --time=1 acb317cbbb363ff4501cd3bc59db6f70d877284a02f68684634116fb37c27f72 04:02:49 $ docker rm -f acb317cbbb363ff4501cd3bc59db6f70d877284a02f68684634116fb37c27f72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:03:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7721 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 04:03:37 Running in /w/workspace/device-virtual-go/60 [Pipeline] { [Pipeline] checkout 04:03:37 The recommended git tool is: git 04:03:43 using credential edgex-jenkins-ssh 04:03:43 Cloning the remote Git repository 04:03:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 04:03:43 > git init /w/workspace/device-virtual-go/60 # timeout=10 04:03:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 04:03:43 > git --version # timeout=10 04:03:43 > git --version # 'git version 2.25.1' 04:03:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:43 Verifying host key using known hosts file 04:03:44 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. 04:03:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 04:03:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:47 Avoid second fetch 04:03:47 Checking out Revision 2ecf0fc734cc14a642189e470a894444964f864e (main) 04:03:47 Commit message: "Merge pull request #313 from hahattan/update-example" 04:03:47 > git config core.sparsecheckout # timeout=10 04:03:47 > git checkout -f 2ecf0fc734cc14a642189e470a894444964f864e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:03:48 % Total % Received % Xferd Average Speed Time Time Time Current 04:03:48 Dload Upload Total Spent Left Speed 04:03:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 04:03:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:03:49 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 04:03:49 04:03:49 { 04:03:49 "registry-mirrors": [ 04:03:49 "https://nexus3.edgexfoundry.org:10001" 04:03:49 ], 04:03:49 "bip": "10.250.0.254/24", 04:03:49 "hosts": [ 04:03:49 "tcp://0.0.0.0:5555", 04:03:49 "unix:///var/run/docker.sock" 04:03:49 ], 04:03:49 "mtu": 1458, 04:03:49 "selinux-enabled": true, 04:03:49 "seccomp-profile": "/etc/docker/seccomp.json" 04:03:49 } [Pipeline] sh 04:03:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:03:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:08 provisioning config files... 04:04:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/60@tmp/config5341139389673006070tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:09 ---> docker-login.sh 04:04:09 nexus3.edgexfoundry.org:10001 04:04:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:09 Configure a credential helper to remove this warning. See 04:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:09 04:04:09 Login Succeeded 04:04:09 nexus3.edgexfoundry.org:10002 04:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:10 Configure a credential helper to remove this warning. See 04:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:10 04:04:10 Login Succeeded 04:04:10 nexus3.edgexfoundry.org:10003 04:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:10 Configure a credential helper to remove this warning. See 04:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:10 04:04:10 Login Succeeded 04:04:10 nexus3.edgexfoundry.org:10004 04:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:11 Configure a credential helper to remove this warning. See 04:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:11 04:04:11 Login Succeeded 04:04:11 docker.io 04:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:11 Configure a credential helper to remove this warning. See 04:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:11 04:04:11 Login Succeeded 04:04:11 ---> docker-login.sh ends [Pipeline] } 04:04:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:11 ========================================================= 04:04:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:04:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:12 + 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 . 04:04:12 Sending build context to Docker daemon 11.73MB 04:04:12 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 04:04:12 Step 2/13 : FROM ${BASE} AS builder 04:04:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:04:12 9b18e9b68314: Pulling fs layer 04:04:12 d32db5db7311: Pulling fs layer 04:04:12 d0c4b47475fc: Pulling fs layer 04:04:12 5831b945b038: Pulling fs layer 04:04:12 86bbec2aaacd: Pulling fs layer 04:04:12 e10730c5d714: Pulling fs layer 04:04:12 5dd5c2283517: Pulling fs layer 04:04:12 d5ac0230b979: Pulling fs layer 04:04:12 5831b945b038: Waiting 04:04:12 86bbec2aaacd: Waiting 04:04:12 e10730c5d714: Waiting 04:04:12 5dd5c2283517: Waiting 04:04:12 d5ac0230b979: Waiting 04:04:12 d0c4b47475fc: Download complete 04:04:12 d32db5db7311: Verifying Checksum 04:04:12 d32db5db7311: Download complete 04:04:12 86bbec2aaacd: Verifying Checksum 04:04:12 86bbec2aaacd: Download complete 04:04:13 e10730c5d714: Verifying Checksum 04:04:13 e10730c5d714: Download complete 04:04:13 9b18e9b68314: Verifying Checksum 04:04:13 9b18e9b68314: Download complete 04:04:13 9b18e9b68314: Pull complete 04:04:13 d5ac0230b979: Verifying Checksum 04:04:13 d5ac0230b979: Download complete 04:04:14 d32db5db7311: Pull complete 04:04:14 d0c4b47475fc: Pull complete 04:04:15 5dd5c2283517: Verifying Checksum 04:04:15 5dd5c2283517: Download complete 04:04:16 5831b945b038: Verifying Checksum 04:04:16 5831b945b038: Download complete 04:04:28 5831b945b038: Pull complete 04:04:28 86bbec2aaacd: Pull complete 04:04:28 e10730c5d714: Pull complete 04:04:35 5dd5c2283517: Pull complete 04:04:36 d5ac0230b979: Pull complete 04:04:36 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:04:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:04:36 ---> 59b3b1a385d4 04:04:36 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:04:37 ---> Running in b3f266373154 04:04:38 Removing intermediate container b3f266373154 04:04:38 ---> 7e6c8dca4791 04:04:38 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 04:04:38 ---> Running in b5010d4861c9 04:04:38 Removing intermediate container b5010d4861c9 04:04:38 ---> 3091c383f3db 04:04:38 Step 5/13 : ARG ADD_BUILD_TAGS="" 04:04:38 ---> Running in bbcd6736b70b 04:04:39 Removing intermediate container bbcd6736b70b 04:04:39 ---> b695c8d82e04 04:04:39 Step 6/13 : WORKDIR /device-virtual-go 04:04:39 ---> Running in 787c3d971bb2 04:04:39 Removing intermediate container 787c3d971bb2 04:04:39 ---> d7cb75200ef0 04:04:39 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:04:39 ---> Running in 30e8df8ed332 04:04:41 Removing intermediate container 30e8df8ed332 04:04:41 ---> 491c2f880db1 04:04:41 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:41 ---> Running in 418839b6fc96 04:04:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:04:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:04:44 (1/4) Installing openssh-keygen (9.0_p1-r2) 04:04:44 (2/4) Installing libedit (20210910.3.1-r0) 04:04:44 (3/4) Installing openssh-client-common (9.0_p1-r2) 04:04:45 (4/4) Installing openssh-client-default (9.0_p1-r2) 04:04:45 Executing busybox-1.35.0-r17.trigger 04:04:45 OK: 226 MiB in 55 packages 04:04:46 Removing intermediate container 418839b6fc96 04:04:46 ---> a986e8591224 04:04:46 Step 9/13 : COPY go.mod vendor* ./ 04:04:46 ---> 34f842f71633 04:04:46 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:47 ---> Running in c1aff79b11a4 04:05:43 Removing intermediate container c1aff79b11a4 04:05:43 ---> b95fdf6defc7 04:05:43 Step 11/13 : COPY . . 04:05:43 ---> 9ad2c4011da5 04:05:43 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:05:43 ---> Running in 46d996c8dd3e 04:05:43 Removing intermediate container 46d996c8dd3e 04:05:43 ---> 83650ad21080 04:05:43 Step 13/13 : RUN $MAKE 04:05:43 ---> Running in 601a531f2ef7 04:05:43 noop 04:05:43 Removing intermediate container 601a531f2ef7 04:05:43 ---> be1cec0fc7aa 04:05:43 Successfully built be1cec0fc7aa 04:05:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:44 + docker inspect -f . ci-base-image-arm64 04:05:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:44 prd-ubuntu20.04-docker-arm64-4c-16g-7721 does not seem to be running inside a container 04:05:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/60 -v /w/workspace/device-virtual-go/60:/w/workspace/device-virtual-go/60:rw,z -v /w/workspace/device-virtual-go/60@tmp:/w/workspace/device-virtual-go/60@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 04:05:45 $ docker top 7fffd55b807a2731e4b5da70c2c3f5d03a42b563db6e13fbf38e617b34d5b135 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:46 + go version 04:05:46 go version go1.18.7 linux/arm64 [Pipeline] } 04:05:46 $ docker stop --time=1 7fffd55b807a2731e4b5da70c2c3f5d03a42b563db6e13fbf38e617b34d5b135 04:05:48 $ docker rm -f 7fffd55b807a2731e4b5da70c2c3f5d03a42b563db6e13fbf38e617b34d5b135 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:48 + docker inspect -f . ci-base-image-arm64 04:05:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:48 prd-ubuntu20.04-docker-arm64-4c-16g-7721 does not seem to be running inside a container 04:05:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/60 -v /w/workspace/device-virtual-go/60:/w/workspace/device-virtual-go/60:rw,z -v /w/workspace/device-virtual-go/60@tmp:/w/workspace/device-virtual-go/60@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 04:05:50 $ docker top d69861be76d980c72b6f2274b97db225bec316a9d7ec1bda13d572d43e1a2f7d -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:51 + git config --global --add safe.directory /w/workspace/device-virtual-go/60 [Pipeline] fileExists [Pipeline] sh 04:05:51 + make test 04:05:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:05:53 ? github.com/edgexfoundry/device-virtual-go [no test files] 04:07:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 04:07:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.139s coverage: 65.7% of statements 04:07:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:07:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:07:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:07:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:07:48 ./bin/test-attribution-txt.sh [Pipeline] echo 04:07:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:07:48 $ docker stop --time=1 d69861be76d980c72b6f2274b97db225bec316a9d7ec1bda13d572d43e1a2f7d 04:07:50 $ docker rm -f d69861be76d980c72b6f2274b97db225bec316a9d7ec1bda13d572d43e1a2f7d [Pipeline] // withDockerContainer [Pipeline] sh 04:07:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:07:51 Warning: overwriting stash ‘coverage-report’ 04:07:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:07:52 + ls -al . 04:07:52 total 196 04:07:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 04:05 . 04:07:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:03 .. 04:07:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 04:03 .git 04:07:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:03 .github 04:07:52 -rw-rw-r-- 1 jenkins jenkins 337 Oct 12 04:03 .gitignore 04:07:52 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 04:03 .golangci.yml 04:07:52 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 12 04:03 Attribution.txt 04:07:52 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 12 04:03 CHANGELOG.md 04:07:52 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 12 04:03 Dockerfile 04:07:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 04:03 GOVERNANCE.md 04:07:52 -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 04:03 Jenkinsfile 04:07:52 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 04:03 LICENSE 04:07:52 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 12 04:03 Makefile 04:07:52 -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 04:03 OWNERS.md 04:07:52 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 12 04:03 README.md 04:07:52 -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 04:00 VERSION 04:07:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 04:03 bin 04:07:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:03 cmd 04:07:52 -rw-r--r-- 1 jenkins jenkins 44128 Oct 12 04:07 coverage.out 04:07:52 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 12 04:03 go.mod 04:07:52 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 12 04:03 go.sum 04:07:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:03 internal 04:07:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:03 snap 04:07:52 -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:53 + 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=2ecf0fc734cc14a642189e470a894444964f864e --label arch=arm64 --label version=2.3.0-dev.24 . 04:07:53 Sending build context to Docker daemon 11.78MB 04:07:53 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 04:07:53 Step 2/27 : FROM ${BASE} AS builder 04:07:53 ---> be1cec0fc7aa 04:07:53 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:07:53 ---> Running in fde7b0f7331c 04:07:53 Removing intermediate container fde7b0f7331c 04:07:53 ---> cd06846a8e5b 04:07:53 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 04:07:54 ---> Running in 9846c808e02f 04:07:54 Removing intermediate container 9846c808e02f 04:07:54 ---> 7e97b9cd86a2 04:07:54 Step 5/27 : ARG ADD_BUILD_TAGS="" 04:07:54 ---> Running in f75fa3c0dcf4 04:07:54 Removing intermediate container f75fa3c0dcf4 04:07:54 ---> 301c2b2398cc 04:07:54 Step 6/27 : WORKDIR /device-virtual-go 04:07:55 ---> Running in 8fe6a7f3035b 04:07:55 Removing intermediate container 8fe6a7f3035b 04:07:55 ---> 699cb221b99e 04:07:55 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:55 ---> Running in ae79baa1a173 04:07:57 Removing intermediate container ae79baa1a173 04:07:57 ---> fb3b97ac0b60 04:07:57 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:07:57 ---> Running in 88c39428d999 04:07:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:07:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:08:00 OK: 226 MiB in 55 packages 04:08:01 Removing intermediate container 88c39428d999 04:08:01 ---> 68aad6a195ac 04:08:01 Step 9/27 : COPY go.mod vendor* ./ 04:08:02 ---> d5f248129beb 04:08:02 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:02 ---> Running in 1e05231ce984 04:08:05 Removing intermediate container 1e05231ce984 04:08:05 ---> 1765ccf3e0d8 04:08:05 Step 11/27 : COPY . . 04:08:06 ---> f23241384702 04:08:06 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:08:06 ---> Running in fc1d5f2f8975 04:08:06 Removing intermediate container fc1d5f2f8975 04:08:06 ---> a31e4d0d1ec5 04:08:06 Step 13/27 : RUN $MAKE 04:08:06 ---> Running in 441ead6cfc29 04:08:07 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 04:10:59 Removing intermediate container 441ead6cfc29 04:10:59 ---> 2c919352055c 04:10:59 Step 14/27 : FROM alpine:3.16 04:10:59 3.16: Pulling from library/alpine 04:10:59 9b18e9b68314: Already exists 04:10:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:10:59 Status: Downloaded newer image for alpine:3.16 04:10:59 ---> a6215f271958 04:10:59 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 04:10:59 ---> Running in 308611acedaf 04:10:59 Removing intermediate container 308611acedaf 04:10:59 ---> 9f54a561fc9e 04:10:59 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:59 ---> Running in 5dae54c391df 04:10:59 Removing intermediate container 5dae54c391df 04:10:59 ---> 3eb9c58fe232 04:10:59 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 04:10:59 ---> Running in ee02f609c998 04:10:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:10:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:10:59 (1/6) Installing dumb-init (1.2.5-r1) 04:10:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:10:59 (3/6) Installing libsodium (1.0.18-r0) 04:10:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:10:59 (5/6) Installing libzmq (4.3.4-r0) 04:10:59 (6/6) Installing zeromq (4.3.4-r0) 04:10:59 Executing busybox-1.35.0-r17.trigger 04:10:59 OK: 8 MiB in 20 packages 04:10:59 Removing intermediate container ee02f609c998 04:10:59 ---> ba0d2b14f0aa 04:10:59 Step 18/27 : WORKDIR / 04:10:59 ---> Running in ca81f6ed627e 04:10:59 Removing intermediate container ca81f6ed627e 04:10:59 ---> 15b785a00357 04:10:59 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 04:10:59 ---> 19e7d197f351 04:10:59 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 04:10:59 ---> c2f044a13535 04:10:59 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 04:10:59 ---> 0533df277cf9 04:10:59 Step 22/27 : EXPOSE 59900 04:10:59 ---> Running in fd29c0cf3cee 04:10:59 Removing intermediate container fd29c0cf3cee 04:10:59 ---> 24ed7da2e4b6 04:10:59 Step 23/27 : ENTRYPOINT ["/device-virtual"] 04:10:59 ---> Running in 924bd53588de 04:10:59 Removing intermediate container 924bd53588de 04:10:59 ---> 8ae0480fdbfe 04:10:59 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:10:59 ---> Running in 6042c411d0b2 04:11:00 Removing intermediate container 6042c411d0b2 04:11:00 ---> 77528947ba42 04:11:00 Step 25/27 : LABEL arch=arm64 04:11:00 ---> Running in a702d7f78f13 04:11:00 Removing intermediate container a702d7f78f13 04:11:00 ---> 5c73cb602d22 04:11:00 Step 26/27 : LABEL git_sha=2ecf0fc734cc14a642189e470a894444964f864e 04:11:00 ---> Running in ff24d309ec5d 04:11:00 Removing intermediate container ff24d309ec5d 04:11:00 ---> f42f163b9652 04:11:00 Step 27/27 : LABEL version=2.3.0-dev.24 04:11:01 ---> Running in 66f427634389 04:11:01 Removing intermediate container 66f427634389 04:11:01 ---> 1745a0f83e10 04:11:01 [Warning] One or more build-args [ARCH] were not consumed 04:11:01 Successfully built 1745a0f83e10 04:11:01 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 04:11:01 provisioning config files... 04:11:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/60@tmp/config10887209411322215272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:01 ---> docker-login.sh 04:11:01 nexus3.edgexfoundry.org:10001 04:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:02 Configure a credential helper to remove this warning. See 04:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:02 04:11:02 Login Succeeded 04:11:02 nexus3.edgexfoundry.org:10002 04:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:02 Configure a credential helper to remove this warning. See 04:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:02 04:11:02 Login Succeeded 04:11:02 nexus3.edgexfoundry.org:10003 04:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:02 Configure a credential helper to remove this warning. See 04:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:02 04:11:02 Login Succeeded 04:11:02 nexus3.edgexfoundry.org:10004 04:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:03 Configure a credential helper to remove this warning. See 04:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:03 04:11:03 Login Succeeded 04:11:03 docker.io 04:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:04 Configure a credential helper to remove this warning. See 04:11:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:04 04:11:04 Login Succeeded 04:11:04 ---> docker-login.sh ends [Pipeline] } 04:11:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:04 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 04:11:04 2ecf0fc734cc14a642189e470a894444964f864e 04:11:04 latest 04:11:04 2.3.0-dev.24 04:11:04 2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24 04:11:04 main 04:11:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:04 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2ecf0fc734cc14a642189e470a894444964f864e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:05 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2ecf0fc734cc14a642189e470a894444964f864e 04:11:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:05 b1b1c4cc997d: Preparing 04:11:05 6f886bf026ea: Preparing 04:11:05 4b54e3049181: Preparing 04:11:05 dfbdf4563d37: Preparing 04:11:05 5e29136dc6fe: Preparing 04:11:05 5d3e392a13a0: Preparing 04:11:05 5d3e392a13a0: Waiting 04:11:05 4b54e3049181: Pushed 04:11:05 5e29136dc6fe: Pushed 04:11:05 6f886bf026ea: Pushed 04:11:05 5d3e392a13a0: Layer already exists 04:11:05 dfbdf4563d37: Pushed 04:11:11 b1b1c4cc997d: Pushed 04:11:11 2ecf0fc734cc14a642189e470a894444964f864e: digest: sha256:a4b2445c1d887db44181514873cc57625506b1c0f35873ec679c73c2b63187b3 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:11 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:12 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:11:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:12 b1b1c4cc997d: Preparing 04:11:12 6f886bf026ea: Preparing 04:11:12 4b54e3049181: Preparing 04:11:12 dfbdf4563d37: Preparing 04:11:12 5e29136dc6fe: Preparing 04:11:12 5d3e392a13a0: Preparing 04:11:12 5d3e392a13a0: Waiting 04:11:12 6f886bf026ea: Layer already exists 04:11:12 4b54e3049181: Layer already exists 04:11:12 dfbdf4563d37: Layer already exists 04:11:12 5e29136dc6fe: Layer already exists 04:11:12 b1b1c4cc997d: Layer already exists 04:11:12 5d3e392a13a0: Layer already exists 04:11:12 latest: digest: sha256:a4b2445c1d887db44181514873cc57625506b1c0f35873ec679c73c2b63187b3 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:12 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:13 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.24 04:11:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:13 b1b1c4cc997d: Preparing 04:11:13 6f886bf026ea: Preparing 04:11:13 4b54e3049181: Preparing 04:11:13 dfbdf4563d37: Preparing 04:11:13 5e29136dc6fe: Preparing 04:11:13 5d3e392a13a0: Preparing 04:11:13 5d3e392a13a0: Waiting 04:11:13 4b54e3049181: Layer already exists 04:11:13 b1b1c4cc997d: Layer already exists 04:11:13 dfbdf4563d37: Layer already exists 04:11:13 5e29136dc6fe: Layer already exists 04:11:13 6f886bf026ea: Layer already exists 04:11:13 5d3e392a13a0: Layer already exists 04:11:13 2.3.0-dev.24: digest: sha256:a4b2445c1d887db44181514873cc57625506b1c0f35873ec679c73c2b63187b3 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:13 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:14 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24 04:11:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:14 b1b1c4cc997d: Preparing 04:11:14 6f886bf026ea: Preparing 04:11:14 4b54e3049181: Preparing 04:11:14 dfbdf4563d37: Preparing 04:11:14 5e29136dc6fe: Preparing 04:11:14 5d3e392a13a0: Preparing 04:11:14 5d3e392a13a0: Waiting 04:11:14 6f886bf026ea: Layer already exists 04:11:14 dfbdf4563d37: Layer already exists 04:11:14 5e29136dc6fe: Layer already exists 04:11:14 4b54e3049181: Layer already exists 04:11:14 b1b1c4cc997d: Layer already exists 04:11:14 5d3e392a13a0: Layer already exists 04:11:14 2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24: digest: sha256:a4b2445c1d887db44181514873cc57625506b1c0f35873ec679c73c2b63187b3 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:14 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:15 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 04:11:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 04:11:15 b1b1c4cc997d: Preparing 04:11:15 6f886bf026ea: Preparing 04:11:15 4b54e3049181: Preparing 04:11:15 dfbdf4563d37: Preparing 04:11:15 5e29136dc6fe: Preparing 04:11:15 5d3e392a13a0: Preparing 04:11:15 5d3e392a13a0: Waiting 04:11:15 4b54e3049181: Layer already exists 04:11:15 5e29136dc6fe: Layer already exists 04:11:15 b1b1c4cc997d: Layer already exists 04:11:15 dfbdf4563d37: Layer already exists 04:11:15 6f886bf026ea: Layer already exists 04:11:15 5d3e392a13a0: Layer already exists 04:11:15 main: digest: sha256:a4b2445c1d887db44181514873cc57625506b1c0f35873ec679c73c2b63187b3 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:11:15 ===================================================== [Pipeline] echo 04:11:15 taggedImages: 04:11:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2ecf0fc734cc14a642189e470a894444964f864e 04:11:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 04:11:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.24 04:11:15 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2ecf0fc734cc14a642189e470a894444964f864e-2.3.0-dev.24 04:11:15 - 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 04:11:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:15 04:11:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:16 arm64: Pulling from edgex-lftools-log-publisher 04:11:16 8998bd30e6a1: Pulling fs layer 04:11:16 04944245beec: Pulling fs layer 04:11:16 699f458cf7ca: Pulling fs layer 04:11:16 765212b225bb: Pulling fs layer 04:11:16 f23df028b6ca: Pulling fs layer 04:11:16 d65c8cfc05b1: Pulling fs layer 04:11:16 2437ff75d9bd: Pulling fs layer 04:11:16 f23df028b6ca: Waiting 04:11:16 765212b225bb: Waiting 04:11:16 d65c8cfc05b1: Waiting 04:11:16 2437ff75d9bd: Waiting 04:11:16 04944245beec: Verifying Checksum 04:11:16 04944245beec: Download complete 04:11:16 765212b225bb: Verifying Checksum 04:11:16 765212b225bb: Download complete 04:11:16 f23df028b6ca: Verifying Checksum 04:11:16 f23df028b6ca: Download complete 04:11:16 d65c8cfc05b1: Verifying Checksum 04:11:16 d65c8cfc05b1: Download complete 04:11:16 699f458cf7ca: Verifying Checksum 04:11:16 699f458cf7ca: Download complete 04:11:17 8998bd30e6a1: Verifying Checksum 04:11:17 8998bd30e6a1: Download complete 04:11:19 2437ff75d9bd: Verifying Checksum 04:11:19 2437ff75d9bd: Download complete 04:11:21 8998bd30e6a1: Pull complete 04:11:21 04944245beec: Pull complete 04:11:23 699f458cf7ca: Pull complete 04:11:23 765212b225bb: Pull complete 04:11:24 f23df028b6ca: Pull complete 04:11:24 d65c8cfc05b1: Pull complete 04:11:39 2437ff75d9bd: Pull complete 04:11:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:11:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:11:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:39 prd-ubuntu20.04-docker-arm64-4c-16g-7721 does not seem to be running inside a container 04:11:39 $ 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/60 -v /w/workspace/device-virtual-go/60:/w/workspace/device-virtual-go/60:rw,z -v /w/workspace/device-virtual-go/60@tmp:/w/workspace/device-virtual-go/60@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 04:11:42 $ docker top 80f6ccbb5d7a69bdd7671708e8994adf9b9dce0bc5b31ee8f7f2bfe811043ad8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:43 ---> job-cost.sh 04:11:43 lf-activate-venv: SKIPPING 04:11:43 INFO: No Stack... 04:11:43 INFO: Retrieving Pricing Info for: v3-standard-4 04:11:44 INFO: Archiving Costs [Pipeline] sh 04:11:44 + cut -d, -f6 04:11:44 + cat /w/workspace/device-virtual-go/60/archives/cost.csv [Pipeline] lock 04:11:45 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-60-stack-cost] 04:11:45 Resource [jenkins-edgexfoundry-device-virtual-go-main-60-stack-cost] did not exist. Created. 04:11:45 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:11:45 /w/workspace/device-virtual-go/60@tmp/durable-a79488ab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:11:46 + echo total: 0.10999999940395355 [Pipeline] stash 04:11:46 Warning: overwriting stash ‘stack-cost’ 04:11:46 Stashed 1 file(s) [Pipeline] } 04:11:46 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-60-stack-cost] [Pipeline] // lock [Pipeline] } 04:11:46 $ docker stop --time=1 80f6ccbb5d7a69bdd7671708e8994adf9b9dce0bc5b31ee8f7f2bfe811043ad8 04:11:48 $ docker rm -f 80f6ccbb5d7a69bdd7671708e8994adf9b9dce0bc5b31ee8f7f2bfe811043ad8 [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 04:11:48 provisioning config files... 04:11:48 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11631703077821652328tmp [Pipeline] { [Pipeline] sh 04:11:48 + set +x 04:11:48 + + curl -s https://codecov.io/bash 04:11:48 bash -s -- 04:11:48 04:11:48 _____ _ 04:11:48 / ____| | | 04:11:48 | | ___ __| | ___ ___ _____ __ 04:11:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:11:48 | |___| (_) | (_| | __/ (_| (_) \ V / 04:11:48 \_____\___/ \__,_|\___|\___\___/ \_/ 04:11:48 Bash-1.0.6 04:11:48 04:11:48 04:11:48 ==> git version 2.25.1 found 04:11:48 ==> 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 04:11:48 Release-Date: 2020-01-08 04:11:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:11:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:11:48 ==> Jenkins CI detected. 04:11:48 current dir:  /w/workspace/exfoundry_device-virtual-go_main 04:11:48 project root: . 04:11:48 --> token set from env 04:11:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:11:48 ==> Running gcov in . (disable via -X gcov) 04:11:48 ==> Python coveragepy not found 04:11:48 ==> Searching for coverage reports in: 04:11:48 + . 04:11:48 -> Found 1 reports 04:11:48 ==> Detecting git/mercurial file structure 04:11:48 ==> Reading reports 04:11:48 + ./coverage.out bytes=44128 04:11:48 ==> Appending adjustments 04:11:48 https://docs.codecov.io/docs/fixing-reports 04:11:48 + Found adjustments 04:11:48 ==> Gzipping contents 04:11:48 8.0K /tmp/codecov.AbSn8J.gz 04:11:48 ==> Uploading reports 04:11:48 url: https://codecov.io 04:11:48 query: branch=main&commit=2ecf0fc734cc14a642189e470a894444964f864e&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:11:48 -> Pinging Codecov 04:11:48 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=2ecf0fc734cc14a642189e470a894444964f864e&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:11:49 -> Uploading to 04:11:49 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/5E52B4B073DB2E39498172D8E973AA87/2ecf0fc734cc14a642189e470a894444964f864e/704e535d-02dc-484d-bbbe-d94006ec6cf4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T041149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9bad42304be65ad994c317be3424c650f5e279924bafd0c1b1c1493b149abba 04:11:49 % Total % Received % Xferd Average Speed Time Time Time Current 04:11:49 Dload Upload Total Spent Left Speed 04:11:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5482 0 0 100 5482 0 23130 --:--:-- --:--:-- --:--:-- 23130 04:11:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2ecf0fc734cc14a642189e470a894444964f864e [Pipeline] } 04:11:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:11:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:11:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:11:49 04:11:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:11:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:11:50 df9b9388f04a: Pulling fs layer 04:11:50 52dc419b0ee2: Pulling fs layer 04:11:50 25bc292e5bac: Pulling fs layer 04:11:50 114826534d7a: Pulling fs layer 04:11:50 4657fd5d0bcf: Pulling fs layer 04:11:50 6ad1cebc031e: Pulling fs layer 04:11:50 8a3aa393b2d8: Pulling fs layer 04:11:50 114826534d7a: Waiting 04:11:50 4657fd5d0bcf: Waiting 04:11:50 6ad1cebc031e: Waiting 04:11:50 8a3aa393b2d8: Waiting 04:11:50 25bc292e5bac: Verifying Checksum 04:11:50 25bc292e5bac: Download complete 04:11:50 52dc419b0ee2: Verifying Checksum 04:11:50 52dc419b0ee2: Download complete 04:11:50 4657fd5d0bcf: Verifying Checksum 04:11:50 4657fd5d0bcf: Download complete 04:11:50 df9b9388f04a: Verifying Checksum 04:11:50 df9b9388f04a: Download complete 04:11:50 df9b9388f04a: Pull complete 04:11:50 6ad1cebc031e: Verifying Checksum 04:11:50 6ad1cebc031e: Download complete 04:11:50 52dc419b0ee2: Pull complete 04:11:50 25bc292e5bac: Pull complete 04:11:50 114826534d7a: Verifying Checksum 04:11:50 114826534d7a: Download complete 04:11:50 8a3aa393b2d8: Download complete 04:11:54 114826534d7a: Pull complete 04:11:54 4657fd5d0bcf: Pull complete 04:11:54 6ad1cebc031e: Pull complete 04:11:56 8a3aa393b2d8: Pull complete 04:11:56 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:11:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:56 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:11:56 $ 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 04:12:01 $ docker top 184b5304973a9e408150a11c37a8d6a3e3d87b9b24e0398383583c779218be25 -eo pid,comm [Pipeline] { [Pipeline] echo 04:12:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 04:12:01 + set -o pipefail 04:12:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 04:12:05 04:12:05 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 04:12:05 04:12:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/13ba39b4-8be7-4c54-918c-d396c5c02d75 04:12:05 04:12:05 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:12:05 04:12:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:12:05 04:12:06 04:12:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:12:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:12:06 More details here: https://snyk.co/ue1NS [Pipeline] } 04:12:06 $ docker stop --time=1 184b5304973a9e408150a11c37a8d6a3e3d87b9b24e0398383583c779218be25 04:12:10 $ docker rm -f 184b5304973a9e408150a11c37a8d6a3e3d87b9b24e0398383583c779218be25 [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 04:12:11 + git log --format=format:%s -1 2ecf0fc734cc14a642189e470a894444964f864e [Pipeline] sh 04:12:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:12:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:12:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:12 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:12:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:12:12 $ docker top cdc891897b421f06d14d577d4a5b720be6a1f69899356b83849d6c930796e280 -eo pid,comm 04:12:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:12:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:12 [ssh-agent] Looking for ssh-agent implementation... 04:12:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:12 $ docker exec cdc891897b421f06d14d577d4a5b720be6a1f69899356b83849d6c930796e280 ssh-agent 04:12:13 SSH_AUTH_SOCK=/tmp/ssh-KSc5m947bb5G/agent.31 04:12:13 SSH_AGENT_PID=38 04:12:13 Running ssh-add (command line suppressed) 04:12:13 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13755594233239816266.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_13755594233239816266.key) 04:12:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:13 + git semver tag 04:12:13 2022-10-12 04:12:13,596 [run_tag] DEBUG tag force:False 04:12:13 2022-10-12 04:12:13,597 [check_head_tag] DEBUG check head tag 04:12:13 2022-10-12 04:12:13,597 [execute] INFO git cat-file --batch-check 04:12:13 2022-10-12 04:12:13,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:12:13 2022-10-12 04:12:13,601 [execute] INFO git cat-file --batch 04:12:13 2022-10-12 04:12:13,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 04:12:13 2022-10-12 04:12:13,614 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:13 2022-10-12 04:12:13,615 [execute] INFO git tag -a v2.3.0-dev.24 -m v2.3.0-dev.24 04:12:13 2022-10-12 04:12:13,615 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.24', '-m', 'v2.3.0-dev.24'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 04:12:13 2022-10-12 04:12:13,619 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:13 2.3.0-dev.24 [Pipeline] } 04:12:13 $ docker exec --env ******** --env ******** cdc891897b421f06d14d577d4a5b720be6a1f69899356b83849d6c930796e280 ssh-agent -k 04:12:13 unset SSH_AUTH_SOCK; 04:12:13 unset SSH_AGENT_PID; 04:12:13 echo Agent pid 38 killed; 04:12:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:14 + git semver [Pipeline] } 04:12:14 $ docker stop --time=1 cdc891897b421f06d14d577d4a5b720be6a1f69899356b83849d6c930796e280 04:12:15 $ docker rm -f cdc891897b421f06d14d577d4a5b720be6a1f69899356b83849d6c930796e280 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:12:16 04:12:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:12:16 0.23.1-centos7: Pulling from edgex-lftools 04:12:16 ab5ef0e58194: Pulling fs layer 04:12:16 9712f1f96733: Pulling fs layer 04:12:16 63f879dbbcfc: Pulling fs layer 04:12:16 0d9ebad4ef96: Pulling fs layer 04:12:16 e9a5061849ea: Pulling fs layer 04:12:16 d747dcd14b5f: Pulling fs layer 04:12:16 2de7ff778b66: Pulling fs layer 04:12:16 d747dcd14b5f: Waiting 04:12:16 0d9ebad4ef96: Waiting 04:12:16 e9a5061849ea: Waiting 04:12:16 2de7ff778b66: Waiting 04:12:16 9712f1f96733: Verifying Checksum 04:12:16 9712f1f96733: Download complete 04:12:16 63f879dbbcfc: Verifying Checksum 04:12:16 63f879dbbcfc: Download complete 04:12:16 e9a5061849ea: Verifying Checksum 04:12:16 e9a5061849ea: Download complete 04:12:16 d747dcd14b5f: Verifying Checksum 04:12:16 d747dcd14b5f: Download complete 04:12:16 ab5ef0e58194: Verifying Checksum 04:12:16 ab5ef0e58194: Download complete 04:12:16 0d9ebad4ef96: Verifying Checksum 04:12:16 0d9ebad4ef96: Download complete 04:12:17 2de7ff778b66: Verifying Checksum 04:12:17 2de7ff778b66: Download complete 04:12:19 ab5ef0e58194: Pull complete 04:12:19 9712f1f96733: Pull complete 04:12:19 63f879dbbcfc: Pull complete 04:12:24 0d9ebad4ef96: Pull complete 04:12:24 e9a5061849ea: Pull complete 04:12:24 d747dcd14b5f: Pull complete 04:12:24 2de7ff778b66: Pull complete 04:12:24 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:12:24 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:24 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:12:24 $ 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 04:12:29 $ docker top 99292a285377d52d4b1d015c7ac52594e876bb91256d898f3788a4bfb1a5081b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:12:29 provisioning config files... 04:12:29 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2076693756448504494tmp 04:12:29 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9146522241743251247tmp 04:12:29 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5483191575730167577tmp [Pipeline] { [Pipeline] echo 04:12:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:12:30 ---> sigul-configuration.sh 04:12:30 gpg: directory `/root/.gnupg' created 04:12:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:12:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:12:30 gpg: keyring `/root/.gnupg/secring.gpg' created 04:12:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:12:30 gpg: CAST5 encrypted data 04:12:30 gpg: encrypted with 1 passphrase 04:12:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:12:30 + mkdir /home/jenkins 04:12:30 + mkdir /home/jenkins/sigul [Pipeline] sh 04:12:30 + 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 04:12:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:12:31 ---> sigul-install.sh 04:12:31 Sigul already installed; skipping installation. [Pipeline] sh 04:12:31 + git tag --list 04:12:31 v1.0.0 04:12:31 v1.1.0 04:12:31 v1.1.1 04:12:31 v1.2.1 04:12:31 v1.2.2 04:12:31 v1.2.3 04:12:31 v1.3.0 04:12:31 v1.3.1 04:12:31 v2.0.0 04:12:31 v2.1.0 04:12:31 v2.1.1 04:12:31 v2.1.1-dev.1 04:12:31 v2.1.1-dev.2 04:12:31 v2.2.0 04:12:31 v2.2.1-dev.1 04:12:31 v2.2.1-dev.2 04:12:31 v2.2.1-dev.3 04:12:31 v2.2.1-dev.4 04:12:31 v2.2.1-dev.5 04:12:31 v2.2.1-dev.6 04:12:31 v2.2.1-dev.7 04:12:31 v2.2.1-dev.8 04:12:31 v2.3.0-dev.10 04:12:31 v2.3.0-dev.11 04:12:31 v2.3.0-dev.12 04:12:31 v2.3.0-dev.13 04:12:31 v2.3.0-dev.14 04:12:31 v2.3.0-dev.15 04:12:31 v2.3.0-dev.16 04:12:31 v2.3.0-dev.17 04:12:31 v2.3.0-dev.18 04:12:31 v2.3.0-dev.19 04:12:31 v2.3.0-dev.20 04:12:31 v2.3.0-dev.21 04:12:31 v2.3.0-dev.22 04:12:31 v2.3.0-dev.23 04:12:31 v2.3.0-dev.24 04:12:31 v2.3.0-dev.8 04:12:31 v2.3.0-dev.9 [Pipeline] sh 04:12:31 + lftools sign git-tag v2.3.0-dev.24 04:12:32 Signing Git tag with Sigul... 04:12:32 Signing v2.3.0-dev.24 [Pipeline] echo 04:12:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:12:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:12:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:12:32 $ docker stop --time=1 99292a285377d52d4b1d015c7ac52594e876bb91256d898f3788a4bfb1a5081b 04:12:34 $ docker rm -f 99292a285377d52d4b1d015c7ac52594e876bb91256d898f3788a4bfb1a5081b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:12:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:12:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:12:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:34 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:12:34 $ 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 04:12:35 $ docker top 9e4b5fc4853673c5cf6851d483b888cf4423f262f89f637f9900af59e5e7b9f6 -eo pid,comm 04:12:35 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). 04:12:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:35 [ssh-agent] Looking for ssh-agent implementation... 04:12:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:35 $ docker exec 9e4b5fc4853673c5cf6851d483b888cf4423f262f89f637f9900af59e5e7b9f6 ssh-agent 04:12:35 SSH_AUTH_SOCK=/tmp/ssh-GrhOIgW55vR1/agent.33 04:12:35 SSH_AGENT_PID=40 04:12:35 Running ssh-add (command line suppressed) 04:12:35 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9712427085714886506.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9712427085714886506.key) 04:12:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:35 + git semver bump pre 04:12:36 2022-10-12 04:12:36,009 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:36 2022-10-12 04:12:36,009 [bump_version] DEBUG bumping version:2.3.0-dev.24 on axis:pre with prefix:dev 04:12:36 2022-10-12 04:12:36,009 [bump_version] DEBUG bumped version:2.3.0-dev.25 04:12:36 2022-10-12 04:12:36,009 [write_version] DEBUG write version:2.3.0-dev.25 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 04:12:36 2022-10-12 04:12:36,009 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:36 2022-10-12 04:12:36,009 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:36 2022-10-12 04:12:36,012 [execute] INFO git cat-file --batch-check 04:12:36 2022-10-12 04:12:36,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:12:36 2022-10-12 04:12:36,017 [execute] INFO git cat-file --batch 04:12:36 2022-10-12 04:12:36,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:12:36 2022-10-12 04:12:36,022 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:36 2.3.0-dev.25 [Pipeline] } 04:12:36 $ docker exec --env ******** --env ******** 9e4b5fc4853673c5cf6851d483b888cf4423f262f89f637f9900af59e5e7b9f6 ssh-agent -k 04:12:36 unset SSH_AUTH_SOCK; 04:12:36 unset SSH_AGENT_PID; 04:12:36 echo Agent pid 40 killed; 04:12:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:36 + git semver [Pipeline] } 04:12:36 $ docker stop --time=1 9e4b5fc4853673c5cf6851d483b888cf4423f262f89f637f9900af59e5e7b9f6 04:12:38 $ docker rm -f 9e4b5fc4853673c5cf6851d483b888cf4423f262f89f637f9900af59e5e7b9f6 [Pipeline] // withDockerContainer [Pipeline] sh 04:12:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:12:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:12:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:38 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:12:38 $ 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 04:12:39 $ docker top 21c4a1f613062e91eea242761816c29dd3eed449d8eb4162e94dcf66b21a4ff1 -eo pid,comm 04:12: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). 04:12:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:39 [ssh-agent] Looking for ssh-agent implementation... 04:12:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:39 $ docker exec 21c4a1f613062e91eea242761816c29dd3eed449d8eb4162e94dcf66b21a4ff1 ssh-agent 04:12:39 SSH_AUTH_SOCK=/tmp/ssh-J9XmprOts4TU/agent.32 04:12:39 SSH_AGENT_PID=38 04:12:39 Running ssh-add (command line suppressed) 04:12:39 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_130777191816930045.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_130777191816930045.key) 04:12:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:39 + git semver push 04:12:40 2022-10-12 04:12:39,955 [run_push] DEBUG push 04:12:40 2022-10-12 04:12:39,956 [execute] INFO git cat-file --batch-check 04:12:40 2022-10-12 04:12:39,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:12:40 2022-10-12 04:12:39,961 [execute] INFO git rev-list 8a52f456e9e0d13f394d62304fea7a3a02ea0aa7 -- 04:12:40 2022-10-12 04:12:39,961 [execute] DEBUG Popen(['git', 'rev-list', '8a52f456e9e0d13f394d62304fea7a3a02ea0aa7', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:12:40 2022-10-12 04:12:39,969 [execute] INFO git fetch -v origin 04:12:40 2022-10-12 04:12:39,970 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:12:40 2022-10-12 04:12:40,574 [run_push] DEBUG no remote changes detected 04:12:40 2022-10-12 04:12:40,575 [execute] INFO git push origin semver 04:12:40 2022-10-12 04:12:40,575 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:12:41 2022-10-12 04:12:41,481 [run_push] DEBUG push all version tags 04:12:41 2022-10-12 04:12:41,481 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:12:41 2022-10-12 04:12:41,481 [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) 04:12:42 2022-10-12 04:12:42,395 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 04:12:42 2.3.0-dev.25 [Pipeline] } 04:12:42 $ docker exec --env ******** --env ******** 21c4a1f613062e91eea242761816c29dd3eed449d8eb4162e94dcf66b21a4ff1 ssh-agent -k 04:12:42 unset SSH_AUTH_SOCK; 04:12:42 unset SSH_AGENT_PID; 04:12:42 echo Agent pid 38 killed; 04:12:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:42 + git semver [Pipeline] } 04:12:43 $ docker stop --time=1 21c4a1f613062e91eea242761816c29dd3eed449d8eb4162e94dcf66b21a4ff1 04:12:44 $ docker rm -f 21c4a1f613062e91eea242761816c29dd3eed449d8eb4162e94dcf66b21a4ff1 [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 04:12:44 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 04:12:44 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:12:44 total 16 04:12:44 drwxr-xr-x 3 root root 4096 Oct 12 04:02 . 04:12:44 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 04:12 .. 04:12:44 drwxr-xr-x 2 root root 4096 Oct 12 04:02 cost 04:12:44 -rw-r--r-- 1 root root 88 Oct 12 04:02 cost.csv 04:12:44 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 04:12:44 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 04:12:44 total 16 04:12:44 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 04:02 . 04:12:44 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 04:12 .. 04:12:44 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 04:02 cost 04:12:44 -rw-r--r-- 1 jenkins jenkins 88 Oct 12 04:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:12:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:12:46 ---> package-listing.sh 04:12:46 ++ facter osfamily 04:12:46 ++ tr '[:upper:]' '[:lower:]' 04:12:46 + OS_FAMILY=debian 04:12:46 + workspace=/w/workspace/exfoundry_device-virtual-go_main 04:12:46 + START_PACKAGES=/tmp/packages_start.txt 04:12:46 + END_PACKAGES=/tmp/packages_end.txt 04:12:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:12:46 + PACKAGES=/tmp/packages_start.txt 04:12:46 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:12:46 + PACKAGES=/tmp/packages_end.txt 04:12:46 + case "${OS_FAMILY}" in 04:12:46 + dpkg -l 04:12:46 + grep '^ii' 04:12:46 + '[' -f /tmp/packages_start.txt ']' 04:12:46 + '[' -f /tmp/packages_end.txt ']' 04:12:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:12:46 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 04:12:46 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 04:12:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 04:12:46 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 04:12:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:47 prd-ubuntu20.04-docker-8c-8g-7719 does not seem to be running inside a container 04:12:47 $ 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 04:12:47 $ docker top 25ea4bc1eef07afe9a40722be6b244ddd4bde011b5b2df6e67a3ef1885f1643d -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:48 + touch /tmp/pre-build-complete [Pipeline] sh 04:12:48 + mkdir -p /var/log/sysstat [Pipeline] sh 04:12:48 + ls /var/log/sa-host 04:12:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:48 provisioning config files... 04:12:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6818601690205184136tmp [Pipeline] { [Pipeline] echo 04:12:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:12:48 ---> create-netrc.sh [Pipeline] } 04:12:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:12:49 ---> python-tools-install.sh [Pipeline] echo 04:12:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:12:49 ---> sudo-logs.sh 04:12:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:12:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:12:49 ---> job-cost.sh 04:12:49 lf-activate-venv: SKIPPING 04:12:49 DEBUG: total: 0.2199999988079071 04:12:49 INFO: Retrieving Stack Cost... 04:12:50 INFO: Retrieving Pricing Info for: v3-standard-8 04:12:50 INFO: Archiving Costs [Pipeline] echo 04:12:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:12:51 ---> logs-deploy.sh 04:12:51 lf-activate-venv: SKIPPING 04:12:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/60 04:12:51 INFO: archiving workspace using pattern(s): 04:12:51 Archives upload complete. 04:12:51 INFO: archiving logs to Nexus