Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 351caebf32bba8e0fd88c5312046eae57dc27958 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-ssh17991198678078567879.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh12052203348567112851.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh409173904606389282.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh7990707744591657699.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh393436971543291599.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10766’ Running on prd-ubuntu20.04-docker-8c-8g-10770 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 351caebf32bba8e0fd88c5312046eae57dc27958 (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 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 Commit message: "Merge pull request #274 from jpwhitemn/enable-gosec-lint" > git rev-list --no-walk ab35c68c7da578f7489f6019108ca23722e6e5b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-05T20:08:50.790Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-05T20:08:50.884Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-05T20:08:50.906Z] ========================================================= [2022-04-05T20:08:50.907Z] EdgeX Global Pipelines Version Info [2022-04-05T20:08:50.907Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:08:51.667Z] ------------------- [2022-04-05T20:08:51.667Z] stable info: [2022-04-05T20:08:51.667Z] ------------------- [2022-04-05T20:08:51.667Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-05T20:08:51.667Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:08:51.667Z] Message: update stable to v1.0.221 [2022-04-05T20:08:52.239Z] ------------------- [2022-04-05T20:08:52.239Z] experimental info: [2022-04-05T20:08:52.239Z] ------------------- [2022-04-05T20:08:52.239Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-05T20:08:52.239Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:08:52.239Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-05T20:08:52.367Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-05T20:08:52.383Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-05T20:08:52.397Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-05T20:08:52.414Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-05T20:08:52.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-05T20:08:52.452Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-05T20:08:52.463Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-05T20:08:52.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-05T20:08:52.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-05T20:08:52.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-05T20:08:52.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-05T20:08:52.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-05T20:08:52.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-05T20:08:52.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-05T20:08:52.587Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:08:52.599Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:08:52.619Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:08:52.633Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:08:52.646Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-05T20:08:52.660Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-05T20:08:52.677Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-05T20:08:52.688Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-05T20:08:52.703Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-05T20:08:52.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-05T20:08:52.795Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-05T20:08:52.807Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-05T20:08:52.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-05T20:08:52.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-05T20:08:52.850Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-05T20:08:52.867Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] echo [2022-04-05T20:08:52.879Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 351caeb [Pipeline] echo [2022-04-05T20:08:52.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:08:52.931Z] provisioning config files... [2022-04-05T20:08:52.946Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8560251679020565757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:08:53.250Z] ---> docker-login.sh [2022-04-05T20:08:53.250Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:08:53.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:53.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:53.511Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:53.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:53.511Z] [2022-04-05T20:08:53.511Z] Login Succeeded [2022-04-05T20:08:53.511Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:08:53.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:53.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:53.772Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:53.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:53.772Z] [2022-04-05T20:08:53.772Z] Login Succeeded [2022-04-05T20:08:53.772Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:08:53.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:53.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:53.772Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:53.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:53.772Z] [2022-04-05T20:08:53.772Z] Login Succeeded [2022-04-05T20:08:53.772Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:08:54.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:54.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:54.033Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:54.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:54.033Z] [2022-04-05T20:08:54.033Z] Login Succeeded [2022-04-05T20:08:54.033Z] docker.io [2022-04-05T20:08:54.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:54.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:54.294Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:54.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:54.294Z] [2022-04-05T20:08:54.294Z] Login Succeeded [2022-04-05T20:08:54.294Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:08:54.302Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-05T20:08:54.678Z] + git rev-list -1 --merges 351caebf32bba8e0fd88c5312046eae57dc27958~1..351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] echo [2022-04-05T20:08:54.777Z] -----------> git rev-list -1 --merges 351caebf32bba8e0fd88c5312046eae57dc27958~1..351caebf32bba8e0fd88c5312046eae57dc27958 351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:08:54.777Z] 351caebf32bba8e0fd88c5312046eae57dc27958 [false] [Pipeline] sh [2022-04-05T20:08:55.087Z] + git log --format=format:%s -1 351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] echo [2022-04-05T20:08:55.106Z] ========================================================= [2022-04-05T20:08:55.106Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-05T20:08:55.106Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:08:55.446Z] + git log --format=format:%s -1 351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] echo [2022-04-05T20:08:55.458Z] [semverPrep] GIT_COMMIT: 351caebf32bba8e0fd88c5312046eae57dc27958, Commit Message: Merge pull request #274 from jpwhitemn/enable-gosec-lint [Pipeline] echo [2022-04-05T20:08:55.468Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-05T20:08:55.861Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:08:55.861Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-05T20:08:55.861Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-05T20:08:55.861Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-05T20:08:55.861Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-05T20:08:55.861Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-05T20:08:55.861Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:56.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:08:56.207Z] [2022-04-05T20:08:56.207Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:56.514Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:08:56.514Z] latest: Pulling from edgex-devops/git-semver [2022-04-05T20:08:56.514Z] a0d0a0d46f8b: Pulling fs layer [2022-04-05T20:08:56.514Z] 3e5f54012d9b: Pulling fs layer [2022-04-05T20:08:56.514Z] 4c7163046ea9: Pulling fs layer [2022-04-05T20:08:56.514Z] 0c2d73faf560: Pulling fs layer [2022-04-05T20:08:56.514Z] 0c2d73faf560: Waiting [2022-04-05T20:08:56.514Z] 3e5f54012d9b: Download complete [2022-04-05T20:08:56.514Z] a0d0a0d46f8b: Verifying Checksum [2022-04-05T20:08:56.514Z] a0d0a0d46f8b: Download complete [2022-04-05T20:08:56.514Z] 0c2d73faf560: Verifying Checksum [2022-04-05T20:08:56.514Z] 0c2d73faf560: Download complete [2022-04-05T20:08:56.773Z] 4c7163046ea9: Verifying Checksum [2022-04-05T20:08:56.773Z] 4c7163046ea9: Download complete [2022-04-05T20:08:56.773Z] a0d0a0d46f8b: Pull complete [2022-04-05T20:08:56.773Z] 3e5f54012d9b: Pull complete [2022-04-05T20:08:57.036Z] 4c7163046ea9: Pull complete [2022-04-05T20:08:57.298Z] 0c2d73faf560: Pull complete [2022-04-05T20:08:57.298Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-05T20:08:57.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:08:57.298Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-05T20:08:57.382Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:08:57.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:08:58.137Z] $ docker top 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:08:58.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:08:58.244Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:08:58.375Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:08:58.377Z] $ docker exec 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 ssh-agent [2022-04-05T20:08:58.508Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjgCAoo/agent.14 [2022-04-05T20:08:58.508Z] SSH_AGENT_PID=20 [2022-04-05T20:08:58.520Z] Running ssh-add (command line suppressed) [2022-04-05T20:08:58.628Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7397911986640986082.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7397911986640986082.key) [2022-04-05T20:08:58.645Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:08:58.934Z] + git tag --points-at HEAD [Pipeline] } [2022-04-05T20:08:58.953Z] $ docker exec --env ******** --env ******** 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 ssh-agent -k [2022-04-05T20:08:59.072Z] unset SSH_AUTH_SOCK; [2022-04-05T20:08:59.073Z] unset SSH_AGENT_PID; [2022-04-05T20:08:59.073Z] echo Agent pid 20 killed; [2022-04-05T20:08:59.084Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-05T20:08:59.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:08:59.112Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:08:59.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:08:59.234Z] $ docker exec 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 ssh-agent [2022-04-05T20:08:59.342Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFIliNH/agent.52 [2022-04-05T20:08:59.342Z] SSH_AGENT_PID=58 [2022-04-05T20:08:59.348Z] Running ssh-add (command line suppressed) [2022-04-05T20:08:59.468Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3626825164431289035.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3626825164431289035.key) [2022-04-05T20:08:59.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:08:59.775Z] + git semver init [2022-04-05T20:08:59.776Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:08:59.776Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-05T20:08:59.776Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-05T20:08:59.776Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:08:59.776Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:08:59.776Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:08:59.776Z] # $SEMVER_BRANCH = main [2022-04-05T20:08:59.776Z] # $SEMVER_TEMP = /tmp/semver-089839626 [2022-04-05T20:08:59.776Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-05T20:09:01.160Z] # '/tmp/semver-089839626' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2022-04-05T20:09:01.160Z] # -> Force: false [2022-04-05T20:09:01.160Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-05T20:09:01.171Z] $ docker exec --env ******** --env ******** 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 ssh-agent -k [2022-04-05T20:09:01.274Z] unset SSH_AUTH_SOCK; [2022-04-05T20:09:01.274Z] unset SSH_AGENT_PID; [2022-04-05T20:09:01.275Z] echo Agent pid 58 killed; [2022-04-05T20:09:01.286Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:09:01.591Z] + git semver [Pipeline] } [2022-04-05T20:09:01.607Z] $ docker stop --time=1 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 [2022-04-05T20:09:03.031Z] $ docker rm -f 86b155335eb525ce6a07c959bb3bbf58695914621db491e145d7fd1e06f7c8e3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:09:03.381Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-05T20:09:03.612Z] Stashed 1 file(s) [Pipeline] echo [2022-04-05T20:09:03.615Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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 [2022-04-05T20:09:03.774Z] provisioning config files... [2022-04-05T20:09:03.785Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2769680730176159351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:04.085Z] ---> docker-login.sh [2022-04-05T20:09:04.085Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:09:04.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:04.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:04.085Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:04.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:04.085Z] [2022-04-05T20:09:04.085Z] Login Succeeded [2022-04-05T20:09:04.085Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:09:04.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:04.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:04.346Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:04.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:04.346Z] [2022-04-05T20:09:04.346Z] Login Succeeded [2022-04-05T20:09:04.346Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:09:04.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:04.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:04.346Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:04.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:04.346Z] [2022-04-05T20:09:04.346Z] Login Succeeded [2022-04-05T20:09:04.346Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:09:04.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:04.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:04.607Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:04.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:04.607Z] [2022-04-05T20:09:04.607Z] Login Succeeded [2022-04-05T20:09:04.607Z] docker.io [2022-04-05T20:09:04.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:04.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:04.867Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:04.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:04.867Z] [2022-04-05T20:09:04.867Z] Login Succeeded [2022-04-05T20:09:04.867Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:09:04.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:09:04.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:09:04.953Z] ========================================================= [2022-04-05T20:09:04.954Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-05T20:09:04.954Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:05.268Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T20:09:05.268Z] Sending build context to Docker daemon 22.87MB [2022-04-05T20:09:05.268Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:09:05.268Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T20:09:05.530Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-05T20:09:05.530Z] 59bf1c3509f3: Pulling fs layer [2022-04-05T20:09:05.530Z] 666ba61612fd: Pulling fs layer [2022-04-05T20:09:05.530Z] 8ed8ca486205: Pulling fs layer [2022-04-05T20:09:05.530Z] 4fe6c5a15a65: Pulling fs layer [2022-04-05T20:09:05.530Z] 22a0e8bec74d: Pulling fs layer [2022-04-05T20:09:05.530Z] 640e595b4fbd: Pulling fs layer [2022-04-05T20:09:05.530Z] 763cafe07f6e: Pulling fs layer [2022-04-05T20:09:05.530Z] 0c0b528cf693: Pulling fs layer [2022-04-05T20:09:05.530Z] 10935f4eaf8b: Pulling fs layer [2022-04-05T20:09:05.530Z] 4fe6c5a15a65: Waiting [2022-04-05T20:09:05.530Z] 763cafe07f6e: Waiting [2022-04-05T20:09:05.530Z] 640e595b4fbd: Waiting [2022-04-05T20:09:05.530Z] 0c0b528cf693: Waiting [2022-04-05T20:09:05.530Z] 10935f4eaf8b: Waiting [2022-04-05T20:09:05.530Z] 22a0e8bec74d: Waiting [2022-04-05T20:09:05.530Z] 8ed8ca486205: Verifying Checksum [2022-04-05T20:09:05.530Z] 8ed8ca486205: Download complete [2022-04-05T20:09:05.530Z] 666ba61612fd: Download complete [2022-04-05T20:09:05.530Z] 22a0e8bec74d: Verifying Checksum [2022-04-05T20:09:05.530Z] 22a0e8bec74d: Download complete [2022-04-05T20:09:05.530Z] 640e595b4fbd: Verifying Checksum [2022-04-05T20:09:05.530Z] 640e595b4fbd: Download complete [2022-04-05T20:09:05.530Z] 763cafe07f6e: Verifying Checksum [2022-04-05T20:09:05.530Z] 763cafe07f6e: Download complete [2022-04-05T20:09:05.530Z] 59bf1c3509f3: Download complete [2022-04-05T20:09:05.530Z] 0c0b528cf693: Verifying Checksum [2022-04-05T20:09:05.530Z] 0c0b528cf693: Download complete [2022-04-05T20:09:05.530Z] 59bf1c3509f3: Pull complete [2022-04-05T20:09:05.790Z] 666ba61612fd: Pull complete [2022-04-05T20:09:05.790Z] 8ed8ca486205: Pull complete [2022-04-05T20:09:06.049Z] 10935f4eaf8b: Verifying Checksum [2022-04-05T20:09:06.049Z] 10935f4eaf8b: Download complete [2022-04-05T20:09:06.049Z] 4fe6c5a15a65: Verifying Checksum [2022-04-05T20:09:06.049Z] 4fe6c5a15a65: Download complete [2022-04-05T20:09:10.254Z] 4fe6c5a15a65: Pull complete [2022-04-05T20:09:10.254Z] 22a0e8bec74d: Pull complete [2022-04-05T20:09:10.254Z] 640e595b4fbd: Pull complete [2022-04-05T20:09:10.254Z] 763cafe07f6e: Pull complete [2022-04-05T20:09:10.254Z] 0c0b528cf693: Pull complete [2022-04-05T20:09:12.171Z] 10935f4eaf8b: Pull complete [2022-04-05T20:09:12.171Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-05T20:09:12.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-05T20:09:12.171Z] ---> 99d49a6021b9 [2022-04-05T20:09:12.171Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:09:13.567Z] ---> Running in 3f15aeedd18a [2022-04-05T20:09:13.567Z] Removing intermediate container 3f15aeedd18a [2022-04-05T20:09:13.567Z] ---> 47e607758846 [2022-04-05T20:09:13.567Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:09:13.830Z] ---> Running in 7eb52e110e58 [2022-04-05T20:09:13.830Z] Removing intermediate container 7eb52e110e58 [2022-04-05T20:09:13.830Z] ---> 2c0c99dc57ea [2022-04-05T20:09:13.830Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-05T20:09:13.830Z] ---> Running in 8da016607dd9 [2022-04-05T20:09:13.830Z] Removing intermediate container 8da016607dd9 [2022-04-05T20:09:13.830Z] ---> d0a6ce91ad57 [2022-04-05T20:09:13.830Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:09:14.090Z] ---> Running in fee3bc26b062 [2022-04-05T20:09:14.659Z] Removing intermediate container fee3bc26b062 [2022-04-05T20:09:14.659Z] ---> f94ba855d241 [2022-04-05T20:09:14.659Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:09:14.659Z] ---> Running in 84cfbd3331f2 [2022-04-05T20:09:14.920Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:09:15.863Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:09:16.123Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:09:16.123Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T20:09:16.123Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:09:16.383Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:09:16.383Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:09:16.383Z] OK: 224 MiB in 56 packages [2022-04-05T20:09:16.642Z] Removing intermediate container 84cfbd3331f2 [2022-04-05T20:09:16.642Z] ---> 4a294b5cdfcf [2022-04-05T20:09:16.642Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-05T20:09:16.903Z] ---> 3fcde6940a44 [2022-04-05T20:09:16.903Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:09:16.903Z] ---> Running in 6ba1342c2601 [2022-04-05T20:09:18.728Z] Still waiting to schedule task [2022-04-05T20:09:18.728Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10768’ [2022-04-05T20:09:31.806Z] Removing intermediate container 6ba1342c2601 [2022-04-05T20:09:31.807Z] ---> a57812ca66cd [2022-04-05T20:09:31.807Z] Step 10/12 : COPY . . [2022-04-05T20:09:31.807Z] ---> e71e2c254b46 [2022-04-05T20:09:31.807Z] Step 11/12 : ARG MAKE='make build' [2022-04-05T20:09:31.807Z] ---> Running in 9d3c3a8fb129 [2022-04-05T20:09:31.807Z] Removing intermediate container 9d3c3a8fb129 [2022-04-05T20:09:31.807Z] ---> f42069e6ff2a [2022-04-05T20:09:31.807Z] Step 12/12 : RUN $MAKE [2022-04-05T20:09:31.807Z] ---> Running in a5de42d96135 [2022-04-05T20:09:31.807Z] noop [2022-04-05T20:09:31.807Z] Removing intermediate container a5de42d96135 [2022-04-05T20:09:31.807Z] ---> dcbae656be7a [2022-04-05T20:09:31.807Z] Successfully built dcbae656be7a [2022-04-05T20:09:31.807Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:32.107Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:09:32.107Z] . [Pipeline] withDockerContainer [2022-04-05T20:09:32.177Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:09:32.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-05T20:09:32.614Z] $ docker top aea800d253e363bf86f146f5eb3201875ba22242fa0bcb30ff37bc8e9ea09ad4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:09:32.975Z] + go version [2022-04-05T20:09:32.975Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-05T20:09:32.995Z] $ docker stop --time=1 aea800d253e363bf86f146f5eb3201875ba22242fa0bcb30ff37bc8e9ea09ad4 [2022-04-05T20:09:34.286Z] $ docker rm -f aea800d253e363bf86f146f5eb3201875ba22242fa0bcb30ff37bc8e9ea09ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:34.679Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:09:34.679Z] . [Pipeline] withDockerContainer [2022-04-05T20:09:34.748Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:09:34.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-05T20:09:35.156Z] $ docker top 500c5ee2b565f4e1b9cf6a037c12844b37eb5f7faeb7b83fa47ba97ae34a6a7c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:09:35.511Z] + make test [2022-04-05T20:09:35.511Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-05T20:09:35.779Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-05T20:09:44.015Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-05T20:09:44.275Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2022-04-05T20:09:50.854Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:09:54.147Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:09:54.147Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:09:54.147Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:09:54.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:09:54.752Z] $ docker stop --time=1 500c5ee2b565f4e1b9cf6a037c12844b37eb5f7faeb7b83fa47ba97ae34a6a7c [2022-04-05T20:09:56.549Z] $ docker rm -f 500c5ee2b565f4e1b9cf6a037c12844b37eb5f7faeb7b83fa47ba97ae34a6a7c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:09:56.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:09:57.023Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-05T20:09:57.581Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:09:57.866Z] + ls -al . [2022-04-05T20:09:57.866Z] total 184 [2022-04-05T20:09:57.866Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:09 . [2022-04-05T20:09:57.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:08 .. [2022-04-05T20:09:57.866Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:08 .git [2022-04-05T20:09:57.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 .github [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 5 20:08 .gitignore [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:08 .golangci.yml [2022-04-05T20:09:57.866Z] drwx------ 3 jenkins jenkins 4096 Apr 5 20:09 .semver [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 5 20:08 Attribution.txt [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 5 20:08 CHANGELOG.md [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 5 20:08 Dockerfile [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:08 GOVERNANCE.md [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 5 20:08 Jenkinsfile [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:08 LICENSE [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 1652 Apr 5 20:08 Makefile [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 5 20:08 OWNERS.md [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 5 20:08 README.md [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION [2022-04-05T20:09:57.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 bin [2022-04-05T20:09:57.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:08 cmd [2022-04-05T20:09:57.866Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 5 20:09 coverage.out [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 5 20:08 go.mod [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 34471 Apr 5 20:08 go.sum [2022-04-05T20:09:57.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:08 internal [2022-04-05T20:09:57.866Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 5 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:58.168Z] + 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=351caebf32bba8e0fd88c5312046eae57dc27958 --label arch=amd64 --label version=2.2.0-dev.9 . [2022-04-05T20:09:58.169Z] Sending build context to Docker daemon 22.91MB [2022-04-05T20:09:58.169Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:09:58.169Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-05T20:09:58.169Z] ---> dcbae656be7a [2022-04-05T20:09:58.169Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:09:58.429Z] ---> Running in 64d4fb858cb6 [2022-04-05T20:09:58.429Z] Removing intermediate container 64d4fb858cb6 [2022-04-05T20:09:58.429Z] ---> 4362368b8b55 [2022-04-05T20:09:58.429Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:09:58.429Z] ---> Running in eaee4bfe94b8 [2022-04-05T20:09:58.429Z] Removing intermediate container eaee4bfe94b8 [2022-04-05T20:09:58.429Z] ---> b08187cc9e1b [2022-04-05T20:09:58.429Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-05T20:09:58.689Z] ---> Running in 25f88e78fa97 [2022-04-05T20:09:58.689Z] Removing intermediate container 25f88e78fa97 [2022-04-05T20:09:58.689Z] ---> 9a1e831890f7 [2022-04-05T20:09:58.689Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:09:58.689Z] ---> Running in c7f5842a486f [2022-04-05T20:09:59.259Z] Removing intermediate container c7f5842a486f [2022-04-05T20:09:59.259Z] ---> 2281a67d3ca1 [2022-04-05T20:09:59.259Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:09:59.259Z] ---> Running in 0f85c9298f4c [2022-04-05T20:09:59.519Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:00.459Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:00.719Z] OK: 224 MiB in 56 packages [2022-04-05T20:10:00.979Z] Removing intermediate container 0f85c9298f4c [2022-04-05T20:10:00.979Z] ---> b9ab105f9fb6 [2022-04-05T20:10:00.979Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-05T20:10:01.239Z] ---> 70b0c1c48d84 [2022-04-05T20:10:01.239Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:10:01.239Z] ---> Running in a6fe5ae2b3bb [2022-04-05T20:10:01.808Z] Removing intermediate container a6fe5ae2b3bb [2022-04-05T20:10:01.808Z] ---> 96473f50284a [2022-04-05T20:10:01.808Z] Step 10/26 : COPY . . [2022-04-05T20:10:02.379Z] ---> 6587f35630ba [2022-04-05T20:10:02.379Z] Step 11/26 : ARG MAKE='make build' [2022-04-05T20:10:02.379Z] ---> Running in f9803b99cd34 [2022-04-05T20:10:02.379Z] Removing intermediate container f9803b99cd34 [2022-04-05T20:10:02.379Z] ---> cfda228b82e1 [2022-04-05T20:10:02.379Z] Step 12/26 : RUN $MAKE [2022-04-05T20:10:02.379Z] ---> Running in 934faeadf4d2 [2022-04-05T20:10:02.641Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.9" -o cmd/device-virtual ./cmd [2022-04-05T20:10:14.850Z] Removing intermediate container 934faeadf4d2 [2022-04-05T20:10:14.850Z] ---> c14eb21fbc98 [2022-04-05T20:10:14.850Z] Step 13/26 : FROM alpine:3.14 [2022-04-05T20:10:14.850Z] 3.14: Pulling from library/alpine [2022-04-05T20:10:14.850Z] 8663204ce13b: Pulling fs layer [2022-04-05T20:10:14.850Z] 8663204ce13b: Verifying Checksum [2022-04-05T20:10:14.850Z] 8663204ce13b: Download complete [2022-04-05T20:10:14.850Z] 8663204ce13b: Pull complete [2022-04-05T20:10:14.850Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:10:14.850Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:10:14.850Z] ---> e04c818066af [2022-04-05T20:10:14.850Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-05T20:10:14.850Z] ---> Running in e810104e2048 [2022-04-05T20:10:14.850Z] Removing intermediate container e810104e2048 [2022-04-05T20:10:14.850Z] ---> 797a6b61e219 [2022-04-05T20:10:14.850Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:10:14.850Z] ---> Running in b885038df2be [2022-04-05T20:10:15.420Z] Removing intermediate container b885038df2be [2022-04-05T20:10:15.420Z] ---> 4ce0f4d05c1a [2022-04-05T20:10:15.420Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:10:15.420Z] ---> Running in 31b914ce3841 [2022-04-05T20:10:15.680Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:16.619Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:10:16.880Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:10:16.880Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:10:16.880Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:10:17.139Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:10:17.139Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:10:17.139Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:10:17.402Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:10:17.402Z] OK: 8 MiB in 20 packages [2022-04-05T20:10:17.662Z] Removing intermediate container 31b914ce3841 [2022-04-05T20:10:17.662Z] ---> e45db7a9678f [2022-04-05T20:10:17.662Z] Step 17/26 : WORKDIR / [2022-04-05T20:10:17.662Z] ---> Running in b200b6063745 [2022-04-05T20:10:17.922Z] Removing intermediate container b200b6063745 [2022-04-05T20:10:17.922Z] ---> 5fe7ee210d36 [2022-04-05T20:10:17.922Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-05T20:10:17.922Z] ---> 8d6236743edc [2022-04-05T20:10:17.922Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-05T20:10:18.184Z] ---> fcf8b30ea960 [2022-04-05T20:10:18.184Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-05T20:10:18.753Z] ---> 03d0a6ea2f64 [2022-04-05T20:10:18.753Z] Step 21/26 : EXPOSE 59900 [2022-04-05T20:10:18.753Z] ---> Running in bbbdd04a5bbd [2022-04-05T20:10:18.753Z] Removing intermediate container bbbdd04a5bbd [2022-04-05T20:10:18.753Z] ---> 26f87bdd2db0 [2022-04-05T20:10:18.753Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-05T20:10:18.753Z] ---> Running in 08591737682c [2022-04-05T20:10:18.753Z] Removing intermediate container 08591737682c [2022-04-05T20:10:18.753Z] ---> 6862edcc2cfc [2022-04-05T20:10:18.753Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-05T20:10:19.014Z] ---> Running in ce9bc82f9ff4 [2022-04-05T20:10:19.014Z] Removing intermediate container ce9bc82f9ff4 [2022-04-05T20:10:19.014Z] ---> e3321e05bf85 [2022-04-05T20:10:19.014Z] Step 24/26 : LABEL arch=amd64 [2022-04-05T20:10:19.014Z] ---> Running in fbf8efbba50d [2022-04-05T20:10:19.014Z] Removing intermediate container fbf8efbba50d [2022-04-05T20:10:19.014Z] ---> 55c3dff7f20f [2022-04-05T20:10:19.014Z] Step 25/26 : LABEL git_sha=351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:10:19.014Z] ---> Running in 68f97216b2b9 [2022-04-05T20:10:19.276Z] Removing intermediate container 68f97216b2b9 [2022-04-05T20:10:19.276Z] ---> d47564814c1a [2022-04-05T20:10:19.276Z] Step 26/26 : LABEL version=2.2.0-dev.9 [2022-04-05T20:10:19.276Z] ---> Running in c003ac03a856 [2022-04-05T20:10:19.276Z] Removing intermediate container c003ac03a856 [2022-04-05T20:10:19.276Z] ---> 802ed1eb1f29 [2022-04-05T20:10:19.276Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:10:19.276Z] Successfully built 802ed1eb1f29 [2022-04-05T20:10:19.276Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:10:19.377Z] provisioning config files... [2022-04-05T20:10:19.387Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1010319964131182315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:10:19.690Z] ---> docker-login.sh [2022-04-05T20:10:19.690Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:10:19.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:19.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:19.690Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:19.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:19.690Z] [2022-04-05T20:10:19.690Z] Login Succeeded [2022-04-05T20:10:19.690Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:10:19.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:19.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:19.950Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:19.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:19.950Z] [2022-04-05T20:10:19.950Z] Login Succeeded [2022-04-05T20:10:19.950Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:10:19.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:19.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:19.950Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:19.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:19.950Z] [2022-04-05T20:10:19.950Z] Login Succeeded [2022-04-05T20:10:19.950Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:10:19.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:20.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:20.211Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:20.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:20.211Z] [2022-04-05T20:10:20.211Z] Login Succeeded [2022-04-05T20:10:20.211Z] docker.io [2022-04-05T20:10:20.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:10:20.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:10:20.472Z] Configure a credential helper to remove this warning. See [2022-04-05T20:10:20.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:10:20.472Z] [2022-04-05T20:10:20.472Z] Login Succeeded [2022-04-05T20:10:20.472Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:10:20.480Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:10:20.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:10:20.534Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-04-05T20:10:20.534Z] 351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:10:20.534Z] latest [2022-04-05T20:10:20.534Z] 2.2.0-dev.9 [2022-04-05T20:10:20.534Z] 351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [2022-04-05T20:10:20.534Z] main [2022-04-05T20:10:20.534Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:20.853Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:21.149Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:10:21.150Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-05T20:10:21.150Z] 2e91d22f3d73: Preparing [2022-04-05T20:10:21.150Z] 676fe2f34210: Preparing [2022-04-05T20:10:21.150Z] e032828fc546: Preparing [2022-04-05T20:10:21.150Z] fd10f32044fd: Preparing [2022-04-05T20:10:21.150Z] 51e05edcd4af: Preparing [2022-04-05T20:10:21.150Z] b541d28bf3b4: Preparing [2022-04-05T20:10:21.150Z] b541d28bf3b4: Waiting [2022-04-05T20:10:21.150Z] 51e05edcd4af: Pushed [2022-04-05T20:10:21.150Z] 676fe2f34210: Pushed [2022-04-05T20:10:21.150Z] e032828fc546: Pushed [2022-04-05T20:10:21.150Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:21.408Z] fd10f32044fd: Pushed [2022-04-05T20:10:23.315Z] 2e91d22f3d73: Pushed [2022-04-05T20:10:23.315Z] 351caebf32bba8e0fd88c5312046eae57dc27958: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:23.610Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:23.904Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-05T20:10:23.904Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-05T20:10:23.904Z] 2e91d22f3d73: Preparing [2022-04-05T20:10:23.904Z] 676fe2f34210: Preparing [2022-04-05T20:10:23.904Z] e032828fc546: Preparing [2022-04-05T20:10:23.904Z] fd10f32044fd: Preparing [2022-04-05T20:10:23.904Z] 51e05edcd4af: Preparing [2022-04-05T20:10:23.904Z] b541d28bf3b4: Preparing [2022-04-05T20:10:23.904Z] b541d28bf3b4: Waiting [2022-04-05T20:10:23.904Z] fd10f32044fd: Layer already exists [2022-04-05T20:10:23.904Z] e032828fc546: Layer already exists [2022-04-05T20:10:23.904Z] 2e91d22f3d73: Layer already exists [2022-04-05T20:10:23.904Z] 51e05edcd4af: Layer already exists [2022-04-05T20:10:23.904Z] 676fe2f34210: Layer already exists [2022-04-05T20:10:23.904Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:23.904Z] latest: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:24.200Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:24.509Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.9 [2022-04-05T20:10:24.509Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-05T20:10:24.509Z] 2e91d22f3d73: Preparing [2022-04-05T20:10:24.509Z] 676fe2f34210: Preparing [2022-04-05T20:10:24.509Z] e032828fc546: Preparing [2022-04-05T20:10:24.509Z] fd10f32044fd: Preparing [2022-04-05T20:10:24.509Z] 51e05edcd4af: Preparing [2022-04-05T20:10:24.509Z] b541d28bf3b4: Preparing [2022-04-05T20:10:24.509Z] b541d28bf3b4: Waiting [2022-04-05T20:10:24.509Z] 676fe2f34210: Layer already exists [2022-04-05T20:10:24.509Z] 2e91d22f3d73: Layer already exists [2022-04-05T20:10:24.509Z] 51e05edcd4af: Layer already exists [2022-04-05T20:10:24.509Z] fd10f32044fd: Layer already exists [2022-04-05T20:10:24.509Z] e032828fc546: Layer already exists [2022-04-05T20:10:24.509Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:24.509Z] 2.2.0-dev.9: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:24.810Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:25.101Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [2022-04-05T20:10:25.101Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-05T20:10:25.101Z] 2e91d22f3d73: Preparing [2022-04-05T20:10:25.101Z] 676fe2f34210: Preparing [2022-04-05T20:10:25.101Z] e032828fc546: Preparing [2022-04-05T20:10:25.101Z] fd10f32044fd: Preparing [2022-04-05T20:10:25.101Z] 51e05edcd4af: Preparing [2022-04-05T20:10:25.101Z] b541d28bf3b4: Preparing [2022-04-05T20:10:25.101Z] b541d28bf3b4: Waiting [2022-04-05T20:10:25.101Z] 51e05edcd4af: Layer already exists [2022-04-05T20:10:25.101Z] fd10f32044fd: Layer already exists [2022-04-05T20:10:25.101Z] 2e91d22f3d73: Layer already exists [2022-04-05T20:10:25.101Z] 676fe2f34210: Layer already exists [2022-04-05T20:10:25.101Z] e032828fc546: Layer already exists [2022-04-05T20:10:25.101Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:25.101Z] 351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:25.397Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:25.688Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-04-05T20:10:25.688Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-05T20:10:25.688Z] 2e91d22f3d73: Preparing [2022-04-05T20:10:25.688Z] 676fe2f34210: Preparing [2022-04-05T20:10:25.688Z] e032828fc546: Preparing [2022-04-05T20:10:25.688Z] fd10f32044fd: Preparing [2022-04-05T20:10:25.688Z] 51e05edcd4af: Preparing [2022-04-05T20:10:25.688Z] b541d28bf3b4: Preparing [2022-04-05T20:10:25.688Z] b541d28bf3b4: Waiting [2022-04-05T20:10:25.688Z] 51e05edcd4af: Layer already exists [2022-04-05T20:10:25.688Z] e032828fc546: Layer already exists [2022-04-05T20:10:25.688Z] 2e91d22f3d73: Layer already exists [2022-04-05T20:10:25.688Z] fd10f32044fd: Layer already exists [2022-04-05T20:10:25.688Z] 676fe2f34210: Layer already exists [2022-04-05T20:10:25.688Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:25.688Z] main: digest: sha256:276c4a006b91115b66e535a04d29eec9e89c0770347fabc949be4c89c0352885 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:10:25.724Z] ===================================================== [Pipeline] echo [2022-04-05T20:10:25.735Z] taggedImages: [2022-04-05T20:10:25.735Z] - nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:10:25.735Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-05T20:10:25.735Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.9 [2022-04-05T20:10:25.735Z] - nexus3.edgexfoundry.org:10004/device-virtual:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [2022-04-05T20:10:25.735Z] - 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] sh [2022-04-05T20:10:26.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:26.099Z] [2022-04-05T20:10:26.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:26.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:26.405Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-05T20:10:26.405Z] 5eb5b503b376: Pulling fs layer [2022-04-05T20:10:26.405Z] 5c69ac0246d0: Pulling fs layer [2022-04-05T20:10:26.405Z] ec43610c2a17: Pulling fs layer [2022-04-05T20:10:26.405Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-05T20:10:26.405Z] 33b1e0a273af: Pulling fs layer [2022-04-05T20:10:26.405Z] 5d3b04190fa2: Pulling fs layer [2022-04-05T20:10:26.405Z] 2f39f015ded8: Pulling fs layer [2022-04-05T20:10:26.405Z] 33b1e0a273af: Waiting [2022-04-05T20:10:26.405Z] 5d3b04190fa2: Waiting [2022-04-05T20:10:26.405Z] 3a2ae6a8a46f: Waiting [2022-04-05T20:10:26.405Z] 2f39f015ded8: Waiting [2022-04-05T20:10:26.405Z] 5c69ac0246d0: Download complete [2022-04-05T20:10:26.405Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-05T20:10:26.405Z] 3a2ae6a8a46f: Download complete [2022-04-05T20:10:26.405Z] 33b1e0a273af: Verifying Checksum [2022-04-05T20:10:26.405Z] 33b1e0a273af: Download complete [2022-04-05T20:10:26.405Z] ec43610c2a17: Verifying Checksum [2022-04-05T20:10:26.405Z] ec43610c2a17: Download complete [2022-04-05T20:10:26.405Z] 5d3b04190fa2: Download complete [2022-04-05T20:10:26.663Z] 5eb5b503b376: Verifying Checksum [2022-04-05T20:10:26.663Z] 5eb5b503b376: Download complete [2022-04-05T20:10:27.228Z] 2f39f015ded8: Verifying Checksum [2022-04-05T20:10:27.228Z] 2f39f015ded8: Download complete [2022-04-05T20:10:27.802Z] 5eb5b503b376: Pull complete [2022-04-05T20:10:27.802Z] 5c69ac0246d0: Pull complete [2022-04-05T20:10:28.367Z] ec43610c2a17: Pull complete [2022-04-05T20:10:28.367Z] 3a2ae6a8a46f: Pull complete [2022-04-05T20:10:28.631Z] 33b1e0a273af: Pull complete [2022-04-05T20:10:28.631Z] 5d3b04190fa2: Pull complete [2022-04-05T20:10:32.891Z] 2f39f015ded8: Pull complete [2022-04-05T20:10:32.891Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-05T20:10:32.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:32.891Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-05T20:10:32.961Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:10:33.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T20:10:34.671Z] $ docker top a8acedc41496342d680c5705c20b941539792851d970c03e94167df2c9f66da6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:10:35.089Z] ---> job-cost.sh [2022-04-05T20:10:35.089Z] lf-activate-venv: SKIPPING [2022-04-05T20:10:35.089Z] INFO: No Stack... [2022-04-05T20:10:35.656Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:10:35.917Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:10:36.210Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-04-05T20:10:36.210Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T20:10:36.225Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [2022-04-05T20:10:36.230Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] did not exist. Created. [2022-04-05T20:10:36.230Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:10:36.532Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-05T20:10:36.566Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:10:36.575Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:10:36.599Z] $ docker stop --time=1 a8acedc41496342d680c5705c20b941539792851d970c03e94167df2c9f66da6 [2022-04-05T20:10:37.770Z] $ docker rm -f a8acedc41496342d680c5705c20b941539792851d970c03e94167df2c9f66da6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-05T20:12:14.169Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10775 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-04-05T20:12:14.182Z] Running in /w/workspace/device-virtual-go/25 [Pipeline] { [Pipeline] checkout [2022-04-05T20:12:14.490Z] The recommended git tool is: git [2022-04-05T20:12:22.446Z] using credential edgex-jenkins-ssh [2022-04-05T20:12:22.466Z] Cloning the remote Git repository [2022-04-05T20:12:22.537Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-05T20:12:22.632Z] > git init /w/workspace/device-virtual-go/25 # timeout=10 [2022-04-05T20:12:22.730Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-05T20:12:22.731Z] > git --version # timeout=10 [2022-04-05T20:12:22.755Z] > git --version # 'git version 2.25.1' [2022-04-05T20:12:22.758Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-05T20:12:22.841Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:12:25.116Z] Avoid second fetch [2022-04-05T20:12:25.116Z] Checking out Revision 351caebf32bba8e0fd88c5312046eae57dc27958 (main) [2022-04-05T20:12:25.074Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-05T20:12:25.100Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:12:25.146Z] > git config core.sparsecheckout # timeout=10 [2022-04-05T20:12:25.164Z] > git checkout -f 351caebf32bba8e0fd88c5312046eae57dc27958 # timeout=10 [2022-04-05T20:12:29.597Z] Commit message: "Merge pull request #274 from jpwhitemn/enable-gosec-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:12:30.455Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-05T20:12:30.455Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:12:30.455Z] Dload Upload Total Spent Left Speed [2022-04-05T20:12:30.455Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-04-05T20:12:31.096Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-05T20:12:31.469Z] + sudo tee /etc/docker/daemon.new [2022-04-05T20:12:31.470Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-05T20:12:31.470Z] { [2022-04-05T20:12:31.470Z] "registry-mirrors": [ [2022-04-05T20:12:31.470Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-05T20:12:31.470Z] ], [2022-04-05T20:12:31.470Z] "bip": "10.250.0.254/24", [2022-04-05T20:12:31.470Z] "hosts": [ [2022-04-05T20:12:31.470Z] "tcp://0.0.0.0:5555", [2022-04-05T20:12:31.470Z] "unix:///var/run/docker.sock" [2022-04-05T20:12:31.470Z] ], [2022-04-05T20:12:31.470Z] "mtu": 1458, [2022-04-05T20:12:31.470Z] "selinux-enabled": true, [2022-04-05T20:12:31.470Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-05T20:12:31.470Z] } [Pipeline] sh [2022-04-05T20:12:31.840Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-05T20:12:32.193Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:12:50.559Z] provisioning config files... [2022-04-05T20:12:50.586Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/25@tmp/config1827452704800676286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:12:50.971Z] ---> docker-login.sh [2022-04-05T20:12:50.971Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:12:51.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:12:52.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:12:52.320Z] Configure a credential helper to remove this warning. See [2022-04-05T20:12:52.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:12:52.320Z] [2022-04-05T20:12:52.320Z] Login Succeeded [2022-04-05T20:12:52.320Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:12:52.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:12:52.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:12:52.605Z] Configure a credential helper to remove this warning. See [2022-04-05T20:12:52.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:12:52.605Z] [2022-04-05T20:12:52.605Z] Login Succeeded [2022-04-05T20:12:52.605Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:12:53.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:12:53.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:12:53.212Z] Configure a credential helper to remove this warning. See [2022-04-05T20:12:53.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:12:53.212Z] [2022-04-05T20:12:53.212Z] Login Succeeded [2022-04-05T20:12:53.212Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:12:53.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:12:53.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:12:53.815Z] Configure a credential helper to remove this warning. See [2022-04-05T20:12:53.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:12:53.815Z] [2022-04-05T20:12:53.815Z] Login Succeeded [2022-04-05T20:12:53.815Z] docker.io [2022-04-05T20:12:54.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:12:54.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:12:54.701Z] Configure a credential helper to remove this warning. See [2022-04-05T20:12:54.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:12:54.701Z] [2022-04-05T20:12:54.701Z] Login Succeeded [2022-04-05T20:12:54.701Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:12:54.725Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:12:55.223Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:12:55.241Z] ========================================================= [2022-04-05T20:12:55.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-05T20:12:55.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:12:55.635Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T20:12:56.241Z] Sending build context to Docker daemon 11.57MB [2022-04-05T20:12:56.241Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:12:56.241Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T20:12:56.241Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-05T20:12:56.241Z] 9b3977197b4f: Pulling fs layer [2022-04-05T20:12:56.241Z] 1a89e8eeedd5: Pulling fs layer [2022-04-05T20:12:56.241Z] 94645a83ff95: Pulling fs layer [2022-04-05T20:12:56.241Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-05T20:12:56.241Z] 0c92f367c5e7: Pulling fs layer [2022-04-05T20:12:56.241Z] f7c0051592d6: Pulling fs layer [2022-04-05T20:12:56.241Z] a227ed2f7395: Pulling fs layer [2022-04-05T20:12:56.241Z] 7b1c46037f91: Pulling fs layer [2022-04-05T20:12:56.241Z] f7c0051592d6: Waiting [2022-04-05T20:12:56.241Z] a227ed2f7395: Waiting [2022-04-05T20:12:56.241Z] 3f3a8bcf1eab: Waiting [2022-04-05T20:12:56.241Z] 0c92f367c5e7: Waiting [2022-04-05T20:12:56.241Z] 7b1c46037f91: Waiting [2022-04-05T20:12:56.519Z] 94645a83ff95: Download complete [2022-04-05T20:12:56.519Z] 1a89e8eeedd5: Download complete [2022-04-05T20:12:56.519Z] 0c92f367c5e7: Verifying Checksum [2022-04-05T20:12:56.519Z] 0c92f367c5e7: Download complete [2022-04-05T20:12:56.519Z] f7c0051592d6: Verifying Checksum [2022-04-05T20:12:56.519Z] f7c0051592d6: Download complete [2022-04-05T20:12:56.519Z] 9b3977197b4f: Verifying Checksum [2022-04-05T20:12:56.519Z] a227ed2f7395: Verifying Checksum [2022-04-05T20:12:56.519Z] a227ed2f7395: Download complete [2022-04-05T20:12:57.514Z] 9b3977197b4f: Pull complete [2022-04-05T20:12:58.124Z] 1a89e8eeedd5: Pull complete [2022-04-05T20:12:58.404Z] 94645a83ff95: Pull complete [2022-04-05T20:12:58.686Z] 7b1c46037f91: Verifying Checksum [2022-04-05T20:12:58.686Z] 7b1c46037f91: Download complete [2022-04-05T20:12:59.287Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-05T20:12:59.287Z] 3f3a8bcf1eab: Download complete [2022-04-05T20:13:14.410Z] 3f3a8bcf1eab: Pull complete [2022-04-05T20:13:14.410Z] 0c92f367c5e7: Pull complete [2022-04-05T20:13:14.410Z] f7c0051592d6: Pull complete [2022-04-05T20:13:14.410Z] a227ed2f7395: Pull complete [2022-04-05T20:13:19.865Z] 7b1c46037f91: Pull complete [2022-04-05T20:13:19.865Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-05T20:13:19.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-05T20:13:19.865Z] ---> f79e39bc4007 [2022-04-05T20:13:19.865Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:13:21.876Z] ---> Running in e81087d3d24d [2022-04-05T20:13:21.876Z] Removing intermediate container e81087d3d24d [2022-04-05T20:13:21.876Z] ---> 55cca637b18a [2022-04-05T20:13:21.876Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:13:22.154Z] ---> Running in 7191b9e05d4a [2022-04-05T20:13:24.156Z] Removing intermediate container 7191b9e05d4a [2022-04-05T20:13:24.156Z] ---> d945392599c3 [2022-04-05T20:13:24.156Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-05T20:13:24.156Z] ---> Running in 49233a09cafe [2022-04-05T20:13:25.134Z] Removing intermediate container 49233a09cafe [2022-04-05T20:13:25.134Z] ---> 5388b55dc048 [2022-04-05T20:13:25.134Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:13:25.419Z] ---> Running in 2c16378960bc [2022-04-05T20:13:27.411Z] Removing intermediate container 2c16378960bc [2022-04-05T20:13:27.411Z] ---> e360ae6455fb [2022-04-05T20:13:27.411Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:13:27.411Z] ---> Running in 0432a124a968 [2022-04-05T20:13:28.394Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:13:29.377Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:13:30.813Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:13:30.813Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T20:13:30.813Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:13:30.813Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:13:31.089Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:13:31.089Z] OK: 224 MiB in 56 packages [2022-04-05T20:13:32.084Z] Removing intermediate container 0432a124a968 [2022-04-05T20:13:32.084Z] ---> 6891b5579ee7 [2022-04-05T20:13:32.084Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-05T20:13:32.693Z] ---> f27dbf2a725d [2022-04-05T20:13:32.693Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:13:32.693Z] ---> Running in 6d3a5cf18af2 [2022-04-05T20:14:29.282Z] Removing intermediate container 6d3a5cf18af2 [2022-04-05T20:14:29.282Z] ---> 72148ccfab9a [2022-04-05T20:14:29.282Z] Step 10/12 : COPY . . [2022-04-05T20:14:29.282Z] ---> 6a1315ee0c7a [2022-04-05T20:14:29.282Z] Step 11/12 : ARG MAKE='make build' [2022-04-05T20:14:29.282Z] ---> Running in 22dc234af824 [2022-04-05T20:14:29.282Z] Removing intermediate container 22dc234af824 [2022-04-05T20:14:29.282Z] ---> 49902ebe9a0d [2022-04-05T20:14:29.282Z] Step 12/12 : RUN $MAKE [2022-04-05T20:14:29.282Z] ---> Running in e97667cebd65 [2022-04-05T20:14:29.282Z] noop [2022-04-05T20:14:29.282Z] Removing intermediate container e97667cebd65 [2022-04-05T20:14:29.282Z] ---> dde77b01126d [2022-04-05T20:14:29.282Z] Successfully built dde77b01126d [2022-04-05T20:14:29.282Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:29.645Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:14:29.645Z] . [Pipeline] withDockerContainer [2022-04-05T20:14:29.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container [2022-04-05T20:14:30.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/25 -v /w/workspace/device-virtual-go/25:/w/workspace/device-virtual-go/25:rw,z -v /w/workspace/device-virtual-go/25@tmp:/w/workspace/device-virtual-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-05T20:14:31.499Z] $ docker top e9bdc758c33259b0eed2dc4a718cf12bce9b0ee924b7101884e234da02af6d2f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:14:32.460Z] + go version [2022-04-05T20:14:32.460Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-05T20:14:32.492Z] $ docker stop --time=1 e9bdc758c33259b0eed2dc4a718cf12bce9b0ee924b7101884e234da02af6d2f [2022-04-05T20:14:34.177Z] $ docker rm -f e9bdc758c33259b0eed2dc4a718cf12bce9b0ee924b7101884e234da02af6d2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:14:34.809Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:14:34.809Z] . [Pipeline] withDockerContainer [2022-04-05T20:14:35.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container [2022-04-05T20:14:35.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/25 -v /w/workspace/device-virtual-go/25:/w/workspace/device-virtual-go/25:rw,z -v /w/workspace/device-virtual-go/25@tmp:/w/workspace/device-virtual-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-05T20:14:36.609Z] $ docker top d3bf87180a901b60a0d22099b4ea0f31a60c2e2e803f64607841d2603c68a995 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:14:37.567Z] + make test [2022-04-05T20:14:37.567Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-05T20:14:39.575Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-05T20:16:16.533Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-05T20:16:16.533Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.158s coverage: 65.7% of statements [2022-04-05T20:16:16.533Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-05T20:16:16.533Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:16:48.957Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:16:48.957Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:16:48.957Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:16:48.982Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:16:48.999Z] $ docker stop --time=1 d3bf87180a901b60a0d22099b4ea0f31a60c2e2e803f64607841d2603c68a995 [2022-04-05T20:16:50.856Z] $ docker rm -f d3bf87180a901b60a0d22099b4ea0f31a60c2e2e803f64607841d2603c68a995 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:16:51.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:16:51.943Z] Warning: overwriting stash ‘coverage-report’ [2022-04-05T20:16:52.575Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:16:52.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:16:53.339Z] + ls -al . [2022-04-05T20:16:53.339Z] total 180 [2022-04-05T20:16:53.339Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 5 20:16 . [2022-04-05T20:16:53.339Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:12 .. [2022-04-05T20:16:53.339Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:12 .git [2022-04-05T20:16:53.339Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:12 .github [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 5 20:12 .gitignore [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:12 .golangci.yml [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 5 20:12 Attribution.txt [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 5 20:12 CHANGELOG.md [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 5 20:12 Dockerfile [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:12 GOVERNANCE.md [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 5 20:12 Jenkinsfile [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:12 LICENSE [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 1652 Apr 5 20:12 Makefile [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 5 20:12 OWNERS.md [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 5 20:12 README.md [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:09 VERSION [2022-04-05T20:16:53.339Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:12 bin [2022-04-05T20:16:53.339Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:12 cmd [2022-04-05T20:16:53.339Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 5 20:16 coverage.out [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 5 20:12 go.mod [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 34471 Apr 5 20:12 go.sum [2022-04-05T20:16:53.339Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:12 internal [2022-04-05T20:16:53.339Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 5 20:12 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:53.696Z] + 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=351caebf32bba8e0fd88c5312046eae57dc27958 --label arch=arm64 --label version=2.2.0-dev.9 . [2022-04-05T20:16:54.302Z] Sending build context to Docker daemon 11.61MB [2022-04-05T20:16:54.302Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:16:54.302Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-05T20:16:54.302Z] ---> dde77b01126d [2022-04-05T20:16:54.302Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:16:54.302Z] ---> Running in 7fcc34e4d963 [2022-04-05T20:16:54.581Z] Removing intermediate container 7fcc34e4d963 [2022-04-05T20:16:54.581Z] ---> ec829b2ac113 [2022-04-05T20:16:54.581Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:16:54.854Z] ---> Running in ea62e40f2c34 [2022-04-05T20:16:55.130Z] Removing intermediate container ea62e40f2c34 [2022-04-05T20:16:55.130Z] ---> f26128d7ff11 [2022-04-05T20:16:55.130Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-05T20:16:55.130Z] ---> Running in 96a3c643c97f [2022-04-05T20:16:55.405Z] Removing intermediate container 96a3c643c97f [2022-04-05T20:16:55.405Z] ---> 10c29669175a [2022-04-05T20:16:55.405Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:16:55.685Z] ---> Running in 4c383dd53802 [2022-04-05T20:16:57.684Z] Removing intermediate container 4c383dd53802 [2022-04-05T20:16:57.684Z] ---> 8f6d885efb63 [2022-04-05T20:16:57.684Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:16:57.684Z] ---> Running in 3d298104a73b [2022-04-05T20:16:58.663Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:16:59.639Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:17:00.615Z] OK: 224 MiB in 56 packages [2022-04-05T20:17:01.596Z] Removing intermediate container 3d298104a73b [2022-04-05T20:17:01.596Z] ---> 9fec5a688e88 [2022-04-05T20:17:01.596Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-05T20:17:01.900Z] ---> c11283d1b20b [2022-04-05T20:17:01.900Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:17:01.900Z] ---> Running in 56da733f15d3 [2022-04-05T20:17:03.882Z] Removing intermediate container 56da733f15d3 [2022-04-05T20:17:03.882Z] ---> e46d5dfad994 [2022-04-05T20:17:03.882Z] Step 10/26 : COPY . . [2022-04-05T20:17:05.325Z] ---> 87b713991b62 [2022-04-05T20:17:05.325Z] Step 11/26 : ARG MAKE='make build' [2022-04-05T20:17:05.325Z] ---> Running in 5f552cfd6ff1 [2022-04-05T20:17:05.601Z] Removing intermediate container 5f552cfd6ff1 [2022-04-05T20:17:05.601Z] ---> c11ecf4f6cf3 [2022-04-05T20:17:05.601Z] Step 12/26 : RUN $MAKE [2022-04-05T20:17:05.601Z] ---> Running in f9b94949db39 [2022-04-05T20:17:06.585Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.9" -o cmd/device-virtual ./cmd [2022-04-05T20:18:28.449Z] Removing intermediate container f9b94949db39 [2022-04-05T20:18:28.449Z] ---> 11034660ade4 [2022-04-05T20:18:28.449Z] Step 13/26 : FROM alpine:3.14 [2022-04-05T20:18:28.449Z] 3.14: Pulling from library/alpine [2022-04-05T20:18:28.449Z] 455c02918c45: Pulling fs layer [2022-04-05T20:18:28.449Z] 455c02918c45: Verifying Checksum [2022-04-05T20:18:28.449Z] 455c02918c45: Download complete [2022-04-05T20:18:28.449Z] 455c02918c45: Pull complete [2022-04-05T20:18:28.449Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:18:28.449Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:18:28.449Z] ---> ac73e934f311 [2022-04-05T20:18:28.449Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-05T20:18:28.449Z] ---> Running in 0c899cbd7f13 [2022-04-05T20:18:28.449Z] Removing intermediate container 0c899cbd7f13 [2022-04-05T20:18:28.449Z] ---> 6b019408e462 [2022-04-05T20:18:28.449Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:18:28.449Z] ---> Running in 4a6037e61837 [2022-04-05T20:18:28.724Z] Removing intermediate container 4a6037e61837 [2022-04-05T20:18:28.724Z] ---> 9131fd5d7b35 [2022-04-05T20:18:28.724Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:18:29.002Z] ---> Running in 88dce4eedc76 [2022-04-05T20:18:29.999Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:18:30.989Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:18:31.591Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:18:31.869Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:18:31.869Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:18:31.869Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:18:32.148Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:18:32.148Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:18:32.148Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:18:32.148Z] OK: 8 MiB in 20 packages [2022-04-05T20:18:33.148Z] Removing intermediate container 88dce4eedc76 [2022-04-05T20:18:33.148Z] ---> c6069e3334e0 [2022-04-05T20:18:33.148Z] Step 17/26 : WORKDIR / [2022-04-05T20:18:33.425Z] ---> Running in f6192e35d3a4 [2022-04-05T20:18:33.701Z] Removing intermediate container f6192e35d3a4 [2022-04-05T20:18:33.701Z] ---> f83600d0f335 [2022-04-05T20:18:33.701Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-05T20:18:34.306Z] ---> 590c7f6ae592 [2022-04-05T20:18:34.306Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-05T20:18:34.907Z] ---> ad913d53dd10 [2022-04-05T20:18:34.907Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-05T20:18:36.359Z] ---> 89aab1d054e0 [2022-04-05T20:18:36.359Z] Step 21/26 : EXPOSE 59900 [2022-04-05T20:18:36.359Z] ---> Running in 79c9c297b46d [2022-04-05T20:18:36.637Z] Removing intermediate container 79c9c297b46d [2022-04-05T20:18:36.637Z] ---> 2119708bf9ab [2022-04-05T20:18:36.637Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-05T20:18:36.919Z] ---> Running in 598da4c31b86 [2022-04-05T20:18:37.196Z] Removing intermediate container 598da4c31b86 [2022-04-05T20:18:37.196Z] ---> c96d9b86b55e [2022-04-05T20:18:37.196Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-05T20:18:37.196Z] ---> Running in e8b30a556513 [2022-04-05T20:18:37.477Z] Removing intermediate container e8b30a556513 [2022-04-05T20:18:37.477Z] ---> 9f3029587daa [2022-04-05T20:18:37.477Z] Step 24/26 : LABEL arch=arm64 [2022-04-05T20:18:37.477Z] ---> Running in fd3867ddc042 [2022-04-05T20:18:38.080Z] Removing intermediate container fd3867ddc042 [2022-04-05T20:18:38.080Z] ---> 1ae01eda5152 [2022-04-05T20:18:38.080Z] Step 25/26 : LABEL git_sha=351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:18:38.080Z] ---> Running in 0cee47b8c806 [2022-04-05T20:18:38.356Z] Removing intermediate container 0cee47b8c806 [2022-04-05T20:18:38.356Z] ---> 791628031bde [2022-04-05T20:18:38.356Z] Step 26/26 : LABEL version=2.2.0-dev.9 [2022-04-05T20:18:38.356Z] ---> Running in 7d557969c932 [2022-04-05T20:18:38.633Z] Removing intermediate container 7d557969c932 [2022-04-05T20:18:38.633Z] ---> 42d6ddf1da48 [2022-04-05T20:18:38.633Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:18:38.909Z] Successfully built 42d6ddf1da48 [2022-04-05T20:18:38.909Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:18:39.017Z] provisioning config files... [2022-04-05T20:18:39.040Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/25@tmp/config2805077067570983223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:39.409Z] ---> docker-login.sh [2022-04-05T20:18:39.409Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:18:39.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:39.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:39.685Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:39.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:39.685Z] [2022-04-05T20:18:39.685Z] Login Succeeded [2022-04-05T20:18:39.685Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:18:40.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:40.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:40.287Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:40.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:40.287Z] [2022-04-05T20:18:40.287Z] Login Succeeded [2022-04-05T20:18:40.287Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:18:40.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:40.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:40.894Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:40.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:40.894Z] [2022-04-05T20:18:40.894Z] Login Succeeded [2022-04-05T20:18:40.894Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:18:41.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:41.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:41.444Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:41.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:41.444Z] [2022-04-05T20:18:41.444Z] Login Succeeded [2022-04-05T20:18:41.444Z] docker.io [2022-04-05T20:18:41.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:18:42.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:18:42.315Z] Configure a credential helper to remove this warning. See [2022-04-05T20:18:42.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:18:42.315Z] [2022-04-05T20:18:42.315Z] Login Succeeded [2022-04-05T20:18:42.315Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:18:42.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:18:42.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:18:42.394Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-04-05T20:18:42.394Z] 351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:18:42.394Z] latest [2022-04-05T20:18:42.394Z] 2.2.0-dev.9 [2022-04-05T20:18:42.394Z] 351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [2022-04-05T20:18:42.394Z] main [2022-04-05T20:18:42.394Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:42.769Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:43.149Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:18:43.149Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-05T20:18:43.149Z] b26bf8c10b5d: Preparing [2022-04-05T20:18:43.149Z] 7d31640fc5af: Preparing [2022-04-05T20:18:43.149Z] 2bbce7f91a2b: Preparing [2022-04-05T20:18:43.149Z] fac513a5a666: Preparing [2022-04-05T20:18:43.149Z] 0e348a395544: Preparing [2022-04-05T20:18:43.149Z] f73e7dbfee58: Preparing [2022-04-05T20:18:43.149Z] f73e7dbfee58: Waiting [2022-04-05T20:18:43.431Z] 7d31640fc5af: Pushed [2022-04-05T20:18:43.431Z] 2bbce7f91a2b: Pushed [2022-04-05T20:18:43.431Z] 0e348a395544: Pushed [2022-04-05T20:18:43.431Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:44.027Z] fac513a5a666: Pushed [2022-04-05T20:18:48.337Z] b26bf8c10b5d: Pushed [2022-04-05T20:18:48.610Z] 351caebf32bba8e0fd88c5312046eae57dc27958: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:48.965Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:49.314Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-05T20:18:49.314Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-05T20:18:49.314Z] b26bf8c10b5d: Preparing [2022-04-05T20:18:49.314Z] 7d31640fc5af: Preparing [2022-04-05T20:18:49.314Z] 2bbce7f91a2b: Preparing [2022-04-05T20:18:49.314Z] fac513a5a666: Preparing [2022-04-05T20:18:49.314Z] 0e348a395544: Preparing [2022-04-05T20:18:49.314Z] f73e7dbfee58: Preparing [2022-04-05T20:18:49.314Z] f73e7dbfee58: Waiting [2022-04-05T20:18:49.314Z] 2bbce7f91a2b: Layer already exists [2022-04-05T20:18:49.314Z] fac513a5a666: Layer already exists [2022-04-05T20:18:49.314Z] 7d31640fc5af: Layer already exists [2022-04-05T20:18:49.314Z] 0e348a395544: Layer already exists [2022-04-05T20:18:49.314Z] b26bf8c10b5d: Layer already exists [2022-04-05T20:18:49.588Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:49.588Z] latest: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:49.948Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:50.301Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.9 [2022-04-05T20:18:50.301Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-05T20:18:50.301Z] b26bf8c10b5d: Preparing [2022-04-05T20:18:50.301Z] 7d31640fc5af: Preparing [2022-04-05T20:18:50.301Z] 2bbce7f91a2b: Preparing [2022-04-05T20:18:50.301Z] fac513a5a666: Preparing [2022-04-05T20:18:50.301Z] 0e348a395544: Preparing [2022-04-05T20:18:50.301Z] f73e7dbfee58: Preparing [2022-04-05T20:18:50.301Z] f73e7dbfee58: Waiting [2022-04-05T20:18:50.301Z] 7d31640fc5af: Layer already exists [2022-04-05T20:18:50.301Z] 2bbce7f91a2b: Layer already exists [2022-04-05T20:18:50.301Z] b26bf8c10b5d: Layer already exists [2022-04-05T20:18:50.301Z] fac513a5a666: Layer already exists [2022-04-05T20:18:50.301Z] 0e348a395544: Layer already exists [2022-04-05T20:18:50.576Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:50.576Z] 2.2.0-dev.9: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:50.942Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:51.291Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [2022-04-05T20:18:51.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-05T20:18:51.291Z] b26bf8c10b5d: Preparing [2022-04-05T20:18:51.291Z] 7d31640fc5af: Preparing [2022-04-05T20:18:51.291Z] 2bbce7f91a2b: Preparing [2022-04-05T20:18:51.291Z] fac513a5a666: Preparing [2022-04-05T20:18:51.291Z] 0e348a395544: Preparing [2022-04-05T20:18:51.291Z] f73e7dbfee58: Preparing [2022-04-05T20:18:51.291Z] f73e7dbfee58: Waiting [2022-04-05T20:18:51.291Z] fac513a5a666: Layer already exists [2022-04-05T20:18:51.292Z] b26bf8c10b5d: Layer already exists [2022-04-05T20:18:51.292Z] 7d31640fc5af: Layer already exists [2022-04-05T20:18:51.292Z] 2bbce7f91a2b: Layer already exists [2022-04-05T20:18:51.292Z] 0e348a395544: Layer already exists [2022-04-05T20:18:51.565Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:51.565Z] 351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:51.924Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:52.272Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-04-05T20:18:52.272Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-05T20:18:52.272Z] b26bf8c10b5d: Preparing [2022-04-05T20:18:52.272Z] 7d31640fc5af: Preparing [2022-04-05T20:18:52.272Z] 2bbce7f91a2b: Preparing [2022-04-05T20:18:52.272Z] fac513a5a666: Preparing [2022-04-05T20:18:52.272Z] 0e348a395544: Preparing [2022-04-05T20:18:52.272Z] f73e7dbfee58: Preparing [2022-04-05T20:18:52.272Z] f73e7dbfee58: Waiting [2022-04-05T20:18:52.272Z] 0e348a395544: Layer already exists [2022-04-05T20:18:52.272Z] 7d31640fc5af: Layer already exists [2022-04-05T20:18:52.272Z] fac513a5a666: Layer already exists [2022-04-05T20:18:52.272Z] b26bf8c10b5d: Layer already exists [2022-04-05T20:18:52.272Z] 2bbce7f91a2b: Layer already exists [2022-04-05T20:18:52.546Z] f73e7dbfee58: Layer already exists [2022-04-05T20:18:52.546Z] main: digest: sha256:6c53906596486e4bb8b8d4a581353491bcb06d96297062f6ac449b99d6140c7d size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:18:52.592Z] ===================================================== [Pipeline] echo [2022-04-05T20:18:52.601Z] taggedImages: [2022-04-05T20:18:52.601Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958 [2022-04-05T20:18:52.601Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-05T20:18:52.601Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.9 [2022-04-05T20:18:52.601Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:351caebf32bba8e0fd88c5312046eae57dc27958-2.2.0-dev.9 [2022-04-05T20:18:52.601Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:52.979Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:18:52.979Z] [2022-04-05T20:18:52.979Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:53.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:18:53.615Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-05T20:18:53.615Z] 8998bd30e6a1: Pulling fs layer [2022-04-05T20:18:53.615Z] 04944245beec: Pulling fs layer [2022-04-05T20:18:53.615Z] 699f458cf7ca: Pulling fs layer [2022-04-05T20:18:53.615Z] 765212b225bb: Pulling fs layer [2022-04-05T20:18:53.615Z] f23df028b6ca: Pulling fs layer [2022-04-05T20:18:53.615Z] d65c8cfc05b1: Pulling fs layer [2022-04-05T20:18:53.615Z] 2437ff75d9bd: Pulling fs layer [2022-04-05T20:18:53.615Z] 765212b225bb: Waiting [2022-04-05T20:18:53.615Z] 2437ff75d9bd: Waiting [2022-04-05T20:18:53.615Z] f23df028b6ca: Waiting [2022-04-05T20:18:53.615Z] d65c8cfc05b1: Waiting [2022-04-05T20:18:53.615Z] 04944245beec: Verifying Checksum [2022-04-05T20:18:53.615Z] 04944245beec: Download complete [2022-04-05T20:18:53.615Z] 765212b225bb: Verifying Checksum [2022-04-05T20:18:53.615Z] 765212b225bb: Download complete [2022-04-05T20:18:53.615Z] f23df028b6ca: Verifying Checksum [2022-04-05T20:18:53.615Z] f23df028b6ca: Download complete [2022-04-05T20:18:53.615Z] d65c8cfc05b1: Verifying Checksum [2022-04-05T20:18:53.615Z] d65c8cfc05b1: Download complete [2022-04-05T20:18:53.892Z] 699f458cf7ca: Verifying Checksum [2022-04-05T20:18:53.892Z] 699f458cf7ca: Download complete [2022-04-05T20:18:54.174Z] 8998bd30e6a1: Verifying Checksum [2022-04-05T20:18:54.174Z] 8998bd30e6a1: Download complete [2022-04-05T20:18:56.814Z] 2437ff75d9bd: Verifying Checksum [2022-04-05T20:18:56.814Z] 2437ff75d9bd: Download complete [2022-04-05T20:18:58.264Z] 8998bd30e6a1: Pull complete [2022-04-05T20:18:58.865Z] 04944245beec: Pull complete [2022-04-05T20:19:00.314Z] 699f458cf7ca: Pull complete [2022-04-05T20:19:00.590Z] 765212b225bb: Pull complete [2022-04-05T20:19:01.579Z] f23df028b6ca: Pull complete [2022-04-05T20:19:01.855Z] d65c8cfc05b1: Pull complete [2022-04-05T20:19:16.970Z] 2437ff75d9bd: Pull complete [2022-04-05T20:19:16.971Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-05T20:19:16.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:19:16.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-05T20:19:17.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-10775 does not seem to be running inside a container [2022-04-05T20:19:17.333Z] $ 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/25 -v /w/workspace/device-virtual-go/25:/w/workspace/device-virtual-go/25:rw,z -v /w/workspace/device-virtual-go/25@tmp:/w/workspace/device-virtual-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-05T20:19:19.993Z] $ docker top d15abf1a883c9b0f58ff377d9b0bab6f77362c93a2aa9580ede8bee2fa973f2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:19:20.938Z] ---> job-cost.sh [2022-04-05T20:19:20.938Z] lf-activate-venv: SKIPPING [2022-04-05T20:19:20.938Z] INFO: No Stack... [2022-04-05T20:19:21.534Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-05T20:19:22.512Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:19:23.187Z] + cat /w/workspace/device-virtual-go/25/archives/cost.csv [2022-04-05T20:19:23.187Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T20:19:23.257Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [2022-04-05T20:19:23.269Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] did not exist. Created. [2022-04-05T20:19:23.269Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:19:23.965Z] /w/workspace/device-virtual-go/25@tmp/durable-e6ba73cb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-05T20:19:24.650Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-05T20:19:24.673Z] Warning: overwriting stash ‘stack-cost’ [2022-04-05T20:19:24.717Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:19:24.726Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:19:24.750Z] $ docker stop --time=1 d15abf1a883c9b0f58ff377d9b0bab6f77362c93a2aa9580ede8bee2fa973f2c [2022-04-05T20:19:26.289Z] $ docker rm -f d15abf1a883c9b0f58ff377d9b0bab6f77362c93a2aa9580ede8bee2fa973f2c [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 [2022-04-05T20:19:26.777Z] provisioning config files... [2022-04-05T20:19:26.786Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8962840545297686979tmp [Pipeline] { [Pipeline] sh [2022-04-05T20:19:27.079Z] + set +x [2022-04-05T20:19:27.079Z] + curl -s https://codecov.io/bash [2022-04-05T20:19:27.079Z] + bash -s -- [2022-04-05T20:19:27.079Z] [2022-04-05T20:19:27.079Z] _____ _ [2022-04-05T20:19:27.079Z] / ____| | | [2022-04-05T20:19:27.079Z] | | ___ __| | ___ ___ _____ __ [2022-04-05T20:19:27.079Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-05T20:19:27.079Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-05T20:19:27.079Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-05T20:19:27.079Z] Bash-1.0.6 [2022-04-05T20:19:27.079Z] [2022-04-05T20:19:27.079Z] [2022-04-05T20:19:27.079Z] ==> git version 2.25.1 found [2022-04-05T20:19:27.079Z] ==> 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 [2022-04-05T20:19:27.079Z] Release-Date: 2020-01-08 [2022-04-05T20:19:27.079Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-05T20:19:27.079Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-05T20:19:27.080Z] ==> Jenkins CI detected. [2022-04-05T20:19:27.080Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-04-05T20:19:27.080Z] project root: . [2022-04-05T20:19:27.080Z] --> token set from env [2022-04-05T20:19:27.080Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-05T20:19:27.080Z] ==> Running gcov in . (disable via -X gcov) [2022-04-05T20:19:27.080Z] ==> Python coveragepy not found [2022-04-05T20:19:27.080Z] ==> Searching for coverage reports in: [2022-04-05T20:19:27.080Z] + . [2022-04-05T20:19:27.080Z] -> Found 1 reports [2022-04-05T20:19:27.080Z] ==> Detecting git/mercurial file structure [2022-04-05T20:19:27.080Z] ==> Reading reports [2022-04-05T20:19:27.080Z] + ./coverage.out bytes=44128 [2022-04-05T20:19:27.080Z] ==> Appending adjustments [2022-04-05T20:19:27.080Z] https://docs.codecov.io/docs/fixing-reports [2022-04-05T20:19:27.340Z] + Found adjustments [2022-04-05T20:19:27.340Z] ==> Gzipping contents [2022-04-05T20:19:27.340Z] 8.0K /tmp/codecov.By7bEV.gz [2022-04-05T20:19:27.340Z] ==> Uploading reports [2022-04-05T20:19:27.340Z] url: https://codecov.io [2022-04-05T20:19:27.340Z] query: branch=main&commit=351caebf32bba8e0fd88c5312046eae57dc27958&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:19:27.340Z] -> Pinging Codecov [2022-04-05T20:19:27.340Z] 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=351caebf32bba8e0fd88c5312046eae57dc27958&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:19:27.600Z] -> Uploading to [2022-04-05T20:19:27.600Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-05/5E52B4B073DB2E39498172D8E973AA87/351caebf32bba8e0fd88c5312046eae57dc27958/f80497de-9545-4a70-9901-97217d02f698.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T201927Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=40c61ed7a9b6acf86c502ac732ad5dc7033f051dc5ca596a916749b6b1f79ed0 [2022-04-05T20:19:27.600Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:19:27.600Z] Dload Upload Total Spent Left Speed [2022-04-05T20:19:27.860Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5278 0 0 100 5278 0 26000 --:--:-- --:--:-- --:--:-- 26000 100 5278 0 0 100 5278 0 24435 --:--:-- --:--:-- --:--:-- 24322 [2022-04-05T20:19:27.861Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] } [2022-04-05T20:19:27.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-05T20:19:28.002Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-05T20:19:28.014Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:28.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:19:28.313Z] [2022-04-05T20:19:28.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:28.616Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:19:28.616Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-05T20:19:28.616Z] 188c0c94c7c5: Pulling fs layer [2022-04-05T20:19:28.616Z] 0ef7d3d256c8: Pulling fs layer [2022-04-05T20:19:28.616Z] de9db76c5a1d: Pulling fs layer [2022-04-05T20:19:28.616Z] 0eba1c9be4d2: Pulling fs layer [2022-04-05T20:19:28.616Z] 0d57e429df01: Pulling fs layer [2022-04-05T20:19:28.616Z] 4e4be7b47b0d: Pulling fs layer [2022-04-05T20:19:28.616Z] e1f770b5df2f: Pulling fs layer [2022-04-05T20:19:28.616Z] 85a0685a4137: Pulling fs layer [2022-04-05T20:19:28.616Z] e1f770b5df2f: Waiting [2022-04-05T20:19:28.616Z] 85a0685a4137: Waiting [2022-04-05T20:19:28.616Z] 0d57e429df01: Waiting [2022-04-05T20:19:28.616Z] 4e4be7b47b0d: Waiting [2022-04-05T20:19:28.616Z] 0eba1c9be4d2: Waiting [2022-04-05T20:19:28.616Z] de9db76c5a1d: Download complete [2022-04-05T20:19:28.616Z] 0ef7d3d256c8: Verifying Checksum [2022-04-05T20:19:28.616Z] 0ef7d3d256c8: Download complete [2022-04-05T20:19:28.616Z] 0d57e429df01: Verifying Checksum [2022-04-05T20:19:28.616Z] 0d57e429df01: Download complete [2022-04-05T20:19:28.616Z] 4e4be7b47b0d: Verifying Checksum [2022-04-05T20:19:28.616Z] 4e4be7b47b0d: Download complete [2022-04-05T20:19:28.616Z] 188c0c94c7c5: Download complete [2022-04-05T20:19:28.879Z] e1f770b5df2f: Verifying Checksum [2022-04-05T20:19:28.879Z] e1f770b5df2f: Download complete [2022-04-05T20:19:28.879Z] 188c0c94c7c5: Pull complete [2022-04-05T20:19:28.879Z] 0ef7d3d256c8: Pull complete [2022-04-05T20:19:28.879Z] de9db76c5a1d: Pull complete [2022-04-05T20:19:29.447Z] 0eba1c9be4d2: Verifying Checksum [2022-04-05T20:19:29.447Z] 0eba1c9be4d2: Download complete [2022-04-05T20:19:29.447Z] 85a0685a4137: Verifying Checksum [2022-04-05T20:19:29.447Z] 85a0685a4137: Download complete [2022-04-05T20:19:32.738Z] 0eba1c9be4d2: Pull complete [2022-04-05T20:19:32.738Z] 0d57e429df01: Pull complete [2022-04-05T20:19:32.738Z] 4e4be7b47b0d: Pull complete [2022-04-05T20:19:32.997Z] e1f770b5df2f: Pull complete [2022-04-05T20:19:36.288Z] 85a0685a4137: Pull complete [2022-04-05T20:19:36.288Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-05T20:19:36.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:19:36.289Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-05T20:19:36.352Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:19:36.400Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-05T20:19:38.247Z] $ docker top a01821ce3816f40a9c7874e3e25e2b749722f97af9ef7fde3fd70a23f436cd70 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-05T20:19:38.328Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-05T20:19:38.609Z] + set -o pipefail [2022-04-05T20:19:38.609Z] + snyk monitor '--org=edgex-jenkins' [2022-04-05T20:19:43.891Z] [2022-04-05T20:19:43.891Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-04-05T20:19:43.891Z] [2022-04-05T20:19:43.891Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/9fdaa88a-4f0c-4283-a394-92a5c22f77b8 [2022-04-05T20:19:43.891Z] [2022-04-05T20:19:43.891Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-05T20:19:43.891Z] [2022-04-05T20:19:43.891Z] [Pipeline] } [2022-04-05T20:19:43.915Z] $ docker stop --time=1 a01821ce3816f40a9c7874e3e25e2b749722f97af9ef7fde3fd70a23f436cd70 [2022-04-05T20:19:45.997Z] $ docker rm -f a01821ce3816f40a9c7874e3e25e2b749722f97af9ef7fde3fd70a23f436cd70 [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 [2022-04-05T20:19:46.748Z] + git log --format=format:%s -1 351caebf32bba8e0fd88c5312046eae57dc27958 [Pipeline] sh [2022-04-05T20:19:47.041Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:19:47.041Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:47.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:19:47.334Z] . [Pipeline] withDockerContainer [2022-04-05T20:19:47.402Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:19:47.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:19:47.837Z] $ docker top 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:19:47.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:19:47.926Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:19:48.049Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:19:48.061Z] $ docker exec 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 ssh-agent [2022-04-05T20:19:48.158Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHGiNmj/agent.13 [2022-04-05T20:19:48.158Z] SSH_AGENT_PID=20 [2022-04-05T20:19:48.164Z] Running ssh-add (command line suppressed) [2022-04-05T20:19:48.295Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3631382552473964603.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3631382552473964603.key) [2022-04-05T20:19:48.297Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:19:48.589Z] + git semver tag [2022-04-05T20:19:48.589Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:19:48.589Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-05T20:19:48.589Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-05T20:19:48.589Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:19:48.589Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:19:48.589Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:19:48.589Z] # $SEMVER_BRANCH = main [2022-04-05T20:19:48.589Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-05T20:19:48.589Z] # 351caebf32bba8e0fd88c5312046eae57dc27958 HEAD [2022-04-05T20:19:48.589Z] # -> Force: false [2022-04-05T20:19:48.589Z] # 396bc8411f7446fa20b24995415b7d8caca42072 refs/tags/v2.2.0-dev.9 [Pipeline] } [2022-04-05T20:19:48.609Z] $ docker exec --env ******** --env ******** 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 ssh-agent -k [2022-04-05T20:19:48.712Z] unset SSH_AUTH_SOCK; [2022-04-05T20:19:48.713Z] unset SSH_AGENT_PID; [2022-04-05T20:19:48.713Z] echo Agent pid 20 killed; [2022-04-05T20:19:48.715Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:19:49.031Z] + git semver [Pipeline] } [2022-04-05T20:19:49.056Z] $ docker stop --time=1 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 [2022-04-05T20:19:50.321Z] $ docker rm -f 605c247bce541b53cec56827b900fc61c2efabc6ab6c2c3cd0c810ab8a60c8b3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:50.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:19:50.706Z] [2022-04-05T20:19:50.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:19:51.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:19:51.099Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-05T20:19:51.099Z] ab5ef0e58194: Pulling fs layer [2022-04-05T20:19:51.099Z] 9712f1f96733: Pulling fs layer [2022-04-05T20:19:51.099Z] 63f879dbbcfc: Pulling fs layer [2022-04-05T20:19:51.099Z] 0d9ebad4ef96: Pulling fs layer [2022-04-05T20:19:51.099Z] e9a5061849ea: Pulling fs layer [2022-04-05T20:19:51.099Z] d747dcd14b5f: Pulling fs layer [2022-04-05T20:19:51.099Z] 2de7ff778b66: Pulling fs layer [2022-04-05T20:19:51.099Z] d747dcd14b5f: Waiting [2022-04-05T20:19:51.099Z] 2de7ff778b66: Waiting [2022-04-05T20:19:51.099Z] 0d9ebad4ef96: Waiting [2022-04-05T20:19:51.099Z] e9a5061849ea: Waiting [2022-04-05T20:19:51.099Z] 9712f1f96733: Verifying Checksum [2022-04-05T20:19:51.099Z] 9712f1f96733: Download complete [2022-04-05T20:19:51.358Z] 63f879dbbcfc: Download complete [2022-04-05T20:19:51.358Z] e9a5061849ea: Verifying Checksum [2022-04-05T20:19:51.358Z] e9a5061849ea: Download complete [2022-04-05T20:19:51.358Z] d747dcd14b5f: Verifying Checksum [2022-04-05T20:19:51.358Z] d747dcd14b5f: Download complete [2022-04-05T20:19:51.358Z] 0d9ebad4ef96: Verifying Checksum [2022-04-05T20:19:51.358Z] 0d9ebad4ef96: Download complete [2022-04-05T20:19:51.618Z] ab5ef0e58194: Download complete [2022-04-05T20:19:51.618Z] 2de7ff778b66: Verifying Checksum [2022-04-05T20:19:51.618Z] 2de7ff778b66: Download complete [2022-04-05T20:19:54.909Z] ab5ef0e58194: Pull complete [2022-04-05T20:19:54.909Z] 9712f1f96733: Pull complete [2022-04-05T20:19:55.477Z] 63f879dbbcfc: Pull complete [2022-04-05T20:19:59.670Z] 0d9ebad4ef96: Pull complete [2022-04-05T20:19:59.670Z] e9a5061849ea: Pull complete [2022-04-05T20:19:59.670Z] d747dcd14b5f: Pull complete [2022-04-05T20:20:00.610Z] 2de7ff778b66: Pull complete [2022-04-05T20:20:00.610Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-05T20:20:00.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:20:00.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-05T20:20:00.678Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:20:00.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-05T20:20:02.615Z] $ docker top d81003774c04ad47cc07426d5f7763031b87a012ab809bfff80c405b5b6e77e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:20:02.682Z] provisioning config files... [2022-04-05T20:20:02.691Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7763471205015303504tmp [2022-04-05T20:20:02.702Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5144964185769842267tmp [2022-04-05T20:20:02.714Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8098262642330440442tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:20:02.729Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:03.018Z] ---> sigul-configuration.sh [2022-04-05T20:20:03.018Z] gpg: directory `/root/.gnupg' created [2022-04-05T20:20:03.018Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-05T20:20:03.018Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-05T20:20:03.018Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-05T20:20:03.018Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-05T20:20:03.018Z] gpg: CAST5 encrypted data [2022-04-05T20:20:03.018Z] gpg: encrypted with 1 passphrase [2022-04-05T20:20:03.018Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-05T20:20:03.308Z] + mkdir /home/jenkins [2022-04-05T20:20:03.308Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-05T20:20:03.595Z] + 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 [2022-04-05T20:20:03.605Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:03.891Z] ---> sigul-install.sh [2022-04-05T20:20:03.891Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-05T20:20:04.183Z] + git tag --list [2022-04-05T20:20:04.183Z] v1.0.0 [2022-04-05T20:20:04.183Z] v1.1.0 [2022-04-05T20:20:04.183Z] v1.1.1 [2022-04-05T20:20:04.183Z] v1.2.1 [2022-04-05T20:20:04.183Z] v1.2.2 [2022-04-05T20:20:04.183Z] v1.2.3 [2022-04-05T20:20:04.183Z] v1.3.0 [2022-04-05T20:20:04.183Z] v1.3.1 [2022-04-05T20:20:04.183Z] v2.0.0 [2022-04-05T20:20:04.183Z] v2.0.1-dev.1 [2022-04-05T20:20:04.183Z] v2.0.1-dev.10 [2022-04-05T20:20:04.183Z] v2.0.1-dev.11 [2022-04-05T20:20:04.183Z] v2.0.1-dev.12 [2022-04-05T20:20:04.183Z] v2.0.1-dev.13 [2022-04-05T20:20:04.183Z] v2.0.1-dev.14 [2022-04-05T20:20:04.183Z] v2.0.1-dev.15 [2022-04-05T20:20:04.183Z] v2.0.1-dev.2 [2022-04-05T20:20:04.183Z] v2.0.1-dev.3 [2022-04-05T20:20:04.183Z] v2.0.1-dev.4 [2022-04-05T20:20:04.183Z] v2.0.1-dev.5 [2022-04-05T20:20:04.183Z] v2.0.1-dev.6 [2022-04-05T20:20:04.183Z] v2.0.1-dev.7 [2022-04-05T20:20:04.183Z] v2.0.1-dev.8 [2022-04-05T20:20:04.183Z] v2.0.1-dev.9 [2022-04-05T20:20:04.183Z] v2.1.0 [2022-04-05T20:20:04.183Z] v2.2.0-dev.1 [2022-04-05T20:20:04.183Z] v2.2.0-dev.2 [2022-04-05T20:20:04.183Z] v2.2.0-dev.3 [2022-04-05T20:20:04.183Z] v2.2.0-dev.4 [2022-04-05T20:20:04.183Z] v2.2.0-dev.5 [2022-04-05T20:20:04.183Z] v2.2.0-dev.6 [2022-04-05T20:20:04.183Z] v2.2.0-dev.7 [2022-04-05T20:20:04.183Z] v2.2.0-dev.8 [2022-04-05T20:20:04.183Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-05T20:20:04.474Z] + lftools sign git-tag v2.2.0-dev.9 [2022-04-05T20:20:05.045Z] Signing Git tag with Sigul... [2022-04-05T20:20:05.045Z] Signing v2.2.0-dev.9 [Pipeline] echo [2022-04-05T20:20:05.315Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:05.600Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-05T20:20:05.609Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-05T20:20:05.642Z] $ docker stop --time=1 d81003774c04ad47cc07426d5f7763031b87a012ab809bfff80c405b5b6e77e2 [2022-04-05T20:20:06.927Z] $ docker rm -f d81003774c04ad47cc07426d5f7763031b87a012ab809bfff80c405b5b6e77e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-05T20:20:07.322Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:20:07.322Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:20:07.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:20:07.622Z] . [Pipeline] withDockerContainer [2022-04-05T20:20:07.689Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:20:07.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:20:08.081Z] $ docker top 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:20:08.164Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:20:08.164Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:20:08.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:20:08.308Z] $ docker exec 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c ssh-agent [2022-04-05T20:20:08.413Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLEFKDe/agent.14 [2022-04-05T20:20:08.413Z] SSH_AGENT_PID=20 [2022-04-05T20:20:08.419Z] Running ssh-add (command line suppressed) [2022-04-05T20:20:08.558Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2655895512401415733.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2655895512401415733.key) [2022-04-05T20:20:08.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:20:08.863Z] + git semver bump pre [2022-04-05T20:20:08.863Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:20:08.863Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-05T20:20:08.863Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-05T20:20:08.863Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:20:08.863Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:20:08.863Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:20:08.863Z] # $SEMVER_BRANCH = main [2022-04-05T20:20:08.863Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-05T20:20:08.863Z] 2.2.0-dev.10 [Pipeline] } [2022-04-05T20:20:08.883Z] $ docker exec --env ******** --env ******** 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c ssh-agent -k [2022-04-05T20:20:08.999Z] unset SSH_AUTH_SOCK; [2022-04-05T20:20:08.999Z] unset SSH_AGENT_PID; [2022-04-05T20:20:08.999Z] echo Agent pid 20 killed; [2022-04-05T20:20:09.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:20:09.314Z] + git semver [Pipeline] } [2022-04-05T20:20:09.339Z] $ docker stop --time=1 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c [2022-04-05T20:20:10.621Z] $ docker rm -f 565818faf38c8a0773802b69b7780dd775481d2a521be3d56e5423ff53ef150c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:20:10.953Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:20:10.953Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:20:11.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:20:11.251Z] . [Pipeline] withDockerContainer [2022-04-05T20:20:11.316Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:20:11.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:20:11.727Z] $ docker top db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:20:11.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:20:11.816Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:20:11.942Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:20:11.954Z] $ docker exec db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b ssh-agent [2022-04-05T20:20:12.062Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoocgIG/agent.14 [2022-04-05T20:20:12.062Z] SSH_AGENT_PID=20 [2022-04-05T20:20:12.069Z] Running ssh-add (command line suppressed) [2022-04-05T20:20:12.200Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4584488541973829401.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_4584488541973829401.key) [2022-04-05T20:20:12.205Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:20:12.507Z] + git semver push [2022-04-05T20:20:12.507Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:20:12.507Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-05T20:20:12.507Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-05T20:20:12.507Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:20:12.507Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:20:12.507Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:20:12.507Z] # $SEMVER_BRANCH = main [2022-04-05T20:20:12.507Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-05T20:20:14.444Z] $ docker exec --env ******** --env ******** db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b ssh-agent -k [2022-04-05T20:20:14.558Z] unset SSH_AUTH_SOCK; [2022-04-05T20:20:14.559Z] unset SSH_AGENT_PID; [2022-04-05T20:20:14.559Z] echo Agent pid 20 killed; [2022-04-05T20:20:14.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:20:14.871Z] + git semver [Pipeline] } [2022-04-05T20:20:14.895Z] $ docker stop --time=1 db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b [2022-04-05T20:20:16.178Z] $ docker rm -f db9a0315923aed6cd72a590bc29db87370b7ebea7e20d6c217f724dfc31e989b [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 [2022-04-05T20:20:16.763Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-04-05T20:20:16.763Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-05T20:20:16.763Z] total 16 [2022-04-05T20:20:16.763Z] drwxr-xr-x 3 root root 4096 Apr 5 20:10 . [2022-04-05T20:20:16.763Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:20 .. [2022-04-05T20:20:16.763Z] drwxr-xr-x 2 root root 4096 Apr 5 20:10 cost [2022-04-05T20:20:16.763Z] -rw-r--r-- 1 root root 87 Apr 5 20:10 cost.csv [2022-04-05T20:20:16.763Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-05T20:20:16.763Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-05T20:20:16.763Z] total 16 [2022-04-05T20:20:16.763Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:10 . [2022-04-05T20:20:16.763Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:20 .. [2022-04-05T20:20:16.763Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:10 cost [2022-04-05T20:20:16.763Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 5 20:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:17.054Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:17.919Z] ---> package-listing.sh [2022-04-05T20:20:17.919Z] ++ facter osfamily [2022-04-05T20:20:17.919Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-05T20:20:18.179Z] + OS_FAMILY=debian [2022-04-05T20:20:18.179Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-04-05T20:20:18.179Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-05T20:20:18.179Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-05T20:20:18.179Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-05T20:20:18.179Z] + PACKAGES=/tmp/packages_start.txt [2022-04-05T20:20:18.179Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-05T20:20:18.179Z] + PACKAGES=/tmp/packages_end.txt [2022-04-05T20:20:18.179Z] + case "${OS_FAMILY}" in [2022-04-05T20:20:18.179Z] + dpkg -l [2022-04-05T20:20:18.179Z] + grep '^ii' [2022-04-05T20:20:18.179Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-05T20:20:18.179Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-05T20:20:18.179Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-05T20:20:18.179Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-05T20:20:18.179Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-04-05T20:20:18.179Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-virtual-go_main/archives/ [Pipeline] echo [2022-04-05T20:20:18.191Z] 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 [2022-04-05T20:20:18.469Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:20:19.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:20:19.033Z] . [Pipeline] withDockerContainer [2022-04-05T20:20:19.105Z] prd-ubuntu20.04-docker-8c-8g-10770 does not seem to be running inside a container [2022-04-05T20:20:19.151Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-virtual-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T20:20:19.382Z] $ docker top 78bd5ac408da2a0b73d6d980e300d93198b73186d444071913b19d6321b74cf7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:20:19.729Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-05T20:20:20.015Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-05T20:20:20.303Z] + ls /var/log/sa-host [2022-04-05T20:20:20.303Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:20:20.385Z] provisioning config files... [2022-04-05T20:20:20.394Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6636807970884578975tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:20:20.412Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:20.700Z] ---> create-netrc.sh [Pipeline] } [2022-04-05T20:20:20.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:21.045Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-05T20:20:21.057Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:21.343Z] ---> sudo-logs.sh [2022-04-05T20:20:21.343Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-05T20:20:21.375Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:21.666Z] ---> job-cost.sh [2022-04-05T20:20:21.666Z] lf-activate-venv: SKIPPING [2022-04-05T20:20:21.666Z] DEBUG: total: 0.2199999988079071 [2022-04-05T20:20:21.666Z] INFO: Retrieving Stack Cost... [2022-04-05T20:20:22.238Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:20:22.497Z] INFO: Archiving Costs [Pipeline] echo [2022-04-05T20:20:22.509Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:20:22.792Z] ---> logs-deploy.sh [2022-04-05T20:20:22.792Z] lf-activate-venv: SKIPPING [2022-04-05T20:20:22.792Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/25 [2022-04-05T20:20:22.792Z] INFO: archiving workspace using pattern(s): [2022-04-05T20:20:23.730Z] Archives upload complete. [2022-04-05T20:20:23.730Z] INFO: archiving logs to Nexus