Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 38745b3e9e40de14badf8d6af86e73ac7698b39c 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-ssh3945632394796825313.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13355887586581747994.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8143402807251753284.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15804870877593527081.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12940064553729913053.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7328 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 38745b3e9e40de14badf8d6af86e73ac7698b39c (main) Commit message: "fix(snap): Remove duplicate file copying in install hook (#311)" > 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 38745b3e9e40de14badf8d6af86e73ac7698b39c # timeout=10 > git rev-list --no-walk dc6526b820fce363f7c4f2d6ce852272454ac71f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:58:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:58:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:58:52 ========================================================= 10:58:52 EdgeX Global Pipelines Version Info 10:58:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:58:52 ------------------- 10:58:52 stable info: 10:58:52 ------------------- 10:58:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:58:52 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:58:52 Message: update stable to v1.0.239 10:58:53 ------------------- 10:58:53 experimental info: 10:58:53 ------------------- 10:58:53 Commited By: **** collab-it+edgex@linuxfoundation.org 10:58:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 10:58:53 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 38745b3e9e40de14badf8d6af86e73ac7698b39c [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 38745b3 [Pipeline] echo 10:58:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:58:53 provisioning config files... 10:58:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11197765746496730330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:58:54 ---> docker-login.sh 10:58:54 nexus3.edgexfoundry.org:10001 10:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:54 Configure a credential helper to remove this warning. See 10:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:54 10:58:54 Login Succeeded 10:58:54 nexus3.edgexfoundry.org:10002 10:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:54 Configure a credential helper to remove this warning. See 10:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:54 10:58:54 Login Succeeded 10:58:54 nexus3.edgexfoundry.org:10003 10:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:54 Configure a credential helper to remove this warning. See 10:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:54 10:58:54 Login Succeeded 10:58:54 nexus3.edgexfoundry.org:10004 10:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:55 Configure a credential helper to remove this warning. See 10:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:55 10:58:55 Login Succeeded 10:58:55 docker.io 10:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:55 Configure a credential helper to remove this warning. See 10:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:55 10:58:55 Login Succeeded 10:58:55 ---> docker-login.sh ends [Pipeline] } 10:58:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:58:55 + git rev-list -1 --merges 38745b3e9e40de14badf8d6af86e73ac7698b39c~1..38745b3e9e40de14badf8d6af86e73ac7698b39c [Pipeline] echo 10:58:55 -----------> git rev-list -1 --merges 38745b3e9e40de14badf8d6af86e73ac7698b39c~1..38745b3e9e40de14badf8d6af86e73ac7698b39c 38745b3e9e40de14badf8d6af86e73ac7698b39c [false] [Pipeline] sh 10:58:56 + git log --format=format:%s -1 38745b3e9e40de14badf8d6af86e73ac7698b39c [Pipeline] echo 10:58:56 ========================================================= 10:58:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:58:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:58:56 + git log --format=format:%s -1 38745b3e9e40de14badf8d6af86e73ac7698b39c [Pipeline] echo 10:58:56 [semverPrep] GIT_COMMIT: 38745b3e9e40de14badf8d6af86e73ac7698b39c, Commit Message: fix(snap): Remove duplicate file copying in install hook (#311) [Pipeline] echo 10:58:56 [semverPrep] This is not a build commit. [Pipeline] sh 10:58:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:58:56 + grep -v github /etc/ssh/ssh_known_hosts 10:58:56 + [ -e /tmp/ssh_known_hosts ] 10:58:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:58:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:58:56 + sudo tee -a /etc/ssh/ssh_known_hosts 10:58:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:58:57 10:58:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:58:57 0.1.4: Pulling from edgex-devops/py-git-semver 10:58:57 b85a868b505f: Pulling fs layer 10:58:57 e2be974225ed: Pulling fs layer 10:58:57 339a4e72a1f5: Pulling fs layer 10:58:57 988bab9f4d93: Pulling fs layer 10:58:57 1469e6f7b9e6: Pulling fs layer 10:58:57 eaf3925da568: Pulling fs layer 10:58:57 bab4dde63d76: Pulling fs layer 10:58:57 bde34c3a00c8: Pulling fs layer 10:58:57 b352a97aabf1: Pulling fs layer 10:58:57 4872d77fe225: Pulling fs layer 10:58:57 5851b861e8e6: Pulling fs layer 10:58:57 988bab9f4d93: Waiting 10:58:57 1469e6f7b9e6: Waiting 10:58:57 eaf3925da568: Waiting 10:58:57 bab4dde63d76: Waiting 10:58:57 bde34c3a00c8: Waiting 10:58:57 b352a97aabf1: Waiting 10:58:57 4872d77fe225: Waiting 10:58:57 5851b861e8e6: Waiting 10:58:57 e2be974225ed: Download complete 10:58:57 988bab9f4d93: Verifying Checksum 10:58:57 988bab9f4d93: Download complete 10:58:57 1469e6f7b9e6: Verifying Checksum 10:58:57 1469e6f7b9e6: Download complete 10:58:57 eaf3925da568: Verifying Checksum 10:58:57 eaf3925da568: Download complete 10:58:57 339a4e72a1f5: Verifying Checksum 10:58:57 339a4e72a1f5: Download complete 10:58:57 bde34c3a00c8: Download complete 10:58:57 b352a97aabf1: Download complete 10:58:57 4872d77fe225: Verifying Checksum 10:58:57 4872d77fe225: Download complete 10:58:57 5851b861e8e6: Verifying Checksum 10:58:57 5851b861e8e6: Download complete 10:58:57 b85a868b505f: Verifying Checksum 10:58:57 b85a868b505f: Download complete 10:58:57 bab4dde63d76: Verifying Checksum 10:58:57 bab4dde63d76: Download complete 10:58:58 b85a868b505f: Pull complete 10:58:59 e2be974225ed: Pull complete 10:58:59 339a4e72a1f5: Pull complete 10:58:59 988bab9f4d93: Pull complete 10:59:00 1469e6f7b9e6: Pull complete 10:59:00 eaf3925da568: Pull complete 10:59:01 bab4dde63d76: Pull complete 10:59:01 bde34c3a00c8: Pull complete 10:59:02 b352a97aabf1: Pull complete 10:59:02 4872d77fe225: Pull complete 10:59:02 5851b861e8e6: Pull complete 10:59:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:59:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:59:02 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 10:59:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:59:04 $ docker top bbd73d3cfacf2e602f682c2fd73829859a78918c2280d002471bda6753524f83 -eo pid,comm 10:59:04 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). 10:59:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:59:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:59:04 [ssh-agent] Looking for ssh-agent implementation... 10:59:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:59:04 $ docker exec bbd73d3cfacf2e602f682c2fd73829859a78918c2280d002471bda6753524f83 ssh-agent 10:59:04 SSH_AUTH_SOCK=/tmp/ssh-ji5RNeoF5EJt/agent.32 10:59:04 SSH_AGENT_PID=38 10:59:04 Running ssh-add (command line suppressed) 10:59:04 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14398665426472761298.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_14398665426472761298.key) 10:59:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:59:04 + git tag --points-at HEAD [Pipeline] } 10:59:04 $ docker exec --env ******** --env ******** bbd73d3cfacf2e602f682c2fd73829859a78918c2280d002471bda6753524f83 ssh-agent -k 10:59:05 unset SSH_AUTH_SOCK; 10:59:05 unset SSH_AGENT_PID; 10:59:05 echo Agent pid 38 killed; 10:59:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:59:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:59:05 [ssh-agent] Looking for ssh-agent implementation... 10:59:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:59:05 $ docker exec bbd73d3cfacf2e602f682c2fd73829859a78918c2280d002471bda6753524f83 ssh-agent 10:59:05 SSH_AUTH_SOCK=/tmp/ssh-Ji80Smm0lm97/agent.70 10:59:05 SSH_AGENT_PID=76 10:59:05 Running ssh-add (command line suppressed) 10:59:05 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16157702234243851837.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_16157702234243851837.key) 10:59:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:59:05 + git semver init 10:59:06 2022-10-07 10:59:05,966 [run_init] DEBUG init version:0.0.0 force:False 10:59:06 2022-10-07 10:59:05,966 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 10:59:06 2022-10-07 10:59:05,967 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 10:59:06 2022-10-07 10:59:05,967 [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) 10:59:07 2022-10-07 10:59:07,067 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 10:59:07 2022-10-07 10:59:07,068 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 10:59:07 2022-10-07 10:59:07,068 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:59:07 2022-10-07 10:59:07,068 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 10:59:07 2.3.0-dev.22 [Pipeline] } 10:59:07 $ docker exec --env ******** --env ******** bbd73d3cfacf2e602f682c2fd73829859a78918c2280d002471bda6753524f83 ssh-agent -k 10:59:07 unset SSH_AUTH_SOCK; 10:59:07 unset SSH_AGENT_PID; 10:59:07 echo Agent pid 76 killed; 10:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:59:07 + git semver [Pipeline] } 10:59:08 $ docker stop --time=1 bbd73d3cfacf2e602f682c2fd73829859a78918c2280d002471bda6753524f83 10:59:09 $ docker rm -f bbd73d3cfacf2e602f682c2fd73829859a78918c2280d002471bda6753524f83 [Pipeline] // withDockerContainer [Pipeline] sh 10:59:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:59:09 Stashed 1 file(s) [Pipeline] echo 10:59:09 [edgeXSemver]: initialized semver on version 2.3.0-dev.22 [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 10:59:10 provisioning config files... 10:59:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config11037787397924357180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:59:10 ---> docker-login.sh 10:59:10 nexus3.edgexfoundry.org:10001 10:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:10 Configure a credential helper to remove this warning. See 10:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:10 10:59:10 Login Succeeded 10:59:10 nexus3.edgexfoundry.org:10002 10:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:10 Configure a credential helper to remove this warning. See 10:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:10 10:59:10 Login Succeeded 10:59:10 nexus3.edgexfoundry.org:10003 10:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:10 Configure a credential helper to remove this warning. See 10:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:10 10:59:10 Login Succeeded 10:59:10 nexus3.edgexfoundry.org:10004 10:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:10 Configure a credential helper to remove this warning. See 10:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:10 10:59:10 Login Succeeded 10:59:10 docker.io 10:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:59:11 Configure a credential helper to remove this warning. See 10:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:59:11 10:59:11 Login Succeeded 10:59:11 ---> docker-login.sh ends [Pipeline] } 10:59:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:59:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:59:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:59:11 ========================================================= 10:59:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:59:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:11 + 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 . 10:59:11 Sending build context to Docker daemon 23.17MB 10:59:11 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:59:11 Step 2/13 : FROM ${BASE} AS builder 10:59:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:59:11 2408cc74d12b: Pulling fs layer 10:59:11 ea60b727a1ce: Pulling fs layer 10:59:11 30c4a7721957: Pulling fs layer 10:59:11 370296b7ddb6: Pulling fs layer 10:59:11 7c6cee850709: Pulling fs layer 10:59:11 aa9baa53a306: Pulling fs layer 10:59:11 8b309c321861: Pulling fs layer 10:59:11 d8d76fd02f46: Pulling fs layer 10:59:11 fa31f396de31: Pulling fs layer 10:59:11 370296b7ddb6: Waiting 10:59:11 7c6cee850709: Waiting 10:59:11 d8d76fd02f46: Waiting 10:59:11 8b309c321861: Waiting 10:59:11 aa9baa53a306: Waiting 10:59:11 30c4a7721957: Verifying Checksum 10:59:11 30c4a7721957: Download complete 10:59:11 ea60b727a1ce: Verifying Checksum 10:59:11 ea60b727a1ce: Download complete 10:59:11 7c6cee850709: Download complete 10:59:11 2408cc74d12b: Download complete 10:59:11 aa9baa53a306: Verifying Checksum 10:59:11 aa9baa53a306: Download complete 10:59:11 8b309c321861: Download complete 10:59:11 2408cc74d12b: Pull complete 10:59:12 ea60b727a1ce: Pull complete 10:59:12 30c4a7721957: Pull complete 10:59:12 fa31f396de31: Verifying Checksum 10:59:12 fa31f396de31: Download complete 10:59:12 d8d76fd02f46: Verifying Checksum 10:59:12 d8d76fd02f46: Download complete 10:59:12 370296b7ddb6: Verifying Checksum 10:59:12 370296b7ddb6: Download complete 10:59:16 370296b7ddb6: Pull complete 10:59:16 7c6cee850709: Pull complete 10:59:16 aa9baa53a306: Pull complete 10:59:16 8b309c321861: Pull complete 10:59:18 d8d76fd02f46: Pull complete 10:59:19 fa31f396de31: Pull complete 10:59:19 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 10:59:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:59:19 ---> cef68f9685f8 10:59:19 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:59:21 ---> Running in 46a4c231cc24 10:59:21 Removing intermediate container 46a4c231cc24 10:59:21 ---> 576d1c85b935 10:59:21 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 10:59:21 ---> Running in 9deed4a12bdc 10:59:21 Removing intermediate container 9deed4a12bdc 10:59:21 ---> df61b406a210 10:59:21 Step 5/13 : ARG ADD_BUILD_TAGS="" 10:59:21 ---> Running in a6dc04353479 10:59:21 Removing intermediate container a6dc04353479 10:59:21 ---> 1e2f9612c781 10:59:21 Step 6/13 : WORKDIR /device-virtual-go 10:59:21 ---> Running in 16ff0a926e87 10:59:22 Removing intermediate container 16ff0a926e87 10:59:22 ---> b9f8368fbc4d 10:59:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:59:22 ---> Running in fa9124ba0eb2 10:59:22 Removing intermediate container fa9124ba0eb2 10:59:22 ---> b21f494322f7 10:59:22 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:59:22 ---> Running in 6e64ccb801b4 10:59:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:59:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:59:24 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:59:24 (2/4) Installing libedit (20210910.3.1-r0) 10:59:24 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:59:24 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:59:24 Executing busybox-1.35.0-r13.trigger 10:59:24 OK: 216 MiB in 55 packages 10:59:24 Removing intermediate container 6e64ccb801b4 10:59:24 ---> e070c12fb441 10:59:24 Step 9/13 : COPY go.mod vendor* ./ 10:59:25 Still waiting to schedule task 10:59:25 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 10:59:25 ---> 7b6fd444bbfa 10:59:25 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:59:25 ---> Running in 20d9ce32a78c 10:59:40 Removing intermediate container 20d9ce32a78c 10:59:40 ---> de2aa1de7957 10:59:40 Step 11/13 : COPY . . 10:59:40 ---> e5555c6c39b0 10:59:40 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:59:40 ---> Running in a500b7af42a5 10:59:40 Removing intermediate container a500b7af42a5 10:59:40 ---> d81d8dbf6aa4 10:59:40 Step 13/13 : RUN $MAKE 10:59:40 ---> Running in 0ae7629281a9 10:59:41 noop 10:59:41 Removing intermediate container 0ae7629281a9 10:59:41 ---> d42bbbebab00 10:59:41 Successfully built d42bbbebab00 10:59:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:41 + docker inspect -f . ci-base-image-x86_64 10:59:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:59:41 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 10:59:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:59:42 $ docker top 5eea072739dbe1d7346e6027b093debc77bec255ec28c731796154c451a76778 -eo pid,comm [Pipeline] { [Pipeline] sh 10:59:42 + go version 10:59:42 go version go1.18.3 linux/amd64 [Pipeline] } 10:59:42 $ docker stop --time=1 5eea072739dbe1d7346e6027b093debc77bec255ec28c731796154c451a76778 10:59:43 $ docker rm -f 5eea072739dbe1d7346e6027b093debc77bec255ec28c731796154c451a76778 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:59:44 + docker inspect -f . ci-base-image-x86_64 10:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:59:44 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 10:59:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:59:44 $ docker top 6357334b0a469112ba512906f0b7674bdf89450098c79f51f19c1cc2744d9ef6 -eo pid,comm [Pipeline] { [Pipeline] sh 10:59:45 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 10:59:45 + make test 10:59:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 10:59:45 ? github.com/edgexfoundry/device-virtual-go [no test files] 10:59:53 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 10:59:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 11:00:01 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." 11:00:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:00:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:00:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:00:03 ./bin/test-attribution-txt.sh [Pipeline] echo 11:00:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:00:03 $ docker stop --time=1 6357334b0a469112ba512906f0b7674bdf89450098c79f51f19c1cc2744d9ef6 11:00:05 $ docker rm -f 6357334b0a469112ba512906f0b7674bdf89450098c79f51f19c1cc2744d9ef6 [Pipeline] // withDockerContainer [Pipeline] sh 11:00:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:00:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:00:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:00:06 + ls -al . 11:00:06 total 200 11:00:06 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 10:59 . 11:00:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:58 .. 11:00:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:59 .git 11:00:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:58 .github 11:00:06 -rw-rw-r-- 1 jenkins jenkins 337 Oct 7 10:58 .gitignore 11:00:06 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 10:58 .golangci.yml 11:00:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:59 .semver 11:00:06 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 7 10:58 Attribution.txt 11:00:06 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 7 10:58 CHANGELOG.md 11:00:06 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 7 10:58 Dockerfile 11:00:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:58 GOVERNANCE.md 11:00:06 -rw-rw-r-- 1 jenkins jenkins 660 Oct 7 10:58 Jenkinsfile 11:00:06 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 10:58 LICENSE 11:00:06 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 7 10:58 Makefile 11:00:06 -rw-rw-r-- 1 jenkins jenkins 623 Oct 7 10:58 OWNERS.md 11:00:06 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 7 10:58 README.md 11:00:06 -rw-rw-r-- 1 jenkins jenkins 12 Oct 7 10:59 VERSION 11:00:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:58 bin 11:00:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:58 cmd 11:00:06 -rw-r--r-- 1 jenkins jenkins 44128 Oct 7 10:59 coverage.out 11:00:06 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 7 10:58 go.mod 11:00:06 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 7 10:58 go.sum 11:00:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:58 internal 11:00:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:58 snap 11:00:06 -rw-rw-r-- 1 jenkins jenkins 235 Oct 7 10:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:07 + 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=38745b3e9e40de14badf8d6af86e73ac7698b39c --label arch=amd64 --label version=2.3.0-dev.22 . 11:00:07 Sending build context to Docker daemon 23.21MB 11:00:07 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:00:07 Step 2/27 : FROM ${BASE} AS builder 11:00:07 ---> d42bbbebab00 11:00:07 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:00:07 ---> Running in aa45d4ea0451 11:00:07 Removing intermediate container aa45d4ea0451 11:00:07 ---> f997a64f41fa 11:00:07 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:00:07 ---> Running in efb281a5432d 11:00:07 Removing intermediate container efb281a5432d 11:00:07 ---> 615f94ee8820 11:00:07 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:00:07 ---> Running in 89c04cd79eae 11:00:07 Removing intermediate container 89c04cd79eae 11:00:07 ---> 0623e478f3bc 11:00:07 Step 6/27 : WORKDIR /device-virtual-go 11:00:08 ---> Running in 411fc97819b8 11:00:08 Removing intermediate container 411fc97819b8 11:00:08 ---> e595e64db399 11:00:08 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:00:08 ---> Running in cd23148c0e40 11:00:08 Removing intermediate container cd23148c0e40 11:00:08 ---> f08950d12d60 11:00:08 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:00:08 ---> Running in d722f6321972 11:00:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:00:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:00:10 OK: 216 MiB in 55 packages 11:00:10 Removing intermediate container d722f6321972 11:00:10 ---> f00ec6dbd796 11:00:10 Step 9/27 : COPY go.mod vendor* ./ 11:00:10 ---> b31e775e6886 11:00:10 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:00:10 ---> Running in 758c602ab977 11:00:11 Removing intermediate container 758c602ab977 11:00:11 ---> c9ab832ee286 11:00:11 Step 11/27 : COPY . . 11:00:12 ---> a3e147853ed6 11:00:12 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:00:12 ---> Running in f20d36fb23d9 11:00:12 Removing intermediate container f20d36fb23d9 11:00:12 ---> d4f91e791bf0 11:00:12 Step 13/27 : RUN $MAKE 11:00:12 ---> Running in b1f8ed5f4cd1 11:00:12 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:00:34 Removing intermediate container b1f8ed5f4cd1 11:00:34 ---> ee7946cdb32d 11:00:34 Step 14/27 : FROM alpine:3.16 11:00:34 3.16: Pulling from library/alpine 11:00:34 213ec9aee27d: Pulling fs layer 11:00:34 213ec9aee27d: Verifying Checksum 11:00:34 213ec9aee27d: Download complete 11:00:34 213ec9aee27d: Pull complete 11:00:34 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:00:34 Status: Downloaded newer image for alpine:3.16 11:00:34 ---> 9c6f07244728 11:00:34 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:00:34 ---> Running in 50edd1d7f032 11:00:34 Removing intermediate container 50edd1d7f032 11:00:34 ---> e001004ddd19 11:00:34 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:00:34 ---> Running in 061e8a949fd3 11:00:34 Removing intermediate container 061e8a949fd3 11:00:34 ---> fc0880dc8f73 11:00:34 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:00:34 ---> Running in d58ef52ae72e 11:00:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:00:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:00:34 (1/6) Installing dumb-init (1.2.5-r1) 11:00:34 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:00:35 (3/6) Installing libsodium (1.0.18-r0) 11:00:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:00:35 (5/6) Installing libzmq (4.3.4-r0) 11:00:35 (6/6) Installing zeromq (4.3.4-r0) 11:00:35 Executing busybox-1.35.0-r17.trigger 11:00:35 OK: 8 MiB in 20 packages 11:00:35 Removing intermediate container d58ef52ae72e 11:00:35 ---> 6821764ea849 11:00:35 Step 18/27 : WORKDIR / 11:00:35 ---> Running in a6ba1baa8e85 11:00:35 Removing intermediate container a6ba1baa8e85 11:00:35 ---> f483085bf63b 11:00:35 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:00:36 ---> 2e7b2ad7ac66 11:00:36 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:00:36 ---> 6b11dec18bff 11:00:36 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:00:36 ---> b04855fc8dbc 11:00:36 Step 22/27 : EXPOSE 59900 11:00:36 ---> Running in 63cf07feac1b 11:00:36 Removing intermediate container 63cf07feac1b 11:00:36 ---> 905873bf514b 11:00:36 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:00:36 ---> Running in 961267dc9c95 11:00:36 Removing intermediate container 961267dc9c95 11:00:36 ---> 47bf3b5d9188 11:00:36 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:00:36 ---> Running in fff35d095d7d 11:00:36 Removing intermediate container fff35d095d7d 11:00:36 ---> 23ac638da9d9 11:00:36 Step 25/27 : LABEL arch=amd64 11:00:37 ---> Running in 008c0921dcf0 11:00:37 Removing intermediate container 008c0921dcf0 11:00:37 ---> 6b65c5e821d7 11:00:37 Step 26/27 : LABEL git_sha=38745b3e9e40de14badf8d6af86e73ac7698b39c 11:00:37 ---> Running in 289fcc48ebd8 11:00:37 Removing intermediate container 289fcc48ebd8 11:00:37 ---> 0acedcefcb6d 11:00:37 Step 27/27 : LABEL version=2.3.0-dev.22 11:00:37 ---> Running in b0c719a0ed38 11:00:37 Removing intermediate container b0c719a0ed38 11:00:37 ---> 6af0dae3f319 11:00:37 [Warning] One or more build-args [ARCH] were not consumed 11:00:37 Successfully built 6af0dae3f319 11:00:37 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:00:37 provisioning config files... 11:00:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config13516891062021657570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:00:37 ---> docker-login.sh 11:00:37 nexus3.edgexfoundry.org:10001 11:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:37 Configure a credential helper to remove this warning. See 11:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:37 11:00:37 Login Succeeded 11:00:37 nexus3.edgexfoundry.org:10002 11:00:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:37 Configure a credential helper to remove this warning. See 11:00:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:37 11:00:37 Login Succeeded 11:00:37 nexus3.edgexfoundry.org:10003 11:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:38 Configure a credential helper to remove this warning. See 11:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:38 11:00:38 Login Succeeded 11:00:38 nexus3.edgexfoundry.org:10004 11:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:38 Configure a credential helper to remove this warning. See 11:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:38 11:00:38 Login Succeeded 11:00:38 docker.io 11:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:00:38 Configure a credential helper to remove this warning. See 11:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:00:38 11:00:38 Login Succeeded 11:00:38 ---> docker-login.sh ends [Pipeline] } 11:00:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:00:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:00:38 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 11:00:38 38745b3e9e40de14badf8d6af86e73ac7698b39c 11:00:38 latest 11:00:38 2.3.0-dev.22 11:00:38 38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22 11:00:38 main 11:00:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:39 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:38745b3e9e40de14badf8d6af86e73ac7698b39c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:39 + docker push nexus3.edgexfoundry.org:10004/device-virtual:38745b3e9e40de14badf8d6af86e73ac7698b39c 11:00:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:00:39 6cd5326e3e97: Preparing 11:00:39 e0d5c71781b3: Preparing 11:00:39 4608e7261594: Preparing 11:00:39 cb4284d836e8: Preparing 11:00:39 715c3b386621: Preparing 11:00:39 994393dc58e7: Preparing 11:00:39 994393dc58e7: Waiting 11:00:39 e0d5c71781b3: Pushed 11:00:39 715c3b386621: Pushed 11:00:39 4608e7261594: Pushed 11:00:39 994393dc58e7: Layer already exists 11:00:39 cb4284d836e8: Pushed 11:00:42 6cd5326e3e97: Pushed 11:00:42 38745b3e9e40de14badf8d6af86e73ac7698b39c: digest: sha256:fc183ae6e282e3390399e86b8c380570a12ea25902f2a885592c40bcd36b26d5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:42 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:42 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 11:00:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:00:42 6cd5326e3e97: Preparing 11:00:42 e0d5c71781b3: Preparing 11:00:42 4608e7261594: Preparing 11:00:42 cb4284d836e8: Preparing 11:00:42 715c3b386621: Preparing 11:00:42 994393dc58e7: Preparing 11:00:42 994393dc58e7: Waiting 11:00:42 715c3b386621: Layer already exists 11:00:42 cb4284d836e8: Layer already exists 11:00:42 e0d5c71781b3: Layer already exists 11:00:42 4608e7261594: Layer already exists 11:00:42 6cd5326e3e97: Layer already exists 11:00:42 994393dc58e7: Layer already exists 11:00:42 latest: digest: sha256:fc183ae6e282e3390399e86b8c380570a12ea25902f2a885592c40bcd36b26d5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.22 11:00:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:00:43 6cd5326e3e97: Preparing 11:00:43 e0d5c71781b3: Preparing 11:00:43 4608e7261594: Preparing 11:00:43 cb4284d836e8: Preparing 11:00:43 715c3b386621: Preparing 11:00:43 994393dc58e7: Preparing 11:00:43 994393dc58e7: Waiting 11:00:43 715c3b386621: Layer already exists 11:00:43 4608e7261594: Layer already exists 11:00:43 cb4284d836e8: Layer already exists 11:00:43 e0d5c71781b3: Layer already exists 11:00:43 6cd5326e3e97: Layer already exists 11:00:43 994393dc58e7: Layer already exists 11:00:43 2.3.0-dev.22: digest: sha256:fc183ae6e282e3390399e86b8c380570a12ea25902f2a885592c40bcd36b26d5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:43 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:43 + docker push nexus3.edgexfoundry.org:10004/device-virtual:38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22 11:00:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:00:43 6cd5326e3e97: Preparing 11:00:43 e0d5c71781b3: Preparing 11:00:43 4608e7261594: Preparing 11:00:43 cb4284d836e8: Preparing 11:00:43 715c3b386621: Preparing 11:00:43 994393dc58e7: Preparing 11:00:43 994393dc58e7: Waiting 11:00:43 715c3b386621: Layer already exists 11:00:43 e0d5c71781b3: Layer already exists 11:00:43 4608e7261594: Layer already exists 11:00:43 cb4284d836e8: Layer already exists 11:00:43 6cd5326e3e97: Layer already exists 11:00:43 994393dc58e7: Layer already exists 11:00:43 38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22: digest: sha256:fc183ae6e282e3390399e86b8c380570a12ea25902f2a885592c40bcd36b26d5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:44 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:44 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 11:00:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 11:00:44 6cd5326e3e97: Preparing 11:00:44 e0d5c71781b3: Preparing 11:00:44 4608e7261594: Preparing 11:00:44 cb4284d836e8: Preparing 11:00:44 715c3b386621: Preparing 11:00:44 994393dc58e7: Preparing 11:00:44 994393dc58e7: Waiting 11:00:44 715c3b386621: Layer already exists 11:00:44 cb4284d836e8: Layer already exists 11:00:44 e0d5c71781b3: Layer already exists 11:00:44 4608e7261594: Layer already exists 11:00:44 6cd5326e3e97: Layer already exists 11:00:44 994393dc58e7: Layer already exists 11:00:44 main: digest: sha256:fc183ae6e282e3390399e86b8c380570a12ea25902f2a885592c40bcd36b26d5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:00:44 ===================================================== [Pipeline] echo 11:00:44 taggedImages: 11:00:44 - nexus3.edgexfoundry.org:10004/device-virtual:38745b3e9e40de14badf8d6af86e73ac7698b39c 11:00:44 - nexus3.edgexfoundry.org:10004/device-virtual:latest 11:00:44 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.22 11:00:44 - nexus3.edgexfoundry.org:10004/device-virtual:38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22 11:00:44 - 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 11:00:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:00:44 11:00:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:00:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:00:45 latest: Pulling from edgex-lftools-log-publisher 11:00:45 5eb5b503b376: Pulling fs layer 11:00:45 5c69ac0246d0: Pulling fs layer 11:00:45 ec43610c2a17: Pulling fs layer 11:00:45 3a2ae6a8a46f: Pulling fs layer 11:00:45 33b1e0a273af: Pulling fs layer 11:00:45 5d3b04190fa2: Pulling fs layer 11:00:45 2f39f015ded8: Pulling fs layer 11:00:45 3a2ae6a8a46f: Waiting 11:00:45 33b1e0a273af: Waiting 11:00:45 5d3b04190fa2: Waiting 11:00:45 5c69ac0246d0: Verifying Checksum 11:00:45 5c69ac0246d0: Download complete 11:00:45 3a2ae6a8a46f: Verifying Checksum 11:00:45 3a2ae6a8a46f: Download complete 11:00:45 33b1e0a273af: Verifying Checksum 11:00:45 33b1e0a273af: Download complete 11:00:45 5d3b04190fa2: Verifying Checksum 11:00:45 5d3b04190fa2: Download complete 11:00:45 ec43610c2a17: Verifying Checksum 11:00:45 ec43610c2a17: Download complete 11:00:45 5eb5b503b376: Verifying Checksum 11:00:45 5eb5b503b376: Download complete 11:00:46 2f39f015ded8: Download complete 11:00:46 5eb5b503b376: Pull complete 11:00:46 5c69ac0246d0: Pull complete 11:00:47 ec43610c2a17: Pull complete 11:00:47 3a2ae6a8a46f: Pull complete 11:00:47 33b1e0a273af: Pull complete 11:00:47 5d3b04190fa2: Pull complete 11:00:51 2f39f015ded8: Pull complete 11:00:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:00:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:00:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:00:51 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 11:00:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:00:53 $ docker top 8a7ce9486134c13052ae102722fa9ceff8f66a6eaf04f3e5d938c4d1782413ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:00:54 ---> job-cost.sh 11:00:54 lf-activate-venv: SKIPPING 11:00:54 INFO: No Stack... 11:00:54 INFO: Retrieving Pricing Info for: v3-standard-8 11:00:54 INFO: Archiving Costs [Pipeline] sh 11:00:55 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 11:00:55 + cut -d, -f6 [Pipeline] lock 11:00:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-58-stack-cost] 11:00:55 Resource [jenkins-edgexfoundry-device-virtual-go-main-58-stack-cost] did not exist. Created. 11:00:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:00:55 + echo total: 0.2199999988079071 [Pipeline] stash 11:00:55 Stashed 1 file(s) [Pipeline] } 11:00:55 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 11:00:55 $ docker stop --time=1 8a7ce9486134c13052ae102722fa9ceff8f66a6eaf04f3e5d938c4d1782413ed 11:00:56 $ docker rm -f 8a7ce9486134c13052ae102722fa9ceff8f66a6eaf04f3e5d938c4d1782413ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:02:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7329 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 11:02:28 Running in /w/workspace/device-virtual-go/58 [Pipeline] { [Pipeline] checkout 11:02:28 The recommended git tool is: git 11:02:34 using credential edgex-jenkins-ssh 11:02:34 Cloning the remote Git repository 11:02:34 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:02:34 > git init /w/workspace/device-virtual-go/58 # timeout=10 11:02:34 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:02:34 > git --version # timeout=10 11:02:34 > git --version # 'git version 2.25.1' 11:02:34 using GIT_SSH to set credentials SSH Credentials for GitHub 11:02:34 Verifying host key using known hosts file 11:02:35 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:02:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:02:37 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:02:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:02:38 Avoid second fetch 11:02:38 Checking out Revision 38745b3e9e40de14badf8d6af86e73ac7698b39c (main) 11:02:38 Commit message: "fix(snap): Remove duplicate file copying in install hook (#311)" 11:02:38 > git config core.sparsecheckout # timeout=10 11:02:38 > git checkout -f 38745b3e9e40de14badf8d6af86e73ac7698b39c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:02:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:02:39 % Total % Received % Xferd Average Speed Time Time Time Current 11:02:39 Dload Upload Total Spent Left Speed 11:02:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 11:02:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:02:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:02:40 + sudo tee /etc/docker/daemon.new 11:02:40 { 11:02:40 "registry-mirrors": [ 11:02:40 "https://nexus3.edgexfoundry.org:10001" 11:02:40 ], 11:02:40 "bip": "10.250.0.254/24", 11:02:40 "hosts": [ 11:02:40 "tcp://0.0.0.0:5555", 11:02:40 "unix:///var/run/docker.sock" 11:02:40 ], 11:02:40 "mtu": 1458, 11:02:40 "selinux-enabled": true, 11:02:40 "seccomp-profile": "/etc/docker/seccomp.json" 11:02:40 } [Pipeline] sh 11:02:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:02:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:02:59 provisioning config files... 11:02:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config12296772638252934611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:03:00 ---> docker-login.sh 11:03:00 nexus3.edgexfoundry.org:10001 11:03:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:00 Configure a credential helper to remove this warning. See 11:03:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:00 11:03:00 Login Succeeded 11:03:00 nexus3.edgexfoundry.org:10002 11:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:01 Configure a credential helper to remove this warning. See 11:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:01 11:03:01 Login Succeeded 11:03:01 nexus3.edgexfoundry.org:10003 11:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:01 Configure a credential helper to remove this warning. See 11:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:01 11:03:01 Login Succeeded 11:03:01 nexus3.edgexfoundry.org:10004 11:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:01 Configure a credential helper to remove this warning. See 11:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:01 11:03:01 Login Succeeded 11:03:01 docker.io 11:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:03:02 Configure a credential helper to remove this warning. See 11:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:03:02 11:03:02 Login Succeeded 11:03:02 ---> docker-login.sh ends [Pipeline] } 11:03:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:03:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:03:03 ========================================================= 11:03:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:03:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:03:03 + 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 . 11:03:03 Sending build context to Docker daemon 11.72MB 11:03:03 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:03:03 Step 2/13 : FROM ${BASE} AS builder 11:03:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:03:03 b3c136eddcbf: Pulling fs layer 11:03:03 c0a3192eca97: Pulling fs layer 11:03:03 a050256f5b6f: Pulling fs layer 11:03:03 656be50a0ddc: Pulling fs layer 11:03:03 2bbca73fdf42: Pulling fs layer 11:03:03 f607e4fc86c3: Pulling fs layer 11:03:03 4d572c569a2c: Pulling fs layer 11:03:03 fcf976331f73: Pulling fs layer 11:03:03 2bbca73fdf42: Waiting 11:03:03 f607e4fc86c3: Waiting 11:03:03 4d572c569a2c: Waiting 11:03:03 fcf976331f73: Waiting 11:03:03 656be50a0ddc: Waiting 11:03:03 a050256f5b6f: Verifying Checksum 11:03:03 a050256f5b6f: Download complete 11:03:03 c0a3192eca97: Download complete 11:03:03 2bbca73fdf42: Verifying Checksum 11:03:03 2bbca73fdf42: Download complete 11:03:03 f607e4fc86c3: Verifying Checksum 11:03:03 f607e4fc86c3: Download complete 11:03:03 b3c136eddcbf: Verifying Checksum 11:03:04 b3c136eddcbf: Pull complete 11:03:05 fcf976331f73: Verifying Checksum 11:03:05 fcf976331f73: Download complete 11:03:05 c0a3192eca97: Pull complete 11:03:06 4d572c569a2c: Verifying Checksum 11:03:06 4d572c569a2c: Download complete 11:03:07 656be50a0ddc: Download complete 11:03:07 a050256f5b6f: Pull complete 11:03:19 656be50a0ddc: Pull complete 11:03:19 2bbca73fdf42: Pull complete 11:03:19 f607e4fc86c3: Pull complete 11:03:26 4d572c569a2c: Pull complete 11:03:28 fcf976331f73: Pull complete 11:03:28 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 11:03:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:03:28 ---> 3970a7415f9e 11:03:28 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:03:29 ---> Running in 41230206b996 11:03:29 Removing intermediate container 41230206b996 11:03:29 ---> 16d130082bf2 11:03:29 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:03:29 ---> Running in 6e59376ac61d 11:03:30 Removing intermediate container 6e59376ac61d 11:03:30 ---> b4e5f61ae0ed 11:03:30 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:03:30 ---> Running in b99e9c51bbc8 11:03:30 Removing intermediate container b99e9c51bbc8 11:03:30 ---> 766f40b80934 11:03:30 Step 6/13 : WORKDIR /device-virtual-go 11:03:30 ---> Running in bdcb36645b1b 11:03:30 Removing intermediate container bdcb36645b1b 11:03:30 ---> 631e502a1da8 11:03:30 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:03:30 ---> Running in 8f1994618175 11:03:32 Removing intermediate container 8f1994618175 11:03:32 ---> f42a3a1cc000 11:03:32 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:03:32 ---> Running in ad103ccb0b20 11:03:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:03:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:03:35 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:03:36 (2/4) Installing libedit (20210910.3.1-r0) 11:03:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:03:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:03:36 Executing busybox-1.35.0-r13.trigger 11:03:36 OK: 226 MiB in 55 packages 11:03:37 Removing intermediate container ad103ccb0b20 11:03:37 ---> 080ac0b1a8ec 11:03:37 Step 9/13 : COPY go.mod vendor* ./ 11:03:38 ---> aebe48134e0b 11:03:38 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:03:38 ---> Running in ad2495c37b6d 11:04:34 Removing intermediate container ad2495c37b6d 11:04:34 ---> 800f069f3e91 11:04:34 Step 11/13 : COPY . . 11:04:34 ---> e82e7a04a006 11:04:34 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:04:34 ---> Running in 710134b33794 11:04:34 Removing intermediate container 710134b33794 11:04:34 ---> e824363a04af 11:04:34 Step 13/13 : RUN $MAKE 11:04:34 ---> Running in 1555aa064d3c 11:04:34 noop 11:04:34 Removing intermediate container 1555aa064d3c 11:04:34 ---> e241d678f1ac 11:04:34 Successfully built e241d678f1ac 11:04:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:35 + docker inspect -f . ci-base-image-arm64 11:04:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:35 prd-ubuntu20.04-docker-arm64-4c-16g-7329 does not seem to be running inside a container 11:04:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:04:36 $ docker top e5a63c5563669493870a854897762cec6a52223985e7b12d0e4362f3ccc47f88 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:37 + go version 11:04:37 go version go1.18.3 linux/arm64 [Pipeline] } 11:04:37 $ docker stop --time=1 e5a63c5563669493870a854897762cec6a52223985e7b12d0e4362f3ccc47f88 11:04:38 $ docker rm -f e5a63c5563669493870a854897762cec6a52223985e7b12d0e4362f3ccc47f88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:39 + docker inspect -f . ci-base-image-arm64 11:04:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:04:39 prd-ubuntu20.04-docker-arm64-4c-16g-7329 does not seem to be running inside a container 11:04:39 $ 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/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:04:41 $ docker top 5d99ed6a70d9cefceae0b1187472ecea9a836329dbcc68bc3baa4b9161ff6b40 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:41 + git config --global --add safe.directory /w/workspace/device-virtual-go/58 [Pipeline] fileExists [Pipeline] sh 11:04:42 + make test 11:04:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:04:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:06:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:06:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.142s coverage: 65.7% of statements 11:06:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:06:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:06:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:06:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:06:33 ./bin/test-attribution-txt.sh [Pipeline] echo 11:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:06:33 $ docker stop --time=1 5d99ed6a70d9cefceae0b1187472ecea9a836329dbcc68bc3baa4b9161ff6b40 11:06:35 $ docker rm -f 5d99ed6a70d9cefceae0b1187472ecea9a836329dbcc68bc3baa4b9161ff6b40 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:06:36 Warning: overwriting stash ‘coverage-report’ 11:06:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:06:37 + ls -al . 11:06:37 total 196 11:06:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 11:04 . 11:06:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:02 .. 11:06:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 11:02 .git 11:06:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:02 .github 11:06:37 -rw-rw-r-- 1 jenkins jenkins 337 Oct 7 11:02 .gitignore 11:06:37 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 11:02 .golangci.yml 11:06:37 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 7 11:02 Attribution.txt 11:06:37 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 7 11:02 CHANGELOG.md 11:06:37 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 7 11:02 Dockerfile 11:06:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 11:02 GOVERNANCE.md 11:06:37 -rw-rw-r-- 1 jenkins jenkins 660 Oct 7 11:02 Jenkinsfile 11:06:37 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 11:02 LICENSE 11:06:37 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 7 11:02 Makefile 11:06:37 -rw-rw-r-- 1 jenkins jenkins 623 Oct 7 11:02 OWNERS.md 11:06:37 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 7 11:02 README.md 11:06:37 -rw-rw-r-- 1 jenkins jenkins 12 Oct 7 10:59 VERSION 11:06:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:02 bin 11:06:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:02 cmd 11:06:37 -rw-r--r-- 1 jenkins jenkins 44128 Oct 7 11:06 coverage.out 11:06:37 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 7 11:02 go.mod 11:06:37 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 7 11:02 go.sum 11:06:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:02 internal 11:06:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:02 snap 11:06:37 -rw-rw-r-- 1 jenkins jenkins 235 Oct 7 11:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:37 + 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=38745b3e9e40de14badf8d6af86e73ac7698b39c --label arch=arm64 --label version=2.3.0-dev.22 . 11:06:37 Sending build context to Docker daemon 11.77MB 11:06:38 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:06:38 Step 2/27 : FROM ${BASE} AS builder 11:06:38 ---> e241d678f1ac 11:06:38 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:06:38 ---> Running in 6628266a0214 11:06:38 Removing intermediate container 6628266a0214 11:06:38 ---> 9ca1ea93e96b 11:06:38 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:06:38 ---> Running in 9b7cec88c573 11:06:38 Removing intermediate container 9b7cec88c573 11:06:38 ---> f81cb92e293c 11:06:38 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:06:38 ---> Running in 7bcc5b944768 11:06:40 Removing intermediate container 7bcc5b944768 11:06:40 ---> 3b6a1497e4da 11:06:40 Step 6/27 : WORKDIR /device-virtual-go 11:06:40 ---> Running in 97031fab6e29 11:06:40 Removing intermediate container 97031fab6e29 11:06:40 ---> 7e4e15076d1c 11:06:40 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:40 ---> Running in 6512ec240546 11:06:42 Removing intermediate container 6512ec240546 11:06:42 ---> 993da6fd4736 11:06:42 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:06:42 ---> Running in 139bfef9f1b5 11:06:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:06:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:06:47 OK: 226 MiB in 55 packages 11:06:48 Removing intermediate container 139bfef9f1b5 11:06:48 ---> 78317e34de3b 11:06:48 Step 9/27 : COPY go.mod vendor* ./ 11:06:49 ---> 3ec09bb2a5b3 11:06:49 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:49 ---> Running in d1be92313e98 11:06:51 Removing intermediate container d1be92313e98 11:06:51 ---> ee354dc82116 11:06:51 Step 11/27 : COPY . . 11:06:52 ---> 2675ae3861c9 11:06:52 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:06:52 ---> Running in d78ef3581988 11:06:52 Removing intermediate container d78ef3581988 11:06:52 ---> 18b08344fd19 11:06:52 Step 13/27 : RUN $MAKE 11:06:52 ---> Running in a108cd04c4ff 11:06:54 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:09:46 Removing intermediate container a108cd04c4ff 11:09:46 ---> 7e9a713f89f0 11:09:46 Step 14/27 : FROM alpine:3.16 11:09:46 3.16: Pulling from library/alpine 11:09:46 9b18e9b68314: Pulling fs layer 11:09:46 9b18e9b68314: Verifying Checksum 11:09:46 9b18e9b68314: Download complete 11:09:46 9b18e9b68314: Pull complete 11:09:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:09:46 Status: Downloaded newer image for alpine:3.16 11:09:46 ---> a6215f271958 11:09:46 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:09:46 ---> Running in 247083ab5434 11:09:46 Removing intermediate container 247083ab5434 11:09:46 ---> b07779405166 11:09:46 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:46 ---> Running in 989e4c045d1d 11:09:46 Removing intermediate container 989e4c045d1d 11:09:46 ---> ca090c033404 11:09:46 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:09:46 ---> Running in 7a157d7f1bdb 11:09:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:09:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:09:46 (1/6) Installing dumb-init (1.2.5-r1) 11:09:46 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:09:46 (3/6) Installing libsodium (1.0.18-r0) 11:09:46 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:09:46 (5/6) Installing libzmq (4.3.4-r0) 11:09:46 (6/6) Installing zeromq (4.3.4-r0) 11:09:46 Executing busybox-1.35.0-r17.trigger 11:09:46 OK: 8 MiB in 20 packages 11:09:46 Removing intermediate container 7a157d7f1bdb 11:09:46 ---> ce8827b8b764 11:09:46 Step 18/27 : WORKDIR / 11:09:46 ---> Running in 430e1e4d949f 11:09:46 Removing intermediate container 430e1e4d949f 11:09:46 ---> 17ea711070c4 11:09:46 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:09:46 ---> ccf326196fca 11:09:46 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:09:46 ---> 262fcc66be4d 11:09:46 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:09:46 ---> 249a8f5ed08c 11:09:46 Step 22/27 : EXPOSE 59900 11:09:46 ---> Running in d78a0ee256e2 11:09:46 Removing intermediate container d78a0ee256e2 11:09:46 ---> f79838cefaac 11:09:46 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:09:46 ---> Running in 94da56d69bdb 11:09:46 Removing intermediate container 94da56d69bdb 11:09:46 ---> d56376dc5031 11:09:46 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:09:46 ---> Running in 29199ddb12a1 11:09:46 Removing intermediate container 29199ddb12a1 11:09:46 ---> 5fca53338b97 11:09:46 Step 25/27 : LABEL arch=arm64 11:09:46 ---> Running in 2440e8c79265 11:09:47 Removing intermediate container 2440e8c79265 11:09:47 ---> 25251309d9e6 11:09:47 Step 26/27 : LABEL git_sha=38745b3e9e40de14badf8d6af86e73ac7698b39c 11:09:47 ---> Running in 4515598cf0a8 11:09:47 Removing intermediate container 4515598cf0a8 11:09:47 ---> 9e337b1d5a45 11:09:47 Step 27/27 : LABEL version=2.3.0-dev.22 11:09:47 ---> Running in 07afdcc1fb1c 11:09:47 Removing intermediate container 07afdcc1fb1c 11:09:47 ---> d58690f05083 11:09:47 [Warning] One or more build-args [ARCH] were not consumed 11:09:47 Successfully built d58690f05083 11:09:47 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 11:09:47 provisioning config files... 11:09:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/58@tmp/config17541170744583782248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:48 ---> docker-login.sh 11:09:48 nexus3.edgexfoundry.org:10001 11:09:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:48 Configure a credential helper to remove this warning. See 11:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:48 11:09:48 Login Succeeded 11:09:48 nexus3.edgexfoundry.org:10002 11:09:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:48 Configure a credential helper to remove this warning. See 11:09:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:48 11:09:48 Login Succeeded 11:09:48 nexus3.edgexfoundry.org:10003 11:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:49 Configure a credential helper to remove this warning. See 11:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:49 11:09:49 Login Succeeded 11:09:49 nexus3.edgexfoundry.org:10004 11:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:49 Configure a credential helper to remove this warning. See 11:09:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:49 11:09:49 Login Succeeded 11:09:49 docker.io 11:09:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:50 Configure a credential helper to remove this warning. See 11:09:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:50 11:09:50 Login Succeeded 11:09:50 ---> docker-login.sh ends [Pipeline] } 11:09:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:09:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:50 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 11:09:50 38745b3e9e40de14badf8d6af86e73ac7698b39c 11:09:50 latest 11:09:50 2.3.0-dev.22 11:09:50 38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22 11:09:50 main 11:09:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:38745b3e9e40de14badf8d6af86e73ac7698b39c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:38745b3e9e40de14badf8d6af86e73ac7698b39c 11:09:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:09:51 fe8f311e55b1: Preparing 11:09:51 758acf5bf75d: Preparing 11:09:51 83d785f6a0a5: Preparing 11:09:51 52b8c0851a69: Preparing 11:09:51 ffe012406af5: Preparing 11:09:51 5d3e392a13a0: Preparing 11:09:51 5d3e392a13a0: Waiting 11:09:51 ffe012406af5: Pushed 11:09:51 83d785f6a0a5: Pushed 11:09:51 758acf5bf75d: Pushed 11:09:51 5d3e392a13a0: Layer already exists 11:09:51 52b8c0851a69: Pushed 11:09:57 fe8f311e55b1: Pushed 11:09:57 38745b3e9e40de14badf8d6af86e73ac7698b39c: digest: sha256:7951ddc8a62d754d2732b72308daaf505ad2534aaeb983bc9043e54c9583828a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:57 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:58 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:09:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:09:58 fe8f311e55b1: Preparing 11:09:58 758acf5bf75d: Preparing 11:09:58 83d785f6a0a5: Preparing 11:09:58 52b8c0851a69: Preparing 11:09:58 ffe012406af5: Preparing 11:09:58 5d3e392a13a0: Preparing 11:09:58 5d3e392a13a0: Waiting 11:09:58 fe8f311e55b1: Layer already exists 11:09:58 ffe012406af5: Layer already exists 11:09:58 83d785f6a0a5: Layer already exists 11:09:58 758acf5bf75d: Layer already exists 11:09:58 52b8c0851a69: Layer already exists 11:09:58 5d3e392a13a0: Layer already exists 11:09:58 latest: digest: sha256:7951ddc8a62d754d2732b72308daaf505ad2534aaeb983bc9043e54c9583828a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:58 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:59 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.22 11:09:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:09:59 fe8f311e55b1: Preparing 11:09:59 758acf5bf75d: Preparing 11:09:59 83d785f6a0a5: Preparing 11:09:59 52b8c0851a69: Preparing 11:09:59 ffe012406af5: Preparing 11:09:59 5d3e392a13a0: Preparing 11:09:59 5d3e392a13a0: Waiting 11:09:59 758acf5bf75d: Layer already exists 11:09:59 52b8c0851a69: Layer already exists 11:09:59 ffe012406af5: Layer already exists 11:09:59 83d785f6a0a5: Layer already exists 11:09:59 fe8f311e55b1: Layer already exists 11:09:59 5d3e392a13a0: Layer already exists 11:09:59 2.3.0-dev.22: digest: sha256:7951ddc8a62d754d2732b72308daaf505ad2534aaeb983bc9043e54c9583828a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:59 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22 11:10:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:10:00 fe8f311e55b1: Preparing 11:10:00 758acf5bf75d: Preparing 11:10:00 83d785f6a0a5: Preparing 11:10:00 52b8c0851a69: Preparing 11:10:00 ffe012406af5: Preparing 11:10:00 5d3e392a13a0: Preparing 11:10:00 5d3e392a13a0: Waiting 11:10:00 fe8f311e55b1: Layer already exists 11:10:00 758acf5bf75d: Layer already exists 11:10:00 83d785f6a0a5: Layer already exists 11:10:00 ffe012406af5: Layer already exists 11:10:00 52b8c0851a69: Layer already exists 11:10:00 5d3e392a13a0: Layer already exists 11:10:00 38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22: digest: sha256:7951ddc8a62d754d2732b72308daaf505ad2534aaeb983bc9043e54c9583828a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:00 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:00 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 11:10:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 11:10:00 fe8f311e55b1: Preparing 11:10:00 758acf5bf75d: Preparing 11:10:00 83d785f6a0a5: Preparing 11:10:00 52b8c0851a69: Preparing 11:10:00 ffe012406af5: Preparing 11:10:00 5d3e392a13a0: Preparing 11:10:00 5d3e392a13a0: Waiting 11:10:00 fe8f311e55b1: Layer already exists 11:10:00 758acf5bf75d: Layer already exists 11:10:00 ffe012406af5: Layer already exists 11:10:00 83d785f6a0a5: Layer already exists 11:10:00 52b8c0851a69: Layer already exists 11:10:00 5d3e392a13a0: Layer already exists 11:10:01 main: digest: sha256:7951ddc8a62d754d2732b72308daaf505ad2534aaeb983bc9043e54c9583828a size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:10:01 ===================================================== [Pipeline] echo 11:10:01 taggedImages: 11:10:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:38745b3e9e40de14badf8d6af86e73ac7698b39c 11:10:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 11:10:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.22 11:10:01 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:38745b3e9e40de14badf8d6af86e73ac7698b39c-2.3.0-dev.22 11:10:01 - 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 11:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:01 11:10:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:02 arm64: Pulling from edgex-lftools-log-publisher 11:10:02 8998bd30e6a1: Pulling fs layer 11:10:02 04944245beec: Pulling fs layer 11:10:02 699f458cf7ca: Pulling fs layer 11:10:02 765212b225bb: Pulling fs layer 11:10:02 f23df028b6ca: Pulling fs layer 11:10:02 d65c8cfc05b1: Pulling fs layer 11:10:02 2437ff75d9bd: Pulling fs layer 11:10:02 2437ff75d9bd: Waiting 11:10:02 d65c8cfc05b1: Waiting 11:10:02 765212b225bb: Waiting 11:10:02 f23df028b6ca: Waiting 11:10:02 04944245beec: Verifying Checksum 11:10:02 04944245beec: Download complete 11:10:02 765212b225bb: Verifying Checksum 11:10:02 765212b225bb: Download complete 11:10:02 f23df028b6ca: Verifying Checksum 11:10:02 f23df028b6ca: Download complete 11:10:02 d65c8cfc05b1: Verifying Checksum 11:10:02 d65c8cfc05b1: Download complete 11:10:02 699f458cf7ca: Verifying Checksum 11:10:02 699f458cf7ca: Download complete 11:10:02 8998bd30e6a1: Verifying Checksum 11:10:02 8998bd30e6a1: Download complete 11:10:05 2437ff75d9bd: Verifying Checksum 11:10:05 2437ff75d9bd: Download complete 11:10:07 8998bd30e6a1: Pull complete 11:10:07 04944245beec: Pull complete 11:10:09 699f458cf7ca: Pull complete 11:10:09 765212b225bb: Pull complete 11:10:10 f23df028b6ca: Pull complete 11:10:10 d65c8cfc05b1: Pull complete 11:10:25 2437ff75d9bd: Pull complete 11:10:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:10:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:10:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:25 prd-ubuntu20.04-docker-arm64-4c-16g-7329 does not seem to be running inside a container 11:10:25 $ 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/58 -v /w/workspace/device-virtual-go/58:/w/workspace/device-virtual-go/58:rw,z -v /w/workspace/device-virtual-go/58@tmp:/w/workspace/device-virtual-go/58@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:10:27 $ docker top 66b05636cd8ea39e72d69a6d8dd72916f82ae733e8a9394f8a35470604e2212b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:28 ---> job-cost.sh 11:10:28 lf-activate-venv: SKIPPING 11:10:28 INFO: No Stack... 11:10:29 INFO: Retrieving Pricing Info for: v3-standard-4 11:10:29 INFO: Archiving Costs [Pipeline] sh 11:10:30 + + cut -d,cat -f6 /w/workspace/device-virtual-go/58/archives/cost.csv 11:10:30 [Pipeline] lock 11:10:30 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-58-stack-cost] 11:10:30 Resource [jenkins-edgexfoundry-device-virtual-go-main-58-stack-cost] did not exist. Created. 11:10:30 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-58-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:10:30 /w/workspace/device-virtual-go/58@tmp/durable-9cae01e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:10:31 + echo total: 0.10999999940395355 [Pipeline] stash 11:10:31 Warning: overwriting stash ‘stack-cost’ 11:10:31 Stashed 1 file(s) [Pipeline] } 11:10:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-58-stack-cost] [Pipeline] // lock [Pipeline] } 11:10:31 $ docker stop --time=1 66b05636cd8ea39e72d69a6d8dd72916f82ae733e8a9394f8a35470604e2212b 11:10:32 $ docker rm -f 66b05636cd8ea39e72d69a6d8dd72916f82ae733e8a9394f8a35470604e2212b [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 11:10:33 provisioning config files... 11:10:33 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5301688983582340873tmp [Pipeline] { [Pipeline] sh 11:10:33 + set +x 11:10:33 + curl -s https://codecov.io/bash 11:10:33 + bash -s -- 11:10:33 11:10:33 _____ _ 11:10:33 / ____| | | 11:10:33 | | ___ __| | ___ ___ _____ __ 11:10:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:10:33 | |___| (_) | (_| | __/ (_| (_) \ V / 11:10:33 \_____\___/ \__,_|\___|\___\___/ \_/ 11:10:33 Bash-1.0.6 11:10:33 11:10:33 11:10:33 ==> git version 2.25.1 found 11:10:33 ==> 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 11:10:33 Release-Date: 2020-01-08 11:10:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:10:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:10:33 ==> Jenkins CI detected. 11:10:33 current dir:  /w/workspace/exfoundry_device-virtual-go_main 11:10:33 project root: . 11:10:33 --> token set from env 11:10:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:10:33 ==> Running gcov in . (disable via -X gcov) 11:10:33 ==> Python coveragepy not found 11:10:33 ==> Searching for coverage reports in: 11:10:33 + . 11:10:33 -> Found 1 reports 11:10:33 ==> Detecting git/mercurial file structure 11:10:33 ==> Reading reports 11:10:33 + ./coverage.out bytes=44128 11:10:33 ==> Appending adjustments 11:10:33 https://docs.codecov.io/docs/fixing-reports 11:10:33 + Found adjustments 11:10:33 ==> Gzipping contents 11:10:33 8.0K /tmp/codecov.c5Aq9w.gz 11:10:33 ==> Uploading reports 11:10:33 url: https://codecov.io 11:10:33 query: branch=main&commit=38745b3e9e40de14badf8d6af86e73ac7698b39c&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:10:33 -> Pinging Codecov 11:10:33 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=38745b3e9e40de14badf8d6af86e73ac7698b39c&build=58&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F58%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:10:34 -> Uploading to 11:10:34 https://storage.googleapis.com/codecov/v4/raw/2022-10-07/5E52B4B073DB2E39498172D8E973AA87/38745b3e9e40de14badf8d6af86e73ac7698b39c/0f50f76a-aba9-431a-a955-87fa1737fdeb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T111034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b01ea5b79163e4cf9524388fef88a869d6a1c5c2bc2d6105a588f178d465224 11:10:34 % Total % Received % Xferd Average Speed Time Time Time Current 11:10:34 Dload Upload Total Spent Left Speed 11:10:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5491 0 0 100 5491 0 25073 --:--:-- --:--:-- --:--:-- 25073 11:10:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/38745b3e9e40de14badf8d6af86e73ac7698b39c [Pipeline] } 11:10:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:10:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:10:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:10:34 11:10:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:10:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:10:35 df9b9388f04a: Pulling fs layer 11:10:35 52dc419b0ee2: Pulling fs layer 11:10:35 25bc292e5bac: Pulling fs layer 11:10:35 114826534d7a: Pulling fs layer 11:10:35 4657fd5d0bcf: Pulling fs layer 11:10:35 6ad1cebc031e: Pulling fs layer 11:10:35 8a3aa393b2d8: Pulling fs layer 11:10:35 4657fd5d0bcf: Waiting 11:10:35 6ad1cebc031e: Waiting 11:10:35 8a3aa393b2d8: Waiting 11:10:35 114826534d7a: Waiting 11:10:35 25bc292e5bac: Verifying Checksum 11:10:35 25bc292e5bac: Download complete 11:10:35 52dc419b0ee2: Download complete 11:10:35 4657fd5d0bcf: Verifying Checksum 11:10:35 4657fd5d0bcf: Download complete 11:10:35 df9b9388f04a: Download complete 11:10:35 df9b9388f04a: Pull complete 11:10:35 6ad1cebc031e: Verifying Checksum 11:10:35 6ad1cebc031e: Download complete 11:10:35 52dc419b0ee2: Pull complete 11:10:35 25bc292e5bac: Pull complete 11:10:36 114826534d7a: Download complete 11:10:36 8a3aa393b2d8: Verifying Checksum 11:10:36 8a3aa393b2d8: Download complete 11:10:39 114826534d7a: Pull complete 11:10:39 4657fd5d0bcf: Pull complete 11:10:39 6ad1cebc031e: Pull complete 11:10:42 8a3aa393b2d8: Pull complete 11:10:42 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 11:10:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:10:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:42 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 11:10:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:10:43 $ docker top ee89db255226a005a72494ceab86946e481c2308d723b531edac68e97a8fb947 -eo pid,comm [Pipeline] { [Pipeline] echo 11:10:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 11:10:44 + set -o pipefail 11:10:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 11:10:49 11:10:49 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 11:10:49 11:10:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/7c403b31-b0b9-40c4-86fe-8a9f4cbb841f 11:10:49 11:10:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:10:49 11:10:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:10:49 11:10:49 11:10:49 A medium severity vulnerability was found in the Snyk CLI versions you are using. 11:10:49 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 11:10:49 More details here: https://snyk.co/ue1NS [Pipeline] } 11:10:49 $ docker stop --time=1 ee89db255226a005a72494ceab86946e481c2308d723b531edac68e97a8fb947 11:10:51 $ docker rm -f ee89db255226a005a72494ceab86946e481c2308d723b531edac68e97a8fb947 [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 11:10:52 + git log --format=format:%s -1 38745b3e9e40de14badf8d6af86e73ac7698b39c [Pipeline] sh 11:10:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:10:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:53 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 11:10:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:10:53 $ docker top acc67bc80ca8d41aa73b6b68fc3b35c0d6ae63398afe0511af4202bfc842c16e -eo pid,comm 11:10:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:10:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:10:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:53 [ssh-agent] Looking for ssh-agent implementation... 11:10:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:53 $ docker exec acc67bc80ca8d41aa73b6b68fc3b35c0d6ae63398afe0511af4202bfc842c16e ssh-agent 11:10:53 SSH_AUTH_SOCK=/tmp/ssh-AZANlGqx0NRO/agent.32 11:10:53 SSH_AGENT_PID=38 11:10:53 Running ssh-add (command line suppressed) 11:10:53 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9222082400815370434.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9222082400815370434.key) 11:10:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:54 + git semver tag 11:10:54 2022-10-07 11:10:54,354 [run_tag] DEBUG tag force:False 11:10:54 2022-10-07 11:10:54,354 [check_head_tag] DEBUG check head tag 11:10:54 2022-10-07 11:10:54,355 [execute] INFO git cat-file --batch-check 11:10:54 2022-10-07 11:10:54,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:10:54 2022-10-07 11:10:54,359 [execute] INFO git cat-file --batch 11:10:54 2022-10-07 11:10:54,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 11:10:54 2022-10-07 11:10:54,380 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:10:54 2022-10-07 11:10:54,381 [execute] INFO git tag -a v2.3.0-dev.22 -m v2.3.0-dev.22 11:10:54 2022-10-07 11:10:54,381 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.22', '-m', 'v2.3.0-dev.22'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 11:10:54 2022-10-07 11:10:54,386 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:10:54 2.3.0-dev.22 [Pipeline] } 11:10:54 $ docker exec --env ******** --env ******** acc67bc80ca8d41aa73b6b68fc3b35c0d6ae63398afe0511af4202bfc842c16e ssh-agent -k 11:10:54 unset SSH_AUTH_SOCK; 11:10:54 unset SSH_AGENT_PID; 11:10:54 echo Agent pid 38 killed; 11:10:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:54 + git semver [Pipeline] } 11:10:55 $ docker stop --time=1 acc67bc80ca8d41aa73b6b68fc3b35c0d6ae63398afe0511af4202bfc842c16e 11:10:56 $ docker rm -f acc67bc80ca8d41aa73b6b68fc3b35c0d6ae63398afe0511af4202bfc842c16e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:10:56 11:10:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:10:57 0.23.1-centos7: Pulling from edgex-lftools 11:10:57 ab5ef0e58194: Pulling fs layer 11:10:57 9712f1f96733: Pulling fs layer 11:10:57 63f879dbbcfc: Pulling fs layer 11:10:57 0d9ebad4ef96: Pulling fs layer 11:10:57 e9a5061849ea: Pulling fs layer 11:10:57 d747dcd14b5f: Pulling fs layer 11:10:57 2de7ff778b66: Pulling fs layer 11:10:57 d747dcd14b5f: Waiting 11:10:57 0d9ebad4ef96: Waiting 11:10:57 2de7ff778b66: Waiting 11:10:57 e9a5061849ea: Waiting 11:10:57 9712f1f96733: Verifying Checksum 11:10:57 9712f1f96733: Download complete 11:10:57 63f879dbbcfc: Verifying Checksum 11:10:57 63f879dbbcfc: Download complete 11:10:57 e9a5061849ea: Verifying Checksum 11:10:57 e9a5061849ea: Download complete 11:10:57 d747dcd14b5f: Download complete 11:10:57 ab5ef0e58194: Verifying Checksum 11:10:57 ab5ef0e58194: Download complete 11:10:57 0d9ebad4ef96: Verifying Checksum 11:10:57 0d9ebad4ef96: Download complete 11:10:57 2de7ff778b66: Verifying Checksum 11:10:57 2de7ff778b66: Download complete 11:11:00 ab5ef0e58194: Pull complete 11:11:00 9712f1f96733: Pull complete 11:11:00 63f879dbbcfc: Pull complete 11:11:03 0d9ebad4ef96: Pull complete 11:11:04 e9a5061849ea: Pull complete 11:11:04 d747dcd14b5f: Pull complete 11:11:05 2de7ff778b66: Pull complete 11:11:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:11:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:11:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:05 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 11:11:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:11:07 $ docker top fbf5f123b17f18a863a774fad6ec16025e7c65f4427e1828eaf80633fa82feeb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:11:07 provisioning config files... 11:11:07 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config9576688962894408915tmp 11:11:07 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config17255072184390407502tmp 11:11:07 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8754677799737791148tmp [Pipeline] { [Pipeline] echo 11:11:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:11:07 ---> sigul-configuration.sh 11:11:07 gpg: directory `/root/.gnupg' created 11:11:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:11:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:11:07 gpg: keyring `/root/.gnupg/secring.gpg' created 11:11:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:11:07 gpg: CAST5 encrypted data 11:11:07 gpg: encrypted with 1 passphrase 11:11:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:11:07 + mkdir /home/jenkins 11:11:07 + mkdir /home/jenkins/sigul [Pipeline] sh 11:11:08 + 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 11:11:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:11:08 ---> sigul-install.sh 11:11:08 Sigul already installed; skipping installation. [Pipeline] sh 11:11:08 + git tag --list 11:11:08 v1.0.0 11:11:08 v1.1.0 11:11:08 v1.1.1 11:11:08 v1.2.1 11:11:08 v1.2.2 11:11:08 v1.2.3 11:11:08 v1.3.0 11:11:08 v1.3.1 11:11:08 v2.0.0 11:11:08 v2.1.0 11:11:08 v2.1.1 11:11:08 v2.1.1-dev.1 11:11:08 v2.1.1-dev.2 11:11:08 v2.2.0 11:11:08 v2.2.1-dev.1 11:11:08 v2.2.1-dev.2 11:11:08 v2.2.1-dev.3 11:11:08 v2.2.1-dev.4 11:11:08 v2.2.1-dev.5 11:11:08 v2.2.1-dev.6 11:11:08 v2.2.1-dev.7 11:11:08 v2.2.1-dev.8 11:11:08 v2.3.0-dev.10 11:11:08 v2.3.0-dev.11 11:11:08 v2.3.0-dev.12 11:11:08 v2.3.0-dev.13 11:11:08 v2.3.0-dev.14 11:11:08 v2.3.0-dev.15 11:11:08 v2.3.0-dev.16 11:11:08 v2.3.0-dev.17 11:11:08 v2.3.0-dev.18 11:11:08 v2.3.0-dev.19 11:11:08 v2.3.0-dev.20 11:11:08 v2.3.0-dev.21 11:11:08 v2.3.0-dev.22 11:11:08 v2.3.0-dev.8 11:11:08 v2.3.0-dev.9 [Pipeline] sh 11:11:08 + lftools sign git-tag v2.3.0-dev.22 11:11:09 Signing Git tag with Sigul... 11:11:09 Signing v2.3.0-dev.22 [Pipeline] echo 11:11:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:11:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:11:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:11:10 $ docker stop --time=1 fbf5f123b17f18a863a774fad6ec16025e7c65f4427e1828eaf80633fa82feeb 11:11:11 $ docker rm -f fbf5f123b17f18a863a774fad6ec16025e7c65f4427e1828eaf80633fa82feeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:11:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:11:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:11:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:12 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 11:11:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:11:12 $ docker top 422fddb9bf17e8ffeeb25925852c193fd380dd078c08c8443e5329536de688b4 -eo pid,comm 11:11:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:11:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:11:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:12 [ssh-agent] Looking for ssh-agent implementation... 11:11:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:12 $ docker exec 422fddb9bf17e8ffeeb25925852c193fd380dd078c08c8443e5329536de688b4 ssh-agent 11:11:12 SSH_AUTH_SOCK=/tmp/ssh-gdtstqbOsyai/agent.31 11:11:12 SSH_AGENT_PID=37 11:11:12 Running ssh-add (command line suppressed) 11:11:12 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1038754065486863124.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1038754065486863124.key) 11:11:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:13 + git semver bump pre 11:11:13 2022-10-07 11:11:13,370 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:11:13 2022-10-07 11:11:13,370 [bump_version] DEBUG bumping version:2.3.0-dev.22 on axis:pre with prefix:dev 11:11:13 2022-10-07 11:11:13,370 [bump_version] DEBUG bumped version:2.3.0-dev.23 11:11:13 2022-10-07 11:11:13,370 [write_version] DEBUG write version:2.3.0-dev.23 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 11:11:13 2022-10-07 11:11:13,370 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:11:13 2022-10-07 11:11:13,370 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:11:13 2022-10-07 11:11:13,372 [execute] INFO git cat-file --batch-check 11:11:13 2022-10-07 11:11:13,372 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:11:13 2022-10-07 11:11:13,377 [execute] INFO git cat-file --batch 11:11:13 2022-10-07 11:11:13,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:11:13 2022-10-07 11:11:13,382 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:11:13 2.3.0-dev.23 [Pipeline] } 11:11:13 $ docker exec --env ******** --env ******** 422fddb9bf17e8ffeeb25925852c193fd380dd078c08c8443e5329536de688b4 ssh-agent -k 11:11:13 unset SSH_AUTH_SOCK; 11:11:13 unset SSH_AGENT_PID; 11:11:13 echo Agent pid 37 killed; 11:11:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:11:13 + git semver [Pipeline] } 11:11:14 $ docker stop --time=1 422fddb9bf17e8ffeeb25925852c193fd380dd078c08c8443e5329536de688b4 11:11:15 $ docker rm -f 422fddb9bf17e8ffeeb25925852c193fd380dd078c08c8443e5329536de688b4 [Pipeline] // withDockerContainer [Pipeline] sh 11:11:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:11:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:11:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:16 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 11:11:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:11:16 $ docker top 1f5437947216751c610acfa940784158b2e0906e3edbef867b6e1fe65ead7ca8 -eo pid,comm 11:11:16 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). 11:11:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:11:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:16 [ssh-agent] Looking for ssh-agent implementation... 11:11:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:16 $ docker exec 1f5437947216751c610acfa940784158b2e0906e3edbef867b6e1fe65ead7ca8 ssh-agent 11:11:16 SSH_AUTH_SOCK=/tmp/ssh-6u7WSxHZ54CE/agent.33 11:11:16 SSH_AGENT_PID=39 11:11:16 Running ssh-add (command line suppressed) 11:11:16 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15363159315190578818.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_15363159315190578818.key) 11:11:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:17 + git semver push 11:11:17 2022-10-07 11:11:17,364 [run_push] DEBUG push 11:11:17 2022-10-07 11:11:17,364 [execute] INFO git cat-file --batch-check 11:11:17 2022-10-07 11:11:17,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:11:17 2022-10-07 11:11:17,368 [execute] INFO git rev-list 4e28da67df522f6ab0c4e929d995876fa4d1cbde -- 11:11:17 2022-10-07 11:11:17,368 [execute] DEBUG Popen(['git', 'rev-list', '4e28da67df522f6ab0c4e929d995876fa4d1cbde', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:11:17 2022-10-07 11:11:17,376 [execute] INFO git fetch -v origin 11:11:17 2022-10-07 11:11:17,376 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 11:11:18 2022-10-07 11:11:17,982 [run_push] DEBUG no remote changes detected 11:11:18 2022-10-07 11:11:17,983 [execute] INFO git push origin semver 11:11:18 2022-10-07 11:11:17,983 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:11:18 2022-10-07 11:11:18,797 [run_push] DEBUG push all version tags 11:11:18 2022-10-07 11:11:18,797 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:11:18 2022-10-07 11:11:18,798 [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) 11:11:19 2022-10-07 11:11:19,617 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 11:11:19 2.3.0-dev.23 [Pipeline] } 11:11:19 $ docker exec --env ******** --env ******** 1f5437947216751c610acfa940784158b2e0906e3edbef867b6e1fe65ead7ca8 ssh-agent -k 11:11:20 unset SSH_AUTH_SOCK; 11:11:20 unset SSH_AGENT_PID; 11:11:20 echo Agent pid 39 killed; 11:11:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:11:20 + git semver [Pipeline] } 11:11:20 $ docker stop --time=1 1f5437947216751c610acfa940784158b2e0906e3edbef867b6e1fe65ead7ca8 11:11:21 $ docker rm -f 1f5437947216751c610acfa940784158b2e0906e3edbef867b6e1fe65ead7ca8 [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 11:11:22 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 11:11:22 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:11:22 total 16 11:11:22 drwxr-xr-x 3 root root 4096 Oct 7 11:00 . 11:11:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 11:11 .. 11:11:22 drwxr-xr-x 2 root root 4096 Oct 7 11:00 cost 11:11:22 -rw-r--r-- 1 root root 88 Oct 7 11:00 cost.csv 11:11:22 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 11:11:22 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 11:11:22 total 16 11:11:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 11:00 . 11:11:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 11:11 .. 11:11:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 11:00 cost 11:11:22 -rw-r--r-- 1 jenkins jenkins 88 Oct 7 11:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:11:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:11:23 ---> package-listing.sh 11:11:23 ++ facter osfamily 11:11:23 ++ tr '[:upper:]' '[:lower:]' 11:11:23 + OS_FAMILY=debian 11:11:23 + workspace=/w/workspace/exfoundry_device-virtual-go_main 11:11:23 + START_PACKAGES=/tmp/packages_start.txt 11:11:23 + END_PACKAGES=/tmp/packages_end.txt 11:11:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:11:23 + PACKAGES=/tmp/packages_start.txt 11:11:23 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:11:23 + PACKAGES=/tmp/packages_end.txt 11:11:23 + case "${OS_FAMILY}" in 11:11:23 + dpkg -l 11:11:23 + grep '^ii' 11:11:23 + '[' -f /tmp/packages_start.txt ']' 11:11:23 + '[' -f /tmp/packages_end.txt ']' 11:11:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:11:23 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 11:11:23 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 11:11:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 11:11:23 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 11:11:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:11:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:24 prd-ubuntu20.04-docker-8c-8g-7328 does not seem to be running inside a container 11:11:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:11:25 $ docker top b42c384a383b4d9b9088b61663cb5a52331778f73935639206cc6d1bacd88be1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:25 + touch /tmp/pre-build-complete [Pipeline] sh 11:11:25 + mkdir -p /var/log/sysstat [Pipeline] sh 11:11:26 + ls /var/log/sa-host 11:11:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:11:26 provisioning config files... 11:11:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6190839760646238257tmp [Pipeline] { [Pipeline] echo 11:11:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:11:26 ---> create-netrc.sh [Pipeline] } 11:11:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:11:26 ---> python-tools-install.sh [Pipeline] echo 11:11:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:11:27 ---> sudo-logs.sh 11:11:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:11:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:11:27 ---> job-cost.sh 11:11:27 lf-activate-venv: SKIPPING 11:11:27 DEBUG: total: 0.2199999988079071 11:11:27 INFO: Retrieving Stack Cost... 11:11:27 INFO: Retrieving Pricing Info for: v3-standard-8 11:11:28 INFO: Archiving Costs [Pipeline] echo 11:11:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:11:28 ---> logs-deploy.sh 11:11:28 lf-activate-venv: SKIPPING 11:11:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/58 11:11:28 INFO: archiving workspace using pattern(s): 11:11:29 Archives upload complete. 11:11:29 INFO: archiving logs to Nexus