Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 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-ssh5608811551661567434.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-ssh16165790747653363002.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-ssh18386296589124029019.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-ssh3039116168587270837.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-ssh954250542695711312.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 ‘prd-ubuntu20.04-docker-8c-8g-21221’ is offline Running on prd-ubuntu20.04-docker-8c-8g-21223 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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca (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 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 Commit message: "Merge pull request #277 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.28" > git rev-list --no-walk bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-18T11:17:10.261Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-18T11:17:10.309Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-18T11:17:10.323Z] ========================================================= [2022-04-18T11:17:10.323Z] EdgeX Global Pipelines Version Info [2022-04-18T11:17:10.323Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:17:11.122Z] ------------------- [2022-04-18T11:17:11.122Z] stable info: [2022-04-18T11:17:11.122Z] ------------------- [2022-04-18T11:17:11.122Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-18T11:17:11.122Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-18T11:17:11.122Z] Message: update stable to v1.0.221 [2022-04-18T11:17:11.696Z] ------------------- [2022-04-18T11:17:11.696Z] experimental info: [2022-04-18T11:17:11.696Z] ------------------- [2022-04-18T11:17:11.696Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-18T11:17:11.696Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-18T11:17:11.696Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-18T11:17:11.832Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-18T11:17:11.843Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-18T11:17:11.855Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-18T11:17:11.867Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-18T11:17:11.880Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-18T11:17:11.897Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-18T11:17:11.906Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-18T11:17:11.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-18T11:17:11.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-18T11:17:11.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-18T11:17:11.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-18T11:17:11.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-18T11:17:11.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-18T11:17:12.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-18T11:17:12.014Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-18T11:17:12.024Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-18T11:17:12.040Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-18T11:17:12.056Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-18T11:17:12.066Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-18T11:17:12.081Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-18T11:17:12.095Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-18T11:17:12.110Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-18T11:17:12.125Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-18T11:17:12.137Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-18T11:17:12.154Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-18T11:17:12.168Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-18T11:17:12.182Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-18T11:17:12.192Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-18T11:17:12.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-18T11:17:12.225Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] echo [2022-04-18T11:17:12.234Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55fbfbc [Pipeline] echo [2022-04-18T11:17:12.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T11:17:12.289Z] provisioning config files... [2022-04-18T11:17:12.305Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4713121139174210144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:17:12.619Z] ---> docker-login.sh [2022-04-18T11:17:12.619Z] nexus3.edgexfoundry.org:10001 [2022-04-18T11:17:12.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:12.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:12.882Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:12.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:12.882Z] [2022-04-18T11:17:12.882Z] Login Succeeded [2022-04-18T11:17:12.882Z] nexus3.edgexfoundry.org:10002 [2022-04-18T11:17:12.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:13.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:13.143Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:13.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:13.143Z] [2022-04-18T11:17:13.143Z] Login Succeeded [2022-04-18T11:17:13.143Z] nexus3.edgexfoundry.org:10003 [2022-04-18T11:17:13.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:13.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:13.143Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:13.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:13.143Z] [2022-04-18T11:17:13.143Z] Login Succeeded [2022-04-18T11:17:13.143Z] nexus3.edgexfoundry.org:10004 [2022-04-18T11:17:13.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:13.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:13.403Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:13.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:13.403Z] [2022-04-18T11:17:13.403Z] Login Succeeded [2022-04-18T11:17:13.403Z] docker.io [2022-04-18T11:17:13.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:13.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:13.663Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:13.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:13.663Z] [2022-04-18T11:17:13.663Z] Login Succeeded [2022-04-18T11:17:13.663Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T11:17:13.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-18T11:17:14.048Z] + git rev-list -1 --merges 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca~1..55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] echo [2022-04-18T11:17:14.156Z] -----------> git rev-list -1 --merges 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca~1..55fbfbcd5b5a742e8ebac6649b1ed4185d266fca 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:17:14.156Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [false] [Pipeline] sh [2022-04-18T11:17:14.448Z] + git log --format=format:%s -1 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] echo [2022-04-18T11:17:14.465Z] ========================================================= [2022-04-18T11:17:14.465Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-18T11:17:14.465Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T11:17:14.809Z] + git log --format=format:%s -1 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] echo [2022-04-18T11:17:14.823Z] [semverPrep] GIT_COMMIT: 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca, Commit Message: Merge pull request #277 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.28 [Pipeline] echo [2022-04-18T11:17:14.839Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-18T11:17:15.229Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-18T11:17:15.229Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-18T11:17:15.229Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-18T11:17:15.229Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-18T11:17:15.229Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-18T11:17:15.229Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-18T11:17:15.229Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:17:15.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T11:17:15.667Z] [2022-04-18T11:17:15.667Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:17:15.976Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T11:17:15.977Z] latest: Pulling from edgex-devops/git-semver [2022-04-18T11:17:15.977Z] a0d0a0d46f8b: Pulling fs layer [2022-04-18T11:17:15.977Z] 3e5f54012d9b: Pulling fs layer [2022-04-18T11:17:15.977Z] 4c7163046ea9: Pulling fs layer [2022-04-18T11:17:15.977Z] 0c2d73faf560: Pulling fs layer [2022-04-18T11:17:15.977Z] 0c2d73faf560: Waiting [2022-04-18T11:17:15.977Z] 3e5f54012d9b: Verifying Checksum [2022-04-18T11:17:15.977Z] 3e5f54012d9b: Download complete [2022-04-18T11:17:15.977Z] a0d0a0d46f8b: Download complete [2022-04-18T11:17:15.977Z] 0c2d73faf560: Verifying Checksum [2022-04-18T11:17:15.977Z] 0c2d73faf560: Download complete [2022-04-18T11:17:15.977Z] 4c7163046ea9: Verifying Checksum [2022-04-18T11:17:15.977Z] 4c7163046ea9: Download complete [2022-04-18T11:17:16.237Z] a0d0a0d46f8b: Pull complete [2022-04-18T11:17:16.237Z] 3e5f54012d9b: Pull complete [2022-04-18T11:17:16.499Z] 4c7163046ea9: Pull complete [2022-04-18T11:17:16.760Z] 0c2d73faf560: Pull complete [2022-04-18T11:17:16.760Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-18T11:17:16.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T11:17:16.760Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-18T11:17:16.839Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:17:16.890Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-18T11:17:17.564Z] $ docker top 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-18T11:17:17.676Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T11:17:17.676Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T11:17:17.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T11:17:17.820Z] $ docker exec 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 ssh-agent [2022-04-18T11:17:17.934Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaNKIFD/agent.14 [2022-04-18T11:17:17.934Z] SSH_AGENT_PID=20 [2022-04-18T11:17:17.942Z] Running ssh-add (command line suppressed) [2022-04-18T11:17:18.052Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2013857348320537922.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2013857348320537922.key) [2022-04-18T11:17:18.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T11:17:18.357Z] + git tag --points-at HEAD [Pipeline] } [2022-04-18T11:17:18.381Z] $ docker exec --env ******** --env ******** 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 ssh-agent -k [2022-04-18T11:17:18.496Z] unset SSH_AUTH_SOCK; [2022-04-18T11:17:18.496Z] unset SSH_AGENT_PID; [2022-04-18T11:17:18.496Z] echo Agent pid 20 killed; [2022-04-18T11:17:18.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-18T11:17:18.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T11:17:18.529Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T11:17:18.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T11:17:18.654Z] $ docker exec 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 ssh-agent [2022-04-18T11:17:18.767Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMIpNHa/agent.52 [2022-04-18T11:17:18.767Z] SSH_AGENT_PID=58 [2022-04-18T11:17:18.772Z] Running ssh-add (command line suppressed) [2022-04-18T11:17:18.908Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7559220059851964893.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_7559220059851964893.key) [2022-04-18T11:17:18.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T11:17:19.209Z] + git semver init [2022-04-18T11:17:19.209Z] # -> Open(): unable to determine branch for HEAD [2022-04-18T11:17:19.209Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-18T11:17:19.209Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-18T11:17:19.209Z] # $SEMVER_REMOTE_NAME = origin [2022-04-18T11:17:19.209Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-18T11:17:19.209Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-18T11:17:19.209Z] # $SEMVER_BRANCH = main [2022-04-18T11:17:19.209Z] # $SEMVER_TEMP = /tmp/semver-743714047 [2022-04-18T11:17:19.209Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-18T11:17:20.594Z] # '/tmp/semver-743714047' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2022-04-18T11:17:20.594Z] # -> Force: false [2022-04-18T11:17:20.594Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-18T11:17:20.610Z] $ docker exec --env ******** --env ******** 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 ssh-agent -k [2022-04-18T11:17:20.727Z] unset SSH_AUTH_SOCK; [2022-04-18T11:17:20.727Z] unset SSH_AGENT_PID; [2022-04-18T11:17:20.727Z] echo Agent pid 58 killed; [2022-04-18T11:17:20.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-18T11:17:21.043Z] + git semver [Pipeline] } [2022-04-18T11:17:21.064Z] $ docker stop --time=1 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 [2022-04-18T11:17:22.429Z] $ docker rm -f 259310bde5d47b838b786edc8f930eb4438d2961bbdd4e6b9ca46dd52b6da436 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T11:17:22.794Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-18T11:17:23.034Z] Stashed 1 file(s) [Pipeline] echo [2022-04-18T11:17:23.038Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.12 [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-18T11:17:23.187Z] provisioning config files... [2022-04-18T11:17:23.198Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8002579051824978348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:17:23.503Z] ---> docker-login.sh [2022-04-18T11:17:23.503Z] nexus3.edgexfoundry.org:10001 [2022-04-18T11:17:23.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:23.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:23.503Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:23.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:23.503Z] [2022-04-18T11:17:23.503Z] Login Succeeded [2022-04-18T11:17:23.503Z] nexus3.edgexfoundry.org:10002 [2022-04-18T11:17:23.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:23.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:23.763Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:23.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:23.763Z] [2022-04-18T11:17:23.763Z] Login Succeeded [2022-04-18T11:17:23.763Z] nexus3.edgexfoundry.org:10003 [2022-04-18T11:17:23.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:23.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:23.763Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:23.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:23.763Z] [2022-04-18T11:17:23.763Z] Login Succeeded [2022-04-18T11:17:23.763Z] nexus3.edgexfoundry.org:10004 [2022-04-18T11:17:24.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:24.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:24.025Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:24.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:24.025Z] [2022-04-18T11:17:24.025Z] Login Succeeded [2022-04-18T11:17:24.025Z] docker.io [2022-04-18T11:17:24.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:17:24.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:17:24.597Z] Configure a credential helper to remove this warning. See [2022-04-18T11:17:24.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:17:24.597Z] [2022-04-18T11:17:24.597Z] Login Succeeded [2022-04-18T11:17:24.597Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T11:17:24.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-18T11:17:24.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-18T11:17:24.691Z] ========================================================= [2022-04-18T11:17:24.691Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-18T11:17:24.691Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:17:25.013Z] + 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-18T11:17:25.013Z] Sending build context to Docker daemon 22.91MB [2022-04-18T11:17:25.013Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T11:17:25.013Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-18T11:17:25.277Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-18T11:17:25.277Z] 59bf1c3509f3: Pulling fs layer [2022-04-18T11:17:25.277Z] 666ba61612fd: Pulling fs layer [2022-04-18T11:17:25.277Z] 8ed8ca486205: Pulling fs layer [2022-04-18T11:17:25.277Z] 4fe6c5a15a65: Pulling fs layer [2022-04-18T11:17:25.277Z] 22a0e8bec74d: Pulling fs layer [2022-04-18T11:17:25.277Z] 640e595b4fbd: Pulling fs layer [2022-04-18T11:17:25.277Z] 763cafe07f6e: Pulling fs layer [2022-04-18T11:17:25.277Z] 0c0b528cf693: Pulling fs layer [2022-04-18T11:17:25.277Z] 10935f4eaf8b: Pulling fs layer [2022-04-18T11:17:25.277Z] 4fe6c5a15a65: Waiting [2022-04-18T11:17:25.277Z] 763cafe07f6e: Waiting [2022-04-18T11:17:25.277Z] 640e595b4fbd: Waiting [2022-04-18T11:17:25.277Z] 22a0e8bec74d: Waiting [2022-04-18T11:17:25.277Z] 0c0b528cf693: Waiting [2022-04-18T11:17:25.277Z] 10935f4eaf8b: Waiting [2022-04-18T11:17:25.277Z] 8ed8ca486205: Verifying Checksum [2022-04-18T11:17:25.277Z] 8ed8ca486205: Download complete [2022-04-18T11:17:25.277Z] 666ba61612fd: Verifying Checksum [2022-04-18T11:17:25.277Z] 666ba61612fd: Download complete [2022-04-18T11:17:25.277Z] 22a0e8bec74d: Verifying Checksum [2022-04-18T11:17:25.277Z] 22a0e8bec74d: Download complete [2022-04-18T11:17:25.277Z] 640e595b4fbd: Verifying Checksum [2022-04-18T11:17:25.277Z] 640e595b4fbd: Download complete [2022-04-18T11:17:25.277Z] 59bf1c3509f3: Verifying Checksum [2022-04-18T11:17:25.277Z] 59bf1c3509f3: Download complete [2022-04-18T11:17:25.277Z] 763cafe07f6e: Download complete [2022-04-18T11:17:25.277Z] 0c0b528cf693: Verifying Checksum [2022-04-18T11:17:25.277Z] 0c0b528cf693: Download complete [2022-04-18T11:17:25.277Z] 59bf1c3509f3: Pull complete [2022-04-18T11:17:25.539Z] 666ba61612fd: Pull complete [2022-04-18T11:17:25.539Z] 8ed8ca486205: Pull complete [2022-04-18T11:17:25.802Z] 10935f4eaf8b: Verifying Checksum [2022-04-18T11:17:25.802Z] 10935f4eaf8b: Download complete [2022-04-18T11:17:26.062Z] 4fe6c5a15a65: Download complete [2022-04-18T11:17:30.261Z] 4fe6c5a15a65: Pull complete [2022-04-18T11:17:30.261Z] 22a0e8bec74d: Pull complete [2022-04-18T11:17:30.261Z] 640e595b4fbd: Pull complete [2022-04-18T11:17:30.261Z] 763cafe07f6e: Pull complete [2022-04-18T11:17:30.519Z] 0c0b528cf693: Pull complete [2022-04-18T11:17:33.058Z] 10935f4eaf8b: Pull complete [2022-04-18T11:17:33.058Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-18T11:17:33.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-18T11:17:33.058Z] ---> 99d49a6021b9 [2022-04-18T11:17:33.058Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-18T11:17:34.002Z] ---> Running in 9f22e6283b7e [2022-04-18T11:17:34.264Z] Removing intermediate container 9f22e6283b7e [2022-04-18T11:17:34.264Z] ---> 59bc31aa207d [2022-04-18T11:17:34.264Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-18T11:17:34.264Z] ---> Running in 6c368d6334f4 [2022-04-18T11:17:34.264Z] Removing intermediate container 6c368d6334f4 [2022-04-18T11:17:34.264Z] ---> 1b11f20a0b00 [2022-04-18T11:17:34.264Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-18T11:17:34.264Z] ---> Running in 3d6485c3d074 [2022-04-18T11:17:34.525Z] Removing intermediate container 3d6485c3d074 [2022-04-18T11:17:34.525Z] ---> 798e406a4813 [2022-04-18T11:17:34.525Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T11:17:34.525Z] ---> Running in 604352339fc6 [2022-04-18T11:17:35.098Z] Removing intermediate container 604352339fc6 [2022-04-18T11:17:35.098Z] ---> 5b944cd57398 [2022-04-18T11:17:35.098Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-18T11:17:35.098Z] ---> Running in cfcaab460a0c [2022-04-18T11:17:35.360Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-18T11:17:36.301Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-18T11:17:36.562Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-18T11:17:36.562Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-18T11:17:36.822Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-18T11:17:36.822Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-18T11:17:36.823Z] Executing busybox-1.34.1-r3.trigger [2022-04-18T11:17:36.823Z] OK: 224 MiB in 56 packages [2022-04-18T11:17:37.400Z] Removing intermediate container cfcaab460a0c [2022-04-18T11:17:37.400Z] ---> 04c9827dcdcc [2022-04-18T11:17:37.400Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-18T11:17:37.400Z] ---> 0fac3911e9b1 [2022-04-18T11:17:37.400Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T11:17:37.660Z] ---> Running in 24a0e8f943c8 [2022-04-18T11:17:38.133Z] Still waiting to schedule task [2022-04-18T11:17:38.134Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-21222’ is offline [2022-04-18T11:17:52.587Z] Removing intermediate container 24a0e8f943c8 [2022-04-18T11:17:52.587Z] ---> a671965e904a [2022-04-18T11:17:52.587Z] Step 10/12 : COPY . . [2022-04-18T11:17:52.587Z] ---> 46e94748ad62 [2022-04-18T11:17:52.587Z] Step 11/12 : ARG MAKE='make build' [2022-04-18T11:17:52.587Z] ---> Running in 5dbdaee35476 [2022-04-18T11:17:52.587Z] Removing intermediate container 5dbdaee35476 [2022-04-18T11:17:52.587Z] ---> ccaf77b51585 [2022-04-18T11:17:52.587Z] Step 12/12 : RUN $MAKE [2022-04-18T11:17:52.587Z] ---> Running in 1a7a08105ec1 [2022-04-18T11:17:52.587Z] noop [2022-04-18T11:17:52.587Z] Removing intermediate container 1a7a08105ec1 [2022-04-18T11:17:52.587Z] ---> 08700dc5dd8e [2022-04-18T11:17:52.587Z] Successfully built 08700dc5dd8e [2022-04-18T11:17:52.587Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:17:52.890Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-18T11:17:52.890Z] . [Pipeline] withDockerContainer [2022-04-18T11:17:52.962Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:17:53.002Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-18T11:17:53.436Z] $ docker top 801470f038a31d19aa56b36ca67d087ad37f2a11cb9e920996d93442d4c5f4d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T11:17:53.824Z] + go version [2022-04-18T11:17:53.824Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-18T11:17:53.843Z] $ docker stop --time=1 801470f038a31d19aa56b36ca67d087ad37f2a11cb9e920996d93442d4c5f4d1 [2022-04-18T11:17:55.651Z] $ docker rm -f 801470f038a31d19aa56b36ca67d087ad37f2a11cb9e920996d93442d4c5f4d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:17:56.060Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-18T11:17:56.060Z] . [Pipeline] withDockerContainer [2022-04-18T11:17:56.141Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:17:56.180Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-18T11:17:56.579Z] $ docker top 0fea28e2503ea6d953cf6f60fc0ff434f19e4836f6569f58ad285ac9cb230c13 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-18T11:17:56.942Z] + make test [2022-04-18T11:17:56.942Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-18T11:17:57.206Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-18T11:18:05.350Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-18T11:18:05.350Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-04-18T11:18:12.018Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-18T11:18:15.310Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-18T11:18:15.310Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-18T11:18:15.310Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-18T11:18:15.895Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-18T11:18:15.910Z] $ docker stop --time=1 0fea28e2503ea6d953cf6f60fc0ff434f19e4836f6569f58ad285ac9cb230c13 [2022-04-18T11:18:17.636Z] $ docker rm -f 0fea28e2503ea6d953cf6f60fc0ff434f19e4836f6569f58ad285ac9cb230c13 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T11:18:18.049Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-18T11:18:18.088Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-18T11:18:18.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-18T11:18:19.235Z] + ls -al . [2022-04-18T11:18:19.235Z] total 204 [2022-04-18T11:18:19.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:18 . [2022-04-18T11:18:19.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:17 .. [2022-04-18T11:18:19.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:17 .git [2022-04-18T11:18:19.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:17 .github [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 18 11:17 .gitignore [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:17 .golangci.yml [2022-04-18T11:18:19.235Z] drwx------ 3 jenkins jenkins 4096 Apr 18 11:17 .semver [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 18 11:17 Attribution.txt [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 18 11:17 CHANGELOG.md [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 18 11:17 Dockerfile [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:17 GOVERNANCE.md [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 11:17 Jenkinsfile [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:17 LICENSE [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 18 11:17 Makefile [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 11:17 OWNERS.md [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 18 11:17 README.md [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 11:17 VERSION [2022-04-18T11:18:19.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:17 bin [2022-04-18T11:18:19.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:17 cmd [2022-04-18T11:18:19.235Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 18 11:18 coverage.out [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 3093 Apr 18 11:17 go.mod [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 53999 Apr 18 11:17 go.sum [2022-04-18T11:18:19.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:17 internal [2022-04-18T11:18:19.235Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 11:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:19.535Z] + 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=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca --label arch=amd64 --label version=2.2.0-dev.12 . [2022-04-18T11:18:19.535Z] Sending build context to Docker daemon 22.96MB [2022-04-18T11:18:19.535Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T11:18:19.535Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-18T11:18:19.535Z] ---> 08700dc5dd8e [2022-04-18T11:18:19.535Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-18T11:18:19.794Z] ---> Running in e90fcb250ad9 [2022-04-18T11:18:19.794Z] Removing intermediate container e90fcb250ad9 [2022-04-18T11:18:19.794Z] ---> 7ad10ea3f903 [2022-04-18T11:18:19.794Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-18T11:18:19.794Z] ---> Running in fbaa91022dcb [2022-04-18T11:18:20.054Z] Removing intermediate container fbaa91022dcb [2022-04-18T11:18:20.054Z] ---> 1bab1bf12289 [2022-04-18T11:18:20.054Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-18T11:18:20.054Z] ---> Running in c0b7f1569cde [2022-04-18T11:18:20.313Z] Removing intermediate container c0b7f1569cde [2022-04-18T11:18:20.313Z] ---> 01194e9ad3f6 [2022-04-18T11:18:20.313Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T11:18:20.313Z] ---> Running in dc6be4bc9855 [2022-04-18T11:18:20.882Z] Removing intermediate container dc6be4bc9855 [2022-04-18T11:18:20.882Z] ---> b39d831628a1 [2022-04-18T11:18:20.882Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-18T11:18:20.882Z] ---> Running in f4c39978ef94 [2022-04-18T11:18:21.142Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-18T11:18:22.081Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-18T11:18:22.340Z] OK: 224 MiB in 56 packages [2022-04-18T11:18:22.910Z] Removing intermediate container f4c39978ef94 [2022-04-18T11:18:22.910Z] ---> 84c9a219b8e3 [2022-04-18T11:18:22.910Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-18T11:18:22.910Z] ---> 4d72b9947bbe [2022-04-18T11:18:22.910Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T11:18:22.910Z] ---> Running in b149589c627b [2022-04-18T11:18:23.854Z] Removing intermediate container b149589c627b [2022-04-18T11:18:23.854Z] ---> 7df62ade1cad [2022-04-18T11:18:23.854Z] Step 10/26 : COPY . . [2022-04-18T11:18:24.426Z] ---> 186d61996d76 [2022-04-18T11:18:24.426Z] Step 11/26 : ARG MAKE='make build' [2022-04-18T11:18:24.426Z] ---> Running in 327e9b499064 [2022-04-18T11:18:24.426Z] Removing intermediate container 327e9b499064 [2022-04-18T11:18:24.426Z] ---> 5f50f4298a71 [2022-04-18T11:18:24.426Z] Step 12/26 : RUN $MAKE [2022-04-18T11:18:24.688Z] ---> Running in 861cb90a668f [2022-04-18T11:18:24.948Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-18T11:18:46.904Z] Removing intermediate container 861cb90a668f [2022-04-18T11:18:46.904Z] ---> 56f07615e406 [2022-04-18T11:18:46.904Z] Step 13/26 : FROM alpine:3.14 [2022-04-18T11:18:46.904Z] 3.14: Pulling from library/alpine [2022-04-18T11:18:46.904Z] 8663204ce13b: Pulling fs layer [2022-04-18T11:18:46.904Z] 8663204ce13b: Verifying Checksum [2022-04-18T11:18:46.904Z] 8663204ce13b: Download complete [2022-04-18T11:18:46.904Z] 8663204ce13b: Pull complete [2022-04-18T11:18:46.904Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-18T11:18:46.904Z] Status: Downloaded newer image for alpine:3.14 [2022-04-18T11:18:46.904Z] ---> e04c818066af [2022-04-18T11:18:46.904Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-18T11:18:46.904Z] ---> Running in e3a7d1fb0c7d [2022-04-18T11:18:46.904Z] Removing intermediate container e3a7d1fb0c7d [2022-04-18T11:18:46.904Z] ---> 0dcc04f874b2 [2022-04-18T11:18:46.904Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T11:18:46.904Z] ---> Running in acc5dc95d1b7 [2022-04-18T11:18:46.904Z] Removing intermediate container acc5dc95d1b7 [2022-04-18T11:18:46.904Z] ---> 003d67997521 [2022-04-18T11:18:46.904Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-18T11:18:46.904Z] ---> Running in c3532dcb1396 [2022-04-18T11:18:46.904Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-18T11:18:47.844Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-18T11:18:48.104Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-18T11:18:48.104Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-18T11:18:48.365Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-18T11:18:48.365Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-18T11:18:48.627Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-18T11:18:48.627Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-18T11:18:48.627Z] Executing busybox-1.33.1-r7.trigger [2022-04-18T11:18:48.627Z] OK: 8 MiB in 20 packages [2022-04-18T11:18:49.196Z] Removing intermediate container c3532dcb1396 [2022-04-18T11:18:49.196Z] ---> be9a19b2551f [2022-04-18T11:18:49.196Z] Step 17/26 : WORKDIR / [2022-04-18T11:18:49.197Z] ---> Running in 44d277e1ac56 [2022-04-18T11:18:49.197Z] Removing intermediate container 44d277e1ac56 [2022-04-18T11:18:49.197Z] ---> d10c802cf21e [2022-04-18T11:18:49.197Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-18T11:18:49.197Z] ---> 6b9348f44680 [2022-04-18T11:18:49.197Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-18T11:18:49.455Z] ---> 5ea631a7e13b [2022-04-18T11:18:49.455Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-18T11:18:50.024Z] ---> 0024ddf52be5 [2022-04-18T11:18:50.024Z] Step 21/26 : EXPOSE 59900 [2022-04-18T11:18:50.024Z] ---> Running in 32d309b06637 [2022-04-18T11:18:50.024Z] Removing intermediate container 32d309b06637 [2022-04-18T11:18:50.024Z] ---> a7f499a8cfb5 [2022-04-18T11:18:50.024Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-18T11:18:50.024Z] ---> Running in 7340a4821c60 [2022-04-18T11:18:50.024Z] Removing intermediate container 7340a4821c60 [2022-04-18T11:18:50.024Z] ---> 6c6d94e7ef34 [2022-04-18T11:18:50.024Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-18T11:18:50.024Z] ---> Running in 41db22fb7b6b [2022-04-18T11:18:50.285Z] Removing intermediate container 41db22fb7b6b [2022-04-18T11:18:50.285Z] ---> 2429eea1e157 [2022-04-18T11:18:50.285Z] Step 24/26 : LABEL arch=amd64 [2022-04-18T11:18:50.285Z] ---> Running in 5a56e7e8d3fc [2022-04-18T11:18:50.285Z] Removing intermediate container 5a56e7e8d3fc [2022-04-18T11:18:50.285Z] ---> bdd76ba52b6b [2022-04-18T11:18:50.285Z] Step 25/26 : LABEL git_sha=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:18:50.285Z] ---> Running in 62c655514f49 [2022-04-18T11:18:50.544Z] Removing intermediate container 62c655514f49 [2022-04-18T11:18:50.544Z] ---> fcb173251b28 [2022-04-18T11:18:50.544Z] Step 26/26 : LABEL version=2.2.0-dev.12 [2022-04-18T11:18:50.544Z] ---> Running in f6048cbcecc7 [2022-04-18T11:18:50.544Z] Removing intermediate container f6048cbcecc7 [2022-04-18T11:18:50.544Z] ---> a8452bc242f3 [2022-04-18T11:18:50.544Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-18T11:18:50.544Z] Successfully built a8452bc242f3 [2022-04-18T11:18:50.544Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T11:18:50.638Z] provisioning config files... [2022-04-18T11:18:50.647Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config2182725634574471162tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:18:50.947Z] ---> docker-login.sh [2022-04-18T11:18:50.948Z] nexus3.edgexfoundry.org:10001 [2022-04-18T11:18:50.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:18:50.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:18:50.948Z] Configure a credential helper to remove this warning. See [2022-04-18T11:18:50.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:18:50.948Z] [2022-04-18T11:18:50.948Z] Login Succeeded [2022-04-18T11:18:50.948Z] nexus3.edgexfoundry.org:10002 [2022-04-18T11:18:50.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:18:51.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:18:51.209Z] Configure a credential helper to remove this warning. See [2022-04-18T11:18:51.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:18:51.209Z] [2022-04-18T11:18:51.209Z] Login Succeeded [2022-04-18T11:18:51.209Z] nexus3.edgexfoundry.org:10003 [2022-04-18T11:18:51.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:18:51.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:18:51.209Z] Configure a credential helper to remove this warning. See [2022-04-18T11:18:51.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:18:51.209Z] [2022-04-18T11:18:51.209Z] Login Succeeded [2022-04-18T11:18:51.209Z] nexus3.edgexfoundry.org:10004 [2022-04-18T11:18:51.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:18:51.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:18:51.469Z] Configure a credential helper to remove this warning. See [2022-04-18T11:18:51.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:18:51.469Z] [2022-04-18T11:18:51.469Z] Login Succeeded [2022-04-18T11:18:51.469Z] docker.io [2022-04-18T11:18:51.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:18:51.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:18:51.730Z] Configure a credential helper to remove this warning. See [2022-04-18T11:18:51.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:18:51.730Z] [2022-04-18T11:18:51.730Z] Login Succeeded [2022-04-18T11:18:51.730Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T11:18:51.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-18T11:18:51.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-18T11:18:51.808Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-04-18T11:18:51.808Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:18:51.808Z] latest [2022-04-18T11:18:51.808Z] 2.2.0-dev.12 [2022-04-18T11:18:51.808Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [2022-04-18T11:18:51.808Z] main [2022-04-18T11:18:51.808Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:52.130Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:52.425Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:18:52.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-18T11:18:52.425Z] ef1e3aaeaa79: Preparing [2022-04-18T11:18:52.425Z] 6c7d28387c1d: Preparing [2022-04-18T11:18:52.425Z] 67873791d867: Preparing [2022-04-18T11:18:52.425Z] 5f5f8fa1d75e: Preparing [2022-04-18T11:18:52.425Z] 1b99f85494b8: Preparing [2022-04-18T11:18:52.425Z] b541d28bf3b4: Preparing [2022-04-18T11:18:52.425Z] 67873791d867: Pushed [2022-04-18T11:18:52.425Z] 1b99f85494b8: Pushed [2022-04-18T11:18:52.425Z] 6c7d28387c1d: Pushed [2022-04-18T11:18:52.425Z] b541d28bf3b4: Layer already exists [2022-04-18T11:18:52.684Z] 5f5f8fa1d75e: Pushed [2022-04-18T11:18:55.224Z] ef1e3aaeaa79: Pushed [2022-04-18T11:18:55.224Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:55.524Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:55.817Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-18T11:18:55.817Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-18T11:18:55.817Z] ef1e3aaeaa79: Preparing [2022-04-18T11:18:55.817Z] 6c7d28387c1d: Preparing [2022-04-18T11:18:55.817Z] 67873791d867: Preparing [2022-04-18T11:18:55.817Z] 5f5f8fa1d75e: Preparing [2022-04-18T11:18:55.817Z] 1b99f85494b8: Preparing [2022-04-18T11:18:55.817Z] b541d28bf3b4: Preparing [2022-04-18T11:18:55.817Z] b541d28bf3b4: Waiting [2022-04-18T11:18:55.817Z] 1b99f85494b8: Layer already exists [2022-04-18T11:18:55.817Z] ef1e3aaeaa79: Layer already exists [2022-04-18T11:18:55.817Z] 6c7d28387c1d: Layer already exists [2022-04-18T11:18:55.817Z] 67873791d867: Layer already exists [2022-04-18T11:18:55.817Z] 5f5f8fa1d75e: Layer already exists [2022-04-18T11:18:55.817Z] b541d28bf3b4: Layer already exists [2022-04-18T11:18:55.818Z] latest: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:56.117Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:56.416Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.12 [2022-04-18T11:18:56.416Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-18T11:18:56.416Z] ef1e3aaeaa79: Preparing [2022-04-18T11:18:56.416Z] 6c7d28387c1d: Preparing [2022-04-18T11:18:56.416Z] 67873791d867: Preparing [2022-04-18T11:18:56.416Z] 5f5f8fa1d75e: Preparing [2022-04-18T11:18:56.416Z] 1b99f85494b8: Preparing [2022-04-18T11:18:56.416Z] b541d28bf3b4: Preparing [2022-04-18T11:18:56.416Z] b541d28bf3b4: Waiting [2022-04-18T11:18:56.416Z] 5f5f8fa1d75e: Layer already exists [2022-04-18T11:18:56.416Z] 67873791d867: Layer already exists [2022-04-18T11:18:56.416Z] 1b99f85494b8: Layer already exists [2022-04-18T11:18:56.416Z] ef1e3aaeaa79: Layer already exists [2022-04-18T11:18:56.416Z] 6c7d28387c1d: Layer already exists [2022-04-18T11:18:56.416Z] b541d28bf3b4: Layer already exists [2022-04-18T11:18:56.416Z] 2.2.0-dev.12: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:56.725Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:57.019Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [2022-04-18T11:18:57.019Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-18T11:18:57.019Z] ef1e3aaeaa79: Preparing [2022-04-18T11:18:57.019Z] 6c7d28387c1d: Preparing [2022-04-18T11:18:57.019Z] 67873791d867: Preparing [2022-04-18T11:18:57.019Z] 5f5f8fa1d75e: Preparing [2022-04-18T11:18:57.019Z] 1b99f85494b8: Preparing [2022-04-18T11:18:57.019Z] b541d28bf3b4: Preparing [2022-04-18T11:18:57.019Z] b541d28bf3b4: Waiting [2022-04-18T11:18:57.019Z] ef1e3aaeaa79: Layer already exists [2022-04-18T11:18:57.019Z] 5f5f8fa1d75e: Layer already exists [2022-04-18T11:18:57.019Z] 67873791d867: Layer already exists [2022-04-18T11:18:57.019Z] 6c7d28387c1d: Layer already exists [2022-04-18T11:18:57.019Z] 1b99f85494b8: Layer already exists [2022-04-18T11:18:57.019Z] b541d28bf3b4: Layer already exists [2022-04-18T11:18:57.019Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:57.314Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:57.605Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-04-18T11:18:57.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-18T11:18:57.605Z] ef1e3aaeaa79: Preparing [2022-04-18T11:18:57.605Z] 6c7d28387c1d: Preparing [2022-04-18T11:18:57.605Z] 67873791d867: Preparing [2022-04-18T11:18:57.605Z] 5f5f8fa1d75e: Preparing [2022-04-18T11:18:57.605Z] 1b99f85494b8: Preparing [2022-04-18T11:18:57.605Z] b541d28bf3b4: Preparing [2022-04-18T11:18:57.605Z] b541d28bf3b4: Waiting [2022-04-18T11:18:57.605Z] 6c7d28387c1d: Layer already exists [2022-04-18T11:18:57.605Z] 1b99f85494b8: Layer already exists [2022-04-18T11:18:57.605Z] 67873791d867: Layer already exists [2022-04-18T11:18:57.605Z] 5f5f8fa1d75e: Layer already exists [2022-04-18T11:18:57.605Z] ef1e3aaeaa79: Layer already exists [2022-04-18T11:18:57.605Z] b541d28bf3b4: Layer already exists [2022-04-18T11:18:57.605Z] main: digest: sha256:1c828252abb09310a51c264f27d2a1c7e09b01d80bfe14d23582fccd34842ff7 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-18T11:18:57.647Z] ===================================================== [Pipeline] echo [2022-04-18T11:18:57.658Z] taggedImages: [2022-04-18T11:18:57.658Z] - nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:18:57.658Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-18T11:18:57.658Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.12 [2022-04-18T11:18:57.658Z] - nexus3.edgexfoundry.org:10004/device-virtual:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [2022-04-18T11:18:57.658Z] - 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-18T11:18:58.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T11:18:58.011Z] [2022-04-18T11:18:58.011Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:18:58.314Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T11:18:58.314Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-18T11:18:58.314Z] 5eb5b503b376: Pulling fs layer [2022-04-18T11:18:58.314Z] 5c69ac0246d0: Pulling fs layer [2022-04-18T11:18:58.314Z] ec43610c2a17: Pulling fs layer [2022-04-18T11:18:58.314Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-18T11:18:58.314Z] 33b1e0a273af: Pulling fs layer [2022-04-18T11:18:58.314Z] 5d3b04190fa2: Pulling fs layer [2022-04-18T11:18:58.314Z] 2f39f015ded8: Pulling fs layer [2022-04-18T11:18:58.314Z] 2f39f015ded8: Waiting [2022-04-18T11:18:58.314Z] 5d3b04190fa2: Waiting [2022-04-18T11:18:58.314Z] 3a2ae6a8a46f: Waiting [2022-04-18T11:18:58.314Z] 5c69ac0246d0: Verifying Checksum [2022-04-18T11:18:58.314Z] 5c69ac0246d0: Download complete [2022-04-18T11:18:58.314Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-18T11:18:58.314Z] 3a2ae6a8a46f: Download complete [2022-04-18T11:18:58.314Z] 33b1e0a273af: Verifying Checksum [2022-04-18T11:18:58.314Z] 33b1e0a273af: Download complete [2022-04-18T11:18:58.314Z] 5d3b04190fa2: Verifying Checksum [2022-04-18T11:18:58.314Z] ec43610c2a17: Verifying Checksum [2022-04-18T11:18:58.315Z] ec43610c2a17: Download complete [2022-04-18T11:18:58.574Z] 5eb5b503b376: Download complete [2022-04-18T11:18:59.142Z] 2f39f015ded8: Download complete [2022-04-18T11:18:59.711Z] 5eb5b503b376: Pull complete [2022-04-18T11:18:59.970Z] 5c69ac0246d0: Pull complete [2022-04-18T11:19:00.231Z] ec43610c2a17: Pull complete [2022-04-18T11:19:00.491Z] 3a2ae6a8a46f: Pull complete [2022-04-18T11:19:00.491Z] 33b1e0a273af: Pull complete [2022-04-18T11:19:00.750Z] 5d3b04190fa2: Pull complete [2022-04-18T11:19:04.943Z] 2f39f015ded8: Pull complete [2022-04-18T11:19:04.943Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-18T11:19:04.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T11:19:04.943Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-18T11:19:05.008Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:19:05.044Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-18T11:19:06.724Z] $ docker top 4f5c9ddc9499de0144630d03296cf1b684943cfc8cf41695cbba12f1b2e120f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:19:07.104Z] ---> job-cost.sh [2022-04-18T11:19:07.104Z] lf-activate-venv: SKIPPING [2022-04-18T11:19:07.104Z] INFO: No Stack... [2022-04-18T11:19:07.364Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-18T11:19:07.939Z] INFO: Archiving Costs [Pipeline] sh [2022-04-18T11:19:08.232Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-04-18T11:19:08.232Z] + cut -d, -f6 [Pipeline] lock [2022-04-18T11:19:08.247Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [2022-04-18T11:19:08.256Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] did not exist. Created. [2022-04-18T11:19:08.256Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-18T11:19:08.596Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-18T11:19:08.654Z] Stashed 1 file(s) [Pipeline] } [2022-04-18T11:19:08.661Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-18T11:19:08.685Z] $ docker stop --time=1 4f5c9ddc9499de0144630d03296cf1b684943cfc8cf41695cbba12f1b2e120f8 [2022-04-18T11:19:09.880Z] $ docker rm -f 4f5c9ddc9499de0144630d03296cf1b684943cfc8cf41695cbba12f1b2e120f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-18T11:19:18.141Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21224 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-04-18T11:19:18.153Z] Running in /w/workspace/device-virtual-go/28 [Pipeline] { [Pipeline] checkout [2022-04-18T11:19:18.464Z] The recommended git tool is: git [2022-04-18T11:19:23.586Z] using credential edgex-jenkins-ssh [2022-04-18T11:19:23.604Z] Cloning the remote Git repository [2022-04-18T11:19:23.661Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-18T11:19:23.740Z] > git init /w/workspace/device-virtual-go/28 # timeout=10 [2022-04-18T11:19:23.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-18T11:19:23.893Z] > git --version # timeout=10 [2022-04-18T11:19:23.942Z] > git --version # 'git version 2.25.1' [2022-04-18T11:19:23.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-18T11:19:24.063Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-18T11:19:26.039Z] Avoid second fetch [2022-04-18T11:19:26.040Z] Checking out Revision 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca (main) [2022-04-18T11:19:25.996Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-18T11:19:26.023Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-18T11:19:26.063Z] > git config core.sparsecheckout # timeout=10 [2022-04-18T11:19:26.080Z] > git checkout -f 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca # timeout=10 [2022-04-18T11:19:30.234Z] Commit message: "Merge pull request #277 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.28" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T11:19:31.193Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-18T11:19:31.193Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-18T11:19:31.193Z] Dload Upload Total Spent Left Speed [2022-04-18T11:19:31.193Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-04-18T11:19:31.712Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-18T11:19:32.059Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-18T11:19:32.059Z] + sudo tee /etc/docker/daemon.new [2022-04-18T11:19:32.059Z] { [2022-04-18T11:19:32.059Z] "registry-mirrors": [ [2022-04-18T11:19:32.059Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-18T11:19:32.059Z] ], [2022-04-18T11:19:32.059Z] "bip": "10.250.0.254/24", [2022-04-18T11:19:32.059Z] "hosts": [ [2022-04-18T11:19:32.059Z] "tcp://0.0.0.0:5555", [2022-04-18T11:19:32.059Z] "unix:///var/run/docker.sock" [2022-04-18T11:19:32.059Z] ], [2022-04-18T11:19:32.059Z] "mtu": 1458, [2022-04-18T11:19:32.059Z] "selinux-enabled": true, [2022-04-18T11:19:32.059Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-18T11:19:32.059Z] } [Pipeline] sh [2022-04-18T11:19:32.411Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-18T11:19:32.770Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T11:19:51.189Z] provisioning config files... [2022-04-18T11:19:51.214Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/28@tmp/config6544189532361938076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:19:51.573Z] ---> docker-login.sh [2022-04-18T11:19:51.573Z] nexus3.edgexfoundry.org:10001 [2022-04-18T11:19:52.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:19:52.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:19:52.459Z] Configure a credential helper to remove this warning. See [2022-04-18T11:19:52.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:19:52.459Z] [2022-04-18T11:19:52.459Z] Login Succeeded [2022-04-18T11:19:52.459Z] nexus3.edgexfoundry.org:10002 [2022-04-18T11:19:52.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:19:52.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:19:52.735Z] Configure a credential helper to remove this warning. See [2022-04-18T11:19:52.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:19:52.735Z] [2022-04-18T11:19:52.735Z] Login Succeeded [2022-04-18T11:19:53.010Z] nexus3.edgexfoundry.org:10003 [2022-04-18T11:19:53.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:19:53.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:19:53.286Z] Configure a credential helper to remove this warning. See [2022-04-18T11:19:53.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:19:53.286Z] [2022-04-18T11:19:53.286Z] Login Succeeded [2022-04-18T11:19:53.286Z] nexus3.edgexfoundry.org:10004 [2022-04-18T11:19:53.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:19:53.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:19:53.840Z] Configure a credential helper to remove this warning. See [2022-04-18T11:19:53.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:19:53.840Z] [2022-04-18T11:19:53.840Z] Login Succeeded [2022-04-18T11:19:53.840Z] docker.io [2022-04-18T11:19:54.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:19:54.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:19:54.713Z] Configure a credential helper to remove this warning. See [2022-04-18T11:19:54.713Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:19:54.713Z] [2022-04-18T11:19:54.713Z] Login Succeeded [2022-04-18T11:19:54.713Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T11:19:54.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-18T11:19:55.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-18T11:19:55.179Z] ========================================================= [2022-04-18T11:19:55.179Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-18T11:19:55.179Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:19:55.553Z] + 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-18T11:19:56.158Z] Sending build context to Docker daemon 11.6MB [2022-04-18T11:19:56.158Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T11:19:56.158Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-18T11:19:56.158Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-18T11:19:56.158Z] 9b3977197b4f: Pulling fs layer [2022-04-18T11:19:56.158Z] 1a89e8eeedd5: Pulling fs layer [2022-04-18T11:19:56.158Z] 94645a83ff95: Pulling fs layer [2022-04-18T11:19:56.158Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-18T11:19:56.158Z] 0c92f367c5e7: Pulling fs layer [2022-04-18T11:19:56.158Z] f7c0051592d6: Pulling fs layer [2022-04-18T11:19:56.158Z] a227ed2f7395: Pulling fs layer [2022-04-18T11:19:56.158Z] 7b1c46037f91: Pulling fs layer [2022-04-18T11:19:56.158Z] 3f3a8bcf1eab: Waiting [2022-04-18T11:19:56.158Z] f7c0051592d6: Waiting [2022-04-18T11:19:56.158Z] a227ed2f7395: Waiting [2022-04-18T11:19:56.158Z] 7b1c46037f91: Waiting [2022-04-18T11:19:56.158Z] 94645a83ff95: Verifying Checksum [2022-04-18T11:19:56.158Z] 94645a83ff95: Download complete [2022-04-18T11:19:56.158Z] 1a89e8eeedd5: Download complete [2022-04-18T11:19:56.158Z] 0c92f367c5e7: Verifying Checksum [2022-04-18T11:19:56.158Z] 0c92f367c5e7: Download complete [2022-04-18T11:19:56.158Z] f7c0051592d6: Verifying Checksum [2022-04-18T11:19:56.158Z] f7c0051592d6: Download complete [2022-04-18T11:19:56.159Z] 9b3977197b4f: Verifying Checksum [2022-04-18T11:19:56.159Z] 9b3977197b4f: Download complete [2022-04-18T11:19:56.159Z] a227ed2f7395: Verifying Checksum [2022-04-18T11:19:56.159Z] a227ed2f7395: Download complete [2022-04-18T11:19:57.157Z] 9b3977197b4f: Pull complete [2022-04-18T11:19:57.761Z] 1a89e8eeedd5: Pull complete [2022-04-18T11:19:58.039Z] 94645a83ff95: Pull complete [2022-04-18T11:19:58.314Z] 7b1c46037f91: Verifying Checksum [2022-04-18T11:19:58.314Z] 7b1c46037f91: Download complete [2022-04-18T11:19:58.912Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-18T11:19:58.912Z] 3f3a8bcf1eab: Download complete [2022-04-18T11:20:11.356Z] 3f3a8bcf1eab: Pull complete [2022-04-18T11:20:11.356Z] 0c92f367c5e7: Pull complete [2022-04-18T11:20:11.356Z] f7c0051592d6: Pull complete [2022-04-18T11:20:11.356Z] a227ed2f7395: Pull complete [2022-04-18T11:20:18.094Z] 7b1c46037f91: Pull complete [2022-04-18T11:20:18.094Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-18T11:20:18.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-18T11:20:18.094Z] ---> f79e39bc4007 [2022-04-18T11:20:18.094Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-18T11:20:19.072Z] ---> Running in 997520798a91 [2022-04-18T11:20:19.072Z] Removing intermediate container 997520798a91 [2022-04-18T11:20:19.072Z] ---> 083b625923f9 [2022-04-18T11:20:19.072Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-18T11:20:19.358Z] ---> Running in a95f14af5b70 [2022-04-18T11:20:19.635Z] Removing intermediate container a95f14af5b70 [2022-04-18T11:20:19.635Z] ---> 1aefe69f05d8 [2022-04-18T11:20:19.635Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-18T11:20:19.635Z] ---> Running in 2f396a1d3d0b [2022-04-18T11:20:20.235Z] Removing intermediate container 2f396a1d3d0b [2022-04-18T11:20:20.235Z] ---> 3ee9c5429f80 [2022-04-18T11:20:20.235Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T11:20:20.235Z] ---> Running in d736532bd6a3 [2022-04-18T11:20:22.209Z] Removing intermediate container d736532bd6a3 [2022-04-18T11:20:22.209Z] ---> a974a690ed3a [2022-04-18T11:20:22.209Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-18T11:20:22.209Z] ---> Running in 15766f6c8433 [2022-04-18T11:20:22.803Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-18T11:20:23.778Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-18T11:20:24.755Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-18T11:20:24.755Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-18T11:20:24.755Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-18T11:20:25.029Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-18T11:20:25.029Z] Executing busybox-1.34.1-r3.trigger [2022-04-18T11:20:25.029Z] OK: 224 MiB in 56 packages [2022-04-18T11:20:26.470Z] Removing intermediate container 15766f6c8433 [2022-04-18T11:20:26.470Z] ---> 8100292fd1d3 [2022-04-18T11:20:26.470Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-18T11:20:26.743Z] ---> 1eb0d4d0dcba [2022-04-18T11:20:26.743Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T11:20:26.743Z] ---> Running in 8d55daefd52f [2022-04-18T11:21:13.749Z] Removing intermediate container 8d55daefd52f [2022-04-18T11:21:13.749Z] ---> 36f2029fbbec [2022-04-18T11:21:13.749Z] Step 10/12 : COPY . . [2022-04-18T11:21:13.749Z] ---> 0fc33278d204 [2022-04-18T11:21:13.749Z] Step 11/12 : ARG MAKE='make build' [2022-04-18T11:21:13.749Z] ---> Running in 31c7c42d78a9 [2022-04-18T11:21:13.749Z] Removing intermediate container 31c7c42d78a9 [2022-04-18T11:21:13.749Z] ---> f04cd823ef90 [2022-04-18T11:21:13.749Z] Step 12/12 : RUN $MAKE [2022-04-18T11:21:13.749Z] ---> Running in 0e3d3114d416 [2022-04-18T11:21:13.749Z] noop [2022-04-18T11:21:13.749Z] Removing intermediate container 0e3d3114d416 [2022-04-18T11:21:13.749Z] ---> 93bf1a99be67 [2022-04-18T11:21:13.749Z] Successfully built 93bf1a99be67 [2022-04-18T11:21:13.749Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:21:14.115Z] + docker inspect -f . ci-base-image-arm64 [2022-04-18T11:21:14.115Z] . [Pipeline] withDockerContainer [2022-04-18T11:21:14.360Z] prd-ubuntu20.04-docker-arm64-4c-16g-21224 does not seem to be running inside a container [2022-04-18T11:21:14.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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-18T11:21:15.711Z] $ docker top 82baf13b2f42bc71c43191e5765998dbd75c9eeac7c6b07e067d960e607238ea -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T11:21:16.639Z] + go version [2022-04-18T11:21:16.639Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-18T11:21:16.666Z] $ docker stop --time=1 82baf13b2f42bc71c43191e5765998dbd75c9eeac7c6b07e067d960e607238ea [2022-04-18T11:21:18.310Z] $ docker rm -f 82baf13b2f42bc71c43191e5765998dbd75c9eeac7c6b07e067d960e607238ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:21:18.948Z] + docker inspect -f . ci-base-image-arm64 [2022-04-18T11:21:18.948Z] . [Pipeline] withDockerContainer [2022-04-18T11:21:19.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-21224 does not seem to be running inside a container [2022-04-18T11:21:19.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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-18T11:21:20.543Z] $ docker top d5c302a47add3cec454bff6ad203dafcbcfecdd560af3e3ca8afd92fae1b6702 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-18T11:21:21.480Z] + make test [2022-04-18T11:21:21.480Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-18T11:21:22.919Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-18T11:22:44.737Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-18T11:22:44.737Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements [2022-04-18T11:22:44.737Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-18T11:22:44.737Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-18T11:23:03.116Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-18T11:23:03.116Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-18T11:23:03.116Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-18T11:23:05.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-18T11:23:05.134Z] $ docker stop --time=1 d5c302a47add3cec454bff6ad203dafcbcfecdd560af3e3ca8afd92fae1b6702 [2022-04-18T11:23:06.884Z] $ docker rm -f d5c302a47add3cec454bff6ad203dafcbcfecdd560af3e3ca8afd92fae1b6702 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T11:23:07.830Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-18T11:23:07.861Z] Warning: overwriting stash ‘coverage-report’ [2022-04-18T11:23:08.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T11:23:08.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-18T11:23:09.072Z] + ls -al . [2022-04-18T11:23:09.072Z] total 200 [2022-04-18T11:23:09.072Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 18 11:23 . [2022-04-18T11:23:09.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:19 .. [2022-04-18T11:23:09.072Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:19 .git [2022-04-18T11:23:09.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:19 .github [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 18 11:19 .gitignore [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:19 .golangci.yml [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 18 11:19 Attribution.txt [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 18 11:19 CHANGELOG.md [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 18 11:19 Dockerfile [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:19 GOVERNANCE.md [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 18 11:19 Jenkinsfile [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:19 LICENSE [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 18 11:19 Makefile [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 18 11:19 OWNERS.md [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 18 11:19 README.md [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 11:17 VERSION [2022-04-18T11:23:09.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:19 bin [2022-04-18T11:23:09.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:19 cmd [2022-04-18T11:23:09.072Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 18 11:22 coverage.out [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 3093 Apr 18 11:19 go.mod [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 53999 Apr 18 11:19 go.sum [2022-04-18T11:23:09.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:19 internal [2022-04-18T11:23:09.072Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 18 11:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:23:09.419Z] + 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=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca --label arch=arm64 --label version=2.2.0-dev.12 . [2022-04-18T11:23:09.692Z] Sending build context to Docker daemon 11.64MB [2022-04-18T11:23:09.965Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T11:23:09.965Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-18T11:23:09.965Z] ---> 93bf1a99be67 [2022-04-18T11:23:09.965Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-18T11:23:09.965Z] ---> Running in 38cb5d9ffd91 [2022-04-18T11:23:10.240Z] Removing intermediate container 38cb5d9ffd91 [2022-04-18T11:23:10.240Z] ---> 2dd8a6891463 [2022-04-18T11:23:10.240Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-18T11:23:10.240Z] ---> Running in 8137e50471a7 [2022-04-18T11:23:10.836Z] Removing intermediate container 8137e50471a7 [2022-04-18T11:23:10.836Z] ---> 10fd520ab6f5 [2022-04-18T11:23:10.836Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-18T11:23:10.836Z] ---> Running in c1927929ea0e [2022-04-18T11:23:11.113Z] Removing intermediate container c1927929ea0e [2022-04-18T11:23:11.113Z] ---> 28e0ef0630bc [2022-04-18T11:23:11.113Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T11:23:11.113Z] ---> Running in 64b1868786a3 [2022-04-18T11:23:13.102Z] Removing intermediate container 64b1868786a3 [2022-04-18T11:23:13.102Z] ---> dd247e1f6448 [2022-04-18T11:23:13.102Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-18T11:23:13.102Z] ---> Running in 8343add634c0 [2022-04-18T11:23:14.081Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-18T11:23:14.672Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-18T11:23:15.648Z] OK: 224 MiB in 56 packages [2022-04-18T11:23:16.245Z] Removing intermediate container 8343add634c0 [2022-04-18T11:23:16.245Z] ---> 063bd16207e6 [2022-04-18T11:23:16.245Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-18T11:23:16.850Z] ---> 177bfa1bf58a [2022-04-18T11:23:16.850Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T11:23:17.127Z] ---> Running in 4ab2c7a61fc7 [2022-04-18T11:23:19.107Z] Removing intermediate container 4ab2c7a61fc7 [2022-04-18T11:23:19.107Z] ---> 3b193ad4f695 [2022-04-18T11:23:19.107Z] Step 10/26 : COPY . . [2022-04-18T11:23:20.083Z] ---> dd4d1fccc556 [2022-04-18T11:23:20.083Z] Step 11/26 : ARG MAKE='make build' [2022-04-18T11:23:20.083Z] ---> Running in f3986243c96d [2022-04-18T11:23:20.359Z] Removing intermediate container f3986243c96d [2022-04-18T11:23:20.359Z] ---> cfea56cfe504 [2022-04-18T11:23:20.359Z] Step 12/26 : RUN $MAKE [2022-04-18T11:23:20.359Z] ---> Running in 6b525ebbfd28 [2022-04-18T11:23:21.931Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-18T11:25:28.849Z] Removing intermediate container 6b525ebbfd28 [2022-04-18T11:25:28.849Z] ---> c3887c2897a8 [2022-04-18T11:25:28.849Z] Step 13/26 : FROM alpine:3.14 [2022-04-18T11:25:28.849Z] 3.14: Pulling from library/alpine [2022-04-18T11:25:28.849Z] 455c02918c45: Pulling fs layer [2022-04-18T11:25:28.849Z] 455c02918c45: Verifying Checksum [2022-04-18T11:25:28.849Z] 455c02918c45: Download complete [2022-04-18T11:25:28.849Z] 455c02918c45: Pull complete [2022-04-18T11:25:28.849Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-18T11:25:28.849Z] Status: Downloaded newer image for alpine:3.14 [2022-04-18T11:25:28.849Z] ---> ac73e934f311 [2022-04-18T11:25:28.849Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-18T11:25:28.849Z] ---> Running in b86b3d976b67 [2022-04-18T11:25:28.849Z] Removing intermediate container b86b3d976b67 [2022-04-18T11:25:28.849Z] ---> fb21c16dbcb2 [2022-04-18T11:25:28.849Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T11:25:28.849Z] ---> Running in 333d7977f16f [2022-04-18T11:25:28.849Z] Removing intermediate container 333d7977f16f [2022-04-18T11:25:28.849Z] ---> adbfc16ef989 [2022-04-18T11:25:28.849Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-18T11:25:28.849Z] ---> Running in 9807751fec78 [2022-04-18T11:25:28.849Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-18T11:25:28.850Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-18T11:25:28.850Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-18T11:25:28.850Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-18T11:25:28.850Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-18T11:25:28.850Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-18T11:25:28.850Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-18T11:25:28.850Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-18T11:25:28.850Z] Executing busybox-1.33.1-r7.trigger [2022-04-18T11:25:28.850Z] OK: 8 MiB in 20 packages [2022-04-18T11:25:28.850Z] Removing intermediate container 9807751fec78 [2022-04-18T11:25:28.850Z] ---> 0cb6eed7927a [2022-04-18T11:25:28.850Z] Step 17/26 : WORKDIR / [2022-04-18T11:25:28.850Z] ---> Running in de3fbc3f803c [2022-04-18T11:25:28.850Z] Removing intermediate container de3fbc3f803c [2022-04-18T11:25:28.850Z] ---> 152b29f257e3 [2022-04-18T11:25:28.850Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-18T11:25:28.850Z] ---> 39e970475932 [2022-04-18T11:25:28.850Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-18T11:25:28.850Z] ---> a5c5c4f70f0f [2022-04-18T11:25:28.850Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-18T11:25:28.850Z] ---> 753cb3f939f4 [2022-04-18T11:25:28.850Z] Step 21/26 : EXPOSE 59900 [2022-04-18T11:25:28.850Z] ---> Running in 40316e525928 [2022-04-18T11:25:28.850Z] Removing intermediate container 40316e525928 [2022-04-18T11:25:28.850Z] ---> 9320e4c59aa4 [2022-04-18T11:25:28.850Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-18T11:25:28.850Z] ---> Running in 2f364df630b8 [2022-04-18T11:25:28.850Z] Removing intermediate container 2f364df630b8 [2022-04-18T11:25:28.850Z] ---> 885e5df57998 [2022-04-18T11:25:28.850Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-18T11:25:28.850Z] ---> Running in a47d19c37bde [2022-04-18T11:25:28.850Z] Removing intermediate container a47d19c37bde [2022-04-18T11:25:28.850Z] ---> 8f8d0b8bcb12 [2022-04-18T11:25:28.850Z] Step 24/26 : LABEL arch=arm64 [2022-04-18T11:25:28.850Z] ---> Running in 56e0e97d6d76 [2022-04-18T11:25:28.850Z] Removing intermediate container 56e0e97d6d76 [2022-04-18T11:25:28.850Z] ---> 77716a7d9f1c [2022-04-18T11:25:28.850Z] Step 25/26 : LABEL git_sha=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:25:28.850Z] ---> Running in 0bcddaa5d429 [2022-04-18T11:25:28.850Z] Removing intermediate container 0bcddaa5d429 [2022-04-18T11:25:28.850Z] ---> a7d3280b408f [2022-04-18T11:25:28.850Z] Step 26/26 : LABEL version=2.2.0-dev.12 [2022-04-18T11:25:28.850Z] ---> Running in f0cafa67c298 [2022-04-18T11:25:28.850Z] Removing intermediate container f0cafa67c298 [2022-04-18T11:25:28.850Z] ---> f6233cfa471d [2022-04-18T11:25:28.850Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-18T11:25:28.850Z] Successfully built f6233cfa471d [2022-04-18T11:25:28.850Z] 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-18T11:25:28.962Z] provisioning config files... [2022-04-18T11:25:28.979Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/28@tmp/config7708832396847565086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:25:29.339Z] ---> docker-login.sh [2022-04-18T11:25:29.340Z] nexus3.edgexfoundry.org:10001 [2022-04-18T11:25:29.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:25:29.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:25:29.614Z] Configure a credential helper to remove this warning. See [2022-04-18T11:25:29.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:25:29.614Z] [2022-04-18T11:25:29.614Z] Login Succeeded [2022-04-18T11:25:29.614Z] nexus3.edgexfoundry.org:10002 [2022-04-18T11:25:30.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:25:30.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:25:30.210Z] Configure a credential helper to remove this warning. See [2022-04-18T11:25:30.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:25:30.210Z] [2022-04-18T11:25:30.210Z] Login Succeeded [2022-04-18T11:25:30.210Z] nexus3.edgexfoundry.org:10003 [2022-04-18T11:25:30.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:25:30.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:25:30.758Z] Configure a credential helper to remove this warning. See [2022-04-18T11:25:30.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:25:30.758Z] [2022-04-18T11:25:30.758Z] Login Succeeded [2022-04-18T11:25:30.758Z] nexus3.edgexfoundry.org:10004 [2022-04-18T11:25:31.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:25:31.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:25:31.305Z] Configure a credential helper to remove this warning. See [2022-04-18T11:25:31.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:25:31.305Z] [2022-04-18T11:25:31.305Z] Login Succeeded [2022-04-18T11:25:31.305Z] docker.io [2022-04-18T11:25:31.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T11:25:31.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T11:25:31.852Z] Configure a credential helper to remove this warning. See [2022-04-18T11:25:31.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T11:25:31.852Z] [2022-04-18T11:25:31.852Z] Login Succeeded [2022-04-18T11:25:31.852Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T11:25:31.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-18T11:25:31.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-18T11:25:31.927Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-04-18T11:25:31.927Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:25:31.927Z] latest [2022-04-18T11:25:31.927Z] 2.2.0-dev.12 [2022-04-18T11:25:31.927Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [2022-04-18T11:25:31.927Z] main [2022-04-18T11:25:31.927Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:32.286Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:32.632Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:25:32.632Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-18T11:25:32.632Z] e26464949c32: Preparing [2022-04-18T11:25:32.632Z] 38e2d7b44a99: Preparing [2022-04-18T11:25:32.632Z] a633626ef47d: Preparing [2022-04-18T11:25:32.632Z] d62fbfaa7ded: Preparing [2022-04-18T11:25:32.632Z] 5e561ce52ade: Preparing [2022-04-18T11:25:32.632Z] f73e7dbfee58: Preparing [2022-04-18T11:25:32.632Z] f73e7dbfee58: Waiting [2022-04-18T11:25:32.907Z] 5e561ce52ade: Pushed [2022-04-18T11:25:32.907Z] a633626ef47d: Pushed [2022-04-18T11:25:32.907Z] 38e2d7b44a99: Pushed [2022-04-18T11:25:32.907Z] f73e7dbfee58: Layer already exists [2022-04-18T11:25:33.506Z] d62fbfaa7ded: Pushed [2022-04-18T11:25:38.899Z] e26464949c32: Pushed [2022-04-18T11:25:38.899Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:39.517Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:39.859Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-18T11:25:39.859Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-18T11:25:39.859Z] e26464949c32: Preparing [2022-04-18T11:25:39.860Z] 38e2d7b44a99: Preparing [2022-04-18T11:25:39.860Z] a633626ef47d: Preparing [2022-04-18T11:25:39.860Z] d62fbfaa7ded: Preparing [2022-04-18T11:25:39.860Z] 5e561ce52ade: Preparing [2022-04-18T11:25:39.860Z] f73e7dbfee58: Preparing [2022-04-18T11:25:39.860Z] f73e7dbfee58: Waiting [2022-04-18T11:25:39.860Z] d62fbfaa7ded: Layer already exists [2022-04-18T11:25:39.860Z] a633626ef47d: Layer already exists [2022-04-18T11:25:39.860Z] 5e561ce52ade: Layer already exists [2022-04-18T11:25:39.860Z] 38e2d7b44a99: Layer already exists [2022-04-18T11:25:39.860Z] e26464949c32: Layer already exists [2022-04-18T11:25:39.860Z] f73e7dbfee58: Layer already exists [2022-04-18T11:25:40.133Z] latest: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:40.479Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:40.816Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.12 [2022-04-18T11:25:40.816Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-18T11:25:40.816Z] e26464949c32: Preparing [2022-04-18T11:25:40.816Z] 38e2d7b44a99: Preparing [2022-04-18T11:25:40.816Z] a633626ef47d: Preparing [2022-04-18T11:25:40.816Z] d62fbfaa7ded: Preparing [2022-04-18T11:25:40.816Z] 5e561ce52ade: Preparing [2022-04-18T11:25:40.816Z] f73e7dbfee58: Preparing [2022-04-18T11:25:40.816Z] f73e7dbfee58: Waiting [2022-04-18T11:25:40.816Z] 38e2d7b44a99: Layer already exists [2022-04-18T11:25:40.816Z] 5e561ce52ade: Layer already exists [2022-04-18T11:25:40.816Z] d62fbfaa7ded: Layer already exists [2022-04-18T11:25:40.816Z] e26464949c32: Layer already exists [2022-04-18T11:25:40.816Z] a633626ef47d: Layer already exists [2022-04-18T11:25:40.816Z] f73e7dbfee58: Layer already exists [2022-04-18T11:25:41.089Z] 2.2.0-dev.12: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:41.437Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:41.773Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [2022-04-18T11:25:41.773Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-18T11:25:41.773Z] e26464949c32: Preparing [2022-04-18T11:25:41.773Z] 38e2d7b44a99: Preparing [2022-04-18T11:25:41.773Z] a633626ef47d: Preparing [2022-04-18T11:25:41.773Z] d62fbfaa7ded: Preparing [2022-04-18T11:25:41.773Z] 5e561ce52ade: Preparing [2022-04-18T11:25:41.773Z] f73e7dbfee58: Preparing [2022-04-18T11:25:41.773Z] f73e7dbfee58: Waiting [2022-04-18T11:25:41.773Z] 38e2d7b44a99: Layer already exists [2022-04-18T11:25:41.773Z] e26464949c32: Layer already exists [2022-04-18T11:25:41.773Z] a633626ef47d: Layer already exists [2022-04-18T11:25:41.773Z] 5e561ce52ade: Layer already exists [2022-04-18T11:25:41.773Z] d62fbfaa7ded: Layer already exists [2022-04-18T11:25:41.773Z] f73e7dbfee58: Layer already exists [2022-04-18T11:25:42.043Z] 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:42.386Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:42.724Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-04-18T11:25:42.724Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-18T11:25:42.724Z] e26464949c32: Preparing [2022-04-18T11:25:42.724Z] 38e2d7b44a99: Preparing [2022-04-18T11:25:42.724Z] a633626ef47d: Preparing [2022-04-18T11:25:42.724Z] d62fbfaa7ded: Preparing [2022-04-18T11:25:42.724Z] 5e561ce52ade: Preparing [2022-04-18T11:25:42.724Z] f73e7dbfee58: Preparing [2022-04-18T11:25:42.724Z] f73e7dbfee58: Waiting [2022-04-18T11:25:42.724Z] 38e2d7b44a99: Layer already exists [2022-04-18T11:25:42.724Z] e26464949c32: Layer already exists [2022-04-18T11:25:42.724Z] a633626ef47d: Layer already exists [2022-04-18T11:25:42.724Z] 5e561ce52ade: Layer already exists [2022-04-18T11:25:42.724Z] d62fbfaa7ded: Layer already exists [2022-04-18T11:25:42.724Z] f73e7dbfee58: Layer already exists [2022-04-18T11:25:42.996Z] main: digest: sha256:dc7ddb1e3ac35a12f7b4cedf7233dd139dd228495d9abf706b040e1fb9fbb265 size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-18T11:25:43.047Z] ===================================================== [Pipeline] echo [2022-04-18T11:25:43.064Z] taggedImages: [2022-04-18T11:25:43.064Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [2022-04-18T11:25:43.064Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-18T11:25:43.064Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.12 [2022-04-18T11:25:43.064Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:55fbfbcd5b5a742e8ebac6649b1ed4185d266fca-2.2.0-dev.12 [2022-04-18T11:25:43.064Z] - 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-18T11:25:43.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T11:25:43.447Z] [2022-04-18T11:25:43.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:25:43.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T11:25:44.075Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-18T11:25:44.075Z] 8998bd30e6a1: Pulling fs layer [2022-04-18T11:25:44.075Z] 04944245beec: Pulling fs layer [2022-04-18T11:25:44.075Z] 699f458cf7ca: Pulling fs layer [2022-04-18T11:25:44.075Z] 765212b225bb: Pulling fs layer [2022-04-18T11:25:44.075Z] f23df028b6ca: Pulling fs layer [2022-04-18T11:25:44.075Z] d65c8cfc05b1: Pulling fs layer [2022-04-18T11:25:44.075Z] 2437ff75d9bd: Pulling fs layer [2022-04-18T11:25:44.075Z] 765212b225bb: Waiting [2022-04-18T11:25:44.075Z] f23df028b6ca: Waiting [2022-04-18T11:25:44.075Z] d65c8cfc05b1: Waiting [2022-04-18T11:25:44.075Z] 2437ff75d9bd: Waiting [2022-04-18T11:25:44.075Z] 04944245beec: Verifying Checksum [2022-04-18T11:25:44.075Z] 04944245beec: Download complete [2022-04-18T11:25:44.075Z] 765212b225bb: Verifying Checksum [2022-04-18T11:25:44.075Z] 765212b225bb: Download complete [2022-04-18T11:25:44.075Z] f23df028b6ca: Verifying Checksum [2022-04-18T11:25:44.075Z] f23df028b6ca: Download complete [2022-04-18T11:25:44.075Z] d65c8cfc05b1: Verifying Checksum [2022-04-18T11:25:44.075Z] d65c8cfc05b1: Download complete [2022-04-18T11:25:44.351Z] 699f458cf7ca: Download complete [2022-04-18T11:25:44.628Z] 8998bd30e6a1: Verifying Checksum [2022-04-18T11:25:44.628Z] 8998bd30e6a1: Download complete [2022-04-18T11:25:46.608Z] 2437ff75d9bd: Verifying Checksum [2022-04-18T11:25:46.608Z] 2437ff75d9bd: Download complete [2022-04-18T11:25:49.230Z] 8998bd30e6a1: Pull complete [2022-04-18T11:25:49.504Z] 04944245beec: Pull complete [2022-04-18T11:25:50.949Z] 699f458cf7ca: Pull complete [2022-04-18T11:25:50.949Z] 765212b225bb: Pull complete [2022-04-18T11:25:51.931Z] f23df028b6ca: Pull complete [2022-04-18T11:25:52.206Z] d65c8cfc05b1: Pull complete [2022-04-18T11:26:07.293Z] 2437ff75d9bd: Pull complete [2022-04-18T11:26:07.293Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-18T11:26:07.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T11:26:07.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-18T11:26:07.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-21224 does not seem to be running inside a container [2022-04-18T11:26:07.596Z] $ 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/28 -v /w/workspace/device-virtual-go/28:/w/workspace/device-virtual-go/28:rw,z -v /w/workspace/device-virtual-go/28@tmp:/w/workspace/device-virtual-go/28@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-18T11:26:10.023Z] $ docker top cf44cbe8381d72d11f8fc0cff8b1b1d284681406910f9e2502a8e9789c5a366e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:26:10.929Z] ---> job-cost.sh [2022-04-18T11:26:10.929Z] lf-activate-venv: SKIPPING [2022-04-18T11:26:10.929Z] INFO: No Stack... [2022-04-18T11:26:11.522Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-18T11:26:12.519Z] INFO: Archiving Costs [Pipeline] sh [2022-04-18T11:26:13.249Z] + cat /w/workspace/device-virtual-go/28/archives/cost.csv [2022-04-18T11:26:13.249Z] + cut -d, -f6 [Pipeline] lock [2022-04-18T11:26:13.333Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [2022-04-18T11:26:13.342Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] did not exist. Created. [2022-04-18T11:26:13.342Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-18T11:26:14.342Z] /w/workspace/device-virtual-go/28@tmp/durable-f3fefcbe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-18T11:26:15.022Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-18T11:26:15.047Z] Warning: overwriting stash ‘stack-cost’ [2022-04-18T11:26:15.086Z] Stashed 1 file(s) [Pipeline] } [2022-04-18T11:26:15.092Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-18T11:26:15.105Z] $ docker stop --time=1 cf44cbe8381d72d11f8fc0cff8b1b1d284681406910f9e2502a8e9789c5a366e [2022-04-18T11:26:16.588Z] $ docker rm -f cf44cbe8381d72d11f8fc0cff8b1b1d284681406910f9e2502a8e9789c5a366e [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-18T11:26:17.075Z] provisioning config files... [2022-04-18T11:26:17.086Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1783383884528328810tmp [Pipeline] { [Pipeline] sh [2022-04-18T11:26:17.381Z] + set +x [2022-04-18T11:26:17.381Z] + curl -s https://codecov.io/bash [2022-04-18T11:26:17.381Z] + bash -s -- [2022-04-18T11:26:17.381Z] [2022-04-18T11:26:17.381Z] _____ _ [2022-04-18T11:26:17.381Z] / ____| | | [2022-04-18T11:26:17.381Z] | | ___ __| | ___ ___ _____ __ [2022-04-18T11:26:17.381Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-18T11:26:17.381Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-18T11:26:17.381Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-18T11:26:17.381Z] Bash-1.0.6 [2022-04-18T11:26:17.381Z] [2022-04-18T11:26:17.381Z] [2022-04-18T11:26:17.381Z] ==> git version 2.25.1 found [2022-04-18T11:26:17.381Z] ==> 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-18T11:26:17.381Z] Release-Date: 2020-01-08 [2022-04-18T11:26:17.381Z] 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-18T11:26:17.381Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-18T11:26:17.381Z] ==> Jenkins CI detected. [2022-04-18T11:26:17.381Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-04-18T11:26:17.381Z] project root: . [2022-04-18T11:26:17.381Z] --> token set from env [2022-04-18T11:26:17.381Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-18T11:26:17.381Z] ==> Running gcov in . (disable via -X gcov) [2022-04-18T11:26:17.381Z] ==> Python coveragepy not found [2022-04-18T11:26:17.381Z] ==> Searching for coverage reports in: [2022-04-18T11:26:17.381Z] + . [2022-04-18T11:26:17.381Z] -> Found 1 reports [2022-04-18T11:26:17.381Z] ==> Detecting git/mercurial file structure [2022-04-18T11:26:17.381Z] ==> Reading reports [2022-04-18T11:26:17.381Z] + ./coverage.out bytes=44128 [2022-04-18T11:26:17.381Z] ==> Appending adjustments [2022-04-18T11:26:17.381Z] https://docs.codecov.io/docs/fixing-reports [2022-04-18T11:26:17.642Z] + Found adjustments [2022-04-18T11:26:17.642Z] ==> Gzipping contents [2022-04-18T11:26:17.642Z] 8.0K /tmp/codecov.JnDmo4.gz [2022-04-18T11:26:17.642Z] ==> Uploading reports [2022-04-18T11:26:17.642Z] url: https://codecov.io [2022-04-18T11:26:17.642Z] query: branch=main&commit=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-18T11:26:17.642Z] -> Pinging Codecov [2022-04-18T11:26:17.642Z] 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=55fbfbcd5b5a742e8ebac6649b1ed4185d266fca&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-18T11:26:17.902Z] -> Uploading to [2022-04-18T11:26:17.902Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-18/5E52B4B073DB2E39498172D8E973AA87/55fbfbcd5b5a742e8ebac6649b1ed4185d266fca/d71e9b9a-e9a9-4a45-ae83-a14ce90bf4b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T112617Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d98019c4752f3293b295559c7e27a7dcf75e4b4cda5d7fe88b3f75e99e317820 [2022-04-18T11:26:17.902Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-18T11:26:17.902Z] Dload Upload Total Spent Left Speed [2022-04-18T11:26:18.163Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5327 0 0 100 5327 0 23160 --:--:-- --:--:-- --:--:-- 23060 100 5327 0 0 100 5327 0 21055 --:--:-- --:--:-- --:--:-- 20972 [2022-04-18T11:26:18.163Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] } [2022-04-18T11:26:18.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-18T11:26:18.432Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-18T11:26:18.441Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:26:18.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-18T11:26:18.738Z] [2022-04-18T11:26:18.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:26:19.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-18T11:26:19.038Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-18T11:26:19.038Z] 188c0c94c7c5: Pulling fs layer [2022-04-18T11:26:19.038Z] 0ef7d3d256c8: Pulling fs layer [2022-04-18T11:26:19.038Z] de9db76c5a1d: Pulling fs layer [2022-04-18T11:26:19.038Z] 0eba1c9be4d2: Pulling fs layer [2022-04-18T11:26:19.038Z] 0d57e429df01: Pulling fs layer [2022-04-18T11:26:19.038Z] 4e4be7b47b0d: Pulling fs layer [2022-04-18T11:26:19.038Z] e1f770b5df2f: Pulling fs layer [2022-04-18T11:26:19.038Z] 85a0685a4137: Pulling fs layer [2022-04-18T11:26:19.038Z] 4e4be7b47b0d: Waiting [2022-04-18T11:26:19.038Z] e1f770b5df2f: Waiting [2022-04-18T11:26:19.038Z] 85a0685a4137: Waiting [2022-04-18T11:26:19.038Z] 0eba1c9be4d2: Waiting [2022-04-18T11:26:19.038Z] 0d57e429df01: Waiting [2022-04-18T11:26:19.038Z] de9db76c5a1d: Verifying Checksum [2022-04-18T11:26:19.038Z] de9db76c5a1d: Download complete [2022-04-18T11:26:19.038Z] 0ef7d3d256c8: Verifying Checksum [2022-04-18T11:26:19.038Z] 0ef7d3d256c8: Download complete [2022-04-18T11:26:19.038Z] 0d57e429df01: Verifying Checksum [2022-04-18T11:26:19.038Z] 0d57e429df01: Download complete [2022-04-18T11:26:19.038Z] 4e4be7b47b0d: Download complete [2022-04-18T11:26:19.038Z] 188c0c94c7c5: Verifying Checksum [2022-04-18T11:26:19.301Z] 188c0c94c7c5: Pull complete [2022-04-18T11:26:19.301Z] e1f770b5df2f: Verifying Checksum [2022-04-18T11:26:19.301Z] e1f770b5df2f: Download complete [2022-04-18T11:26:19.301Z] 0ef7d3d256c8: Pull complete [2022-04-18T11:26:19.562Z] de9db76c5a1d: Pull complete [2022-04-18T11:26:19.824Z] 0eba1c9be4d2: Verifying Checksum [2022-04-18T11:26:19.824Z] 0eba1c9be4d2: Download complete [2022-04-18T11:26:20.083Z] 85a0685a4137: Verifying Checksum [2022-04-18T11:26:20.083Z] 85a0685a4137: Download complete [2022-04-18T11:26:23.377Z] 0eba1c9be4d2: Pull complete [2022-04-18T11:26:23.377Z] 0d57e429df01: Pull complete [2022-04-18T11:26:23.377Z] 4e4be7b47b0d: Pull complete [2022-04-18T11:26:23.636Z] e1f770b5df2f: Pull complete [2022-04-18T11:26:26.930Z] 85a0685a4137: Pull complete [2022-04-18T11:26:26.930Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-18T11:26:26.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-18T11:26:26.931Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-18T11:26:26.988Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:26:27.026Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-18T11:26:29.255Z] $ docker top 156dd9622c79c74d7e187d367f149d61e9732c7f15cbb2442221713907cdd26d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-18T11:26:29.334Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-18T11:26:29.618Z] + set -o pipefail [2022-04-18T11:26:29.618Z] + snyk monitor '--org=edgex-jenkins' [2022-04-18T11:26:36.206Z] [2022-04-18T11:26:36.206Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-04-18T11:26:36.206Z] [2022-04-18T11:26:36.206Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/20ff1252-3ae9-467f-b12b-ad9c9a15ba95 [2022-04-18T11:26:36.206Z] [2022-04-18T11:26:36.206Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-18T11:26:36.206Z] [2022-04-18T11:26:36.206Z] [Pipeline] } [2022-04-18T11:26:36.226Z] $ docker stop --time=1 156dd9622c79c74d7e187d367f149d61e9732c7f15cbb2442221713907cdd26d [2022-04-18T11:26:38.242Z] $ docker rm -f 156dd9622c79c74d7e187d367f149d61e9732c7f15cbb2442221713907cdd26d [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-18T11:26:38.984Z] + git log --format=format:%s -1 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca [Pipeline] sh [2022-04-18T11:26:39.278Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-18T11:26:39.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:26:39.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T11:26:39.577Z] . [Pipeline] withDockerContainer [2022-04-18T11:26:39.651Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:26:39.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-18T11:26:40.091Z] $ docker top 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-18T11:26:40.189Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T11:26:40.190Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T11:26:40.317Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T11:26:40.324Z] $ docker exec 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 ssh-agent [2022-04-18T11:26:40.442Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnNnLaa/agent.13 [2022-04-18T11:26:40.442Z] SSH_AGENT_PID=19 [2022-04-18T11:26:40.448Z] Running ssh-add (command line suppressed) [2022-04-18T11:26:40.578Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3844875680477944204.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3844875680477944204.key) [2022-04-18T11:26:40.589Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T11:26:40.887Z] + git semver tag [2022-04-18T11:26:40.887Z] # -> Open(): unable to determine branch for HEAD [2022-04-18T11:26:40.887Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-18T11:26:40.887Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-18T11:26:40.887Z] # $SEMVER_REMOTE_NAME = origin [2022-04-18T11:26:40.887Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-18T11:26:40.887Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-18T11:26:40.887Z] # $SEMVER_BRANCH = main [2022-04-18T11:26:40.887Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-18T11:26:40.887Z] # 55fbfbcd5b5a742e8ebac6649b1ed4185d266fca HEAD [2022-04-18T11:26:40.887Z] # -> Force: false [2022-04-18T11:26:40.887Z] # e106fecef12f2eef2c9c897bc7c18f1b058eaae6 refs/tags/v2.2.0-dev.12 [Pipeline] } [2022-04-18T11:26:40.902Z] $ docker exec --env ******** --env ******** 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 ssh-agent -k [2022-04-18T11:26:41.022Z] unset SSH_AUTH_SOCK; [2022-04-18T11:26:41.022Z] unset SSH_AGENT_PID; [2022-04-18T11:26:41.023Z] echo Agent pid 19 killed; [2022-04-18T11:26:41.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-18T11:26:41.354Z] + git semver [Pipeline] } [2022-04-18T11:26:41.380Z] $ docker stop --time=1 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 [2022-04-18T11:26:42.682Z] $ docker rm -f 878fa4be4ff8515fae708ad6ea74f6e9125367f08f9d10c743312b80e77de4b2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:26:43.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-18T11:26:43.105Z] [2022-04-18T11:26:43.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:26:43.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-18T11:26:43.409Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-18T11:26:43.409Z] ab5ef0e58194: Pulling fs layer [2022-04-18T11:26:43.409Z] 9712f1f96733: Pulling fs layer [2022-04-18T11:26:43.409Z] 63f879dbbcfc: Pulling fs layer [2022-04-18T11:26:43.409Z] 0d9ebad4ef96: Pulling fs layer [2022-04-18T11:26:43.409Z] e9a5061849ea: Pulling fs layer [2022-04-18T11:26:43.409Z] d747dcd14b5f: Pulling fs layer [2022-04-18T11:26:43.409Z] 2de7ff778b66: Pulling fs layer [2022-04-18T11:26:43.409Z] e9a5061849ea: Waiting [2022-04-18T11:26:43.409Z] d747dcd14b5f: Waiting [2022-04-18T11:26:43.409Z] 2de7ff778b66: Waiting [2022-04-18T11:26:43.409Z] 0d9ebad4ef96: Waiting [2022-04-18T11:26:43.409Z] 9712f1f96733: Verifying Checksum [2022-04-18T11:26:43.409Z] 9712f1f96733: Download complete [2022-04-18T11:26:43.669Z] 63f879dbbcfc: Verifying Checksum [2022-04-18T11:26:43.669Z] 63f879dbbcfc: Download complete [2022-04-18T11:26:43.928Z] e9a5061849ea: Verifying Checksum [2022-04-18T11:26:43.928Z] e9a5061849ea: Download complete [2022-04-18T11:26:43.928Z] d747dcd14b5f: Download complete [2022-04-18T11:26:43.928Z] ab5ef0e58194: Verifying Checksum [2022-04-18T11:26:43.928Z] ab5ef0e58194: Download complete [2022-04-18T11:26:43.928Z] 2de7ff778b66: Verifying Checksum [2022-04-18T11:26:43.928Z] 2de7ff778b66: Download complete [2022-04-18T11:26:44.187Z] 0d9ebad4ef96: Verifying Checksum [2022-04-18T11:26:44.187Z] 0d9ebad4ef96: Download complete [2022-04-18T11:26:46.723Z] ab5ef0e58194: Pull complete [2022-04-18T11:26:46.723Z] 9712f1f96733: Pull complete [2022-04-18T11:26:47.290Z] 63f879dbbcfc: Pull complete [2022-04-18T11:26:51.481Z] 0d9ebad4ef96: Pull complete [2022-04-18T11:26:51.481Z] e9a5061849ea: Pull complete [2022-04-18T11:26:51.481Z] d747dcd14b5f: Pull complete [2022-04-18T11:26:52.050Z] 2de7ff778b66: Pull complete [2022-04-18T11:26:52.050Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-18T11:26:52.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-18T11:26:52.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-18T11:26:52.377Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:26:52.417Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-18T11:26:54.560Z] $ docker top fe6d6f6de35fb5fb6d4bbf4375f34034d2d34514b19117566148e984b034b1bc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-18T11:26:54.645Z] provisioning config files... [2022-04-18T11:26:54.654Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config6100206034907715693tmp [2022-04-18T11:26:54.666Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5262143348592839253tmp [2022-04-18T11:26:54.677Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7446281358388269412tmp [Pipeline] { [Pipeline] echo [2022-04-18T11:26:54.693Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:26:54.986Z] ---> sigul-configuration.sh [2022-04-18T11:26:54.986Z] gpg: directory `/root/.gnupg' created [2022-04-18T11:26:54.986Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-18T11:26:54.986Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-18T11:26:54.986Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-18T11:26:54.986Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-18T11:26:54.986Z] gpg: CAST5 encrypted data [2022-04-18T11:26:54.986Z] gpg: encrypted with 1 passphrase [2022-04-18T11:26:54.986Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-18T11:26:55.278Z] + mkdir /home/jenkins [2022-04-18T11:26:55.278Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-18T11:26:55.567Z] + 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-18T11:26:55.577Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:26:55.865Z] ---> sigul-install.sh [2022-04-18T11:26:55.865Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-18T11:26:56.155Z] + git tag --list [2022-04-18T11:26:56.155Z] v1.0.0 [2022-04-18T11:26:56.155Z] v1.1.0 [2022-04-18T11:26:56.155Z] v1.1.1 [2022-04-18T11:26:56.155Z] v1.2.1 [2022-04-18T11:26:56.155Z] v1.2.2 [2022-04-18T11:26:56.155Z] v1.2.3 [2022-04-18T11:26:56.155Z] v1.3.0 [2022-04-18T11:26:56.155Z] v1.3.1 [2022-04-18T11:26:56.155Z] v2.0.0 [2022-04-18T11:26:56.155Z] v2.0.1-dev.1 [2022-04-18T11:26:56.155Z] v2.0.1-dev.10 [2022-04-18T11:26:56.155Z] v2.0.1-dev.11 [2022-04-18T11:26:56.155Z] v2.0.1-dev.12 [2022-04-18T11:26:56.155Z] v2.0.1-dev.13 [2022-04-18T11:26:56.155Z] v2.0.1-dev.14 [2022-04-18T11:26:56.155Z] v2.0.1-dev.15 [2022-04-18T11:26:56.155Z] v2.0.1-dev.2 [2022-04-18T11:26:56.155Z] v2.0.1-dev.3 [2022-04-18T11:26:56.155Z] v2.0.1-dev.4 [2022-04-18T11:26:56.155Z] v2.0.1-dev.5 [2022-04-18T11:26:56.155Z] v2.0.1-dev.6 [2022-04-18T11:26:56.155Z] v2.0.1-dev.7 [2022-04-18T11:26:56.155Z] v2.0.1-dev.8 [2022-04-18T11:26:56.155Z] v2.0.1-dev.9 [2022-04-18T11:26:56.155Z] v2.1.0 [2022-04-18T11:26:56.155Z] v2.2.0-dev.1 [2022-04-18T11:26:56.155Z] v2.2.0-dev.10 [2022-04-18T11:26:56.155Z] v2.2.0-dev.11 [2022-04-18T11:26:56.155Z] v2.2.0-dev.12 [2022-04-18T11:26:56.155Z] v2.2.0-dev.2 [2022-04-18T11:26:56.155Z] v2.2.0-dev.3 [2022-04-18T11:26:56.155Z] v2.2.0-dev.4 [2022-04-18T11:26:56.155Z] v2.2.0-dev.5 [2022-04-18T11:26:56.155Z] v2.2.0-dev.6 [2022-04-18T11:26:56.155Z] v2.2.0-dev.7 [2022-04-18T11:26:56.155Z] v2.2.0-dev.8 [2022-04-18T11:26:56.155Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-18T11:26:56.447Z] + lftools sign git-tag v2.2.0-dev.12 [2022-04-18T11:26:57.018Z] Signing Git tag with Sigul... [2022-04-18T11:26:57.019Z] Signing v2.2.0-dev.12 [Pipeline] echo [2022-04-18T11:26:57.289Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:26:57.577Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-18T11:26:57.585Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-18T11:26:57.608Z] $ docker stop --time=1 fe6d6f6de35fb5fb6d4bbf4375f34034d2d34514b19117566148e984b034b1bc [2022-04-18T11:26:58.927Z] $ docker rm -f fe6d6f6de35fb5fb6d4bbf4375f34034d2d34514b19117566148e984b034b1bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-18T11:26:59.353Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-18T11:26:59.353Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:26:59.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T11:26:59.646Z] . [Pipeline] withDockerContainer [2022-04-18T11:26:59.720Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:26:59.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-18T11:27:00.167Z] $ docker top 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-18T11:27:00.258Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T11:27:00.258Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T11:27:00.381Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T11:27:00.388Z] $ docker exec 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de ssh-agent [2022-04-18T11:27:00.518Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmjPopF/agent.14 [2022-04-18T11:27:00.518Z] SSH_AGENT_PID=20 [2022-04-18T11:27:00.524Z] Running ssh-add (command line suppressed) [2022-04-18T11:27:00.639Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6046358978515745919.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_6046358978515745919.key) [2022-04-18T11:27:00.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T11:27:00.961Z] + git semver bump pre [2022-04-18T11:27:00.961Z] # -> Open(): unable to determine branch for HEAD [2022-04-18T11:27:00.961Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-18T11:27:00.961Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-18T11:27:00.961Z] # $SEMVER_REMOTE_NAME = origin [2022-04-18T11:27:00.961Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-18T11:27:00.961Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-18T11:27:00.961Z] # $SEMVER_BRANCH = main [2022-04-18T11:27:00.961Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-18T11:27:00.961Z] 2.2.0-dev.13 [Pipeline] } [2022-04-18T11:27:00.977Z] $ docker exec --env ******** --env ******** 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de ssh-agent -k [2022-04-18T11:27:01.099Z] unset SSH_AUTH_SOCK; [2022-04-18T11:27:01.099Z] unset SSH_AGENT_PID; [2022-04-18T11:27:01.099Z] echo Agent pid 20 killed; [2022-04-18T11:27:01.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-18T11:27:01.412Z] + git semver [Pipeline] } [2022-04-18T11:27:01.433Z] $ docker stop --time=1 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de [2022-04-18T11:27:02.690Z] $ docker rm -f 210561e64eb33a88d838fa3edbf568570b4b170dae9478bac46fbf13258a77de [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T11:27:03.046Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-18T11:27:03.046Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:27:03.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T11:27:03.345Z] . [Pipeline] withDockerContainer [2022-04-18T11:27:03.420Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:27:03.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-virtual-go_main -v /w/workspace/exfoundry_device-virtual-go_main:/w/workspace/exfoundry_device-virtual-go_main:rw,z -v /w/workspace/exfoundry_device-virtual-go_main@tmp:/w/workspace/exfoundry_device-virtual-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-18T11:27:03.852Z] $ docker top 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-18T11:27:03.947Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T11:27:03.947Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T11:27:04.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T11:27:04.096Z] $ docker exec 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 ssh-agent [2022-04-18T11:27:04.213Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDPbgPP/agent.14 [2022-04-18T11:27:04.213Z] SSH_AGENT_PID=20 [2022-04-18T11:27:04.220Z] Running ssh-add (command line suppressed) [2022-04-18T11:27:04.334Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2631399808296947574.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2631399808296947574.key) [2022-04-18T11:27:04.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T11:27:04.637Z] + git semver push [2022-04-18T11:27:04.637Z] # -> Open(): unable to determine branch for HEAD [2022-04-18T11:27:04.637Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-18T11:27:04.637Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-18T11:27:04.637Z] # $SEMVER_REMOTE_NAME = origin [2022-04-18T11:27:04.637Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-18T11:27:04.637Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-18T11:27:04.637Z] # $SEMVER_BRANCH = main [2022-04-18T11:27:04.637Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-18T11:27:06.035Z] $ docker exec --env ******** --env ******** 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 ssh-agent -k [2022-04-18T11:27:06.135Z] unset SSH_AUTH_SOCK; [2022-04-18T11:27:06.135Z] unset SSH_AGENT_PID; [2022-04-18T11:27:06.135Z] echo Agent pid 20 killed; [2022-04-18T11:27:06.141Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-18T11:27:06.450Z] + git semver [Pipeline] } [2022-04-18T11:27:06.468Z] $ docker stop --time=1 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 [2022-04-18T11:27:07.765Z] $ docker rm -f 9c7f031f635dfde3db2d828441e38b85c5847fa317ca54965662b5b7b70077a6 [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-18T11:27:08.406Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-04-18T11:27:08.406Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-18T11:27:08.406Z] total 16 [2022-04-18T11:27:08.406Z] drwxr-xr-x 3 root root 4096 Apr 18 11:19 . [2022-04-18T11:27:08.406Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 11:26 .. [2022-04-18T11:27:08.406Z] drwxr-xr-x 2 root root 4096 Apr 18 11:19 cost [2022-04-18T11:27:08.406Z] -rw-r--r-- 1 root root 87 Apr 18 11:19 cost.csv [2022-04-18T11:27:08.406Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-18T11:27:08.406Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-18T11:27:08.406Z] total 16 [2022-04-18T11:27:08.406Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 11:19 . [2022-04-18T11:27:08.406Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 11:26 .. [2022-04-18T11:27:08.406Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 11:19 cost [2022-04-18T11:27:08.406Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 18 11:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:27:08.718Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:27:09.584Z] ---> package-listing.sh [2022-04-18T11:27:09.584Z] ++ facter osfamily [2022-04-18T11:27:09.584Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-18T11:27:09.845Z] + OS_FAMILY=debian [2022-04-18T11:27:09.845Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-04-18T11:27:09.845Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-18T11:27:09.845Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-18T11:27:09.845Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-18T11:27:09.845Z] + PACKAGES=/tmp/packages_start.txt [2022-04-18T11:27:09.845Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-18T11:27:09.845Z] + PACKAGES=/tmp/packages_end.txt [2022-04-18T11:27:09.845Z] + case "${OS_FAMILY}" in [2022-04-18T11:27:09.845Z] + dpkg -l [2022-04-18T11:27:09.845Z] + grep '^ii' [2022-04-18T11:27:09.845Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-18T11:27:09.845Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-18T11:27:09.845Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-18T11:27:09.845Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-18T11:27:09.845Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-04-18T11:27:09.845Z] + 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-18T11:27:09.859Z] 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-18T11:27:10.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-18T11:27:10.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T11:27:10.699Z] . [Pipeline] withDockerContainer [2022-04-18T11:27:10.764Z] prd-ubuntu20.04-docker-8c-8g-21223 does not seem to be running inside a container [2022-04-18T11:27:10.804Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-18T11:27:11.034Z] $ docker top d80e49af7057c91c0874fb0d5f92df3fc02346abac079ef5259fed6390c03ea5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T11:27:11.380Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-18T11:27:11.668Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-18T11:27:11.957Z] + ls /var/log/sa-host [2022-04-18T11:27:11.957Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T11:27:12.049Z] provisioning config files... [2022-04-18T11:27:12.056Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config8910178883785660662tmp [Pipeline] { [Pipeline] echo [2022-04-18T11:27:12.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:27:12.354Z] ---> create-netrc.sh [Pipeline] } [2022-04-18T11:27:12.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:27:12.708Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-18T11:27:12.719Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:27:13.008Z] ---> sudo-logs.sh [2022-04-18T11:27:13.008Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-18T11:27:13.034Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:27:13.322Z] ---> job-cost.sh [2022-04-18T11:27:13.322Z] lf-activate-venv: SKIPPING [2022-04-18T11:27:13.322Z] DEBUG: total: 0.2199999988079071 [2022-04-18T11:27:13.322Z] INFO: Retrieving Stack Cost... [2022-04-18T11:27:13.895Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-18T11:27:14.156Z] INFO: Archiving Costs [Pipeline] echo [2022-04-18T11:27:14.174Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T11:27:14.464Z] ---> logs-deploy.sh [2022-04-18T11:27:14.464Z] lf-activate-venv: SKIPPING [2022-04-18T11:27:14.464Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/28 [2022-04-18T11:27:14.464Z] INFO: archiving workspace using pattern(s): [2022-04-18T11:27:15.407Z] Archives upload complete. [2022-04-18T11:27:15.407Z] INFO: archiving logs to Nexus