Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 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-ssh11982202161563972366.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5906251436515399778.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7731462128592496289.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3074402703760908366.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16494336445227215599.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-24474’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-24475’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-24686’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-24688’ is offline ‘prd-ubuntu20.04-docker-8c-8g-24691’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-24690’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24692 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/exfoundry_device-virtual-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#303)" > git rev-list --no-walk 63543485434e600665537b42870bbfcdf272957c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:09:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:09:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:09:17 ========================================================= 21:09:17 EdgeX Global Pipelines Version Info 21:09:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:09:18 ------------------- 21:09:18 stable info: 21:09:18 ------------------- 21:09:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:09:18 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:09:18 Message: update stable to v1.0.239 21:09:18 ------------------- 21:09:18 experimental info: 21:09:18 ------------------- 21:09:18 Commited By: **** collab-it+edgex@linuxfoundation.org 21:09:18 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 21:09:18 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76ffe45 [Pipeline] echo 21:09:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:19 provisioning config files... 21:09:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1450595319147339030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:19 ---> docker-login.sh 21:09:19 nexus3.edgexfoundry.org:10001 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:20 Configure a credential helper to remove this warning. See 21:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:20 21:09:20 Login Succeeded 21:09:20 nexus3.edgexfoundry.org:10002 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:20 Configure a credential helper to remove this warning. See 21:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:20 21:09:20 Login Succeeded 21:09:20 nexus3.edgexfoundry.org:10003 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:20 Configure a credential helper to remove this warning. See 21:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:20 21:09:20 Login Succeeded 21:09:20 nexus3.edgexfoundry.org:10004 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:20 Configure a credential helper to remove this warning. See 21:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:20 21:09:20 Login Succeeded 21:09:20 docker.io 21:09:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:20 Configure a credential helper to remove this warning. See 21:09:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:20 21:09:20 Login Succeeded 21:09:20 ---> docker-login.sh ends [Pipeline] } 21:09:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:09:21 + git rev-list -1 --merges 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70~1..76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [Pipeline] echo 21:09:21 -----------> git rev-list -1 --merges 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70~1..76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [false] [Pipeline] sh 21:09:21 + git log --format=format:%s -1 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [Pipeline] echo 21:09:21 ========================================================= 21:09:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:09:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:22 + git log --format=format:%s -1 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [Pipeline] echo 21:09:22 [semverPrep] GIT_COMMIT: 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#303) [Pipeline] echo 21:09:22 [semverPrep] This is not a build commit. [Pipeline] sh 21:09:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:09:22 + grep -v github /etc/ssh/ssh_known_hosts 21:09:22 + [ -e /tmp/ssh_known_hosts ] 21:09:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:09:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:09:22 + sudo tee -a /etc/ssh/ssh_known_hosts 21:09:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:22 21:09:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:23 0.1.4: Pulling from edgex-devops/py-git-semver 21:09:23 b85a868b505f: Pulling fs layer 21:09:23 e2be974225ed: Pulling fs layer 21:09:23 339a4e72a1f5: Pulling fs layer 21:09:23 988bab9f4d93: Pulling fs layer 21:09:23 1469e6f7b9e6: Pulling fs layer 21:09:23 eaf3925da568: Pulling fs layer 21:09:23 bab4dde63d76: Pulling fs layer 21:09:23 988bab9f4d93: Waiting 21:09:23 1469e6f7b9e6: Waiting 21:09:23 eaf3925da568: Waiting 21:09:23 bde34c3a00c8: Pulling fs layer 21:09:23 b352a97aabf1: Pulling fs layer 21:09:23 bab4dde63d76: Waiting 21:09:23 4872d77fe225: Pulling fs layer 21:09:23 5851b861e8e6: Pulling fs layer 21:09:23 b352a97aabf1: Waiting 21:09:23 5851b861e8e6: Waiting 21:09:23 4872d77fe225: Waiting 21:09:23 bde34c3a00c8: Waiting 21:09:23 e2be974225ed: Download complete 21:09:23 988bab9f4d93: Download complete 21:09:23 1469e6f7b9e6: Verifying Checksum 21:09:23 1469e6f7b9e6: Download complete 21:09:23 eaf3925da568: Verifying Checksum 21:09:23 eaf3925da568: Download complete 21:09:23 339a4e72a1f5: Verifying Checksum 21:09:23 339a4e72a1f5: Download complete 21:09:23 bde34c3a00c8: Verifying Checksum 21:09:23 bde34c3a00c8: Download complete 21:09:23 b352a97aabf1: Verifying Checksum 21:09:23 b352a97aabf1: Download complete 21:09:23 4872d77fe225: Verifying Checksum 21:09:23 4872d77fe225: Download complete 21:09:23 5851b861e8e6: Verifying Checksum 21:09:23 5851b861e8e6: Download complete 21:09:23 b85a868b505f: Verifying Checksum 21:09:23 b85a868b505f: Download complete 21:09:23 bab4dde63d76: Verifying Checksum 21:09:23 bab4dde63d76: Download complete 21:09:24 b85a868b505f: Pull complete 21:09:24 e2be974225ed: Pull complete 21:09:25 339a4e72a1f5: Pull complete 21:09:25 988bab9f4d93: Pull complete 21:09:25 1469e6f7b9e6: Pull complete 21:09:26 eaf3925da568: Pull complete 21:09:27 bab4dde63d76: Pull complete 21:09:27 bde34c3a00c8: Pull complete 21:09:27 b352a97aabf1: Pull complete 21:09:28 4872d77fe225: Pull complete 21:09:28 5851b861e8e6: Pull complete 21:09:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:09:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:09:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:28 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:09:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:09:29 $ docker top c04038fba4e95a40e609014c97be755ff474695479b21751a521b9d361372244 -eo pid,comm 21:09:30 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:09:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:09:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:30 [ssh-agent] Looking for ssh-agent implementation... 21:09:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:30 $ docker exec c04038fba4e95a40e609014c97be755ff474695479b21751a521b9d361372244 ssh-agent 21:09:30 SSH_AUTH_SOCK=/tmp/ssh-Ou0buNSijsHq/agent.33 21:09:30 SSH_AGENT_PID=39 21:09:30 Running ssh-add (command line suppressed) 21:09:30 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7927513725436951177.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7927513725436951177.key) 21:09:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:30 + git tag --points-at HEAD [Pipeline] } 21:09:30 $ docker exec --env ******** --env ******** c04038fba4e95a40e609014c97be755ff474695479b21751a521b9d361372244 ssh-agent -k 21:09:30 unset SSH_AUTH_SOCK; 21:09:30 unset SSH_AGENT_PID; 21:09:30 echo Agent pid 39 killed; 21:09:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:09:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:09:30 [ssh-agent] Looking for ssh-agent implementation... 21:09:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:09:31 $ docker exec c04038fba4e95a40e609014c97be755ff474695479b21751a521b9d361372244 ssh-agent 21:09:31 SSH_AUTH_SOCK=/tmp/ssh-tbhvnmhaJhUT/agent.71 21:09:31 SSH_AGENT_PID=77 21:09:31 Running ssh-add (command line suppressed) 21:09:31 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9079175022491852094.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_9079175022491852094.key) 21:09:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:09:31 + git semver init 21:09:31 2022-09-06 21:09:31,866 [run_init] DEBUG init version:0.0.0 force:False 21:09:31 2022-09-06 21:09:31,867 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-virtual-go_main/.semver 21:09:31 2022-09-06 21:09:31,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/exfoundry_device-virtual-go_main/.semver 21:09:31 2022-09-06 21:09:31,867 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/exfoundry_device-virtual-go_main/.semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 21:09:33 2022-09-06 21:09:33,010 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-virtual-go_main/.git/info/exclude 21:09:33 2022-09-06 21:09:33,011 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:False 21:09:33 2022-09-06 21:09:33,011 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:09:33 2022-09-06 21:09:33,011 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:09:33 2.3.0-dev.15 [Pipeline] } 21:09:33 $ docker exec --env ******** --env ******** c04038fba4e95a40e609014c97be755ff474695479b21751a521b9d361372244 ssh-agent -k 21:09:33 unset SSH_AUTH_SOCK; 21:09:33 unset SSH_AGENT_PID; 21:09:33 echo Agent pid 77 killed; 21:09:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:09:33 + git semver [Pipeline] } 21:09:34 $ docker stop --time=1 c04038fba4e95a40e609014c97be755ff474695479b21751a521b9d361372244 21:09:35 $ docker rm -f c04038fba4e95a40e609014c97be755ff474695479b21751a521b9d361372244 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:09:36 Stashed 1 file(s) [Pipeline] echo 21:09:36 [edgeXSemver]: initialized semver on version 2.3.0-dev.15 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:36 provisioning config files... 21:09:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7037730701655963340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:36 ---> docker-login.sh 21:09:36 nexus3.edgexfoundry.org:10001 21:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:36 Configure a credential helper to remove this warning. See 21:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:36 21:09:36 Login Succeeded 21:09:36 nexus3.edgexfoundry.org:10002 21:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:36 Configure a credential helper to remove this warning. See 21:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:36 21:09:36 Login Succeeded 21:09:36 nexus3.edgexfoundry.org:10003 21:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:36 Configure a credential helper to remove this warning. See 21:09:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:36 21:09:36 Login Succeeded 21:09:36 nexus3.edgexfoundry.org:10004 21:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:37 Configure a credential helper to remove this warning. See 21:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:37 21:09:37 Login Succeeded 21:09:37 docker.io 21:09:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:09:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:09:37 Configure a credential helper to remove this warning. See 21:09:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:09:37 21:09:37 Login Succeeded 21:09:37 ---> docker-login.sh ends [Pipeline] } 21:09:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:09:37 ========================================================= 21:09:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:09:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:37 + 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 . 21:09:37 Sending build context to Docker daemon 23.11MB 21:09:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:09:37 Step 2/13 : FROM ${BASE} AS builder 21:09:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:09:38 2408cc74d12b: Pulling fs layer 21:09:38 ea60b727a1ce: Pulling fs layer 21:09:38 30c4a7721957: Pulling fs layer 21:09:38 370296b7ddb6: Pulling fs layer 21:09:38 7c6cee850709: Pulling fs layer 21:09:38 39a5fcdaea64: Pulling fs layer 21:09:38 d94ebbe4e438: Pulling fs layer 21:09:38 bcfd1f05c69d: Pulling fs layer 21:09:38 59ccb84bbe0f: Pulling fs layer 21:09:38 7c6cee850709: Waiting 21:09:38 bcfd1f05c69d: Waiting 21:09:38 39a5fcdaea64: Waiting 21:09:38 d94ebbe4e438: Waiting 21:09:38 59ccb84bbe0f: Waiting 21:09:38 30c4a7721957: Verifying Checksum 21:09:38 30c4a7721957: Download complete 21:09:38 ea60b727a1ce: Download complete 21:09:38 7c6cee850709: Download complete 21:09:38 39a5fcdaea64: Verifying Checksum 21:09:38 39a5fcdaea64: Download complete 21:09:38 2408cc74d12b: Verifying Checksum 21:09:38 d94ebbe4e438: Download complete 21:09:38 2408cc74d12b: Pull complete 21:09:38 ea60b727a1ce: Pull complete 21:09:38 30c4a7721957: Pull complete 21:09:38 bcfd1f05c69d: Verifying Checksum 21:09:38 bcfd1f05c69d: Download complete 21:09:38 59ccb84bbe0f: Verifying Checksum 21:09:38 59ccb84bbe0f: Download complete 21:09:38 370296b7ddb6: Verifying Checksum 21:09:38 370296b7ddb6: Download complete 21:09:43 370296b7ddb6: Pull complete 21:09:43 7c6cee850709: Pull complete 21:09:43 39a5fcdaea64: Pull complete 21:09:43 d94ebbe4e438: Pull complete 21:09:44 bcfd1f05c69d: Pull complete 21:09:45 59ccb84bbe0f: Pull complete 21:09:45 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 21:09:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:09:45 ---> a4fb48ad2a94 21:09:45 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:09:47 ---> Running in 6f7c068e1694 21:09:47 Removing intermediate container 6f7c068e1694 21:09:47 ---> 4dd113ea6533 21:09:47 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:09:47 ---> Running in 4e6ac72f75cc 21:09:47 Removing intermediate container 4e6ac72f75cc 21:09:47 ---> 71da57761623 21:09:47 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:09:47 ---> Running in 22233d83b915 21:09:47 Removing intermediate container 22233d83b915 21:09:47 ---> 5dab916f99b2 21:09:47 Step 6/13 : WORKDIR /device-virtual-go 21:09:47 ---> Running in d003ca4f7927 21:09:47 Removing intermediate container d003ca4f7927 21:09:47 ---> 55c89312c105 21:09:47 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:09:47 ---> Running in e62281f5d5db 21:09:48 Removing intermediate container e62281f5d5db 21:09:48 ---> ae61fc9e4215 21:09:48 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:48 ---> Running in a518d3fa89b5 21:09:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:09:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:09:50 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:09:50 (2/4) Installing libedit (20210910.3.1-r0) 21:09:50 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:09:50 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:09:50 Executing busybox-1.35.0-r13.trigger 21:09:50 OK: 216 MiB in 55 packages 21:09:51 Removing intermediate container a518d3fa89b5 21:09:51 ---> 8878b563a266 21:09:51 Step 9/13 : COPY go.mod vendor* ./ 21:09:51 ---> dfa8ff7272a6 21:09:51 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:51 ---> Running in 050d297bccd5 21:09:51 Still waiting to schedule task 21:09:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24690’ 21:10:06 Removing intermediate container 050d297bccd5 21:10:06 ---> aee9e5b2fb07 21:10:06 Step 11/13 : COPY . . 21:10:06 ---> 28a13a217824 21:10:06 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:06 ---> Running in 22081f1c8b8e 21:10:06 Removing intermediate container 22081f1c8b8e 21:10:06 ---> 4386fc01efa9 21:10:06 Step 13/13 : RUN $MAKE 21:10:06 ---> Running in dc0173ae1917 21:10:06 noop 21:10:06 Removing intermediate container dc0173ae1917 21:10:06 ---> 0154fa1556fd 21:10:06 Successfully built 0154fa1556fd 21:10:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:06 + docker inspect -f . ci-base-image-x86_64 21:10:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:06 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:10:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:10:06 $ docker top 67aa629d9b7d9835e50d1c9f59101b2a99220d0cf2a6809cec84ef0bc5338b4a -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:07 + go version 21:10:07 go version go1.18.3 linux/amd64 [Pipeline] } 21:10:07 $ docker stop --time=1 67aa629d9b7d9835e50d1c9f59101b2a99220d0cf2a6809cec84ef0bc5338b4a 21:10:08 $ docker rm -f 67aa629d9b7d9835e50d1c9f59101b2a99220d0cf2a6809cec84ef0bc5338b4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:09 + docker inspect -f . ci-base-image-x86_64 21:10:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:09 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:10:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:10:09 $ docker top 438b8899327db62798df66b992f2b6973fa409ff831302ebc0df87e244b88045 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:10 + git config --global --add safe.directory /w/workspace/exfoundry_device-virtual-go_main [Pipeline] fileExists [Pipeline] sh 21:10:10 + make test 21:10:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:10:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:10:18 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:10:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 21:10:26 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." 21:10:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:10:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:10:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:10:29 ./bin/test-attribution-txt.sh 21:10:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:10:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:10:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:10:29 $ docker stop --time=1 438b8899327db62798df66b992f2b6973fa409ff831302ebc0df87e244b88045 21:10:31 $ docker rm -f 438b8899327db62798df66b992f2b6973fa409ff831302ebc0df87e244b88045 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:10:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:32 + ls -al . 21:10:32 total 192 21:10:32 drwxrwxr-x 9 jenkins jenkins 4096 Sep 6 21:10 . 21:10:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:09 .. 21:10:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 21:10 .git 21:10:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:09 .github 21:10:32 -rw-rw-r-- 1 jenkins jenkins 337 Sep 6 21:09 .gitignore 21:10:32 -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 21:09 .golangci.yml 21:10:32 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:09 .semver 21:10:32 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 6 21:09 Attribution.txt 21:10:32 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 6 21:09 CHANGELOG.md 21:10:32 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 6 21:09 Dockerfile 21:10:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 21:09 GOVERNANCE.md 21:10:32 -rw-rw-r-- 1 jenkins jenkins 660 Sep 6 21:09 Jenkinsfile 21:10:32 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 21:09 LICENSE 21:10:32 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 6 21:09 Makefile 21:10:32 -rw-rw-r-- 1 jenkins jenkins 623 Sep 6 21:09 OWNERS.md 21:10:32 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 6 21:09 README.md 21:10:32 -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 21:09 VERSION 21:10:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:09 bin 21:10:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:09 cmd 21:10:32 -rw-r--r-- 1 jenkins jenkins 44128 Sep 6 21:10 coverage.out 21:10:32 -rw-rw-r-- 1 jenkins jenkins 3328 Sep 6 21:09 go.mod 21:10:32 -rw-rw-r-- 1 jenkins jenkins 36202 Sep 6 21:09 go.sum 21:10:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:09 internal 21:10:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:09 snap 21:10:32 -rw-rw-r-- 1 jenkins jenkins 235 Sep 6 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:32 + 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=76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 --label arch=amd64 --label version=2.3.0-dev.15 . 21:10:32 Sending build context to Docker daemon 23.16MB 21:10:32 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:10:32 Step 2/27 : FROM ${BASE} AS builder 21:10:32 ---> 0154fa1556fd 21:10:32 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:10:33 ---> Running in 8c3f4b625e05 21:10:33 Removing intermediate container 8c3f4b625e05 21:10:33 ---> 9eb0089e399e 21:10:33 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 21:10:33 ---> Running in e8451ed02fee 21:10:33 Removing intermediate container e8451ed02fee 21:10:33 ---> 58586bf5d2ca 21:10:33 Step 5/27 : ARG ADD_BUILD_TAGS="" 21:10:33 ---> Running in f6be502e6e51 21:10:33 Removing intermediate container f6be502e6e51 21:10:33 ---> eb6147acee38 21:10:33 Step 6/27 : WORKDIR /device-virtual-go 21:10:33 ---> Running in 20bc6faec9a0 21:10:33 Removing intermediate container 20bc6faec9a0 21:10:33 ---> 5b379a1bbc98 21:10:33 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:10:33 ---> Running in cb98ef7b13e8 21:10:34 Removing intermediate container cb98ef7b13e8 21:10:34 ---> b8d85872f2be 21:10:34 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:34 ---> Running in 33dce298a878 21:10:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:10:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:10:35 OK: 216 MiB in 55 packages 21:10:35 Removing intermediate container 33dce298a878 21:10:35 ---> 60568b6bd82a 21:10:35 Step 9/27 : COPY go.mod vendor* ./ 21:10:36 ---> b97c63b25e52 21:10:36 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:36 ---> Running in 961cff92f642 21:10:36 Removing intermediate container 961cff92f642 21:10:36 ---> 0c1045dbca96 21:10:36 Step 11/27 : COPY . . 21:10:37 ---> 5d08be238bd9 21:10:37 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:37 ---> Running in a2f806e30caa 21:10:37 Removing intermediate container a2f806e30caa 21:10:37 ---> 382ad76326ab 21:10:37 Step 13/27 : RUN $MAKE 21:10:37 ---> Running in 14b605f28733 21:10:37 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 21:10:59 Removing intermediate container 14b605f28733 21:10:59 ---> 8bef2f93ed0a 21:10:59 Step 14/27 : FROM alpine:3.16 21:10:59 3.16: Pulling from library/alpine 21:10:59 213ec9aee27d: Pulling fs layer 21:10:59 213ec9aee27d: Download complete 21:10:59 213ec9aee27d: Pull complete 21:10:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:10:59 Status: Downloaded newer image for alpine:3.16 21:10:59 ---> 9c6f07244728 21:10:59 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:10:59 ---> Running in e91a1fe432a6 21:10:59 Removing intermediate container e91a1fe432a6 21:10:59 ---> 288b443cd34a 21:10:59 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:10:59 ---> Running in 1994d64bd2d4 21:10:59 Removing intermediate container 1994d64bd2d4 21:10:59 ---> 0e9a4c44151a 21:10:59 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:10:59 ---> Running in 3b7be96718b4 21:10:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:10:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:10:59 (1/6) Installing dumb-init (1.2.5-r1) 21:10:59 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:10:59 (3/6) Installing libsodium (1.0.18-r0) 21:10:59 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:11:00 (5/6) Installing libzmq (4.3.4-r0) 21:11:00 (6/6) Installing zeromq (4.3.4-r0) 21:11:00 Executing busybox-1.35.0-r17.trigger 21:11:00 OK: 8 MiB in 20 packages 21:11:00 Removing intermediate container 3b7be96718b4 21:11:00 ---> f9f0a65285ac 21:11:00 Step 18/27 : WORKDIR / 21:11:00 ---> Running in d85ae3cc37b7 21:11:00 Removing intermediate container d85ae3cc37b7 21:11:00 ---> 3377e0af0eb8 21:11:00 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:11:00 ---> 6cac91bb451b 21:11:00 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 21:11:00 ---> 58c8fb010e21 21:11:00 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 21:11:01 ---> de1b94881cd0 21:11:01 Step 22/27 : EXPOSE 59900 21:11:01 ---> Running in 873b499b3ece 21:11:01 Removing intermediate container 873b499b3ece 21:11:01 ---> 6c8e3b4ea9a7 21:11:01 Step 23/27 : ENTRYPOINT ["/device-virtual"] 21:11:01 ---> Running in eafaeb5e0d69 21:11:01 Removing intermediate container eafaeb5e0d69 21:11:01 ---> 2a6397840f3c 21:11:01 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:11:02 ---> Running in b3525017e947 21:11:02 Removing intermediate container b3525017e947 21:11:02 ---> f65f70b860ad 21:11:02 Step 25/27 : LABEL arch=amd64 21:11:02 ---> Running in 4b700d180d40 21:11:02 Removing intermediate container 4b700d180d40 21:11:02 ---> bfa9f6c856dd 21:11:02 Step 26/27 : LABEL git_sha=76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 21:11:02 ---> Running in a6ea64c8def0 21:11:02 Removing intermediate container a6ea64c8def0 21:11:02 ---> f8b550d06fe0 21:11:02 Step 27/27 : LABEL version=2.3.0-dev.15 21:11:02 ---> Running in d6c0e058ae6d 21:11:02 Removing intermediate container d6c0e058ae6d 21:11:02 ---> 5d72a9bbecbc 21:11:02 [Warning] One or more build-args [ARCH] were not consumed 21:11:02 Successfully built 5d72a9bbecbc 21:11:02 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:11:02 provisioning config files... 21:11:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config427943519961378561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:02 ---> docker-login.sh 21:11:02 nexus3.edgexfoundry.org:10001 21:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:02 Configure a credential helper to remove this warning. See 21:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:02 21:11:02 Login Succeeded 21:11:02 nexus3.edgexfoundry.org:10002 21:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:03 Configure a credential helper to remove this warning. See 21:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:03 21:11:03 Login Succeeded 21:11:03 nexus3.edgexfoundry.org:10003 21:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:03 Configure a credential helper to remove this warning. See 21:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:03 21:11:03 Login Succeeded 21:11:03 nexus3.edgexfoundry.org:10004 21:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:03 Configure a credential helper to remove this warning. See 21:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:03 21:11:03 Login Succeeded 21:11:03 docker.io 21:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:11:03 Configure a credential helper to remove this warning. See 21:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:11:03 21:11:03 Login Succeeded 21:11:03 ---> docker-login.sh ends [Pipeline] } 21:11:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:11:03 [edgeXDocker.push] Tagging docker image device-virtual with the following tags: 21:11:03 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 21:11:03 latest 21:11:03 2.3.0-dev.15 21:11:03 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15 21:11:03 main 21:11:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:04 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:04 + docker push nexus3.edgexfoundry.org:10004/device-virtual:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 21:11:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:11:04 ee6134e81750: Preparing 21:11:04 4e8eb5dcc761: Preparing 21:11:04 8fdff109f7d0: Preparing 21:11:04 1450978ace50: Preparing 21:11:04 551207ba52e1: Preparing 21:11:04 994393dc58e7: Preparing 21:11:04 994393dc58e7: Waiting 21:11:04 8fdff109f7d0: Pushed 21:11:04 4e8eb5dcc761: Pushed 21:11:04 551207ba52e1: Pushed 21:11:04 994393dc58e7: Layer already exists 21:11:04 1450978ace50: Pushed 21:11:07 ee6134e81750: Pushed 21:11:07 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70: digest: sha256:86bb91dd3eac8b65015ae9cff1388cffbed91aa5e1b4ece3d2b29fe4da989db8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:07 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:07 + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest 21:11:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:11:07 ee6134e81750: Preparing 21:11:07 4e8eb5dcc761: Preparing 21:11:07 8fdff109f7d0: Preparing 21:11:07 1450978ace50: Preparing 21:11:07 551207ba52e1: Preparing 21:11:07 994393dc58e7: Preparing 21:11:07 994393dc58e7: Waiting 21:11:07 551207ba52e1: Layer already exists 21:11:07 8fdff109f7d0: Layer already exists 21:11:07 4e8eb5dcc761: Layer already exists 21:11:07 ee6134e81750: Layer already exists 21:11:07 1450978ace50: Layer already exists 21:11:07 994393dc58e7: Layer already exists 21:11:07 latest: digest: sha256:86bb91dd3eac8b65015ae9cff1388cffbed91aa5e1b4ece3d2b29fe4da989db8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:08 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:08 + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.15 21:11:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:11:08 ee6134e81750: Preparing 21:11:08 4e8eb5dcc761: Preparing 21:11:08 8fdff109f7d0: Preparing 21:11:08 1450978ace50: Preparing 21:11:08 551207ba52e1: Preparing 21:11:08 994393dc58e7: Preparing 21:11:08 994393dc58e7: Waiting 21:11:08 ee6134e81750: Layer already exists 21:11:08 4e8eb5dcc761: Layer already exists 21:11:08 8fdff109f7d0: Layer already exists 21:11:08 551207ba52e1: Layer already exists 21:11:08 1450978ace50: Layer already exists 21:11:08 994393dc58e7: Layer already exists 21:11:08 2.3.0-dev.15: digest: sha256:86bb91dd3eac8b65015ae9cff1388cffbed91aa5e1b4ece3d2b29fe4da989db8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:08 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15 21:11:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:11:09 ee6134e81750: Preparing 21:11:09 4e8eb5dcc761: Preparing 21:11:09 8fdff109f7d0: Preparing 21:11:09 1450978ace50: Preparing 21:11:09 551207ba52e1: Preparing 21:11:09 994393dc58e7: Preparing 21:11:09 994393dc58e7: Waiting 21:11:09 4e8eb5dcc761: Layer already exists 21:11:09 8fdff109f7d0: Layer already exists 21:11:09 551207ba52e1: Layer already exists 21:11:09 ee6134e81750: Layer already exists 21:11:09 1450978ace50: Layer already exists 21:11:09 994393dc58e7: Layer already exists 21:11:09 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15: digest: sha256:86bb91dd3eac8b65015ae9cff1388cffbed91aa5e1b4ece3d2b29fe4da989db8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:09 + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:09 + docker push nexus3.edgexfoundry.org:10004/device-virtual:main 21:11:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] 21:11:09 ee6134e81750: Preparing 21:11:09 4e8eb5dcc761: Preparing 21:11:09 8fdff109f7d0: Preparing 21:11:09 1450978ace50: Preparing 21:11:09 551207ba52e1: Preparing 21:11:09 994393dc58e7: Preparing 21:11:09 994393dc58e7: Waiting 21:11:09 1450978ace50: Layer already exists 21:11:09 8fdff109f7d0: Layer already exists 21:11:09 4e8eb5dcc761: Layer already exists 21:11:09 ee6134e81750: Layer already exists 21:11:09 551207ba52e1: Layer already exists 21:11:09 994393dc58e7: Layer already exists 21:11:09 main: digest: sha256:86bb91dd3eac8b65015ae9cff1388cffbed91aa5e1b4ece3d2b29fe4da989db8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:11:09 ===================================================== [Pipeline] echo 21:11:09 taggedImages: 21:11:09 - nexus3.edgexfoundry.org:10004/device-virtual:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 21:11:09 - nexus3.edgexfoundry.org:10004/device-virtual:latest 21:11:09 - nexus3.edgexfoundry.org:10004/device-virtual:2.3.0-dev.15 21:11:09 - nexus3.edgexfoundry.org:10004/device-virtual:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15 21:11:09 - nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:10 21:11:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:10 latest: Pulling from edgex-lftools-log-publisher 21:11:10 5eb5b503b376: Pulling fs layer 21:11:10 5c69ac0246d0: Pulling fs layer 21:11:10 ec43610c2a17: Pulling fs layer 21:11:10 3a2ae6a8a46f: Pulling fs layer 21:11:10 33b1e0a273af: Pulling fs layer 21:11:10 5d3b04190fa2: Pulling fs layer 21:11:10 2f39f015ded8: Pulling fs layer 21:11:10 33b1e0a273af: Waiting 21:11:10 5d3b04190fa2: Waiting 21:11:10 2f39f015ded8: Waiting 21:11:10 3a2ae6a8a46f: Waiting 21:11:10 5c69ac0246d0: Verifying Checksum 21:11:10 5c69ac0246d0: Download complete 21:11:10 3a2ae6a8a46f: Verifying Checksum 21:11:10 3a2ae6a8a46f: Download complete 21:11:10 33b1e0a273af: Verifying Checksum 21:11:10 33b1e0a273af: Download complete 21:11:10 5d3b04190fa2: Download complete 21:11:10 ec43610c2a17: Verifying Checksum 21:11:10 ec43610c2a17: Download complete 21:11:10 5eb5b503b376: Verifying Checksum 21:11:10 5eb5b503b376: Download complete 21:11:11 2f39f015ded8: Download complete 21:11:11 5eb5b503b376: Pull complete 21:11:12 5c69ac0246d0: Pull complete 21:11:12 ec43610c2a17: Pull complete 21:11:12 3a2ae6a8a46f: Pull complete 21:11:13 33b1e0a273af: Pull complete 21:11:13 5d3b04190fa2: Pull complete 21:11:17 2f39f015ded8: Pull complete 21:11:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:11:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:17 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:11:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:11:19 $ docker top dce90560953089f645a16cc76256d9c4bb8ece5a5730c73c05a7aaeb2c2904bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:19 ---> job-cost.sh 21:11:19 lf-activate-venv: SKIPPING 21:11:19 INFO: No Stack... 21:11:19 INFO: Retrieving Pricing Info for: v3-standard-8 21:11:20 INFO: Archiving Costs [Pipeline] sh 21:11:20 + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv 21:11:20 + cut -d, -f6 [Pipeline] lock 21:11:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-51-stack-cost] 21:11:20 Resource [jenkins-edgexfoundry-device-virtual-go-main-51-stack-cost] did not exist. Created. 21:11:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:20 + echo total: 0.2199999988079071 [Pipeline] stash 21:11:20 Stashed 1 file(s) [Pipeline] } 21:11:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:20 $ docker stop --time=1 dce90560953089f645a16cc76256d9c4bb8ece5a5730c73c05a7aaeb2c2904bc 21:11:22 $ docker rm -f dce90560953089f645a16cc76256d9c4bb8ece5a5730c73c05a7aaeb2c2904bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:34:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25824 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws 21:34:35 Running in /w/workspace/device-virtual-go/51 [Pipeline] { [Pipeline] checkout 21:34:35 The recommended git tool is: git 21:34:43 using credential edgex-jenkins-ssh 21:34:43 Cloning the remote Git repository 21:34:43 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:34:43 > git init /w/workspace/device-virtual-go/51 # timeout=10 21:34:43 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:34:43 > git --version # timeout=10 21:34:43 > git --version # 'git version 2.25.1' 21:34:43 using GIT_SSH to set credentials SSH Credentials for GitHub 21:34:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:34:46 Avoid second fetch 21:34:46 Checking out Revision 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 (main) 21:34:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:34:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:34:46 > git config core.sparsecheckout # timeout=10 21:34:46 > git checkout -f 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 # timeout=10 21:34:50 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 (#303)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:34:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:34:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:34:51 Dload Upload Total Spent Left Speed 21:34:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh 21:34:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:34:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:34:52 + sudo tee /etc/docker/daemon.new 21:34:52 { 21:34:52 "registry-mirrors": [ 21:34:52 "https://nexus3.edgexfoundry.org:10001" 21:34:52 ], 21:34:52 "bip": "10.250.0.254/24", 21:34:52 "hosts": [ 21:34:52 "tcp://0.0.0.0:5555", 21:34:52 "unix:///var/run/docker.sock" 21:34:52 ], 21:34:52 "mtu": 1458, 21:34:52 "selinux-enabled": true, 21:34:52 "seccomp-profile": "/etc/docker/seccomp.json" 21:34:52 } [Pipeline] sh 21:34:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:34:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:35:12 provisioning config files... 21:35:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/51@tmp/config4158771022051885812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:12 ---> docker-login.sh 21:35:12 nexus3.edgexfoundry.org:10001 21:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:13 Configure a credential helper to remove this warning. See 21:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:13 21:35:13 Login Succeeded 21:35:13 nexus3.edgexfoundry.org:10002 21:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:13 Configure a credential helper to remove this warning. See 21:35:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:13 21:35:13 Login Succeeded 21:35:13 nexus3.edgexfoundry.org:10003 21:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:14 Configure a credential helper to remove this warning. See 21:35:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:14 21:35:14 Login Succeeded 21:35:14 nexus3.edgexfoundry.org:10004 21:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:15 Configure a credential helper to remove this warning. See 21:35:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:15 21:35:15 Login Succeeded 21:35:15 docker.io 21:35:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:35:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:35:15 Configure a credential helper to remove this warning. See 21:35:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:35:15 21:35:15 Login Succeeded 21:35:15 ---> docker-login.sh ends [Pipeline] } 21:35:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:35:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:35:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:35:16 ========================================================= 21:35:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:35:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:35:17 + 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 . 21:35:17 Sending build context to Docker daemon 11.69MB 21:35:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:35:17 Step 2/13 : FROM ${BASE} AS builder 21:35:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:35:17 b3c136eddcbf: Pulling fs layer 21:35:17 c0a3192eca97: Pulling fs layer 21:35:17 a050256f5b6f: Pulling fs layer 21:35:17 656be50a0ddc: Pulling fs layer 21:35:17 2bbca73fdf42: Pulling fs layer 21:35:17 46d945488cbd: Pulling fs layer 21:35:17 8a5474983e97: Pulling fs layer 21:35:17 329c88fbcd65: Pulling fs layer 21:35:17 656be50a0ddc: Waiting 21:35:17 2bbca73fdf42: Waiting 21:35:17 46d945488cbd: Waiting 21:35:17 329c88fbcd65: Waiting 21:35:17 8a5474983e97: Waiting 21:35:17 a050256f5b6f: Verifying Checksum 21:35:17 a050256f5b6f: Download complete 21:35:17 c0a3192eca97: Download complete 21:35:17 2bbca73fdf42: Verifying Checksum 21:35:17 2bbca73fdf42: Download complete 21:35:17 46d945488cbd: Verifying Checksum 21:35:17 46d945488cbd: Download complete 21:35:17 b3c136eddcbf: Verifying Checksum 21:35:17 b3c136eddcbf: Download complete 21:35:18 b3c136eddcbf: Pull complete 21:35:18 329c88fbcd65: Verifying Checksum 21:35:18 329c88fbcd65: Download complete 21:35:19 c0a3192eca97: Pull complete 21:35:19 a050256f5b6f: Pull complete 21:35:20 8a5474983e97: Verifying Checksum 21:35:20 8a5474983e97: Download complete 21:35:20 656be50a0ddc: Verifying Checksum 21:35:20 656be50a0ddc: Download complete 21:35:36 656be50a0ddc: Pull complete 21:35:36 2bbca73fdf42: Pull complete 21:35:36 46d945488cbd: Pull complete 21:35:39 8a5474983e97: Pull complete 21:35:41 329c88fbcd65: Pull complete 21:35:41 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:35:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:35:41 ---> ff4287adb874 21:35:41 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:35:43 ---> Running in 90ef93683c2f 21:35:43 Removing intermediate container 90ef93683c2f 21:35:43 ---> 7c5a7d7ef81f 21:35:43 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 21:35:43 ---> Running in 2fda876a4f76 21:35:44 Removing intermediate container 2fda876a4f76 21:35:44 ---> df9601d8a02d 21:35:44 Step 5/13 : ARG ADD_BUILD_TAGS="" 21:35:44 ---> Running in bf33cad47272 21:35:44 Removing intermediate container bf33cad47272 21:35:44 ---> a7ed44072395 21:35:44 Step 6/13 : WORKDIR /device-virtual-go 21:35:44 ---> Running in cb274a6ec7da 21:35:45 Removing intermediate container cb274a6ec7da 21:35:45 ---> 50370b4bf506 21:35:45 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:35:45 ---> Running in 7b40dbcfd0a4 21:35:47 Removing intermediate container 7b40dbcfd0a4 21:35:47 ---> a473abc24e4e 21:35:47 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:35:47 ---> Running in d45d30ca9aeb 21:35:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:35:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:35:50 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:35:50 (2/4) Installing libedit (20210910.3.1-r0) 21:35:50 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:35:50 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:35:50 Executing busybox-1.35.0-r13.trigger 21:35:50 OK: 226 MiB in 55 packages 21:35:51 Removing intermediate container d45d30ca9aeb 21:35:51 ---> 5248f119bbda 21:35:51 Step 9/13 : COPY go.mod vendor* ./ 21:35:52 ---> 4cdf5b11a946 21:35:52 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:35:52 ---> Running in 0e163585b86f 21:36:48 Removing intermediate container 0e163585b86f 21:36:48 ---> 100fd1573c2f 21:36:48 Step 11/13 : COPY . . 21:36:48 ---> dbe5fdaa0616 21:36:48 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:36:48 ---> Running in 577584f5f0ca 21:36:48 Removing intermediate container 577584f5f0ca 21:36:48 ---> f9442b196b2a 21:36:48 Step 13/13 : RUN $MAKE 21:36:48 ---> Running in ed7699a5865f 21:36:48 noop 21:36:48 Removing intermediate container ed7699a5865f 21:36:48 ---> 34e3a2531cee 21:36:48 Successfully built 34e3a2531cee 21:36:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:49 + docker inspect -f . ci-base-image-arm64 21:36:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:49 prd-ubuntu20.04-docker-arm64-4c-16g-25824 does not seem to be running inside a container 21:36:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/51 -v /w/workspace/device-virtual-go/51:/w/workspace/device-virtual-go/51:rw,z -v /w/workspace/device-virtual-go/51@tmp:/w/workspace/device-virtual-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:36:51 $ docker top 5082da502bf44e16d07d2e2946cceecb7d4194b07e59b2528d5c0cfbf6243b59 -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:51 + go version 21:36:51 go version go1.18.3 linux/arm64 [Pipeline] } 21:36:51 $ docker stop --time=1 5082da502bf44e16d07d2e2946cceecb7d4194b07e59b2528d5c0cfbf6243b59 21:36:53 $ docker rm -f 5082da502bf44e16d07d2e2946cceecb7d4194b07e59b2528d5c0cfbf6243b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:54 + docker inspect -f . ci-base-image-arm64 21:36:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:54 prd-ubuntu20.04-docker-arm64-4c-16g-25824 does not seem to be running inside a container 21:36:54 $ 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/51 -v /w/workspace/device-virtual-go/51:/w/workspace/device-virtual-go/51:rw,z -v /w/workspace/device-virtual-go/51@tmp:/w/workspace/device-virtual-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:36:55 $ docker top c333c535627892aec6500d2b4372d4821f4cb3d2f48556d7427d877286d13fa7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:56 + git config --global --add safe.directory /w/workspace/device-virtual-go/51 [Pipeline] fileExists [Pipeline] sh 21:36:57 + make test 21:36:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:36:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:38:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:38:21 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.143s coverage: 65.7% of statements 21:38:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:38:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:38:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:38:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:38:44 ./bin/test-attribution-txt.sh 21:38:44 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:38:44 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:38:44 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:38:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:38:44 $ docker stop --time=1 c333c535627892aec6500d2b4372d4821f4cb3d2f48556d7427d877286d13fa7 21:38:46 $ docker rm -f c333c535627892aec6500d2b4372d4821f4cb3d2f48556d7427d877286d13fa7 [Pipeline] // withDockerContainer [Pipeline] sh 21:38:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:38:47 Warning: overwriting stash ‘coverage-report’ 21:38:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:38:48 + ls -al . 21:38:48 total 188 21:38:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 21:36 . 21:38:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:34 .. 21:38:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 21:34 .git 21:38:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:34 .github 21:38:48 -rw-rw-r-- 1 jenkins jenkins 337 Sep 6 21:34 .gitignore 21:38:48 -rw-rw-r-- 1 jenkins jenkins 41 Sep 6 21:34 .golangci.yml 21:38:48 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 6 21:34 Attribution.txt 21:38:48 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 6 21:34 CHANGELOG.md 21:38:48 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 6 21:34 Dockerfile 21:38:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 21:34 GOVERNANCE.md 21:38:48 -rw-rw-r-- 1 jenkins jenkins 660 Sep 6 21:34 Jenkinsfile 21:38:48 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 6 21:34 LICENSE 21:38:48 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 6 21:34 Makefile 21:38:48 -rw-rw-r-- 1 jenkins jenkins 623 Sep 6 21:34 OWNERS.md 21:38:48 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 6 21:34 README.md 21:38:48 -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 21:09 VERSION 21:38:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 21:34 bin 21:38:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:34 cmd 21:38:48 -rw-r--r-- 1 jenkins jenkins 44128 Sep 6 21:38 coverage.out 21:38:48 -rw-rw-r-- 1 jenkins jenkins 3328 Sep 6 21:34 go.mod 21:38:48 -rw-rw-r-- 1 jenkins jenkins 36202 Sep 6 21:34 go.sum 21:38:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 21:34 internal 21:38:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 21:34 snap 21:38:48 -rw-rw-r-- 1 jenkins jenkins 235 Sep 6 21:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:49 + 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=76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 --label arch=arm64 --label version=2.3.0-dev.15 . 21:38:49 Sending build context to Docker daemon 11.74MB 21:38:49 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 21:38:49 Step 2/27 : FROM ${BASE} AS builder 21:38:49 ---> 34e3a2531cee 21:38:49 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:38:50 ---> Running in 2ca9b4c5fe6f 21:38:50 Removing intermediate container 2ca9b4c5fe6f 21:38:50 ---> 5b94d935b034 21:38:50 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 21:38:50 ---> Running in 0d1233ecbd5e 21:38:50 Removing intermediate container 0d1233ecbd5e 21:38:50 ---> ad2c5bee9583 21:38:50 Step 5/27 : ARG ADD_BUILD_TAGS="" 21:38:50 ---> Running in 3cc6ebf8eb6e 21:38:51 Removing intermediate container 3cc6ebf8eb6e 21:38:51 ---> 9ecf7f0d1a51 21:38:51 Step 6/27 : WORKDIR /device-virtual-go 21:38:51 ---> Running in bbb00283778a 21:38:51 Removing intermediate container bbb00283778a 21:38:51 ---> ba64a9684629 21:38:51 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:38:51 ---> Running in d20432ca9277 21:38:53 Removing intermediate container d20432ca9277 21:38:53 ---> 4a4e393f2421 21:38:53 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:38:53 ---> Running in e718b61ceb19 21:38:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:38:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:38:56 OK: 226 MiB in 55 packages 21:38:57 Removing intermediate container e718b61ceb19 21:38:57 ---> a2a0631cfd05 21:38:57 Step 9/27 : COPY go.mod vendor* ./ 21:38:57 ---> 4fa167e9921a 21:38:57 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:57 ---> Running in 87886890dc33 21:38:59 Removing intermediate container 87886890dc33 21:38:59 ---> 40f918f08091 21:38:59 Step 11/27 : COPY . . 21:39:01 ---> ae736e30ba28 21:39:01 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:01 ---> Running in 22f066d18ac2 21:39:01 Removing intermediate container 22f066d18ac2 21:39:01 ---> c8c5090c7a43 21:39:01 Step 13/27 : RUN $MAKE 21:39:01 ---> Running in 5725390cd946 21:39:02 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.3.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 21:41:24 Removing intermediate container 5725390cd946 21:41:24 ---> 17d8ee9fa352 21:41:24 Step 14/27 : FROM alpine:3.16 21:41:24 3.16: Pulling from library/alpine 21:41:24 9b18e9b68314: Pulling fs layer 21:41:24 9b18e9b68314: Verifying Checksum 21:41:24 9b18e9b68314: Download complete 21:41:25 9b18e9b68314: Pull complete 21:41:25 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:41:25 Status: Downloaded newer image for alpine:3.16 21:41:25 ---> a6215f271958 21:41:25 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:41:25 ---> Running in ca0a431dd7ec 21:41:25 Removing intermediate container ca0a431dd7ec 21:41:25 ---> b843bd291ec4 21:41:25 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:41:25 ---> Running in 38690ccbf309 21:41:27 Removing intermediate container 38690ccbf309 21:41:27 ---> 18ba059a662b 21:41:27 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 21:41:27 ---> Running in 54792d33961e 21:41:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:41:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:41:30 (1/6) Installing dumb-init (1.2.5-r1) 21:41:30 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:41:30 (3/6) Installing libsodium (1.0.18-r0) 21:41:30 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:41:30 (5/6) Installing libzmq (4.3.4-r0) 21:41:30 (6/6) Installing zeromq (4.3.4-r0) 21:41:31 Executing busybox-1.35.0-r17.trigger 21:41:31 OK: 8 MiB in 20 packages 21:41:32 Removing intermediate container 54792d33961e 21:41:32 ---> 036943bf1d87 21:41:32 Step 18/27 : WORKDIR / 21:41:32 ---> Running in 64efe940dd4d 21:41:32 Removing intermediate container 64efe940dd4d 21:41:32 ---> 73592e06b220 21:41:32 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:41:33 ---> 035fb9e203b5 21:41:33 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 21:41:33 ---> 4a9c9027f52f 21:41:33 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 21:41:35 ---> ad21b89c00b4 21:41:35 Step 22/27 : EXPOSE 59900 21:41:35 ---> Running in eab01b3ae14c 21:41:35 Removing intermediate container eab01b3ae14c 21:41:35 ---> 7aca2a047292 21:41:35 Step 23/27 : ENTRYPOINT ["/device-virtual"] 21:41:35 ---> Running in 66fbce97c852 21:41:36 Removing intermediate container 66fbce97c852 21:41:36 ---> 3fed4d98ce70 21:41:36 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:41:36 ---> Running in fd6bfe3e8d38 21:41:36 Removing intermediate container fd6bfe3e8d38 21:41:36 ---> 814b61410fa8 21:41:36 Step 25/27 : LABEL arch=arm64 21:41:36 ---> Running in b54fa6aa9e3c 21:41:36 Removing intermediate container b54fa6aa9e3c 21:41:36 ---> 0288ef8cd919 21:41:36 Step 26/27 : LABEL git_sha=76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 21:41:36 ---> Running in 2d66eee68dc7 21:41:37 Removing intermediate container 2d66eee68dc7 21:41:37 ---> fd7477bab229 21:41:37 Step 27/27 : LABEL version=2.3.0-dev.15 21:41:37 ---> Running in e6ecde4fc164 21:41:37 Removing intermediate container e6ecde4fc164 21:41:37 ---> 843712d2490b 21:41:37 [Warning] One or more build-args [ARCH] were not consumed 21:41:37 Successfully built 843712d2490b 21:41:37 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:37 provisioning config files... 21:41:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/51@tmp/config1670226637356678049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:38 ---> docker-login.sh 21:41:38 nexus3.edgexfoundry.org:10001 21:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:38 Configure a credential helper to remove this warning. See 21:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:38 21:41:38 Login Succeeded 21:41:38 nexus3.edgexfoundry.org:10002 21:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:39 Configure a credential helper to remove this warning. See 21:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:39 21:41:39 Login Succeeded 21:41:39 nexus3.edgexfoundry.org:10003 21:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:39 Configure a credential helper to remove this warning. See 21:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:39 21:41:39 Login Succeeded 21:41:39 nexus3.edgexfoundry.org:10004 21:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:40 Configure a credential helper to remove this warning. See 21:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:40 21:41:40 Login Succeeded 21:41:40 docker.io 21:41:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:41 Configure a credential helper to remove this warning. See 21:41:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:41 21:41:41 Login Succeeded 21:41:41 ---> docker-login.sh ends [Pipeline] } 21:41:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:41:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:41 [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: 21:41:41 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 21:41:41 latest 21:41:41 2.3.0-dev.15 21:41:41 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15 21:41:41 main 21:41:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:41 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:41 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 21:41:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:41:41 c0b367e33391: Preparing 21:41:41 871998aeca9e: Preparing 21:41:41 3f69d544be6f: Preparing 21:41:41 7fd715d3ac8d: Preparing 21:41:41 c23ab3bd6edd: Preparing 21:41:41 5d3e392a13a0: Preparing 21:41:41 5d3e392a13a0: Waiting 21:41:42 871998aeca9e: Pushed 21:41:42 3f69d544be6f: Pushed 21:41:42 c23ab3bd6edd: Pushed 21:41:42 5d3e392a13a0: Layer already exists 21:41:43 7fd715d3ac8d: Pushed 21:41:48 c0b367e33391: Pushed 21:41:48 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70: digest: sha256:0cde9f297238602ac349bc3b888b3b157862116198ba29098e44ce1ceb03b1e5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:48 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:49 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:41:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:41:49 c0b367e33391: Preparing 21:41:49 871998aeca9e: Preparing 21:41:49 3f69d544be6f: Preparing 21:41:49 7fd715d3ac8d: Preparing 21:41:49 c23ab3bd6edd: Preparing 21:41:49 5d3e392a13a0: Preparing 21:41:49 5d3e392a13a0: Waiting 21:41:49 7fd715d3ac8d: Layer already exists 21:41:49 871998aeca9e: Layer already exists 21:41:49 c23ab3bd6edd: Layer already exists 21:41:49 3f69d544be6f: Layer already exists 21:41:49 c0b367e33391: Layer already exists 21:41:49 5d3e392a13a0: Layer already exists 21:41:49 latest: digest: sha256:0cde9f297238602ac349bc3b888b3b157862116198ba29098e44ce1ceb03b1e5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:49 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:50 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.15 21:41:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:41:50 c0b367e33391: Preparing 21:41:50 871998aeca9e: Preparing 21:41:50 3f69d544be6f: Preparing 21:41:50 7fd715d3ac8d: Preparing 21:41:50 c23ab3bd6edd: Preparing 21:41:50 5d3e392a13a0: Preparing 21:41:50 5d3e392a13a0: Waiting 21:41:50 3f69d544be6f: Layer already exists 21:41:50 7fd715d3ac8d: Layer already exists 21:41:50 c23ab3bd6edd: Layer already exists 21:41:50 c0b367e33391: Layer already exists 21:41:50 871998aeca9e: Layer already exists 21:41:50 5d3e392a13a0: Layer already exists 21:41:50 2.3.0-dev.15: digest: sha256:0cde9f297238602ac349bc3b888b3b157862116198ba29098e44ce1ceb03b1e5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:50 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:51 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15 21:41:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:41:51 c0b367e33391: Preparing 21:41:51 871998aeca9e: Preparing 21:41:51 3f69d544be6f: Preparing 21:41:51 7fd715d3ac8d: Preparing 21:41:51 c23ab3bd6edd: Preparing 21:41:51 5d3e392a13a0: Preparing 21:41:51 5d3e392a13a0: Waiting 21:41:51 c23ab3bd6edd: Layer already exists 21:41:51 871998aeca9e: Layer already exists 21:41:51 7fd715d3ac8d: Layer already exists 21:41:51 c0b367e33391: Layer already exists 21:41:51 3f69d544be6f: Layer already exists 21:41:51 5d3e392a13a0: Layer already exists 21:41:51 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15: digest: sha256:0cde9f297238602ac349bc3b888b3b157862116198ba29098e44ce1ceb03b1e5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:51 + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:52 + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main 21:41:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] 21:41:52 c0b367e33391: Preparing 21:41:52 871998aeca9e: Preparing 21:41:52 3f69d544be6f: Preparing 21:41:52 7fd715d3ac8d: Preparing 21:41:52 c23ab3bd6edd: Preparing 21:41:52 5d3e392a13a0: Preparing 21:41:52 5d3e392a13a0: Waiting 21:41:52 871998aeca9e: Layer already exists 21:41:52 3f69d544be6f: Layer already exists 21:41:52 7fd715d3ac8d: Layer already exists 21:41:52 c23ab3bd6edd: Layer already exists 21:41:52 c0b367e33391: Layer already exists 21:41:52 5d3e392a13a0: Layer already exists 21:41:52 main: digest: sha256:0cde9f297238602ac349bc3b888b3b157862116198ba29098e44ce1ceb03b1e5 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:41:52 ===================================================== [Pipeline] echo 21:41:52 taggedImages: 21:41:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 21:41:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest 21:41:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.3.0-dev.15 21:41:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70-2.3.0-dev.15 21:41:52 - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:53 21:41:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:53 arm64: Pulling from edgex-lftools-log-publisher 21:41:53 8998bd30e6a1: Pulling fs layer 21:41:53 04944245beec: Pulling fs layer 21:41:53 699f458cf7ca: Pulling fs layer 21:41:53 765212b225bb: Pulling fs layer 21:41:53 f23df028b6ca: Pulling fs layer 21:41:53 d65c8cfc05b1: Pulling fs layer 21:41:53 2437ff75d9bd: Pulling fs layer 21:41:53 765212b225bb: Waiting 21:41:53 f23df028b6ca: Waiting 21:41:53 d65c8cfc05b1: Waiting 21:41:53 2437ff75d9bd: Waiting 21:41:53 04944245beec: Verifying Checksum 21:41:53 04944245beec: Download complete 21:41:53 765212b225bb: Verifying Checksum 21:41:53 765212b225bb: Download complete 21:41:53 f23df028b6ca: Verifying Checksum 21:41:53 f23df028b6ca: Download complete 21:41:53 d65c8cfc05b1: Verifying Checksum 21:41:53 d65c8cfc05b1: Download complete 21:41:54 699f458cf7ca: Verifying Checksum 21:41:54 699f458cf7ca: Download complete 21:41:54 8998bd30e6a1: Verifying Checksum 21:41:54 8998bd30e6a1: Download complete 21:41:56 2437ff75d9bd: Verifying Checksum 21:41:58 8998bd30e6a1: Pull complete 21:41:59 04944245beec: Pull complete 21:42:00 699f458cf7ca: Pull complete 21:42:01 765212b225bb: Pull complete 21:42:01 f23df028b6ca: Pull complete 21:42:02 d65c8cfc05b1: Pull complete 21:42:17 2437ff75d9bd: Pull complete 21:42:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:42:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:42:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:17 prd-ubuntu20.04-docker-arm64-4c-16g-25824 does not seem to be running inside a container 21:42:17 $ 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/51 -v /w/workspace/device-virtual-go/51:/w/workspace/device-virtual-go/51:rw,z -v /w/workspace/device-virtual-go/51@tmp:/w/workspace/device-virtual-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:42:20 $ docker top bcf10da8dfaa45e15e4dea23ff2d9b6acbd211076b7d9a51781f33ae72d6eb6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:42:21 ---> job-cost.sh 21:42:21 lf-activate-venv: SKIPPING 21:42:21 INFO: No Stack... 21:42:22 INFO: Retrieving Pricing Info for: v3-standard-4 21:42:23 INFO: Archiving Costs [Pipeline] sh 21:42:23 + cut -d, -f6 21:42:23 + cat /w/workspace/device-virtual-go/51/archives/cost.csv [Pipeline] lock 21:42:23 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-51-stack-cost] 21:42:23 Resource [jenkins-edgexfoundry-device-virtual-go-main-51-stack-cost] did not exist. Created. 21:42:23 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:42:24 /w/workspace/device-virtual-go/51@tmp/durable-2d760578/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:42:25 + echo total: 0.10999999940395355 [Pipeline] stash 21:42:25 Warning: overwriting stash ‘stack-cost’ 21:42:25 Stashed 1 file(s) [Pipeline] } 21:42:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 21:42:25 $ docker stop --time=1 bcf10da8dfaa45e15e4dea23ff2d9b6acbd211076b7d9a51781f33ae72d6eb6a 21:42:26 $ docker rm -f bcf10da8dfaa45e15e4dea23ff2d9b6acbd211076b7d9a51781f33ae72d6eb6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:42:27 provisioning config files... 21:42:27 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6599616561722405223tmp [Pipeline] { [Pipeline] sh 21:42:27 + set +x 21:42:27 + bash -s -- 21:42:27 + curl -s https://codecov.io/bash 21:42:27 21:42:27 _____ _ 21:42:27 / ____| | | 21:42:27 | | ___ __| | ___ ___ _____ __ 21:42:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:42:27 | |___| (_) | (_| | __/ (_| (_) \ V / 21:42:27 \_____\___/ \__,_|\___|\___\___/ \_/ 21:42:27 Bash-1.0.6 21:42:27 21:42:27 21:42:27 ==> git version 2.25.1 found 21:42:27 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:42:27 Release-Date: 2020-01-08 21:42:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:42:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:42:27 ==> Jenkins CI detected. 21:42:27 current dir:  /w/workspace/exfoundry_device-virtual-go_main 21:42:27 project root: . 21:42:27 --> token set from env 21:42:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:42:27 ==> Running gcov in . (disable via -X gcov) 21:42:27 ==> Python coveragepy not found 21:42:27 ==> Searching for coverage reports in: 21:42:27 + . 21:42:27 -> Found 1 reports 21:42:27 ==> Detecting git/mercurial file structure 21:42:27 ==> Reading reports 21:42:27 + ./coverage.out bytes=44128 21:42:27 ==> Appending adjustments 21:42:27 https://docs.codecov.io/docs/fixing-reports 21:42:27 + Found adjustments 21:42:27 ==> Gzipping contents 21:42:27 8.0K /tmp/codecov.sJXoGA.gz 21:42:27 ==> Uploading reports 21:42:27 url: https://codecov.io 21:42:27 query: branch=main&commit=76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:42:27 -> Pinging Codecov 21:42:27 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=76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:42:28 -> Uploading to 21:42:28 https://storage.googleapis.com/codecov/v4/raw/2022-09-06/5E52B4B073DB2E39498172D8E973AA87/76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70/e3cb8b4b-b5db-48ec-a7d5-2eae7cc3bcd3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220906T214227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a07c75338ddaf25502de4896091aa89899c4e86024ca15e2189a865cdec83e66 21:42:28 % Total % Received % Xferd Average Speed Time Time Time Current 21:42:28 Dload Upload Total Spent Left Speed 21:42:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5444 0 0 100 5444 0 24745 --:--:-- --:--:-- --:--:-- 24745 21:42:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [Pipeline] } 21:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:42:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:42:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:42:28 21:42:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:42:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:42:29 df9b9388f04a: Pulling fs layer 21:42:29 52dc419b0ee2: Pulling fs layer 21:42:29 25bc292e5bac: Pulling fs layer 21:42:29 114826534d7a: Pulling fs layer 21:42:29 4657fd5d0bcf: Pulling fs layer 21:42:29 6ad1cebc031e: Pulling fs layer 21:42:29 8a3aa393b2d8: Pulling fs layer 21:42:29 114826534d7a: Waiting 21:42:29 6ad1cebc031e: Waiting 21:42:29 4657fd5d0bcf: Waiting 21:42:29 25bc292e5bac: Download complete 21:42:29 52dc419b0ee2: Verifying Checksum 21:42:29 52dc419b0ee2: Download complete 21:42:29 4657fd5d0bcf: Verifying Checksum 21:42:29 4657fd5d0bcf: Download complete 21:42:29 df9b9388f04a: Verifying Checksum 21:42:29 6ad1cebc031e: Verifying Checksum 21:42:29 6ad1cebc031e: Download complete 21:42:29 df9b9388f04a: Pull complete 21:42:29 52dc419b0ee2: Pull complete 21:42:29 25bc292e5bac: Pull complete 21:42:29 114826534d7a: Verifying Checksum 21:42:29 114826534d7a: Download complete 21:42:30 8a3aa393b2d8: Verifying Checksum 21:42:30 8a3aa393b2d8: Download complete 21:42:33 114826534d7a: Pull complete 21:42:33 4657fd5d0bcf: Pull complete 21:42:33 6ad1cebc031e: Pull complete 21:42:36 8a3aa393b2d8: Pull complete 21:42:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:42:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:36 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:42:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:42:39 $ docker top d5fe8c3f354eb8ba5d230656f96ef396a6cd48ea863894622643876ba31401fd -eo pid,comm [Pipeline] { [Pipeline] echo 21:42:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-virtual-go:main' [Pipeline] sh 21:42:39 + set -o pipefail 21:42:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-virtual-go:main' 21:42:44 21:42:44 Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... 21:42:44 21:42:44 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/28e35fd0-54c0-4b4d-8115-61bcd17c2ff8/history/4056e1ac-34a1-41bc-a688-394c8f9ca929 21:42:44 21:42:44 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:42:44 21:42:44 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:42:44 21:42:44 [Pipeline] } 21:42:44 $ docker stop --time=1 d5fe8c3f354eb8ba5d230656f96ef396a6cd48ea863894622643876ba31401fd 21:42:47 $ docker rm -f d5fe8c3f354eb8ba5d230656f96ef396a6cd48ea863894622643876ba31401fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:42:47 + git log --format=format:%s -1 76ffe4525c9b74476f5f1fe73b8a9bbc7825fe70 [Pipeline] sh 21:42:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:42:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:42:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:48 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:42:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:42:48 $ docker top 9a2eb6de154804f938ca749fe10867274d238a4f07000d8b2ac01dde30d070a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:42:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:42:49 [ssh-agent] Looking for ssh-agent implementation... 21:42:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:42:49 $ docker exec 9a2eb6de154804f938ca749fe10867274d238a4f07000d8b2ac01dde30d070a1 ssh-agent 21:42:49 SSH_AUTH_SOCK=/tmp/ssh-sLTDpEjLNgTy/agent.32 21:42:49 SSH_AGENT_PID=38 21:42:49 Running ssh-add (command line suppressed) 21:42:49 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7404216344045825129.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7404216344045825129.key) 21:42:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:42:49 + git semver tag 21:42:49 2022-09-06 21:42:49,906 [run_tag] DEBUG tag force:False 21:42:49 2022-09-06 21:42:49,906 [check_head_tag] DEBUG check head tag 21:42:49 2022-09-06 21:42:49,907 [execute] INFO git cat-file --batch-check 21:42:49 2022-09-06 21:42:49,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:42:49 2022-09-06 21:42:49,911 [execute] INFO git cat-file --batch 21:42:49 2022-09-06 21:42:49,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=) 21:42:49 2022-09-06 21:42:49,925 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:42:49 2022-09-06 21:42:49,925 [execute] INFO git tag -a v2.3.0-dev.15 -m v2.3.0-dev.15 21:42:49 2022-09-06 21:42:49,925 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.15', '-m', 'v2.3.0-dev.15'], cwd=/w/workspace/exfoundry_device-virtual-go_main, universal_newlines=False, shell=None, istream=None) 21:42:49 2022-09-06 21:42:49,930 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:42:49 2.3.0-dev.15 [Pipeline] } 21:42:49 $ docker exec --env ******** --env ******** 9a2eb6de154804f938ca749fe10867274d238a4f07000d8b2ac01dde30d070a1 ssh-agent -k 21:42:50 unset SSH_AUTH_SOCK; 21:42:50 unset SSH_AGENT_PID; 21:42:50 echo Agent pid 38 killed; 21:42:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:42:50 + git semver [Pipeline] } 21:42:50 $ docker stop --time=1 9a2eb6de154804f938ca749fe10867274d238a4f07000d8b2ac01dde30d070a1 21:42:51 $ docker rm -f 9a2eb6de154804f938ca749fe10867274d238a4f07000d8b2ac01dde30d070a1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:42:52 21:42:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:42:52 0.23.1-centos7: Pulling from edgex-lftools 21:42:52 ab5ef0e58194: Pulling fs layer 21:42:52 9712f1f96733: Pulling fs layer 21:42:52 63f879dbbcfc: Pulling fs layer 21:42:52 0d9ebad4ef96: Pulling fs layer 21:42:52 e9a5061849ea: Pulling fs layer 21:42:52 d747dcd14b5f: Pulling fs layer 21:42:52 2de7ff778b66: Pulling fs layer 21:42:52 0d9ebad4ef96: Waiting 21:42:52 d747dcd14b5f: Waiting 21:42:52 e9a5061849ea: Waiting 21:42:52 2de7ff778b66: Waiting 21:42:52 9712f1f96733: Verifying Checksum 21:42:52 9712f1f96733: Download complete 21:42:52 63f879dbbcfc: Verifying Checksum 21:42:52 63f879dbbcfc: Download complete 21:42:53 0d9ebad4ef96: Verifying Checksum 21:42:53 0d9ebad4ef96: Download complete 21:42:53 d747dcd14b5f: Download complete 21:42:53 e9a5061849ea: Verifying Checksum 21:42:53 e9a5061849ea: Download complete 21:42:53 ab5ef0e58194: Verifying Checksum 21:42:53 ab5ef0e58194: Download complete 21:42:53 2de7ff778b66: Verifying Checksum 21:42:53 2de7ff778b66: Download complete 21:42:56 ab5ef0e58194: Pull complete 21:42:56 9712f1f96733: Pull complete 21:42:56 63f879dbbcfc: Pull complete 21:43:00 0d9ebad4ef96: Pull complete 21:43:00 e9a5061849ea: Pull complete 21:43:00 d747dcd14b5f: Pull complete 21:43:01 2de7ff778b66: Pull complete 21:43:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:43:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:01 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:43:01 $ 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 21:43:04 $ docker top f5552ec8ace3d06678df87f294988402c527d5b7e0ea362df81faef1fdf099f8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:43:04 provisioning config files... 21:43:04 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5618275641986232775tmp 21:43:04 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4118375849023244934tmp 21:43:04 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config767491810137416605tmp [Pipeline] { [Pipeline] echo 21:43:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:43:04 ---> sigul-configuration.sh 21:43:04 gpg: directory `/root/.gnupg' created 21:43:04 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:43:04 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:43:04 gpg: keyring `/root/.gnupg/secring.gpg' created 21:43:04 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:43:04 gpg: CAST5 encrypted data 21:43:04 gpg: encrypted with 1 passphrase 21:43:04 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:43:04 + mkdir /home/jenkins 21:43:04 + mkdir /home/jenkins/sigul [Pipeline] sh 21:43:05 + 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 21:43:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:43:05 ---> sigul-install.sh 21:43:05 Sigul already installed; skipping installation. [Pipeline] sh 21:43:05 + git tag --list 21:43:05 v1.0.0 21:43:05 v1.1.0 21:43:05 v1.1.1 21:43:05 v1.2.1 21:43:05 v1.2.2 21:43:05 v1.2.3 21:43:05 v1.3.0 21:43:05 v1.3.1 21:43:05 v2.0.0 21:43:05 v2.1.0 21:43:05 v2.1.1 21:43:05 v2.1.1-dev.1 21:43:05 v2.1.1-dev.2 21:43:05 v2.2.0 21:43:05 v2.2.1-dev.1 21:43:05 v2.2.1-dev.2 21:43:05 v2.2.1-dev.3 21:43:05 v2.2.1-dev.4 21:43:05 v2.2.1-dev.5 21:43:05 v2.2.1-dev.6 21:43:05 v2.2.1-dev.7 21:43:05 v2.2.1-dev.8 21:43:05 v2.3.0-dev.10 21:43:05 v2.3.0-dev.11 21:43:05 v2.3.0-dev.12 21:43:05 v2.3.0-dev.13 21:43:05 v2.3.0-dev.14 21:43:05 v2.3.0-dev.15 21:43:05 v2.3.0-dev.8 21:43:05 v2.3.0-dev.9 [Pipeline] sh 21:43:05 + lftools sign git-tag v2.3.0-dev.15 21:43:06 Signing Git tag with Sigul... 21:43:06 Signing v2.3.0-dev.15 [Pipeline] echo 21:43:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:43:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:43:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:43:07 $ docker stop --time=1 f5552ec8ace3d06678df87f294988402c527d5b7e0ea362df81faef1fdf099f8 21:43:08 $ docker rm -f f5552ec8ace3d06678df87f294988402c527d5b7e0ea362df81faef1fdf099f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:43:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:43:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:43:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:09 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:43:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:43:09 $ docker top ec1bf0061f232e6179402bf44735ef6ffbbbcb4d3791d291c94b3010c8b00b83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:43:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:43:09 [ssh-agent] Looking for ssh-agent implementation... 21:43:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:43:09 $ docker exec ec1bf0061f232e6179402bf44735ef6ffbbbcb4d3791d291c94b3010c8b00b83 ssh-agent 21:43:09 SSH_AUTH_SOCK=/tmp/ssh-Xx8GKk2XIy7a/agent.32 21:43:09 SSH_AGENT_PID=38 21:43:09 Running ssh-add (command line suppressed) 21:43:10 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8005766427540017685.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_8005766427540017685.key) 21:43:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:43:10 + git semver bump pre 21:43:10 2022-09-06 21:43:10,531 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:43:10 2022-09-06 21:43:10,531 [bump_version] DEBUG bumping version:2.3.0-dev.15 on axis:pre with prefix:dev 21:43:10 2022-09-06 21:43:10,531 [bump_version] DEBUG bumped version:2.3.0-dev.16 21:43:10 2022-09-06 21:43:10,531 [write_version] DEBUG write version:2.3.0-dev.16 to path:/w/workspace/exfoundry_device-virtual-go_main/.semver/main with force:True 21:43:10 2022-09-06 21:43:10,531 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:43:10 2022-09-06 21:43:10,531 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:43:10 2022-09-06 21:43:10,533 [execute] INFO git cat-file --batch-check 21:43:10 2022-09-06 21:43:10,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:43:10 2022-09-06 21:43:10,538 [execute] INFO git cat-file --batch 21:43:10 2022-09-06 21:43:10,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:43:10 2022-09-06 21:43:10,543 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:43:10 2.3.0-dev.16 [Pipeline] } 21:43:10 $ docker exec --env ******** --env ******** ec1bf0061f232e6179402bf44735ef6ffbbbcb4d3791d291c94b3010c8b00b83 ssh-agent -k 21:43:10 unset SSH_AUTH_SOCK; 21:43:10 unset SSH_AGENT_PID; 21:43:10 echo Agent pid 38 killed; 21:43:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:43:11 + git semver [Pipeline] } 21:43:11 $ docker stop --time=1 ec1bf0061f232e6179402bf44735ef6ffbbbcb4d3791d291c94b3010c8b00b83 21:43:12 $ docker rm -f ec1bf0061f232e6179402bf44735ef6ffbbbcb4d3791d291c94b3010c8b00b83 [Pipeline] // withDockerContainer [Pipeline] sh 21:43:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:43:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:43:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:13 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:43:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:43:13 $ docker top 6a279d44ec556dcf266a6bc76c815ec5edbbd5a2f1141cb309812be251ce1760 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:43:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:43:13 [ssh-agent] Looking for ssh-agent implementation... 21:43:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:43:13 $ docker exec 6a279d44ec556dcf266a6bc76c815ec5edbbd5a2f1141cb309812be251ce1760 ssh-agent 21:43:14 SSH_AUTH_SOCK=/tmp/ssh-h7TNcnwAyI0J/agent.32 21:43:14 SSH_AGENT_PID=38 21:43:14 Running ssh-add (command line suppressed) 21:43:14 Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7721236990390556583.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7721236990390556583.key) 21:43:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:43:14 + git semver push 21:43:14 2022-09-06 21:43:14,762 [run_push] DEBUG push 21:43:14 2022-09-06 21:43:14,762 [execute] INFO git cat-file --batch-check 21:43:14 2022-09-06 21:43:14,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:43:14 2022-09-06 21:43:14,767 [execute] INFO git rev-list 285baf7ce0440497b5c7d6d1176e4e6333c587b5 -- 21:43:14 2022-09-06 21:43:14,767 [execute] DEBUG Popen(['git', 'rev-list', '285baf7ce0440497b5c7d6d1176e4e6333c587b5', '--'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:43:14 2022-09-06 21:43:14,775 [execute] INFO git fetch -v origin 21:43:14 2022-09-06 21:43:14,776 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:43:15 2022-09-06 21:43:15,318 [run_push] DEBUG no remote changes detected 21:43:15 2022-09-06 21:43:15,319 [execute] INFO git push origin semver 21:43:15 2022-09-06 21:43:15,319 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-virtual-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:43:16 2022-09-06 21:43:16,134 [run_push] DEBUG push all version tags 21:43:16 2022-09-06 21:43:16,135 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:43:16 2022-09-06 21:43:16,135 [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) 21:43:17 2022-09-06 21:43:16,897 [read_version] DEBUG read version from /w/workspace/exfoundry_device-virtual-go_main/.semver/main 21:43:17 2.3.0-dev.16 [Pipeline] } 21:43:17 $ docker exec --env ******** --env ******** 6a279d44ec556dcf266a6bc76c815ec5edbbd5a2f1141cb309812be251ce1760 ssh-agent -k 21:43:17 unset SSH_AUTH_SOCK; 21:43:17 unset SSH_AGENT_PID; 21:43:17 echo Agent pid 38 killed; 21:43:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:43:17 + git semver [Pipeline] } 21:43:17 $ docker stop --time=1 6a279d44ec556dcf266a6bc76c815ec5edbbd5a2f1141cb309812be251ce1760 21:43:19 $ docker rm -f 6a279d44ec556dcf266a6bc76c815ec5edbbd5a2f1141cb309812be251ce1760 [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 21:43:19 + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] 21:43:19 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 21:43:19 total 16 21:43:19 drwxr-xr-x 3 root root 4096 Sep 6 21:11 . 21:43:19 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 21:43 .. 21:43:19 drwxr-xr-x 2 root root 4096 Sep 6 21:11 cost 21:43:19 -rw-r--r-- 1 root root 88 Sep 6 21:11 cost.csv 21:43:19 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives 21:43:19 + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives 21:43:19 total 16 21:43:19 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 21:11 . 21:43:19 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 21:43 .. 21:43:19 drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 21:11 cost 21:43:19 -rw-r--r-- 1 jenkins jenkins 88 Sep 6 21:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:43:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:43:21 ---> package-listing.sh 21:43:21 ++ facter osfamily 21:43:21 ++ tr '[:upper:]' '[:lower:]' 21:43:21 + OS_FAMILY=debian 21:43:21 + workspace=/w/workspace/exfoundry_device-virtual-go_main 21:43:21 + START_PACKAGES=/tmp/packages_start.txt 21:43:21 + END_PACKAGES=/tmp/packages_end.txt 21:43:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:43:21 + PACKAGES=/tmp/packages_start.txt 21:43:21 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 21:43:21 + PACKAGES=/tmp/packages_end.txt 21:43:21 + case "${OS_FAMILY}" in 21:43:21 + dpkg -l 21:43:21 + grep '^ii' 21:43:21 + '[' -f /tmp/packages_start.txt ']' 21:43:21 + '[' -f /tmp/packages_end.txt ']' 21:43:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:43:21 + '[' /w/workspace/exfoundry_device-virtual-go_main ']' 21:43:21 + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ 21:43:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo 21:43:21 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 21:43:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:43:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:22 prd-ubuntu20.04-docker-8c-8g-24692 does not seem to be running inside a container 21:43:22 $ 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 21:43:22 $ docker top 8fe058ba6ddf8e37e4c78519fa7abb17aebdef82d71d1fb69ee24c14087cd77f -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:22 + touch /tmp/pre-build-complete [Pipeline] sh 21:43:23 + mkdir -p /var/log/sysstat [Pipeline] sh 21:43:23 + ls /var/log/sa-host 21:43:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:43:23 provisioning config files... 21:43:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7406111219384846010tmp [Pipeline] { [Pipeline] echo 21:43:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:43:23 ---> create-netrc.sh [Pipeline] } 21:43:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:43:24 ---> python-tools-install.sh [Pipeline] echo 21:43:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:43:24 ---> sudo-logs.sh 21:43:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:43:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:43:24 ---> job-cost.sh 21:43:24 lf-activate-venv: SKIPPING 21:43:24 DEBUG: total: 0.2199999988079071 21:43:24 INFO: Retrieving Stack Cost... 21:43:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:43:25 INFO: Archiving Costs [Pipeline] echo 21:43:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:43:25 ---> logs-deploy.sh 21:43:25 lf-activate-venv: SKIPPING 21:43:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/51 21:43:25 INFO: archiving workspace using pattern(s): 21:43:26 Archives upload complete. 21:43:26 INFO: archiving logs to Nexus