Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e9e78a70a342ea66ab18edf5d69a1655646d3b52 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-ssh6052960402418652264.key > 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-ssh18421753348784205376.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 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-ssh12645585228936452316.key > 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-ssh15751366848040325468.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh858745221700273695.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-29310 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e9e78a70a342ea66ab18edf5d69a1655646d3b52 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#304)" > git rev-list --no-walk 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:01:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:01:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:01:47 ========================================================= 22:01:47 EdgeX Global Pipelines Version Info 22:01:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:01:48 ------------------- 22:01:48 stable info: 22:01:48 ------------------- 22:01:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:01:48 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:01:48 Message: update stable to v1.0.239 22:01:49 ------------------- 22:01:49 experimental info: 22:01:49 ------------------- 22:01:49 Commited By: **** collab-it+edgex@linuxfoundation.org 22:01:49 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:01:49 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9e78a70a342ea66ab18edf5d69a1655646d3b52 [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e9e78a7 [Pipeline] echo 22:01:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:01:49 provisioning config files... 22:01:49 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5534564645507046327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:01:50 ---> docker-login.sh 22:01:50 nexus3.edgexfoundry.org:10001 22:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:50 Configure a credential helper to remove this warning. See 22:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:50 22:01:50 Login Succeeded 22:01:50 nexus3.edgexfoundry.org:10002 22:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:50 Configure a credential helper to remove this warning. See 22:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:50 22:01:50 Login Succeeded 22:01:50 nexus3.edgexfoundry.org:10003 22:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:50 Configure a credential helper to remove this warning. See 22:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:50 22:01:50 Login Succeeded 22:01:50 nexus3.edgexfoundry.org:10004 22:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:50 Configure a credential helper to remove this warning. See 22:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:50 22:01:50 Login Succeeded 22:01:50 docker.io 22:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:01:51 Configure a credential helper to remove this warning. See 22:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:01:51 22:01:51 Login Succeeded 22:01:51 ---> docker-login.sh ends [Pipeline] } 22:01:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:01:51 + git rev-list -1 --merges e9e78a70a342ea66ab18edf5d69a1655646d3b52~1..e9e78a70a342ea66ab18edf5d69a1655646d3b52 [Pipeline] echo 22:01:51 -----------> git rev-list -1 --merges e9e78a70a342ea66ab18edf5d69a1655646d3b52~1..e9e78a70a342ea66ab18edf5d69a1655646d3b52 e9e78a70a342ea66ab18edf5d69a1655646d3b52 [false] [Pipeline] sh 22:01:52 + git log --format=format:%s -1 e9e78a70a342ea66ab18edf5d69a1655646d3b52 [Pipeline] echo 22:01:52 ========================================================= 22:01:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:01:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:01:52 + git log --format=format:%s -1 e9e78a70a342ea66ab18edf5d69a1655646d3b52 [Pipeline] echo 22:01:52 [semverPrep] GIT_COMMIT: e9e78a70a342ea66ab18edf5d69a1655646d3b52, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#304) [Pipeline] echo 22:01:52 [semverPrep] This is not a build commit. [Pipeline] sh 22:01:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:01:52 + grep -v github /etc/ssh/ssh_known_hosts 22:01:52 + [ -e /tmp/ssh_known_hosts ] 22:01:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:01:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:01:52 + sudo tee -a /etc/ssh/ssh_known_hosts 22:01:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:53 22:01:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:01:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:53 0.1.4: Pulling from edgex-devops/py-git-semver 22:01:53 b85a868b505f: Pulling fs layer 22:01:53 e2be974225ed: Pulling fs layer 22:01:53 339a4e72a1f5: Pulling fs layer 22:01:53 988bab9f4d93: Pulling fs layer 22:01:53 1469e6f7b9e6: Pulling fs layer 22:01:53 eaf3925da568: Pulling fs layer 22:01:53 bab4dde63d76: Pulling fs layer 22:01:53 bde34c3a00c8: Pulling fs layer 22:01:53 b352a97aabf1: Pulling fs layer 22:01:53 4872d77fe225: Pulling fs layer 22:01:53 5851b861e8e6: Pulling fs layer 22:01:53 bab4dde63d76: Waiting 22:01:53 988bab9f4d93: Waiting 22:01:53 1469e6f7b9e6: Waiting 22:01:53 b352a97aabf1: Waiting 22:01:53 eaf3925da568: Waiting 22:01:53 4872d77fe225: Waiting 22:01:53 5851b861e8e6: Waiting 22:01:53 e2be974225ed: Verifying Checksum 22:01:53 e2be974225ed: Download complete 22:01:53 988bab9f4d93: Download complete 22:01:53 339a4e72a1f5: Verifying Checksum 22:01:53 339a4e72a1f5: Download complete 22:01:53 1469e6f7b9e6: Verifying Checksum 22:01:53 1469e6f7b9e6: Download complete 22:01:53 eaf3925da568: Verifying Checksum 22:01:53 eaf3925da568: Download complete 22:01:53 bde34c3a00c8: Verifying Checksum 22:01:53 bde34c3a00c8: Download complete 22:01:53 b352a97aabf1: Verifying Checksum 22:01:53 b352a97aabf1: Download complete 22:01:53 4872d77fe225: Verifying Checksum 22:01:53 4872d77fe225: Download complete 22:01:53 5851b861e8e6: Verifying Checksum 22:01:53 5851b861e8e6: Download complete 22:01:53 b85a868b505f: Verifying Checksum 22:01:53 b85a868b505f: Download complete 22:01:54 bab4dde63d76: Verifying Checksum 22:01:54 bab4dde63d76: Download complete 22:01:55 b85a868b505f: Pull complete 22:01:55 e2be974225ed: Pull complete 22:01:55 339a4e72a1f5: Pull complete 22:01:56 988bab9f4d93: Pull complete 22:01:56 1469e6f7b9e6: Pull complete 22:01:56 eaf3925da568: Pull complete 22:01:58 bab4dde63d76: Pull complete 22:01:58 bde34c3a00c8: Pull complete 22:01:58 b352a97aabf1: Pull complete 22:01:58 4872d77fe225: Pull complete 22:01:58 5851b861e8e6: Pull complete 22:01:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:01:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:01:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:01:59 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:01:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:02:00 $ docker top 55a4fbfdde81201640092eafbe3496b875672414ba56ae9b0756729e8df6b121 -eo pid,comm 22:02:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:02:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:02:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:00 [ssh-agent] Looking for ssh-agent implementation... 22:02:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:00 $ docker exec 55a4fbfdde81201640092eafbe3496b875672414ba56ae9b0756729e8df6b121 ssh-agent 22:02:00 SSH_AUTH_SOCK=/tmp/ssh-c0EUzzSJvlG1/agent.32 22:02:00 SSH_AGENT_PID=38 22:02:00 Running ssh-add (command line suppressed) 22:02:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8948219014755257858.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8948219014755257858.key) 22:02:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:01 + git tag --points-at HEAD [Pipeline] } 22:02:01 $ docker exec --env ******** --env ******** 55a4fbfdde81201640092eafbe3496b875672414ba56ae9b0756729e8df6b121 ssh-agent -k 22:02:01 unset SSH_AUTH_SOCK; 22:02:01 unset SSH_AGENT_PID; 22:02:01 echo Agent pid 38 killed; 22:02:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:02:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:02:01 [ssh-agent] Looking for ssh-agent implementation... 22:02:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:02:01 $ docker exec 55a4fbfdde81201640092eafbe3496b875672414ba56ae9b0756729e8df6b121 ssh-agent 22:02:01 SSH_AUTH_SOCK=/tmp/ssh-RCOus72aTWns/agent.70 22:02:01 SSH_AGENT_PID=77 22:02:01 Running ssh-add (command line suppressed) 22:02:01 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_911528159104610142.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_911528159104610142.key) 22:02:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:02:02 + git semver init 22:02:02 2022-09-15 22:02:02,220 [run_init] DEBUG init version:0.0.0 force:False 22:02:02 2022-09-15 22:02:02,220 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 22:02:02 2022-09-15 22:02:02,221 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 22:02:02 2022-09-15 22:02:02,221 [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) 22:02:03 2022-09-15 22:02:03,343 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 22:02:03 2022-09-15 22:02:03,344 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 22:02:03 2022-09-15 22:02:03,344 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:02:03 2022-09-15 22:02:03,344 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:02:03 2.3.0-dev.16 [Pipeline] } 22:02:03 $ docker exec --env ******** --env ******** 55a4fbfdde81201640092eafbe3496b875672414ba56ae9b0756729e8df6b121 ssh-agent -k 22:02:03 unset SSH_AUTH_SOCK; 22:02:03 unset SSH_AGENT_PID; 22:02:03 echo Agent pid 77 killed; 22:02:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:02:04 + git semver [Pipeline] } 22:02:04 $ docker stop --time=1 55a4fbfdde81201640092eafbe3496b875672414ba56ae9b0756729e8df6b121 22:02:05 $ docker rm -f 55a4fbfdde81201640092eafbe3496b875672414ba56ae9b0756729e8df6b121 [Pipeline] // withDockerContainer [Pipeline] sh 22:02:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:02:06 Stashed 1 file(s) [Pipeline] echo 22:02:06 [edgeXSemver]: initialized semver on version 2.3.0-dev.16 [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 22:02:06 provisioning config files... 22:02:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2658590987964298487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:02:06 ---> docker-login.sh 22:02:06 nexus3.edgexfoundry.org:10001 22:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:06 Configure a credential helper to remove this warning. See 22:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:06 22:02:06 Login Succeeded 22:02:06 nexus3.edgexfoundry.org:10002 22:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:06 Configure a credential helper to remove this warning. See 22:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:06 22:02:06 Login Succeeded 22:02:06 nexus3.edgexfoundry.org:10003 22:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:06 Configure a credential helper to remove this warning. See 22:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:06 22:02:06 Login Succeeded 22:02:06 nexus3.edgexfoundry.org:10004 22:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:07 Configure a credential helper to remove this warning. See 22:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:07 22:02:07 Login Succeeded 22:02:07 docker.io 22:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:02:07 Configure a credential helper to remove this warning. See 22:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:02:07 22:02:07 Login Succeeded 22:02:07 ---> docker-login.sh ends [Pipeline] } 22:02:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:02:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:02:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:02:07 ========================================================= 22:02:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:02:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:02:08 Sending build context to Docker daemon 23.12MB 22:02:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:02:08 Step 2/13 : FROM ${BASE} AS builder 22:02:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:02:08 2408cc74d12b: Pulling fs layer 22:02:08 ea60b727a1ce: Pulling fs layer 22:02:08 30c4a7721957: Pulling fs layer 22:02:08 370296b7ddb6: Pulling fs layer 22:02:08 7c6cee850709: Pulling fs layer 22:02:08 39a5fcdaea64: Pulling fs layer 22:02:08 d94ebbe4e438: Pulling fs layer 22:02:08 bcfd1f05c69d: Pulling fs layer 22:02:08 59ccb84bbe0f: Pulling fs layer 22:02:08 370296b7ddb6: Waiting 22:02:08 7c6cee850709: Waiting 22:02:08 d94ebbe4e438: Waiting 22:02:08 39a5fcdaea64: Waiting 22:02:08 59ccb84bbe0f: Waiting 22:02:08 bcfd1f05c69d: Waiting 22:02:08 30c4a7721957: Verifying Checksum 22:02:08 30c4a7721957: Download complete 22:02:08 ea60b727a1ce: Verifying Checksum 22:02:08 ea60b727a1ce: Download complete 22:02:08 7c6cee850709: Verifying Checksum 22:02:08 7c6cee850709: Download complete 22:02:08 39a5fcdaea64: Verifying Checksum 22:02:08 39a5fcdaea64: Download complete 22:02:08 2408cc74d12b: Verifying Checksum 22:02:08 2408cc74d12b: Download complete 22:02:08 d94ebbe4e438: Verifying Checksum 22:02:08 d94ebbe4e438: Download complete 22:02:08 2408cc74d12b: Pull complete 22:02:08 ea60b727a1ce: Pull complete 22:02:08 30c4a7721957: Pull complete 22:02:09 59ccb84bbe0f: Verifying Checksum 22:02:09 59ccb84bbe0f: Download complete 22:02:09 bcfd1f05c69d: Verifying Checksum 22:02:09 bcfd1f05c69d: Download complete 22:02:09 370296b7ddb6: Verifying Checksum 22:02:09 370296b7ddb6: Download complete 22:02:13 370296b7ddb6: Pull complete 22:02:13 7c6cee850709: Pull complete 22:02:13 39a5fcdaea64: Pull complete 22:02:13 d94ebbe4e438: Pull complete 22:02:16 bcfd1f05c69d: Pull complete 22:02:16 59ccb84bbe0f: Pull complete 22:02:16 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:02:16 ---> a4fb48ad2a94 22:02:16 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:02:17 ---> Running in 79e839df901f 22:02:17 Removing intermediate container 79e839df901f 22:02:17 ---> eae1f20ca94c 22:02:17 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:02:17 ---> Running in 03b4b35bb1c3 22:02:17 Removing intermediate container 03b4b35bb1c3 22:02:17 ---> 36be5396f91d 22:02:17 Step 5/13 : ARG ADD_BUILD_TAGS="" 22:02:17 ---> Running in 79b2a9ecd584 22:02:18 Removing intermediate container 79b2a9ecd584 22:02:18 ---> ef0288aff730 22:02:18 Step 6/13 : WORKDIR /device-virtual-go 22:02:18 ---> Running in 3c58459f02b7 22:02:18 Removing intermediate container 3c58459f02b7 22:02:18 ---> 4324b1af811f 22:02:18 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:02:18 ---> Running in 2f288e8e1741 22:02:18 Removing intermediate container 2f288e8e1741 22:02:18 ---> 6ab0560b20f9 22:02:18 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:02:18 ---> Running in a21c8a62e5f1 22:02:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:02:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:02:20 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:02:20 (2/4) Installing libedit (20210910.3.1-r0) 22:02:20 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:02:20 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:02:20 Executing busybox-1.35.0-r13.trigger 22:02:20 OK: 216 MiB in 55 packages 22:02:21 Removing intermediate container a21c8a62e5f1 22:02:21 ---> b316dbc42a88 22:02:21 Step 9/13 : COPY go.mod vendor* ./ 22:02:21 ---> 3b57437ac3b0 22:02:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:02:21 ---> Running in 92d6df3a8922 22:02:21 Still waiting to schedule task 22:02:21 ‘prd-ubuntu20.04-docker-arm64-4c-16g-29311’ is offline 22:02:36 Removing intermediate container 92d6df3a8922 22:02:36 ---> 07a6ce436646 22:02:36 Step 11/13 : COPY . . 22:02:36 ---> 4d328f4b84d4 22:02:36 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:02:36 ---> Running in 837ad05422b6 22:02:36 Removing intermediate container 837ad05422b6 22:02:36 ---> 148fcf6cda13 22:02:36 Step 13/13 : RUN $MAKE 22:02:36 ---> Running in a7ff06497e07 22:02:36 noop 22:02:36 Removing intermediate container a7ff06497e07 22:02:36 ---> 75d98b692792 22:02:36 Successfully built 75d98b692792 22:02:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:37 + docker inspect -f . ci-base-image-x86_64 22:02:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:37 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:02:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:02:37 $ docker top 9ef2858d387635e57e6614f4a738e782f3f44f593d9d4abbed50a1fd53f88f7e -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:38 + go version 22:02:38 go version go1.18.3 linux/amd64 [Pipeline] } 22:02:38 $ docker stop --time=1 9ef2858d387635e57e6614f4a738e782f3f44f593d9d4abbed50a1fd53f88f7e 22:02:39 $ docker rm -f 9ef2858d387635e57e6614f4a738e782f3f44f593d9d4abbed50a1fd53f88f7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:02:39 + docker inspect -f . ci-base-image-x86_64 22:02:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:02:40 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:02:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:02:40 $ docker top e8e0981e484f5201a9b0c66ba7228163da18a131670cdc452c583730b36febe8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:02:40 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 22:02:41 + make test 22:02:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:02:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:02:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:02:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 22:02:57 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." 22:02:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:03:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:03:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:03:01 ./bin/test-attribution-txt.sh 22:03:01 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:03:01 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:03:01 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:03:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:03:01 $ docker stop --time=1 e8e0981e484f5201a9b0c66ba7228163da18a131670cdc452c583730b36febe8 22:03:02 $ docker rm -f e8e0981e484f5201a9b0c66ba7228163da18a131670cdc452c583730b36febe8 [Pipeline] // withDockerContainer [Pipeline] sh 22:03:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:03:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:03:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:03:04 + ls -al . 22:03:04 total 192 22:03:04 drwxrwxr-x 9 jenkins jenkins 4096 Sep 15 22:02 . 22:03:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:01 .. 22:03:04 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:02 .git 22:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:01 .github 22:03:04 -rw-rw-r-- 1 jenkins jenkins 337 Sep 15 22:01 .gitignore 22:03:04 -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:01 .golangci.yml 22:03:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:02 .semver 22:03:04 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 15 22:01 Attribution.txt 22:03:04 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 15 22:01 CHANGELOG.md 22:03:04 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 15 22:01 Dockerfile 22:03:04 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:01 GOVERNANCE.md 22:03:04 -rw-rw-r-- 1 jenkins jenkins 660 Sep 15 22:01 Jenkinsfile 22:03:04 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:01 LICENSE 22:03:04 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 15 22:01 Makefile 22:03:04 -rw-rw-r-- 1 jenkins jenkins 623 Sep 15 22:01 OWNERS.md 22:03:04 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 15 22:01 README.md 22:03:04 -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:02 VERSION 22:03:04 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:01 bin 22:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:01 cmd 22:03:04 -rw-r--r-- 1 jenkins jenkins 44128 Sep 15 22:02 coverage.out 22:03:04 -rw-rw-r-- 1 jenkins jenkins 3328 Sep 15 22:01 go.mod 22:03:04 -rw-rw-r-- 1 jenkins jenkins 36202 Sep 15 22:01 go.sum 22:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:01 internal 22:03:04 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:01 snap 22:03:04 -rw-rw-r-- 1 jenkins jenkins 235 Sep 15 22:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:04 + 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=e9e78a70a342ea66ab18edf5d69a1655646d3b52 --label arch=amd64 --label version=2.3.0-dev.16 . 22:03:04 Sending build context to Docker daemon 23.16MB 22:03:04 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:03:04 Step 2/27 : FROM ${BASE} AS builder 22:03:04 ---> 75d98b692792 22:03:04 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:03:04 ---> Running in e12592cdeb9d 22:03:04 Removing intermediate container e12592cdeb9d 22:03:04 ---> 6e55b10ea32a 22:03:04 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:03:04 ---> Running in 861972c340aa 22:03:04 Removing intermediate container 861972c340aa 22:03:04 ---> 3641c4683d8c 22:03:04 Step 5/27 : ARG ADD_BUILD_TAGS="" 22:03:04 ---> Running in b66ad16e4750 22:03:04 Removing intermediate container b66ad16e4750 22:03:04 ---> 1f12c034df83 22:03:04 Step 6/27 : WORKDIR /device-virtual-go 22:03:04 ---> Running in f4faa4c5649c 22:03:04 Removing intermediate container f4faa4c5649c 22:03:04 ---> 6458175e41ca 22:03:04 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:03:04 ---> Running in 4c494a93b98a 22:03:05 Removing intermediate container 4c494a93b98a 22:03:05 ---> 9d2a530569f9 22:03:05 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:03:05 ---> Running in 39e555a2d3b7 22:03:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:03:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:03:06 OK: 216 MiB in 55 packages 22:03:07 Removing intermediate container 39e555a2d3b7 22:03:07 ---> c73943165c3c 22:03:07 Step 9/27 : COPY go.mod vendor* ./ 22:03:07 ---> 39fa5ea7bbb0 22:03:07 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:03:07 ---> Running in ca8c9e70b55b 22:03:08 Removing intermediate container ca8c9e70b55b 22:03:08 ---> cd7808ddf985 22:03:08 Step 11/27 : COPY . . 22:03:08 ---> d93f2ee134c3 22:03:08 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:03:08 ---> Running in dba5b1098bab 22:03:08 Removing intermediate container dba5b1098bab 22:03:08 ---> fd22475f7440 22:03:08 Step 13/27 : RUN $MAKE 22:03:08 ---> Running in 163542a56d1c 22:03:09 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 22:03:27 Removing intermediate container 163542a56d1c 22:03:27 ---> d15f2cfe67c1 22:03:27 Step 14/27 : FROM alpine:3.16 22:03:27 3.16: Pulling from library/alpine 22:03:28 213ec9aee27d: Pulling fs layer 22:03:28 213ec9aee27d: Verifying Checksum 22:03:28 213ec9aee27d: Download complete 22:03:28 213ec9aee27d: Pull complete 22:03:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:03:28 Status: Downloaded newer image for alpine:3.16 22:03:28 ---> 9c6f07244728 22:03:28 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:03:28 ---> Running in 294a17056cb7 22:03:28 Removing intermediate container 294a17056cb7 22:03:28 ---> 1419255a23f0 22:03:28 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:03:28 ---> Running in c203b47010af 22:03:29 Removing intermediate container c203b47010af 22:03:29 ---> 6cc1be2b7fb7 22:03:29 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 22:03:29 ---> Running in 72acd471a81e 22:03:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:03:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:03:30 (1/6) Installing dumb-init (1.2.5-r1) 22:03:30 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:03:30 (3/6) Installing libsodium (1.0.18-r0) 22:03:30 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:03:30 (5/6) Installing libzmq (4.3.4-r0) 22:03:30 (6/6) Installing zeromq (4.3.4-r0) 22:03:31 Executing busybox-1.35.0-r17.trigger 22:03:31 OK: 8 MiB in 20 packages 22:03:31 Removing intermediate container 72acd471a81e 22:03:31 ---> c11dfcc118f2 22:03:31 Step 18/27 : WORKDIR / 22:03:31 ---> Running in f75f51a53bb7 22:03:31 Removing intermediate container f75f51a53bb7 22:03:31 ---> 3feb3e234ac9 22:03:31 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:03:31 ---> 3bb4fcfdc388 22:03:31 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 22:03:32 ---> deb2436f61a7 22:03:32 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 22:03:32 ---> 678d398aef5e 22:03:32 Step 22/27 : EXPOSE 59900 22:03:32 ---> Running in 4b02d6890b6a 22:03:32 Removing intermediate container 4b02d6890b6a 22:03:32 ---> 78a98832024a 22:03:32 Step 23/27 : ENTRYPOINT ["/device-virtual"] 22:03:32 ---> Running in 18f050615855 22:03:32 Removing intermediate container 18f050615855 22:03:32 ---> b0418c0c2dbd 22:03:32 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:03:32 ---> Running in e3939b72b8f6 22:03:32 Removing intermediate container e3939b72b8f6 22:03:32 ---> c33795befa55 22:03:32 Step 25/27 : LABEL arch=amd64 22:03:32 ---> Running in fa34ac044606 22:03:32 Removing intermediate container fa34ac044606 22:03:32 ---> 0522407cf4c1 22:03:32 Step 26/27 : LABEL git_sha=e9e78a70a342ea66ab18edf5d69a1655646d3b52 22:03:33 ---> Running in 07f27e2a212d 22:03:33 Removing intermediate container 07f27e2a212d 22:03:33 ---> 396e701d8046 22:03:33 Step 27/27 : LABEL version=2.3.0-dev.16 22:03:33 ---> Running in a38c58d516a5 22:03:33 Removing intermediate container a38c58d516a5 22:03:33 ---> a65000d37538 22:03:33 [Warning] One or more build-args [ARCH] were not consumed 22:03:33 Successfully built a65000d37538 22:03:33 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:03:33 provisioning config files... 22:03:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3713571527510610733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:33 ---> docker-login.sh 22:03:33 nexus3.edgexfoundry.org:10001 22:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:33 Configure a credential helper to remove this warning. See 22:03:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:33 22:03:33 Login Succeeded 22:03:33 nexus3.edgexfoundry.org:10002 22:03:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:34 Configure a credential helper to remove this warning. See 22:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:34 22:03:34 Login Succeeded 22:03:34 nexus3.edgexfoundry.org:10003 22:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:34 Configure a credential helper to remove this warning. See 22:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:34 22:03:34 Login Succeeded 22:03:34 nexus3.edgexfoundry.org:10004 22:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:34 Configure a credential helper to remove this warning. See 22:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:34 22:03:34 Login Succeeded 22:03:34 docker.io 22:03:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:34 Configure a credential helper to remove this warning. See 22:03:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:34 22:03:34 Login Succeeded 22:03:34 ---> docker-login.sh ends [Pipeline] } 22:03:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:03:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:03:34 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 22:03:34 e9e78a70a342ea66ab18edf5d69a1655646d3b52 22:03:34 latest 22:03:34 2.3.0-dev.16 22:03:34 e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16 22:03:34 main 22:03:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:34 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:e9e78a70a342ea66ab18edf5d69a1655646d3b52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:35 + docker push nexus3.edgexfoundry.org:10004/device-virtual:e9e78a70a342ea66ab18edf5d69a1655646d3b52 22:03:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:03:35 18533d64459c: Preparing 22:03:35 4a90aee79671: Preparing 22:03:35 63dca519f775: Preparing 22:03:35 577937fe6ec4: Preparing 22:03:35 554533c4aaad: Preparing 22:03:35 994393dc58e7: Preparing 22:03:35 994393dc58e7: Waiting 22:03:35 554533c4aaad: Pushed 22:03:35 4a90aee79671: Pushed 22:03:35 63dca519f775: Pushed 22:03:35 994393dc58e7: Layer already exists 22:03:35 577937fe6ec4: Pushed 22:03:37 18533d64459c: Pushed 22:03:37 e9e78a70a342ea66ab18edf5d69a1655646d3b52: digest: sha256:3a2ac8141fd68c20491f74bf22109f98ce1062cc77225e25df5dc3631c7f86b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:37 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 22:03:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:03:38 18533d64459c: Preparing 22:03:38 4a90aee79671: Preparing 22:03:38 63dca519f775: Preparing 22:03:38 577937fe6ec4: Preparing 22:03:38 554533c4aaad: Preparing 22:03:38 994393dc58e7: Preparing 22:03:38 994393dc58e7: Waiting 22:03:38 554533c4aaad: Layer already exists 22:03:38 18533d64459c: Layer already exists 22:03:38 4a90aee79671: Layer already exists 22:03:38 577937fe6ec4: Layer already exists 22:03:38 63dca519f775: Layer already exists 22:03:38 994393dc58e7: Layer already exists 22:03:38 latest: digest: sha256:3a2ac8141fd68c20491f74bf22109f98ce1062cc77225e25df5dc3631c7f86b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:38 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.16 22:03:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:03:38 18533d64459c: Preparing 22:03:38 4a90aee79671: Preparing 22:03:38 63dca519f775: Preparing 22:03:38 577937fe6ec4: Preparing 22:03:38 554533c4aaad: Preparing 22:03:38 994393dc58e7: Preparing 22:03:38 994393dc58e7: Waiting 22:03:38 63dca519f775: Layer already exists 22:03:38 18533d64459c: Layer already exists 22:03:38 577937fe6ec4: Layer already exists 22:03:38 4a90aee79671: Layer already exists 22:03:38 554533c4aaad: Layer already exists 22:03:38 994393dc58e7: Layer already exists 22:03:38 2.3.0-dev.16: digest: sha256:3a2ac8141fd68c20491f74bf22109f98ce1062cc77225e25df5dc3631c7f86b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:39 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16 22:03:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:03:39 18533d64459c: Preparing 22:03:39 4a90aee79671: Preparing 22:03:39 63dca519f775: Preparing 22:03:39 577937fe6ec4: Preparing 22:03:39 554533c4aaad: Preparing 22:03:39 994393dc58e7: Preparing 22:03:39 554533c4aaad: Layer already exists 22:03:39 18533d64459c: Layer already exists 22:03:39 577937fe6ec4: Layer already exists 22:03:39 4a90aee79671: Layer already exists 22:03:39 63dca519f775: Layer already exists 22:03:39 994393dc58e7: Layer already exists 22:03:39 e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16: digest: sha256:3a2ac8141fd68c20491f74bf22109f98ce1062cc77225e25df5dc3631c7f86b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:39 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 22:03:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 22:03:40 18533d64459c: Preparing 22:03:40 4a90aee79671: Preparing 22:03:40 63dca519f775: Preparing 22:03:40 577937fe6ec4: Preparing 22:03:40 554533c4aaad: Preparing 22:03:40 994393dc58e7: Preparing 22:03:40 994393dc58e7: Waiting 22:03:40 4a90aee79671: Layer already exists 22:03:40 577937fe6ec4: Layer already exists 22:03:40 18533d64459c: Layer already exists 22:03:40 63dca519f775: Layer already exists 22:03:40 554533c4aaad: Layer already exists 22:03:40 994393dc58e7: Layer already exists 22:03:40 main: digest: sha256:3a2ac8141fd68c20491f74bf22109f98ce1062cc77225e25df5dc3631c7f86b0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:03:40 ===================================================== [Pipeline] echo 22:03:40 taggedImages: 22:03:40 - nexus3.edgexfoundry.org:10004/device-virtual:e9e78a70a342ea66ab18edf5d69a1655646d3b52 22:03:40 - nexus3.edgexfoundry.org:10004/device-virtual:latest 22:03:40 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.16 22:03:40 - nexus3.edgexfoundry.org:10004/device-virtual:e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16 22:03:40 - 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 22:03:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:40 22:03:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:03:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:40 latest: Pulling from edgex-lftools-log-publisher 22:03:40 5eb5b503b376: Pulling fs layer 22:03:40 5c69ac0246d0: Pulling fs layer 22:03:40 ec43610c2a17: Pulling fs layer 22:03:40 3a2ae6a8a46f: Pulling fs layer 22:03:40 3a2ae6a8a46f: Waiting 22:03:40 33b1e0a273af: Pulling fs layer 22:03:40 5d3b04190fa2: Pulling fs layer 22:03:40 33b1e0a273af: Waiting 22:03:40 2f39f015ded8: Pulling fs layer 22:03:40 5d3b04190fa2: Waiting 22:03:40 2f39f015ded8: Waiting 22:03:40 5c69ac0246d0: Verifying Checksum 22:03:40 5c69ac0246d0: Download complete 22:03:40 3a2ae6a8a46f: Download complete 22:03:40 33b1e0a273af: Download complete 22:03:41 ec43610c2a17: Verifying Checksum 22:03:41 ec43610c2a17: Download complete 22:03:41 5d3b04190fa2: Download complete 22:03:41 5eb5b503b376: Verifying Checksum 22:03:41 5eb5b503b376: Download complete 22:03:41 2f39f015ded8: Verifying Checksum 22:03:41 2f39f015ded8: Download complete 22:03:42 5eb5b503b376: Pull complete 22:03:42 5c69ac0246d0: Pull complete 22:03:42 ec43610c2a17: Pull complete 22:03:42 3a2ae6a8a46f: Pull complete 22:03:42 33b1e0a273af: Pull complete 22:03:43 5d3b04190fa2: Pull complete 22:03:47 2f39f015ded8: Pull complete 22:03:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:03:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:03:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:03:47 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:03:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:03:49 $ docker top 0848356c4a64dcc71694742a726735968ad2569ae88d505d3d43cae9bc80aa3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:49 ---> job-cost.sh 22:03:49 lf-activate-venv: SKIPPING 22:03:49 INFO: No Stack... 22:03:49 INFO: Retrieving Pricing Info for: v3-standard-8 22:03:50 INFO: Archiving Costs [Pipeline] sh 22:03:50 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 22:03:50 + cut -d, -f6 [Pipeline] lock 22:03:50 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-52-stack-cost] 22:03:50 Resource [jenkins-edgexfoundry-device-virtual-go-main-52-stack-cost] did not exist. Created. 22:03:50 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:03:51 + echo total: 0.2199999988079071 [Pipeline] stash 22:03:51 Stashed 1 file(s) [Pipeline] } 22:03:51 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 22:03:51 $ docker stop --time=1 0848356c4a64dcc71694742a726735968ad2569ae88d505d3d43cae9bc80aa3b 22:03:52 $ docker rm -f 0848356c4a64dcc71694742a726735968ad2569ae88d505d3d43cae9bc80aa3b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:05:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-29313 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 22:05:01 Running in /w/workspace/device-virtual-go/52 [Pipeline] { [Pipeline] checkout 22:05:01 The recommended git tool is: git 22:05:07 using credential edgex-jenkins-ssh 22:05:07 Cloning the remote Git repository 22:05:07 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:05:08 > git init /w/workspace/device-virtual-go/52 # timeout=10 22:05:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:05:08 > git --version # timeout=10 22:05:08 > git --version # 'git version 2.25.1' 22:05:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:05:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:10 Avoid second fetch 22:05:10 Checking out Revision e9e78a70a342ea66ab18edf5d69a1655646d3b52 (main) 22:05:10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:05:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:05:10 > git config core.sparsecheckout # timeout=10 22:05:10 > git checkout -f e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 22:05:15 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#304)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:05:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:05:15 % Total % Received % Xferd Average Speed Time Time Time Current 22:05:15 Dload Upload Total Spent Left Speed 22:05:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh 22:05:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:05:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:05:17 + sudo tee /etc/docker/daemon.new 22:05:17 { 22:05:17 "registry-mirrors": [ 22:05:17 "https://nexus3.edgexfoundry.org:10001" 22:05:17 ], 22:05:17 "bip": "10.250.0.254/24", 22:05:17 "hosts": [ 22:05:17 "tcp://0.0.0.0:5555", 22:05:17 "unix:///var/run/docker.sock" 22:05:17 ], 22:05:17 "mtu": 1458, 22:05:17 "selinux-enabled": true, 22:05:17 "seccomp-profile": "/etc/docker/seccomp.json" 22:05:17 } [Pipeline] sh 22:05:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:05:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:05:36 provisioning config files... 22:05:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/52@tmp/config1890175614091945340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:05:36 ---> docker-login.sh 22:05:36 nexus3.edgexfoundry.org:10001 22:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:37 Configure a credential helper to remove this warning. See 22:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:37 22:05:37 Login Succeeded 22:05:38 nexus3.edgexfoundry.org:10002 22:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:38 Configure a credential helper to remove this warning. See 22:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:38 22:05:38 Login Succeeded 22:05:38 nexus3.edgexfoundry.org:10003 22:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:39 Configure a credential helper to remove this warning. See 22:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:39 22:05:39 Login Succeeded 22:05:39 nexus3.edgexfoundry.org:10004 22:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:39 Configure a credential helper to remove this warning. See 22:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:39 22:05:39 Login Succeeded 22:05:39 docker.io 22:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:05:40 Configure a credential helper to remove this warning. See 22:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:05:40 22:05:40 Login Succeeded 22:05:40 ---> docker-login.sh ends [Pipeline] } 22:05:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:05:40 ========================================================= 22:05:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:05:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:05:41 + 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 . 22:05:41 Sending build context to Docker daemon 11.69MB 22:05:41 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:05:41 Step 2/13 : FROM ${BASE} AS builder 22:05:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:05:41 b3c136eddcbf: Pulling fs layer 22:05:41 c0a3192eca97: Pulling fs layer 22:05:41 a050256f5b6f: Pulling fs layer 22:05:41 656be50a0ddc: Pulling fs layer 22:05:41 2bbca73fdf42: Pulling fs layer 22:05:41 46d945488cbd: Pulling fs layer 22:05:41 8a5474983e97: Pulling fs layer 22:05:41 329c88fbcd65: Pulling fs layer 22:05:41 2bbca73fdf42: Waiting 22:05:41 46d945488cbd: Waiting 22:05:41 8a5474983e97: Waiting 22:05:41 329c88fbcd65: Waiting 22:05:41 656be50a0ddc: Waiting 22:05:41 a050256f5b6f: Verifying Checksum 22:05:41 a050256f5b6f: Download complete 22:05:41 c0a3192eca97: Verifying Checksum 22:05:41 c0a3192eca97: Download complete 22:05:41 2bbca73fdf42: Verifying Checksum 22:05:41 2bbca73fdf42: Download complete 22:05:42 46d945488cbd: Download complete 22:05:42 b3c136eddcbf: Verifying Checksum 22:05:42 b3c136eddcbf: Download complete 22:05:43 b3c136eddcbf: Pull complete 22:05:43 329c88fbcd65: Verifying Checksum 22:05:43 329c88fbcd65: Download complete 22:05:43 c0a3192eca97: Pull complete 22:05:43 a050256f5b6f: Pull complete 22:05:44 8a5474983e97: Verifying Checksum 22:05:44 8a5474983e97: Download complete 22:05:45 656be50a0ddc: Download complete 22:06:00 656be50a0ddc: Pull complete 22:06:00 2bbca73fdf42: Pull complete 22:06:00 46d945488cbd: Pull complete 22:06:05 8a5474983e97: Pull complete 22:06:07 329c88fbcd65: Pull complete 22:06:07 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:06:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:06:07 ---> ff4287adb874 22:06:07 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:06:09 ---> Running in 42c1cbd636db 22:06:10 Removing intermediate container 42c1cbd636db 22:06:10 ---> edd4f31f5879 22:06:10 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 22:06:10 ---> Running in 5ce518ed02f8 22:06:10 Removing intermediate container 5ce518ed02f8 22:06:10 ---> e420023e5966 22:06:10 Step 5/13 : ARG ADD_BUILD_TAGS="" 22:06:10 ---> Running in 0f223dd565b9 22:06:11 Removing intermediate container 0f223dd565b9 22:06:11 ---> dad27eb2e3c9 22:06:11 Step 6/13 : WORKDIR /device-virtual-go 22:06:11 ---> Running in 1429ca899ecc 22:06:11 Removing intermediate container 1429ca899ecc 22:06:11 ---> d3c9454f49d3 22:06:11 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:06:11 ---> Running in 794afc14daab 22:06:13 Removing intermediate container 794afc14daab 22:06:13 ---> b5b4b3812fa2 22:06:13 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:06:13 ---> Running in 8da3a518129d 22:06:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:06:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:06:16 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:06:17 (2/4) Installing libedit (20210910.3.1-r0) 22:06:17 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:06:17 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:06:17 Executing busybox-1.35.0-r13.trigger 22:06:17 OK: 226 MiB in 55 packages 22:06:18 Removing intermediate container 8da3a518129d 22:06:18 ---> c3f82e0665e8 22:06:18 Step 9/13 : COPY go.mod vendor* ./ 22:06:19 ---> 915c2f7a39a8 22:06:19 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:06:19 ---> Running in cdf9ff882747 22:07:15 Removing intermediate container cdf9ff882747 22:07:15 ---> 1f6ec1d95065 22:07:15 Step 11/13 : COPY . . 22:07:15 ---> d3717c4b123b 22:07:15 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:07:15 ---> Running in 779b733002c1 22:07:15 Removing intermediate container 779b733002c1 22:07:15 ---> 166b3d2d585a 22:07:15 Step 13/13 : RUN $MAKE 22:07:15 ---> Running in 0247579bb4ca 22:07:15 noop 22:07:16 Removing intermediate container 0247579bb4ca 22:07:16 ---> 4882cec43481 22:07:16 Successfully built 4882cec43481 22:07:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:16 + docker inspect -f . ci-base-image-arm64 22:07:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:16 prd-ubuntu20.04-docker-arm64-4c-16g-29313 does not seem to be running inside a container 22:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/52 -v /w/workspace/device-virtual-go/52:/w/workspace/device-virtual-go/52:rw,z -v /w/workspace/device-virtual-go/52@tmp:/w/workspace/device-virtual-go/52@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 22:07:18 $ docker top a082b26cf7e4a3ecd769a8b0f99075783e32dc5a514f3c9dc1409d4fa7adf1fb -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:19 + go version 22:07:19 go version go1.18.3 linux/arm64 [Pipeline] } 22:07:19 $ docker stop --time=1 a082b26cf7e4a3ecd769a8b0f99075783e32dc5a514f3c9dc1409d4fa7adf1fb 22:07:21 $ docker rm -f a082b26cf7e4a3ecd769a8b0f99075783e32dc5a514f3c9dc1409d4fa7adf1fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:07:22 + docker inspect -f . ci-base-image-arm64 22:07:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:07:22 prd-ubuntu20.04-docker-arm64-4c-16g-29313 does not seem to be running inside a container 22:07:22 $ 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/52 -v /w/workspace/device-virtual-go/52:/w/workspace/device-virtual-go/52:rw,z -v /w/workspace/device-virtual-go/52@tmp:/w/workspace/device-virtual-go/52@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 22:07:23 $ docker top 50de38113963c0b952936eca459043a72b772d7673a186b344592c47dfa97f6e -eo pid,comm [Pipeline] { [Pipeline] sh 22:07:24 + git config --global --add safe.directory /w/workspace/device-virtual-go/52 [Pipeline] fileExists [Pipeline] sh 22:07:25 + make test 22:07:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:07:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:09:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:09:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.145s coverage: 65.7% of statements 22:09:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:09:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:09:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:09:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:09:31 ./bin/test-attribution-txt.sh 22:09:31 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 22:09:31 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 22:09:31 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 22:09:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:09:31 $ docker stop --time=1 50de38113963c0b952936eca459043a72b772d7673a186b344592c47dfa97f6e 22:09:33 $ docker rm -f 50de38113963c0b952936eca459043a72b772d7673a186b344592c47dfa97f6e [Pipeline] // withDockerContainer [Pipeline] sh 22:09:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:09:34 Warning: overwriting stash ‘coverage-report’ 22:09:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:09:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:09:35 + ls -al . 22:09:35 total 188 22:09:35 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:07 . 22:09:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:05 .. 22:09:35 drwxrwxr-x 8 jenkins jenkins 4096 Sep 15 22:05 .git 22:09:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:05 .github 22:09:35 -rw-rw-r-- 1 jenkins jenkins 337 Sep 15 22:05 .gitignore 22:09:35 -rw-rw-r-- 1 jenkins jenkins 41 Sep 15 22:05 .golangci.yml 22:09:35 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 15 22:05 Attribution.txt 22:09:35 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 15 22:05 CHANGELOG.md 22:09:35 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 15 22:05 Dockerfile 22:09:35 -rw-rw-r-- 1 jenkins jenkins 677 Sep 15 22:05 GOVERNANCE.md 22:09:35 -rw-rw-r-- 1 jenkins jenkins 660 Sep 15 22:05 Jenkinsfile 22:09:35 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 15 22:05 LICENSE 22:09:35 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 15 22:05 Makefile 22:09:35 -rw-rw-r-- 1 jenkins jenkins 623 Sep 15 22:05 OWNERS.md 22:09:35 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 15 22:05 README.md 22:09:35 -rw-rw-r-- 1 jenkins jenkins 12 Sep 15 22:02 VERSION 22:09:35 drwxrwxr-x 2 jenkins jenkins 4096 Sep 15 22:05 bin 22:09:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:05 cmd 22:09:35 -rw-r--r-- 1 jenkins jenkins 44128 Sep 15 22:09 coverage.out 22:09:35 -rw-rw-r-- 1 jenkins jenkins 3328 Sep 15 22:05 go.mod 22:09:35 -rw-rw-r-- 1 jenkins jenkins 36202 Sep 15 22:05 go.sum 22:09:35 drwxrwxr-x 3 jenkins jenkins 4096 Sep 15 22:05 internal 22:09:35 drwxrwxr-x 4 jenkins jenkins 4096 Sep 15 22:05 snap 22:09:35 -rw-rw-r-- 1 jenkins jenkins 235 Sep 15 22:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:09:36 + 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=e9e78a70a342ea66ab18edf5d69a1655646d3b52 --label arch=arm64 --label version=2.3.0-dev.16 . 22:09:36 Sending build context to Docker daemon 11.74MB 22:09:36 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 22:09:36 Step 2/27 : FROM ${BASE} AS builder 22:09:36 ---> 4882cec43481 22:09:36 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:09:36 ---> Running in cfcb562ce23f 22:09:37 Removing intermediate container cfcb562ce23f 22:09:37 ---> 9784acf333db 22:09:37 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 22:09:37 ---> Running in 17e933dccb0f 22:09:37 Removing intermediate container 17e933dccb0f 22:09:37 ---> a58158b8b100 22:09:37 Step 5/27 : ARG ADD_BUILD_TAGS="" 22:09:37 ---> Running in 064a53b7da8a 22:09:38 Removing intermediate container 064a53b7da8a 22:09:38 ---> 5ce18c605130 22:09:38 Step 6/27 : WORKDIR /device-virtual-go 22:09:38 ---> Running in bfbc721d7a3a 22:09:38 Removing intermediate container bfbc721d7a3a 22:09:38 ---> 7120e9e56244 22:09:38 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:09:38 ---> Running in 460df3e68ad3 22:09:40 Removing intermediate container 460df3e68ad3 22:09:40 ---> efe5d57a7c69 22:09:40 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:09:40 ---> Running in 1f408540a39e 22:09:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:09:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:09:44 OK: 226 MiB in 55 packages 22:09:44 Removing intermediate container 1f408540a39e 22:09:44 ---> cd9a4de986ca 22:09:44 Step 9/27 : COPY go.mod vendor* ./ 22:09:45 ---> 51b883cd56b3 22:09:45 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:09:45 ---> Running in a5a92750836b 22:09:48 Removing intermediate container a5a92750836b 22:09:48 ---> e435bc56a385 22:09:48 Step 11/27 : COPY . . 22:09:49 ---> 5dedaebc77ae 22:09:49 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:09:49 ---> Running in d6d92ac8c56a 22:09:49 Removing intermediate container d6d92ac8c56a 22:09:49 ---> dca1572885c5 22:09:49 Step 13/27 : RUN $MAKE 22:09:49 ---> Running in c99c6e4b9e99 22:09:50 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 22:12:27 Removing intermediate container c99c6e4b9e99 22:12:27 ---> ef9b58a2a050 22:12:27 Step 14/27 : FROM alpine:3.16 22:12:27 3.16: Pulling from library/alpine 22:12:27 9b18e9b68314: Pulling fs layer 22:12:27 9b18e9b68314: Verifying Checksum 22:12:27 9b18e9b68314: Download complete 22:12:27 9b18e9b68314: Pull complete 22:12:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:12:27 Status: Downloaded newer image for alpine:3.16 22:12:27 ---> a6215f271958 22:12:27 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:12:27 ---> Running in 66a94b274709 22:12:27 Removing intermediate container 66a94b274709 22:12:27 ---> b81b84ea5cf0 22:12:27 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:12:27 ---> Running in e5f613fb9151 22:12:27 Removing intermediate container e5f613fb9151 22:12:27 ---> 7ee0692dada0 22:12:27 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 22:12:27 ---> Running in dd283e94ff27 22:12:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:12:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:12:27 (1/6) Installing dumb-init (1.2.5-r1) 22:12:27 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:12:27 (3/6) Installing libsodium (1.0.18-r0) 22:12:27 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:12:27 (5/6) Installing libzmq (4.3.4-r0) 22:12:27 (6/6) Installing zeromq (4.3.4-r0) 22:12:27 Executing busybox-1.35.0-r17.trigger 22:12:27 OK: 8 MiB in 20 packages 22:12:27 Removing intermediate container dd283e94ff27 22:12:27 ---> 5f7a742a6f30 22:12:27 Step 18/27 : WORKDIR / 22:12:27 ---> Running in fcc289b7050b 22:12:27 Removing intermediate container fcc289b7050b 22:12:27 ---> 17100c9706bd 22:12:27 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:12:27 ---> 0cd2f8e7e1da 22:12:27 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 22:12:27 ---> 544c929f9155 22:12:27 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 22:12:27 ---> 2b2004fa222e 22:12:27 Step 22/27 : EXPOSE 59900 22:12:27 ---> Running in fb7c3931bef3 22:12:27 Removing intermediate container fb7c3931bef3 22:12:27 ---> 13dc715cee58 22:12:27 Step 23/27 : ENTRYPOINT ["/device-virtual"] 22:12:27 ---> Running in 309a19cfb7c1 22:12:27 Removing intermediate container 309a19cfb7c1 22:12:27 ---> 089f72d33e07 22:12:27 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:12:27 ---> Running in 97f2ffc63bd3 22:12:27 Removing intermediate container 97f2ffc63bd3 22:12:27 ---> 6c7eac278d0c 22:12:27 Step 25/27 : LABEL arch=arm64 22:12:27 ---> Running in 40d4bf1b9f03 22:12:27 Removing intermediate container 40d4bf1b9f03 22:12:27 ---> 778784886270 22:12:27 Step 26/27 : LABEL git_sha=e9e78a70a342ea66ab18edf5d69a1655646d3b52 22:12:27 ---> Running in ecaccc78a088 22:12:27 Removing intermediate container ecaccc78a088 22:12:27 ---> adcbe050485c 22:12:27 Step 27/27 : LABEL version=2.3.0-dev.16 22:12:27 ---> Running in 1b2770197526 22:12:27 Removing intermediate container 1b2770197526 22:12:27 ---> b91cba1436ea 22:12:27 [Warning] One or more build-args [ARCH] were not consumed 22:12:27 Successfully built b91cba1436ea 22:12:27 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 22:12:27 provisioning config files... 22:12:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/52@tmp/config7459596926833974480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:12:28 ---> docker-login.sh 22:12:28 nexus3.edgexfoundry.org:10001 22:12:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:28 Configure a credential helper to remove this warning. See 22:12:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:28 22:12:28 Login Succeeded 22:12:28 nexus3.edgexfoundry.org:10002 22:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:29 Configure a credential helper to remove this warning. See 22:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:29 22:12:29 Login Succeeded 22:12:29 nexus3.edgexfoundry.org:10003 22:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:29 Configure a credential helper to remove this warning. See 22:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:29 22:12:29 Login Succeeded 22:12:29 nexus3.edgexfoundry.org:10004 22:12:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:29 Configure a credential helper to remove this warning. See 22:12:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:29 22:12:29 Login Succeeded 22:12:29 docker.io 22:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:12:30 Configure a credential helper to remove this warning. See 22:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:12:30 22:12:30 Login Succeeded 22:12:30 ---> docker-login.sh ends [Pipeline] } 22:12:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:12:30 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 22:12:30 e9e78a70a342ea66ab18edf5d69a1655646d3b52 22:12:30 latest 22:12:30 2.3.0-dev.16 22:12:30 e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16 22:12:30 main 22:12:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:31 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:e9e78a70a342ea66ab18edf5d69a1655646d3b52 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:31 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:e9e78a70a342ea66ab18edf5d69a1655646d3b52 22:12:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:12:31 06abdb658f4d: Preparing 22:12:31 4ed519567d1f: Preparing 22:12:31 6b75a4b2e49c: Preparing 22:12:31 72fbac73887d: Preparing 22:12:31 3af88b66fe38: Preparing 22:12:31 5d3e392a13a0: Preparing 22:12:31 5d3e392a13a0: Waiting 22:12:31 3af88b66fe38: Pushed 22:12:31 4ed519567d1f: Pushed 22:12:31 6b75a4b2e49c: Pushed 22:12:31 5d3e392a13a0: Layer already exists 22:12:32 72fbac73887d: Pushed 22:12:37 06abdb658f4d: Pushed 22:12:37 e9e78a70a342ea66ab18edf5d69a1655646d3b52: digest: sha256:2577d50bed8f87616c268fc899932cd4bb6d32548d1366232beedfa5cd0336e7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:37 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:38 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:12:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:12:38 06abdb658f4d: Preparing 22:12:38 4ed519567d1f: Preparing 22:12:38 6b75a4b2e49c: Preparing 22:12:38 72fbac73887d: Preparing 22:12:38 3af88b66fe38: Preparing 22:12:38 5d3e392a13a0: Preparing 22:12:38 5d3e392a13a0: Waiting 22:12:38 3af88b66fe38: Layer already exists 22:12:38 06abdb658f4d: Layer already exists 22:12:38 6b75a4b2e49c: Layer already exists 22:12:38 72fbac73887d: Layer already exists 22:12:38 4ed519567d1f: Layer already exists 22:12:38 5d3e392a13a0: Layer already exists 22:12:38 latest: digest: sha256:2577d50bed8f87616c268fc899932cd4bb6d32548d1366232beedfa5cd0336e7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:38 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.16 22:12:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:12:39 06abdb658f4d: Preparing 22:12:39 4ed519567d1f: Preparing 22:12:39 6b75a4b2e49c: Preparing 22:12:39 72fbac73887d: Preparing 22:12:39 3af88b66fe38: Preparing 22:12:39 5d3e392a13a0: Preparing 22:12:39 5d3e392a13a0: Waiting 22:12:39 72fbac73887d: Layer already exists 22:12:39 3af88b66fe38: Layer already exists 22:12:39 4ed519567d1f: Layer already exists 22:12:39 06abdb658f4d: Layer already exists 22:12:39 6b75a4b2e49c: Layer already exists 22:12:39 5d3e392a13a0: Layer already exists 22:12:39 2.3.0-dev.16: digest: sha256:2577d50bed8f87616c268fc899932cd4bb6d32548d1366232beedfa5cd0336e7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:39 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:40 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16 22:12:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:12:40 06abdb658f4d: Preparing 22:12:40 4ed519567d1f: Preparing 22:12:40 6b75a4b2e49c: Preparing 22:12:40 72fbac73887d: Preparing 22:12:40 3af88b66fe38: Preparing 22:12:40 5d3e392a13a0: Preparing 22:12:40 5d3e392a13a0: Waiting 22:12:40 3af88b66fe38: Layer already exists 22:12:40 4ed519567d1f: Layer already exists 22:12:40 6b75a4b2e49c: Layer already exists 22:12:40 72fbac73887d: Layer already exists 22:12:40 06abdb658f4d: Layer already exists 22:12:40 5d3e392a13a0: Layer already exists 22:12:40 e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16: digest: sha256:2577d50bed8f87616c268fc899932cd4bb6d32548d1366232beedfa5cd0336e7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:40 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 22:12:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 22:12:41 06abdb658f4d: Preparing 22:12:41 4ed519567d1f: Preparing 22:12:41 6b75a4b2e49c: Preparing 22:12:41 72fbac73887d: Preparing 22:12:41 3af88b66fe38: Preparing 22:12:41 5d3e392a13a0: Preparing 22:12:41 5d3e392a13a0: Waiting 22:12:41 72fbac73887d: Layer already exists 22:12:41 3af88b66fe38: Layer already exists 22:12:41 6b75a4b2e49c: Layer already exists 22:12:41 06abdb658f4d: Layer already exists 22:12:41 4ed519567d1f: Layer already exists 22:12:41 5d3e392a13a0: Layer already exists 22:12:41 main: digest: sha256:2577d50bed8f87616c268fc899932cd4bb6d32548d1366232beedfa5cd0336e7 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:12:41 ===================================================== [Pipeline] echo 22:12:41 taggedImages: 22:12:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:e9e78a70a342ea66ab18edf5d69a1655646d3b52 22:12:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 22:12:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.16 22:12:41 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:e9e78a70a342ea66ab18edf5d69a1655646d3b52-2.3.0-dev.16 22:12:41 - 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 22:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:12:42 22:12:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:12:42 arm64: Pulling from edgex-lftools-log-publisher 22:12:42 8998bd30e6a1: Pulling fs layer 22:12:42 04944245beec: Pulling fs layer 22:12:42 699f458cf7ca: Pulling fs layer 22:12:42 765212b225bb: Pulling fs layer 22:12:42 f23df028b6ca: Pulling fs layer 22:12:42 d65c8cfc05b1: Pulling fs layer 22:12:42 2437ff75d9bd: Pulling fs layer 22:12:42 765212b225bb: Waiting 22:12:42 f23df028b6ca: Waiting 22:12:42 d65c8cfc05b1: Waiting 22:12:42 2437ff75d9bd: Waiting 22:12:42 04944245beec: Verifying Checksum 22:12:42 04944245beec: Download complete 22:12:42 765212b225bb: Verifying Checksum 22:12:42 765212b225bb: Download complete 22:12:42 f23df028b6ca: Verifying Checksum 22:12:42 f23df028b6ca: Download complete 22:12:42 d65c8cfc05b1: Verifying Checksum 22:12:42 d65c8cfc05b1: Download complete 22:12:43 699f458cf7ca: Verifying Checksum 22:12:43 699f458cf7ca: Download complete 22:12:43 8998bd30e6a1: Verifying Checksum 22:12:43 8998bd30e6a1: Download complete 22:12:45 2437ff75d9bd: Verifying Checksum 22:12:45 2437ff75d9bd: Download complete 22:12:47 8998bd30e6a1: Pull complete 22:12:48 04944245beec: Pull complete 22:12:49 699f458cf7ca: Pull complete 22:12:49 765212b225bb: Pull complete 22:12:50 f23df028b6ca: Pull complete 22:12:51 d65c8cfc05b1: Pull complete 22:13:06 2437ff75d9bd: Pull complete 22:13:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:13:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:06 prd-ubuntu20.04-docker-arm64-4c-16g-29313 does not seem to be running inside a container 22:13:06 $ 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/52 -v /w/workspace/device-virtual-go/52:/w/workspace/device-virtual-go/52:rw,z -v /w/workspace/device-virtual-go/52@tmp:/w/workspace/device-virtual-go/52@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 22:13:09 $ docker top f1beeee52871768d956b2697071541f766d0e64c0ca25054567ad813c8a28a69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:10 ---> job-cost.sh 22:13:10 lf-activate-venv: SKIPPING 22:13:10 INFO: No Stack... 22:13:10 INFO: Retrieving Pricing Info for: v3-standard-4 22:13:11 INFO: Archiving Costs [Pipeline] sh 22:13:12 + cut -d, -f6 22:13:12 + cat /w/workspace/device-virtual-go/52/archives/cost.csv [Pipeline] lock 22:13:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-52-stack-cost] 22:13:12 Resource [jenkins-edgexfoundry-device-virtual-go-main-52-stack-cost] did not exist. Created. 22:13:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:13 /w/workspace/device-virtual-go/52@tmp/durable-5abb4e80/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:13:13 + echo total: 0.10999999940395355 [Pipeline] stash 22:13:13 Warning: overwriting stash ‘stack-cost’ 22:13:14 Stashed 1 file(s) [Pipeline] } 22:13:14 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:14 $ docker stop --time=1 f1beeee52871768d956b2697071541f766d0e64c0ca25054567ad813c8a28a69 22:13:15 $ docker rm -f f1beeee52871768d956b2697071541f766d0e64c0ca25054567ad813c8a28a69 [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 22:13:16 provisioning config files... 22:13:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config3530532327215274706tmp [Pipeline] { [Pipeline] sh 22:13:16 + set +x 22:13:16 + curl -s https://codecov.io/bash 22:13:16 + bash -s -- 22:13:16 22:13:16 _____ _ 22:13:16 / ____| | | 22:13:16 | | ___ __| | ___ ___ _____ __ 22:13:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:13:16 | |___| (_) | (_| | __/ (_| (_) \ V / 22:13:16 \_____\___/ \__,_|\___|\___\___/ \_/ 22:13:16 Bash-1.0.6 22:13:16 22:13:16 22:13:16 ==> git version 2.25.1 found 22:13:16 ==> 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 22:13:16 Release-Date: 2020-01-08 22:13:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:13:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:13:16 ==> Jenkins CI detected. 22:13:16 current dir:  /w/workspace/exfoundry_device-virtual-go_main 22:13:16 project root: . 22:13:16 --> token set from env 22:13:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:13:16 ==> Running gcov in . (disable via -X gcov) 22:13:16 ==> Python coveragepy not found 22:13:16 ==> Searching for coverage reports in: 22:13:16 + . 22:13:16 -> Found 1 reports 22:13:16 ==> Detecting git/mercurial file structure 22:13:16 ==> Reading reports 22:13:16 + ./coverage.out bytes=44128 22:13:16 ==> Appending adjustments 22:13:16 https://docs.codecov.io/docs/fixing-reports 22:13:16 + Found adjustments 22:13:16 ==> Gzipping contents 22:13:16 8.0K /tmp/codecov.Y6dw3G.gz 22:13:16 ==> Uploading reports 22:13:16 url: https://codecov.io 22:13:16 query: branch=main&commit=e9e78a70a342ea66ab18edf5d69a1655646d3b52&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:13:16 -> Pinging Codecov 22:13:16 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=e9e78a70a342ea66ab18edf5d69a1655646d3b52&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:13:16 -> Uploading to 22:13:16 https://storage.googleapis.com/codecov/v4/raw/2022-09-15/5E52B4B073DB2E39498172D8E973AA87/e9e78a70a342ea66ab18edf5d69a1655646d3b52/664a9a64-ada0-47f9-b762-ffeab41a1bed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220915%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220915T221316Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bec376c7ba6d44474a6aee2accfa54c41ff8587d3c07fc4c0f7e3531c726926d 22:13:16 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:16 Dload Upload Total Spent Left Speed 22:13:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5510 0 0 100 5510 0 22489 --:--:-- --:--:-- --:--:-- 22489 22:13:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e9e78a70a342ea66ab18edf5d69a1655646d3b52 [Pipeline] } 22:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:13:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:13:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:13:17 22:13:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:13:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:13:17 df9b9388f04a: Pulling fs layer 22:13:17 52dc419b0ee2: Pulling fs layer 22:13:17 25bc292e5bac: Pulling fs layer 22:13:17 114826534d7a: Pulling fs layer 22:13:17 4657fd5d0bcf: Pulling fs layer 22:13:17 6ad1cebc031e: Pulling fs layer 22:13:17 8a3aa393b2d8: Pulling fs layer 22:13:17 4657fd5d0bcf: Waiting 22:13:17 8a3aa393b2d8: Waiting 22:13:17 6ad1cebc031e: Waiting 22:13:17 114826534d7a: Waiting 22:13:17 52dc419b0ee2: Verifying Checksum 22:13:17 52dc419b0ee2: Download complete 22:13:17 4657fd5d0bcf: Verifying Checksum 22:13:17 4657fd5d0bcf: Download complete 22:13:17 df9b9388f04a: Verifying Checksum 22:13:17 df9b9388f04a: Download complete 22:13:18 df9b9388f04a: Pull complete 22:13:18 6ad1cebc031e: Verifying Checksum 22:13:18 6ad1cebc031e: Download complete 22:13:18 52dc419b0ee2: Pull complete 22:13:18 25bc292e5bac: Pull complete 22:13:18 114826534d7a: Verifying Checksum 22:13:18 114826534d7a: Download complete 22:13:19 8a3aa393b2d8: Verifying Checksum 22:13:19 8a3aa393b2d8: Download complete 22:13:22 114826534d7a: Pull complete 22:13:22 4657fd5d0bcf: Pull complete 22:13:23 6ad1cebc031e: Pull complete 22:13:26 8a3aa393b2d8: Pull complete 22:13:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 22:13:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:13:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:26 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:13:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:13:28 $ docker top 36dc7bccf65248e2c92b0cc5878338165b7a1ec47e2bffdb98741d92f3f44a64 -eo pid,comm [Pipeline] { [Pipeline] echo 22:13:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 22:13:28 + set -o pipefail 22:13:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 22:13:34 22:13:34 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 22:13:34 22:13:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/5e2f8637-2ddc-421c-b752-1593a33a4c64 22:13:34 22:13:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:13:34 22:13:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:13:34 22:13:34 [Pipeline] } 22:13:34 $ docker stop --time=1 36dc7bccf65248e2c92b0cc5878338165b7a1ec47e2bffdb98741d92f3f44a64 22:13:36 $ docker rm -f 36dc7bccf65248e2c92b0cc5878338165b7a1ec47e2bffdb98741d92f3f44a64 [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 22:13:37 + git log --format=format:%s -1 e9e78a70a342ea66ab18edf5d69a1655646d3b52 [Pipeline] sh 22:13:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:37 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:13:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:13:38 $ docker top 915b2352f38114f1b152f39905385e6e233f04135c9ca8e5fe543208826adc1e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:13:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:13:38 [ssh-agent] Looking for ssh-agent implementation... 22:13:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:13:38 $ docker exec 915b2352f38114f1b152f39905385e6e233f04135c9ca8e5fe543208826adc1e ssh-agent 22:13:38 SSH_AUTH_SOCK=/tmp/ssh-dRHlk7yiUV8z/agent.33 22:13:38 SSH_AGENT_PID=39 22:13:38 Running ssh-add (command line suppressed) 22:13:38 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15963448562054116.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15963448562054116.key) 22:13:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:13:39 + git semver tag 22:13:39 2022-09-15 22:13:39,372 [run_tag] DEBUG tag force:False 22:13:39 2022-09-15 22:13:39,372 [check_head_tag] DEBUG check head tag 22:13:39 2022-09-15 22:13:39,372 [execute] INFO git cat-file --batch-check 22:13:39 2022-09-15 22:13:39,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 22:13:39 2022-09-15 22:13:39,376 [execute] INFO git cat-file --batch 22:13:39 2022-09-15 22:13:39,376 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 22:13:39 2022-09-15 22:13:39,388 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:13:39 2022-09-15 22:13:39,389 [execute] INFO git tag -a v2.3.0-dev.16 -m v2.3.0-dev.16 22:13:39 2022-09-15 22:13:39,389 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.16', '-m', 'v2.3.0-dev.16'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 22:13:39 2022-09-15 22:13:39,392 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:13:39 2.3.0-dev.16 [Pipeline] } 22:13:39 $ docker exec --env ******** --env ******** 915b2352f38114f1b152f39905385e6e233f04135c9ca8e5fe543208826adc1e ssh-agent -k 22:13:39 unset SSH_AUTH_SOCK; 22:13:39 unset SSH_AGENT_PID; 22:13:39 echo Agent pid 39 killed; 22:13:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:13:39 + git semver [Pipeline] } 22:13:40 $ docker stop --time=1 915b2352f38114f1b152f39905385e6e233f04135c9ca8e5fe543208826adc1e 22:13:41 $ docker rm -f 915b2352f38114f1b152f39905385e6e233f04135c9ca8e5fe543208826adc1e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:13:41 22:13:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:13:42 0.23.1-centos7: Pulling from edgex-lftools 22:13:42 ab5ef0e58194: Pulling fs layer 22:13:42 9712f1f96733: Pulling fs layer 22:13:42 63f879dbbcfc: Pulling fs layer 22:13:42 0d9ebad4ef96: Pulling fs layer 22:13:42 e9a5061849ea: Pulling fs layer 22:13:42 d747dcd14b5f: Pulling fs layer 22:13:42 2de7ff778b66: Pulling fs layer 22:13:42 0d9ebad4ef96: Waiting 22:13:42 e9a5061849ea: Waiting 22:13:42 d747dcd14b5f: Waiting 22:13:42 2de7ff778b66: Waiting 22:13:42 9712f1f96733: Verifying Checksum 22:13:42 9712f1f96733: Download complete 22:13:42 63f879dbbcfc: Verifying Checksum 22:13:42 63f879dbbcfc: Download complete 22:13:43 e9a5061849ea: Verifying Checksum 22:13:43 e9a5061849ea: Download complete 22:13:43 d747dcd14b5f: Download complete 22:13:43 0d9ebad4ef96: Verifying Checksum 22:13:43 0d9ebad4ef96: Download complete 22:13:43 ab5ef0e58194: Verifying Checksum 22:13:43 ab5ef0e58194: Download complete 22:13:43 2de7ff778b66: Verifying Checksum 22:13:43 2de7ff778b66: Download complete 22:13:45 ab5ef0e58194: Pull complete 22:13:45 9712f1f96733: Pull complete 22:13:46 63f879dbbcfc: Pull complete 22:13:50 0d9ebad4ef96: Pull complete 22:13:50 e9a5061849ea: Pull complete 22:13:50 d747dcd14b5f: Pull complete 22:13:51 2de7ff778b66: Pull complete 22:13:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:13:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:13:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:51 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:13:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:13:53 $ docker top 7e2fc9e78493458c3d944bb87099de68eb04337398ef083d8cdcdd5e1abbbb71 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:13:54 provisioning config files... 22:13:54 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1764672704492837522tmp 22:13:54 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7321465407520079872tmp 22:13:54 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8748193578015342491tmp [Pipeline] { [Pipeline] echo 22:13:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:13:54 ---> sigul-configuration.sh 22:13:54 gpg: directory `/root/.gnupg' created 22:13:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:13:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:13:54 gpg: keyring `/root/.gnupg/secring.gpg' created 22:13:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:13:54 gpg: CAST5 encrypted data 22:13:54 gpg: encrypted with 1 passphrase 22:13:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:13:54 + mkdir /home/jenkins 22:13:54 + mkdir /home/jenkins/sigul [Pipeline] sh 22:13:54 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 22:13:54 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:13:55 ---> sigul-install.sh 22:13:55 Sigul already installed; skipping installation. [Pipeline] sh 22:13:55 + git tag --list 22:13:55 v1.0.0 22:13:55 v1.1.0 22:13:55 v1.1.1 22:13:55 v1.2.1 22:13:55 v1.2.2 22:13:55 v1.2.3 22:13:55 v1.3.0 22:13:55 v1.3.1 22:13:55 v2.0.0 22:13:55 v2.1.0 22:13:55 v2.1.1 22:13:55 v2.1.1-dev.1 22:13:55 v2.1.1-dev.2 22:13:55 v2.2.0 22:13:55 v2.2.1-dev.1 22:13:55 v2.2.1-dev.2 22:13:55 v2.2.1-dev.3 22:13:55 v2.2.1-dev.4 22:13:55 v2.2.1-dev.5 22:13:55 v2.2.1-dev.6 22:13:55 v2.2.1-dev.7 22:13:55 v2.2.1-dev.8 22:13:55 v2.3.0-dev.10 22:13:55 v2.3.0-dev.11 22:13:55 v2.3.0-dev.12 22:13:55 v2.3.0-dev.13 22:13:55 v2.3.0-dev.14 22:13:55 v2.3.0-dev.15 22:13:55 v2.3.0-dev.16 22:13:55 v2.3.0-dev.8 22:13:55 v2.3.0-dev.9 [Pipeline] sh 22:13:55 + lftools sign git-tag v2.3.0-dev.16 22:13:56 Signing Git tag with Sigul... 22:13:56 Signing v2.3.0-dev.16 [Pipeline] echo 22:13:56 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:13:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:13:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:13:56 $ docker stop --time=1 7e2fc9e78493458c3d944bb87099de68eb04337398ef083d8cdcdd5e1abbbb71 22:13:58 $ docker rm -f 7e2fc9e78493458c3d944bb87099de68eb04337398ef083d8cdcdd5e1abbbb71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 22:13:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:59 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:14:00 $ docker top 91a7ebb3932f5ee880fc6651282c5b4a948d13a997871a4c1a9e0dac999c4fe7 -eo pid,comm 22:14:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:14:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:14:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:00 [ssh-agent] Looking for ssh-agent implementation... 22:14:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:00 $ docker exec 91a7ebb3932f5ee880fc6651282c5b4a948d13a997871a4c1a9e0dac999c4fe7 ssh-agent 22:14:00 SSH_AUTH_SOCK=/tmp/ssh-tL0IxCE3txZN/agent.32 22:14:00 SSH_AGENT_PID=38 22:14:00 Running ssh-add (command line suppressed) 22:14:00 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2437519006658369791.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2437519006658369791.key) 22:14:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:01 + git semver bump pre 22:14:01 2022-09-15 22:14:01,425 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:14:01 2022-09-15 22:14:01,426 [bump_version] DEBUG bumping version:2.3.0-dev.16 on axis:pre with prefix:dev 22:14:01 2022-09-15 22:14:01,426 [bump_version] DEBUG bumped version:2.3.0-dev.17 22:14:01 2022-09-15 22:14:01,426 [write_version] DEBUG write version:2.3.0-dev.17 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 22:14:01 2022-09-15 22:14:01,426 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:14:01 2022-09-15 22:14:01,426 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:14:01 2022-09-15 22:14:01,428 [execute] INFO git cat-file --batch-check 22:14:01 2022-09-15 22:14:01,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:14:01 2022-09-15 22:14:01,433 [execute] INFO git cat-file --batch 22:14:01 2022-09-15 22:14:01,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:14:01 2022-09-15 22:14:01,439 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:14:01 2.3.0-dev.17 [Pipeline] } 22:14:01 $ docker exec --env ******** --env ******** 91a7ebb3932f5ee880fc6651282c5b4a948d13a997871a4c1a9e0dac999c4fe7 ssh-agent -k 22:14:01 unset SSH_AUTH_SOCK; 22:14:01 unset SSH_AGENT_PID; 22:14:01 echo Agent pid 38 killed; 22:14:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:14:01 + git semver [Pipeline] } 22:14:02 $ docker stop --time=1 91a7ebb3932f5ee880fc6651282c5b4a948d13a997871a4c1a9e0dac999c4fe7 22:14:03 $ docker rm -f 91a7ebb3932f5ee880fc6651282c5b4a948d13a997871a4c1a9e0dac999c4fe7 [Pipeline] // withDockerContainer [Pipeline] sh 22:14:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:14:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:14:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:04 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:14:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:14:04 $ docker top 76af941913b0e2a7e11d97ddd8be52c47a9451361a9c5e44a837a2e8e911670d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:14:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:04 [ssh-agent] Looking for ssh-agent implementation... 22:14:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:05 $ docker exec 76af941913b0e2a7e11d97ddd8be52c47a9451361a9c5e44a837a2e8e911670d ssh-agent 22:14:05 SSH_AUTH_SOCK=/tmp/ssh-LeEW1aCFNY2D/agent.32 22:14:05 SSH_AGENT_PID=39 22:14:05 Running ssh-add (command line suppressed) 22:14:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3253230165078450702.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3253230165078450702.key) 22:14:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:05 + git semver push 22:14:05 2022-09-15 22:14:05,729 [run_push] DEBUG push 22:14:05 2022-09-15 22:14:05,730 [execute] INFO git cat-file --batch-check 22:14:05 2022-09-15 22:14:05,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 22:14:05 2022-09-15 22:14:05,733 [execute] INFO git rev-list b511a3147ec59bd721e1cef8a0d7edc78bef3b36 -- 22:14:05 2022-09-15 22:14:05,733 [execute] DEBUG Popen(['git', 'rev-list', 'b511a3147ec59bd721e1cef8a0d7edc78bef3b36', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:14:05 2022-09-15 22:14:05,740 [execute] INFO git fetch -v origin 22:14:05 2022-09-15 22:14:05,741 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 22:14:06 2022-09-15 22:14:06,291 [run_push] DEBUG no remote changes detected 22:14:06 2022-09-15 22:14:06,291 [execute] INFO git push origin semver 22:14:06 2022-09-15 22:14:06,292 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 22:14:07 2022-09-15 22:14:07,074 [run_push] DEBUG push all version tags 22:14:07 2022-09-15 22:14:07,075 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 22:14:07 2022-09-15 22:14:07,075 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 22:14:08 2022-09-15 22:14:07,910 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 22:14:08 2.3.0-dev.17 [Pipeline] } 22:14:08 $ docker exec --env ******** --env ******** 76af941913b0e2a7e11d97ddd8be52c47a9451361a9c5e44a837a2e8e911670d ssh-agent -k 22:14:08 unset SSH_AUTH_SOCK; 22:14:08 unset SSH_AGENT_PID; 22:14:08 echo Agent pid 39 killed; 22:14:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:14:08 + git semver [Pipeline] } 22:14:08 $ docker stop --time=1 76af941913b0e2a7e11d97ddd8be52c47a9451361a9c5e44a837a2e8e911670d 22:14:10 $ docker rm -f 76af941913b0e2a7e11d97ddd8be52c47a9451361a9c5e44a837a2e8e911670d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:14:11 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 22:14:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:14:11 total 16 22:14:11 drwxr-xr-x 3 root root 4096 Sep 15 22:03 . 22:14:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:13 .. 22:14:11 drwxr-xr-x 2 root root 4096 Sep 15 22:03 cost 22:14:11 -rw-r--r-- 1 root root 88 Sep 15 22:03 cost.csv 22:14:11 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 22:14:11 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 22:14:11 total 16 22:14:11 drwxr-xr-x 3 jenkins jenkins 4096 Sep 15 22:03 . 22:14:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 15 22:13 .. 22:14:11 drwxr-xr-x 2 jenkins jenkins 4096 Sep 15 22:03 cost 22:14:11 -rw-r--r-- 1 jenkins jenkins 88 Sep 15 22:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:14:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:14:12 ---> package-listing.sh 22:14:12 ++ facter osfamily 22:14:12 ++ tr '[:upper:]' '[:lower:]' 22:14:12 + OS_FAMILY=debian 22:14:12 + workspace=/w/workspace/exfoundry_device-virtual-go_main 22:14:12 + START_PACKAGES=/tmp/packages_start.txt 22:14:12 + END_PACKAGES=/tmp/packages_end.txt 22:14:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:14:12 + PACKAGES=/tmp/packages_start.txt 22:14:12 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:14:12 + PACKAGES=/tmp/packages_end.txt 22:14:12 + case "${OS_FAMILY}" in 22:14:12 + dpkg -l 22:14:12 + grep '^ii' 22:14:12 + '[' -f /tmp/packages_start.txt ']' 22:14:12 + '[' -f /tmp/packages_end.txt ']' 22:14:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:14:12 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 22:14:12 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 22:14:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 22:14:12 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:14:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:13 prd-ubuntu20.04-docker-8c-8g-29310 does not seem to be running inside a container 22:14:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:13 $ docker top a8dc1800eb351c3c1230cd809c82dd15fd474f02aa7ed81f0b0f9b69fa8adf70 -eo pid,comm [Pipeline] { [Pipeline] sh 22:14:14 + touch /tmp/pre-build-complete [Pipeline] sh 22:14:14 + mkdir -p /var/log/sysstat [Pipeline] sh 22:14:14 + ls /var/log/sa-host 22:14:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:14 provisioning config files... 22:14:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8470187742929552607tmp [Pipeline] { [Pipeline] echo 22:14:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:14:15 ---> create-netrc.sh [Pipeline] } 22:14:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:14:15 ---> python-tools-install.sh [Pipeline] echo 22:14:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:14:15 ---> sudo-logs.sh 22:14:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:14:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:14:15 ---> job-cost.sh 22:14:15 lf-activate-venv: SKIPPING 22:14:15 DEBUG: total: 0.2199999988079071 22:14:15 INFO: Retrieving Stack Cost... 22:14:16 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:16 INFO: Archiving Costs [Pipeline] echo 22:14:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:14:17 ---> logs-deploy.sh 22:14:17 lf-activate-venv: SKIPPING 22:14:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/52 22:14:17 INFO: archiving workspace using pattern(s): 22:14:18 Archives upload complete. 22:14:18 INFO: archiving logs to Nexus