Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c 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-ssh10509483706883454714.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-ssh3493907984982776398.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-ssh13509319626564278411.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-ssh7166556792250543081.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-ssh3056207915298556542.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-19502 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 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c (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 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c # timeout=10 Commit message: "Merge pull request #276 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.23" > git rev-list --no-walk 92eeb058ea4423f52907451924a865deb70e0eda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-11T13:56:21.050Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T13:56:21.126Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T13:56:21.150Z] ========================================================= [2022-04-11T13:56:21.150Z] EdgeX Global Pipelines Version Info [2022-04-11T13:56:21.150Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-11T13:56:21.918Z] ------------------- [2022-04-11T13:56:21.918Z] stable info: [2022-04-11T13:56:21.918Z] ------------------- [2022-04-11T13:56:21.918Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T13:56:21.918Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T13:56:21.918Z] Message: update stable to v1.0.221 [2022-04-11T13:56:22.490Z] ------------------- [2022-04-11T13:56:22.490Z] experimental info: [2022-04-11T13:56:22.490Z] ------------------- [2022-04-11T13:56:22.490Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T13:56:22.490Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T13:56:22.490Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T13:56:22.631Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-11T13:56:22.650Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-11T13:56:22.669Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T13:56:22.687Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T13:56:22.703Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T13:56:22.714Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T13:56:22.727Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T13:56:22.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-11T13:56:22.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T13:56:22.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T13:56:22.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T13:56:22.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-11T13:56:22.819Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T13:56:22.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T13:56:22.843Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T13:56:22.859Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T13:56:22.876Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T13:56:22.897Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T13:56:22.916Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T13:56:22.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-11T13:56:22.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-11T13:56:22.969Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-11T13:56:22.986Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T13:56:23.005Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T13:56:23.022Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T13:56:23.039Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T13:56:23.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-11T13:56:23.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-11T13:56:23.076Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-11T13:56:23.089Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] echo [2022-04-11T13:56:23.104Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bad5f78 [Pipeline] echo [2022-04-11T13:56:23.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T13:56:23.172Z] provisioning config files... [2022-04-11T13:56:23.186Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5425294334414567438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T13:56:23.500Z] ---> docker-login.sh [2022-04-11T13:56:23.500Z] nexus3.edgexfoundry.org:10001 [2022-04-11T13:56:23.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:23.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:23.764Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:23.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:23.764Z] [2022-04-11T13:56:23.764Z] Login Succeeded [2022-04-11T13:56:23.764Z] nexus3.edgexfoundry.org:10002 [2022-04-11T13:56:24.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:24.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:24.032Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:24.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:24.032Z] [2022-04-11T13:56:24.032Z] Login Succeeded [2022-04-11T13:56:24.032Z] nexus3.edgexfoundry.org:10003 [2022-04-11T13:56:24.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:24.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:24.295Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:24.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:24.295Z] [2022-04-11T13:56:24.295Z] Login Succeeded [2022-04-11T13:56:24.295Z] nexus3.edgexfoundry.org:10004 [2022-04-11T13:56:24.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:24.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:24.295Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:24.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:24.295Z] [2022-04-11T13:56:24.295Z] Login Succeeded [2022-04-11T13:56:24.295Z] docker.io [2022-04-11T13:56:24.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:24.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:24.870Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:24.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:24.870Z] [2022-04-11T13:56:24.870Z] Login Succeeded [2022-04-11T13:56:24.870Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T13:56:24.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T13:56:25.273Z] + git rev-list -1 --merges bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c~1..bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] echo [2022-04-11T13:56:25.407Z] -----------> git rev-list -1 --merges bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c~1..bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T13:56:25.407Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [false] [Pipeline] sh [2022-04-11T13:56:25.708Z] + git log --format=format:%s -1 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] echo [2022-04-11T13:56:25.724Z] ========================================================= [2022-04-11T13:56:25.724Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T13:56:25.724Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T13:56:26.067Z] + git log --format=format:%s -1 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] echo [2022-04-11T13:56:26.088Z] [semverPrep] GIT_COMMIT: bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c, Commit Message: Merge pull request #276 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.23 [Pipeline] echo [2022-04-11T13:56:26.097Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T13:56:26.531Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T13:56:26.531Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T13:56:26.531Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T13:56:26.531Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T13:56:26.531Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-11T13:56:26.531Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-11T13:56:26.531Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:56:27.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T13:56:27.014Z] [2022-04-11T13:56:27.014Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:56:27.322Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T13:56:27.322Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T13:56:27.322Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T13:56:27.322Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T13:56:27.322Z] 4c7163046ea9: Pulling fs layer [2022-04-11T13:56:27.322Z] 0c2d73faf560: Pulling fs layer [2022-04-11T13:56:27.322Z] 0c2d73faf560: Waiting [2022-04-11T13:56:27.322Z] 3e5f54012d9b: Verifying Checksum [2022-04-11T13:56:27.322Z] 3e5f54012d9b: Download complete [2022-04-11T13:56:27.322Z] a0d0a0d46f8b: Download complete [2022-04-11T13:56:27.584Z] 4c7163046ea9: Verifying Checksum [2022-04-11T13:56:27.584Z] 4c7163046ea9: Download complete [2022-04-11T13:56:27.584Z] 0c2d73faf560: Download complete [2022-04-11T13:56:27.584Z] a0d0a0d46f8b: Pull complete [2022-04-11T13:56:27.584Z] 3e5f54012d9b: Pull complete [2022-04-11T13:56:28.155Z] 4c7163046ea9: Pull complete [2022-04-11T13:56:28.155Z] 0c2d73faf560: Pull complete [2022-04-11T13:56:28.155Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T13:56:28.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T13:56:28.155Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T13:56:28.226Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T13:56:28.266Z] $ 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-11T13:56:28.993Z] $ docker top a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T13:56:29.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T13:56:29.097Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T13:56:29.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T13:56:29.240Z] $ docker exec a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 ssh-agent [2022-04-11T13:56:29.350Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJneAFp/agent.16 [2022-04-11T13:56:29.350Z] SSH_AGENT_PID=23 [2022-04-11T13:56:29.359Z] Running ssh-add (command line suppressed) [2022-04-11T13:56:29.475Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2523024391426144333.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2523024391426144333.key) [2022-04-11T13:56:29.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T13:56:29.789Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T13:56:29.811Z] $ docker exec --env ******** --env ******** a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 ssh-agent -k [2022-04-11T13:56:29.935Z] unset SSH_AUTH_SOCK; [2022-04-11T13:56:29.935Z] unset SSH_AGENT_PID; [2022-04-11T13:56:29.935Z] echo Agent pid 23 killed; [2022-04-11T13:56:29.944Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T13:56:29.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T13:56:29.965Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T13:56:30.109Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T13:56:30.114Z] $ docker exec a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 ssh-agent [2022-04-11T13:56:30.230Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGJJkkB/agent.55 [2022-04-11T13:56:30.230Z] SSH_AGENT_PID=61 [2022-04-11T13:56:30.236Z] Running ssh-add (command line suppressed) [2022-04-11T13:56:30.354Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3264684353505829382.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_3264684353505829382.key) [2022-04-11T13:56:30.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T13:56:30.661Z] + git semver init [2022-04-11T13:56:30.661Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T13:56:30.661Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-11T13:56:30.661Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-11T13:56:30.661Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T13:56:30.661Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T13:56:30.661Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T13:56:30.661Z] # $SEMVER_BRANCH = main [2022-04-11T13:56:30.661Z] # $SEMVER_TEMP = /tmp/semver-848087488 [2022-04-11T13:56:30.661Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-11T13:56:32.046Z] # '/tmp/semver-848087488' -> '/w/workspace/exfoundry_device-virtual-go_main/.semver' [2022-04-11T13:56:32.046Z] # -> Force: false [2022-04-11T13:56:32.046Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-11T13:56:32.059Z] $ docker exec --env ******** --env ******** a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 ssh-agent -k [2022-04-11T13:56:32.171Z] unset SSH_AUTH_SOCK; [2022-04-11T13:56:32.171Z] unset SSH_AGENT_PID; [2022-04-11T13:56:32.171Z] echo Agent pid 61 killed; [2022-04-11T13:56:32.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T13:56:32.496Z] + git semver [Pipeline] } [2022-04-11T13:56:32.512Z] $ docker stop --time=1 a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 [2022-04-11T13:56:33.891Z] $ docker rm -f a58aea0d40d98f7140fdc119c15b944a8881a36f88f9fbba16490b1f5c58a649 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T13:56:34.260Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T13:56:34.503Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T13:56:34.506Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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-11T13:56:34.660Z] provisioning config files... [2022-04-11T13:56:34.672Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1584455050163597231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T13:56:34.974Z] ---> docker-login.sh [2022-04-11T13:56:34.975Z] nexus3.edgexfoundry.org:10001 [2022-04-11T13:56:34.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:34.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:34.975Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:34.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:34.975Z] [2022-04-11T13:56:34.975Z] Login Succeeded [2022-04-11T13:56:34.975Z] nexus3.edgexfoundry.org:10002 [2022-04-11T13:56:34.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:34.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:34.975Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:34.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:34.975Z] [2022-04-11T13:56:34.975Z] Login Succeeded [2022-04-11T13:56:34.975Z] nexus3.edgexfoundry.org:10003 [2022-04-11T13:56:35.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:35.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:35.235Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:35.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:35.235Z] [2022-04-11T13:56:35.235Z] Login Succeeded [2022-04-11T13:56:35.235Z] nexus3.edgexfoundry.org:10004 [2022-04-11T13:56:35.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:35.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:35.495Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:35.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:35.495Z] [2022-04-11T13:56:35.495Z] Login Succeeded [2022-04-11T13:56:35.495Z] docker.io [2022-04-11T13:56:35.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:56:35.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:56:35.757Z] Configure a credential helper to remove this warning. See [2022-04-11T13:56:35.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:56:35.757Z] [2022-04-11T13:56:35.757Z] Login Succeeded [2022-04-11T13:56:35.757Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T13:56:35.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T13:56:35.838Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T13:56:35.846Z] ========================================================= [2022-04-11T13:56:35.846Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T13:56:35.846Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:56:36.158Z] + 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-11T13:56:36.158Z] Sending build context to Docker daemon 22.91MB [2022-04-11T13:56:36.158Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T13:56:36.158Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T13:56:36.418Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T13:56:36.418Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T13:56:36.418Z] 666ba61612fd: Pulling fs layer [2022-04-11T13:56:36.418Z] 8ed8ca486205: Pulling fs layer [2022-04-11T13:56:36.418Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T13:56:36.418Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T13:56:36.418Z] 640e595b4fbd: Pulling fs layer [2022-04-11T13:56:36.418Z] 763cafe07f6e: Pulling fs layer [2022-04-11T13:56:36.418Z] 0c0b528cf693: Pulling fs layer [2022-04-11T13:56:36.418Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T13:56:36.418Z] 763cafe07f6e: Waiting [2022-04-11T13:56:36.418Z] 4fe6c5a15a65: Waiting [2022-04-11T13:56:36.418Z] 0c0b528cf693: Waiting [2022-04-11T13:56:36.418Z] 22a0e8bec74d: Waiting [2022-04-11T13:56:36.418Z] 640e595b4fbd: Waiting [2022-04-11T13:56:36.418Z] 10935f4eaf8b: Waiting [2022-04-11T13:56:36.419Z] 8ed8ca486205: Verifying Checksum [2022-04-11T13:56:36.419Z] 8ed8ca486205: Download complete [2022-04-11T13:56:36.419Z] 666ba61612fd: Download complete [2022-04-11T13:56:36.419Z] 22a0e8bec74d: Verifying Checksum [2022-04-11T13:56:36.419Z] 22a0e8bec74d: Download complete [2022-04-11T13:56:36.419Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T13:56:36.419Z] 640e595b4fbd: Download complete [2022-04-11T13:56:36.419Z] 59bf1c3509f3: Download complete [2022-04-11T13:56:36.419Z] 763cafe07f6e: Verifying Checksum [2022-04-11T13:56:36.419Z] 763cafe07f6e: Download complete [2022-04-11T13:56:36.419Z] 0c0b528cf693: Verifying Checksum [2022-04-11T13:56:36.419Z] 0c0b528cf693: Download complete [2022-04-11T13:56:36.419Z] 59bf1c3509f3: Pull complete [2022-04-11T13:56:36.680Z] 666ba61612fd: Pull complete [2022-04-11T13:56:36.680Z] 8ed8ca486205: Pull complete [2022-04-11T13:56:37.251Z] 10935f4eaf8b: Verifying Checksum [2022-04-11T13:56:37.251Z] 10935f4eaf8b: Download complete [2022-04-11T13:56:37.251Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T13:56:37.251Z] 4fe6c5a15a65: Download complete [2022-04-11T13:56:41.443Z] 4fe6c5a15a65: Pull complete [2022-04-11T13:56:41.443Z] 22a0e8bec74d: Pull complete [2022-04-11T13:56:41.443Z] 640e595b4fbd: Pull complete [2022-04-11T13:56:41.443Z] 763cafe07f6e: Pull complete [2022-04-11T13:56:41.443Z] 0c0b528cf693: Pull complete [2022-04-11T13:56:43.356Z] 10935f4eaf8b: Pull complete [2022-04-11T13:56:43.356Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T13:56:43.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T13:56:43.356Z] ---> 99d49a6021b9 [2022-04-11T13:56:43.356Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T13:56:44.740Z] ---> Running in 76e7c7551f0c [2022-04-11T13:56:44.740Z] Removing intermediate container 76e7c7551f0c [2022-04-11T13:56:44.740Z] ---> 5337f1eb2e10 [2022-04-11T13:56:44.740Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T13:56:44.740Z] ---> Running in 27c3bba5da90 [2022-04-11T13:56:44.740Z] Removing intermediate container 27c3bba5da90 [2022-04-11T13:56:44.740Z] ---> 61a8a713a2ef [2022-04-11T13:56:44.740Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-11T13:56:44.740Z] ---> Running in d582fa3e4421 [2022-04-11T13:56:45.000Z] Removing intermediate container d582fa3e4421 [2022-04-11T13:56:45.000Z] ---> 528e7967b765 [2022-04-11T13:56:45.000Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T13:56:45.000Z] ---> Running in b6be0223a0bd [2022-04-11T13:56:45.570Z] Removing intermediate container b6be0223a0bd [2022-04-11T13:56:45.570Z] ---> 2c2568a707f4 [2022-04-11T13:56:45.570Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T13:56:45.570Z] ---> Running in 3882e02f2257 [2022-04-11T13:56:45.830Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T13:56:46.774Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T13:56:47.035Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T13:56:47.035Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T13:56:47.296Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T13:56:47.296Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T13:56:47.296Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T13:56:47.296Z] OK: 224 MiB in 56 packages [2022-04-11T13:56:47.867Z] Removing intermediate container 3882e02f2257 [2022-04-11T13:56:47.867Z] ---> 0403f4fb0b20 [2022-04-11T13:56:47.867Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-11T13:56:48.127Z] ---> 7682905ceeca [2022-04-11T13:56:48.127Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T13:56:48.127Z] ---> Running in e29323f6c428 [2022-04-11T13:56:49.615Z] Still waiting to schedule task [2022-04-11T13:56:49.615Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-11T13:57:06.244Z] Removing intermediate container e29323f6c428 [2022-04-11T13:57:06.245Z] ---> 2677f6661590 [2022-04-11T13:57:06.245Z] Step 10/12 : COPY . . [2022-04-11T13:57:06.245Z] ---> 68375ae0c153 [2022-04-11T13:57:06.245Z] Step 11/12 : ARG MAKE='make build' [2022-04-11T13:57:06.245Z] ---> Running in c7b1401ad780 [2022-04-11T13:57:06.245Z] Removing intermediate container c7b1401ad780 [2022-04-11T13:57:06.245Z] ---> 8eb098ec1e3b [2022-04-11T13:57:06.245Z] Step 12/12 : RUN $MAKE [2022-04-11T13:57:06.245Z] ---> Running in 1fed2055cfae [2022-04-11T13:57:06.245Z] noop [2022-04-11T13:57:06.245Z] Removing intermediate container 1fed2055cfae [2022-04-11T13:57:06.245Z] ---> 96427fd0d47b [2022-04-11T13:57:06.245Z] Successfully built 96427fd0d47b [2022-04-11T13:57:06.245Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:57:06.541Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T13:57:06.541Z] . [Pipeline] withDockerContainer [2022-04-11T13:57:06.605Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T13:57:06.642Z] $ 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-11T13:57:07.016Z] $ docker top d8128a7c74b65a447d6996b7d8346816c3e52abbe991f677d52138bdce4cd163 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T13:57:07.361Z] + go version [2022-04-11T13:57:07.361Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T13:57:07.379Z] $ docker stop --time=1 d8128a7c74b65a447d6996b7d8346816c3e52abbe991f677d52138bdce4cd163 [2022-04-11T13:57:08.676Z] $ docker rm -f d8128a7c74b65a447d6996b7d8346816c3e52abbe991f677d52138bdce4cd163 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:57:09.071Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T13:57:09.072Z] . [Pipeline] withDockerContainer [2022-04-11T13:57:09.134Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T13:57:09.186Z] $ 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-11T13:57:09.551Z] $ docker top b7fe104a0114bea51df0b8e995d673c681e01a615890b44a03dccf3c9de1c55b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T13:57:09.913Z] + make test [2022-04-11T13:57:09.913Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T13:57:10.172Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-11T13:57:20.161Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-11T13:57:20.161Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements [2022-04-11T13:57:26.912Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T13:57:30.211Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T13:57:30.211Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T13:57:30.211Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T13:57:30.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T13:57:30.247Z] $ docker stop --time=1 b7fe104a0114bea51df0b8e995d673c681e01a615890b44a03dccf3c9de1c55b [2022-04-11T13:57:32.027Z] $ docker rm -f b7fe104a0114bea51df0b8e995d673c681e01a615890b44a03dccf3c9de1c55b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T13:57:32.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T13:57:32.505Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T13:57:33.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T13:57:33.797Z] + ls -al . [2022-04-11T13:57:33.797Z] total 204 [2022-04-11T13:57:33.797Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 13:57 . [2022-04-11T13:57:33.797Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 13:56 .. [2022-04-11T13:57:33.797Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 13:56 .git [2022-04-11T13:57:33.797Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 13:56 .github [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 11 13:56 .gitignore [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 13:56 .golangci.yml [2022-04-11T13:57:33.797Z] drwx------ 3 jenkins jenkins 4096 Apr 11 13:56 .semver [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 11 13:56 Attribution.txt [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 11 13:56 CHANGELOG.md [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 11 13:56 Dockerfile [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 13:56 GOVERNANCE.md [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 11 13:56 Jenkinsfile [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 13:56 LICENSE [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 11 13:56 Makefile [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 11 13:56 OWNERS.md [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 11 13:56 README.md [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 13:56 VERSION [2022-04-11T13:57:33.797Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 13:56 bin [2022-04-11T13:57:33.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 13:56 cmd [2022-04-11T13:57:33.797Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 11 13:57 coverage.out [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 11 13:56 go.mod [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 54115 Apr 11 13:56 go.sum [2022-04-11T13:57:33.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 13:56 internal [2022-04-11T13:57:33.797Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 11 13:56 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:57:34.099Z] + 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=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c --label arch=amd64 --label version=2.2.0-dev.11 . [2022-04-11T13:57:34.099Z] Sending build context to Docker daemon 22.95MB [2022-04-11T13:57:34.099Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T13:57:34.099Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-11T13:57:34.099Z] ---> 96427fd0d47b [2022-04-11T13:57:34.099Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T13:57:34.359Z] ---> Running in df9bfa29bb7a [2022-04-11T13:57:34.359Z] Removing intermediate container df9bfa29bb7a [2022-04-11T13:57:34.359Z] ---> 269f47db95a4 [2022-04-11T13:57:34.359Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T13:57:34.359Z] ---> Running in e8fa0fd23baa [2022-04-11T13:57:34.620Z] Removing intermediate container e8fa0fd23baa [2022-04-11T13:57:34.620Z] ---> 5052a3c4ac5e [2022-04-11T13:57:34.620Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-11T13:57:34.620Z] ---> Running in fccd851b012d [2022-04-11T13:57:34.620Z] Removing intermediate container fccd851b012d [2022-04-11T13:57:34.620Z] ---> 960fecc6108d [2022-04-11T13:57:34.620Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T13:57:34.620Z] ---> Running in 629f626299fc [2022-04-11T13:57:35.190Z] Removing intermediate container 629f626299fc [2022-04-11T13:57:35.190Z] ---> e1b33c36cd53 [2022-04-11T13:57:35.190Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T13:57:35.190Z] ---> Running in bbb2aca447b5 [2022-04-11T13:57:35.450Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T13:57:36.391Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T13:57:36.651Z] OK: 224 MiB in 56 packages [2022-04-11T13:57:36.911Z] Removing intermediate container bbb2aca447b5 [2022-04-11T13:57:36.911Z] ---> 523cb8b44581 [2022-04-11T13:57:36.911Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-11T13:57:37.171Z] ---> 0ec580ba8d1f [2022-04-11T13:57:37.171Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T13:57:37.171Z] ---> Running in 6461190b4b3a [2022-04-11T13:57:37.741Z] Removing intermediate container 6461190b4b3a [2022-04-11T13:57:37.741Z] ---> 465b5e0fcd6e [2022-04-11T13:57:37.741Z] Step 10/26 : COPY . . [2022-04-11T13:57:38.317Z] ---> b8fec5e89eaf [2022-04-11T13:57:38.317Z] Step 11/26 : ARG MAKE='make build' [2022-04-11T13:57:38.317Z] ---> Running in 6a9045482be3 [2022-04-11T13:57:38.317Z] Removing intermediate container 6a9045482be3 [2022-04-11T13:57:38.317Z] ---> 682f24f30f08 [2022-04-11T13:57:38.317Z] Step 12/26 : RUN $MAKE [2022-04-11T13:57:38.577Z] ---> Running in 81b096b5e287 [2022-04-11T13:57:38.836Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-11T13:58:00.784Z] Removing intermediate container 81b096b5e287 [2022-04-11T13:58:00.784Z] ---> 3474f13b3112 [2022-04-11T13:58:00.784Z] Step 13/26 : FROM alpine:3.14 [2022-04-11T13:58:00.784Z] 3.14: Pulling from library/alpine [2022-04-11T13:58:00.784Z] 8663204ce13b: Pulling fs layer [2022-04-11T13:58:00.784Z] 8663204ce13b: Verifying Checksum [2022-04-11T13:58:00.784Z] 8663204ce13b: Download complete [2022-04-11T13:58:00.784Z] 8663204ce13b: Pull complete [2022-04-11T13:58:00.784Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T13:58:00.784Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T13:58:00.784Z] ---> e04c818066af [2022-04-11T13:58:00.784Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-11T13:58:00.784Z] ---> Running in e55e2ccef46a [2022-04-11T13:58:00.784Z] Removing intermediate container e55e2ccef46a [2022-04-11T13:58:00.784Z] ---> 37417413d635 [2022-04-11T13:58:00.784Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T13:58:00.784Z] ---> Running in 546aa642f04a [2022-04-11T13:58:00.784Z] Removing intermediate container 546aa642f04a [2022-04-11T13:58:00.784Z] ---> aff69a1d5674 [2022-04-11T13:58:00.784Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T13:58:00.784Z] ---> Running in b8147500dc39 [2022-04-11T13:58:00.784Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T13:58:01.727Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T13:58:01.988Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T13:58:01.988Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T13:58:01.988Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T13:58:02.249Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T13:58:02.249Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T13:58:02.249Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T13:58:02.511Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T13:58:02.511Z] OK: 8 MiB in 20 packages [2022-04-11T13:58:02.770Z] Removing intermediate container b8147500dc39 [2022-04-11T13:58:02.770Z] ---> 718ef19725c5 [2022-04-11T13:58:02.770Z] Step 17/26 : WORKDIR / [2022-04-11T13:58:02.770Z] ---> Running in 442600eaa965 [2022-04-11T13:58:03.030Z] Removing intermediate container 442600eaa965 [2022-04-11T13:58:03.030Z] ---> 17750fa0adfa [2022-04-11T13:58:03.030Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-11T13:58:03.030Z] ---> 64c3dce8bc21 [2022-04-11T13:58:03.030Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-11T13:58:03.290Z] ---> 1fc7d53144a9 [2022-04-11T13:58:03.290Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-11T13:58:03.860Z] ---> fd543fc03694 [2022-04-11T13:58:03.860Z] Step 21/26 : EXPOSE 59900 [2022-04-11T13:58:03.860Z] ---> Running in 57c4879ddd0c [2022-04-11T13:58:03.860Z] Removing intermediate container 57c4879ddd0c [2022-04-11T13:58:03.860Z] ---> ecd2690e43ea [2022-04-11T13:58:03.860Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-11T13:58:04.120Z] ---> Running in 6587530e8d66 [2022-04-11T13:58:04.120Z] Removing intermediate container 6587530e8d66 [2022-04-11T13:58:04.120Z] ---> 84724f9bab0c [2022-04-11T13:58:04.120Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T13:58:04.120Z] ---> Running in 1d28c7d7a8ba [2022-04-11T13:58:04.120Z] Removing intermediate container 1d28c7d7a8ba [2022-04-11T13:58:04.120Z] ---> 3373686bb7ca [2022-04-11T13:58:04.120Z] Step 24/26 : LABEL arch=amd64 [2022-04-11T13:58:04.379Z] ---> Running in b61c372492df [2022-04-11T13:58:04.379Z] Removing intermediate container b61c372492df [2022-04-11T13:58:04.379Z] ---> 9a88ec3c6cf6 [2022-04-11T13:58:04.379Z] Step 25/26 : LABEL git_sha=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T13:58:04.379Z] ---> Running in 48ff60135f4e [2022-04-11T13:58:04.379Z] Removing intermediate container 48ff60135f4e [2022-04-11T13:58:04.379Z] ---> 8dc234fd8f92 [2022-04-11T13:58:04.379Z] Step 26/26 : LABEL version=2.2.0-dev.11 [2022-04-11T13:58:04.379Z] ---> Running in 4495f76583b3 [2022-04-11T13:58:04.638Z] Removing intermediate container 4495f76583b3 [2022-04-11T13:58:04.638Z] ---> d5e3b3c021d8 [2022-04-11T13:58:04.638Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T13:58:04.638Z] Successfully built d5e3b3c021d8 [2022-04-11T13:58:04.638Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T13:58:04.739Z] provisioning config files... [2022-04-11T13:58:04.748Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config1139480341705464875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T13:58:05.053Z] ---> docker-login.sh [2022-04-11T13:58:05.053Z] nexus3.edgexfoundry.org:10001 [2022-04-11T13:58:05.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:58:05.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:58:05.053Z] Configure a credential helper to remove this warning. See [2022-04-11T13:58:05.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:58:05.053Z] [2022-04-11T13:58:05.053Z] Login Succeeded [2022-04-11T13:58:05.053Z] nexus3.edgexfoundry.org:10002 [2022-04-11T13:58:05.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:58:05.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:58:05.314Z] Configure a credential helper to remove this warning. See [2022-04-11T13:58:05.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:58:05.314Z] [2022-04-11T13:58:05.314Z] Login Succeeded [2022-04-11T13:58:05.314Z] nexus3.edgexfoundry.org:10003 [2022-04-11T13:58:05.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:58:05.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:58:05.314Z] Configure a credential helper to remove this warning. See [2022-04-11T13:58:05.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:58:05.314Z] [2022-04-11T13:58:05.314Z] Login Succeeded [2022-04-11T13:58:05.314Z] nexus3.edgexfoundry.org:10004 [2022-04-11T13:58:05.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:58:05.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:58:05.575Z] Configure a credential helper to remove this warning. See [2022-04-11T13:58:05.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:58:05.575Z] [2022-04-11T13:58:05.575Z] Login Succeeded [2022-04-11T13:58:05.575Z] docker.io [2022-04-11T13:58:05.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:58:05.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:58:05.836Z] Configure a credential helper to remove this warning. See [2022-04-11T13:58:05.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:58:05.836Z] [2022-04-11T13:58:05.836Z] Login Succeeded [2022-04-11T13:58:05.836Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T13:58:05.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T13:58:05.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T13:58:05.907Z] [edgeXDocker.push] Tagging docker image device-virtual with the following tags: [2022-04-11T13:58:05.907Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T13:58:05.907Z] latest [2022-04-11T13:58:05.907Z] 2.2.0-dev.11 [2022-04-11T13:58:05.907Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [2022-04-11T13:58:05.907Z] main [2022-04-11T13:58:05.907Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:06.233Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:06.529Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T13:58:06.529Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-11T13:58:06.529Z] 575e0303ae82: Preparing [2022-04-11T13:58:06.529Z] 846c7d8ee080: Preparing [2022-04-11T13:58:06.529Z] ba0b4e495b65: Preparing [2022-04-11T13:58:06.529Z] c89a4387fe57: Preparing [2022-04-11T13:58:06.529Z] cad309a9affb: Preparing [2022-04-11T13:58:06.529Z] b541d28bf3b4: Preparing [2022-04-11T13:58:06.529Z] b541d28bf3b4: Waiting [2022-04-11T13:58:06.529Z] ba0b4e495b65: Pushed [2022-04-11T13:58:06.529Z] cad309a9affb: Pushed [2022-04-11T13:58:06.529Z] 846c7d8ee080: Pushed [2022-04-11T13:58:06.529Z] b541d28bf3b4: Layer already exists [2022-04-11T13:58:06.789Z] c89a4387fe57: Pushed [2022-04-11T13:58:09.338Z] 575e0303ae82: Pushed [2022-04-11T13:58:09.338Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:09.642Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:09.938Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-11T13:58:09.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-11T13:58:09.938Z] 575e0303ae82: Preparing [2022-04-11T13:58:09.938Z] 846c7d8ee080: Preparing [2022-04-11T13:58:09.938Z] ba0b4e495b65: Preparing [2022-04-11T13:58:09.938Z] c89a4387fe57: Preparing [2022-04-11T13:58:09.938Z] cad309a9affb: Preparing [2022-04-11T13:58:09.938Z] b541d28bf3b4: Preparing [2022-04-11T13:58:09.938Z] b541d28bf3b4: Waiting [2022-04-11T13:58:09.938Z] 846c7d8ee080: Layer already exists [2022-04-11T13:58:09.938Z] c89a4387fe57: Layer already exists [2022-04-11T13:58:09.938Z] cad309a9affb: Layer already exists [2022-04-11T13:58:09.938Z] 575e0303ae82: Layer already exists [2022-04-11T13:58:09.938Z] ba0b4e495b65: Layer already exists [2022-04-11T13:58:09.938Z] b541d28bf3b4: Layer already exists [2022-04-11T13:58:09.938Z] latest: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:10.236Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:10.531Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.11 [2022-04-11T13:58:10.531Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-11T13:58:10.531Z] 575e0303ae82: Preparing [2022-04-11T13:58:10.531Z] 846c7d8ee080: Preparing [2022-04-11T13:58:10.531Z] ba0b4e495b65: Preparing [2022-04-11T13:58:10.531Z] c89a4387fe57: Preparing [2022-04-11T13:58:10.531Z] cad309a9affb: Preparing [2022-04-11T13:58:10.531Z] b541d28bf3b4: Preparing [2022-04-11T13:58:10.531Z] b541d28bf3b4: Waiting [2022-04-11T13:58:10.531Z] 575e0303ae82: Layer already exists [2022-04-11T13:58:10.531Z] ba0b4e495b65: Layer already exists [2022-04-11T13:58:10.531Z] c89a4387fe57: Layer already exists [2022-04-11T13:58:10.531Z] 846c7d8ee080: Layer already exists [2022-04-11T13:58:10.531Z] cad309a9affb: Layer already exists [2022-04-11T13:58:10.531Z] b541d28bf3b4: Layer already exists [2022-04-11T13:58:10.531Z] 2.2.0-dev.11: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:10.834Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:11.128Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [2022-04-11T13:58:11.128Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-11T13:58:11.128Z] 575e0303ae82: Preparing [2022-04-11T13:58:11.128Z] 846c7d8ee080: Preparing [2022-04-11T13:58:11.128Z] ba0b4e495b65: Preparing [2022-04-11T13:58:11.128Z] c89a4387fe57: Preparing [2022-04-11T13:58:11.128Z] cad309a9affb: Preparing [2022-04-11T13:58:11.128Z] b541d28bf3b4: Preparing [2022-04-11T13:58:11.128Z] b541d28bf3b4: Waiting [2022-04-11T13:58:11.128Z] ba0b4e495b65: Layer already exists [2022-04-11T13:58:11.128Z] 575e0303ae82: Layer already exists [2022-04-11T13:58:11.128Z] cad309a9affb: Layer already exists [2022-04-11T13:58:11.128Z] c89a4387fe57: Layer already exists [2022-04-11T13:58:11.128Z] 846c7d8ee080: Layer already exists [2022-04-11T13:58:11.128Z] b541d28bf3b4: Layer already exists [2022-04-11T13:58:11.128Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:11.435Z] + docker tag device-virtual nexus3.edgexfoundry.org:10004/device-virtual:main [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:11.733Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual:main [2022-04-11T13:58:11.733Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual] [2022-04-11T13:58:11.733Z] 575e0303ae82: Preparing [2022-04-11T13:58:11.733Z] 846c7d8ee080: Preparing [2022-04-11T13:58:11.733Z] ba0b4e495b65: Preparing [2022-04-11T13:58:11.733Z] c89a4387fe57: Preparing [2022-04-11T13:58:11.733Z] cad309a9affb: Preparing [2022-04-11T13:58:11.733Z] b541d28bf3b4: Preparing [2022-04-11T13:58:11.733Z] b541d28bf3b4: Waiting [2022-04-11T13:58:11.733Z] 575e0303ae82: Layer already exists [2022-04-11T13:58:11.733Z] ba0b4e495b65: Layer already exists [2022-04-11T13:58:11.733Z] cad309a9affb: Layer already exists [2022-04-11T13:58:11.733Z] c89a4387fe57: Layer already exists [2022-04-11T13:58:11.733Z] 846c7d8ee080: Layer already exists [2022-04-11T13:58:11.733Z] b541d28bf3b4: Layer already exists [2022-04-11T13:58:11.733Z] main: digest: sha256:31b0013bd577f4aec935d02275e92ac0befd5d70363f602bcf4e873a7e2a53c8 size: 1574 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T13:58:11.779Z] ===================================================== [Pipeline] echo [2022-04-11T13:58:11.787Z] taggedImages: [2022-04-11T13:58:11.787Z] - nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T13:58:11.787Z] - nexus3.edgexfoundry.org:10004/device-virtual:latest [2022-04-11T13:58:11.787Z] - nexus3.edgexfoundry.org:10004/device-virtual:2.2.0-dev.11 [2022-04-11T13:58:11.787Z] - nexus3.edgexfoundry.org:10004/device-virtual:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [2022-04-11T13:58:11.787Z] - 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-11T13:58:12.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T13:58:12.152Z] [2022-04-11T13:58:12.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:58:12.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T13:58:12.457Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T13:58:12.457Z] 5eb5b503b376: Pulling fs layer [2022-04-11T13:58:12.457Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T13:58:12.457Z] ec43610c2a17: Pulling fs layer [2022-04-11T13:58:12.457Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T13:58:12.457Z] 33b1e0a273af: Pulling fs layer [2022-04-11T13:58:12.457Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T13:58:12.457Z] 2f39f015ded8: Pulling fs layer [2022-04-11T13:58:12.457Z] 3a2ae6a8a46f: Waiting [2022-04-11T13:58:12.457Z] 33b1e0a273af: Waiting [2022-04-11T13:58:12.457Z] 2f39f015ded8: Waiting [2022-04-11T13:58:12.457Z] 5d3b04190fa2: Waiting [2022-04-11T13:58:12.457Z] 5c69ac0246d0: Download complete [2022-04-11T13:58:12.457Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-11T13:58:12.457Z] 3a2ae6a8a46f: Download complete [2022-04-11T13:58:12.457Z] 33b1e0a273af: Verifying Checksum [2022-04-11T13:58:12.457Z] 33b1e0a273af: Download complete [2022-04-11T13:58:12.457Z] 5d3b04190fa2: Download complete [2022-04-11T13:58:12.457Z] ec43610c2a17: Verifying Checksum [2022-04-11T13:58:12.457Z] ec43610c2a17: Download complete [2022-04-11T13:58:12.717Z] 5eb5b503b376: Verifying Checksum [2022-04-11T13:58:12.717Z] 5eb5b503b376: Download complete [2022-04-11T13:58:13.288Z] 2f39f015ded8: Download complete [2022-04-11T13:58:14.231Z] 5eb5b503b376: Pull complete [2022-04-11T13:58:14.231Z] 5c69ac0246d0: Pull complete [2022-04-11T13:58:14.491Z] ec43610c2a17: Pull complete [2022-04-11T13:58:14.751Z] 3a2ae6a8a46f: Pull complete [2022-04-11T13:58:15.011Z] 33b1e0a273af: Pull complete [2022-04-11T13:58:15.011Z] 5d3b04190fa2: Pull complete [2022-04-11T13:58:19.213Z] 2f39f015ded8: Pull complete [2022-04-11T13:58:19.213Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T13:58:19.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T13:58:19.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T13:58:19.277Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T13:58:19.319Z] $ 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-11T13:58:20.947Z] $ docker top ddf684d3994f21fdfee87ca0c8d84afbef8e52113456e6e37f6d95cad5a66747 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T13:58:21.375Z] ---> job-cost.sh [2022-04-11T13:58:21.375Z] lf-activate-venv: SKIPPING [2022-04-11T13:58:21.375Z] INFO: No Stack... [2022-04-11T13:58:21.636Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T13:58:22.206Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T13:58:22.496Z] + cat /w/workspace/exfoundry_device-virtual-go_main/archives/cost.csv [2022-04-11T13:58:22.496Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T13:58:22.511Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [2022-04-11T13:58:22.524Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] did not exist. Created. [2022-04-11T13:58:22.525Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T13:58:22.826Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T13:58:22.910Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T13:58:22.920Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T13:58:22.951Z] $ docker stop --time=1 ddf684d3994f21fdfee87ca0c8d84afbef8e52113456e6e37f6d95cad5a66747 [2022-04-11T13:58:24.147Z] $ docker rm -f ddf684d3994f21fdfee87ca0c8d84afbef8e52113456e6e37f6d95cad5a66747 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T13:58:26.521Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19503 in /w/workspace/exfoundry_device-virtual-go_main [Pipeline] { [Pipeline] ws [2022-04-11T13:58:26.535Z] Running in /w/workspace/device-virtual-go/27 [Pipeline] { [Pipeline] checkout [2022-04-11T13:58:26.746Z] The recommended git tool is: git [2022-04-11T13:58:34.072Z] using credential edgex-jenkins-ssh [2022-04-11T13:58:34.099Z] Cloning the remote Git repository [2022-04-11T13:58:34.182Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-11T13:58:34.265Z] > git init /w/workspace/device-virtual-go/27 # timeout=10 [2022-04-11T13:58:34.366Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-11T13:58:34.369Z] > git --version # timeout=10 [2022-04-11T13:58:34.481Z] > git --version # 'git version 2.25.1' [2022-04-11T13:58:34.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T13:58:34.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T13:58:37.290Z] Avoid second fetch [2022-04-11T13:58:37.291Z] Checking out Revision bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c (main) [2022-04-11T13:58:37.231Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-11T13:58:37.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T13:58:37.337Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T13:58:37.370Z] > git checkout -f bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c # timeout=10 [2022-04-11T13:58:41.921Z] Commit message: "Merge pull request #276 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.23" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T13:58:42.743Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-11T13:58:42.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T13:58:42.743Z] Dload Upload Total Spent Left Speed [2022-04-11T13:58:42.743Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 43862 0 --:--:-- --:--:-- --:--:-- 43862 [Pipeline] sh [2022-04-11T13:58:43.280Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-11T13:58:43.621Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-11T13:58:43.621Z] + sudo tee /etc/docker/daemon.new [2022-04-11T13:58:43.621Z] { [2022-04-11T13:58:43.621Z] "registry-mirrors": [ [2022-04-11T13:58:43.621Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-11T13:58:43.621Z] ], [2022-04-11T13:58:43.621Z] "bip": "10.250.0.254/24", [2022-04-11T13:58:43.621Z] "hosts": [ [2022-04-11T13:58:43.621Z] "tcp://0.0.0.0:5555", [2022-04-11T13:58:43.621Z] "unix:///var/run/docker.sock" [2022-04-11T13:58:43.621Z] ], [2022-04-11T13:58:43.621Z] "mtu": 1458, [2022-04-11T13:58:43.621Z] "selinux-enabled": true, [2022-04-11T13:58:43.621Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-11T13:58:43.621Z] } [Pipeline] sh [2022-04-11T13:58:43.980Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-11T13:58:44.322Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T13:59:02.674Z] provisioning config files... [2022-04-11T13:59:02.698Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/27@tmp/config5029794575694232469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T13:59:03.072Z] ---> docker-login.sh [2022-04-11T13:59:03.072Z] nexus3.edgexfoundry.org:10001 [2022-04-11T13:59:03.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:59:03.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:59:03.947Z] Configure a credential helper to remove this warning. See [2022-04-11T13:59:03.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:59:03.947Z] [2022-04-11T13:59:03.947Z] Login Succeeded [2022-04-11T13:59:03.947Z] nexus3.edgexfoundry.org:10002 [2022-04-11T13:59:04.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:59:04.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:59:04.228Z] Configure a credential helper to remove this warning. See [2022-04-11T13:59:04.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:59:04.228Z] [2022-04-11T13:59:04.228Z] Login Succeeded [2022-04-11T13:59:04.228Z] nexus3.edgexfoundry.org:10003 [2022-04-11T13:59:04.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:59:04.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:59:04.833Z] Configure a credential helper to remove this warning. See [2022-04-11T13:59:04.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:59:04.833Z] [2022-04-11T13:59:04.833Z] Login Succeeded [2022-04-11T13:59:04.833Z] nexus3.edgexfoundry.org:10004 [2022-04-11T13:59:05.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:59:05.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:59:05.173Z] Configure a credential helper to remove this warning. See [2022-04-11T13:59:05.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:59:05.173Z] [2022-04-11T13:59:05.173Z] Login Succeeded [2022-04-11T13:59:05.173Z] docker.io [2022-04-11T13:59:05.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T13:59:06.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T13:59:06.371Z] Configure a credential helper to remove this warning. See [2022-04-11T13:59:06.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T13:59:06.371Z] [2022-04-11T13:59:06.371Z] Login Succeeded [2022-04-11T13:59:06.371Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T13:59:06.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T13:59:06.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T13:59:06.823Z] ========================================================= [2022-04-11T13:59:06.823Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-11T13:59:06.823Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T13:59:07.208Z] + 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-11T13:59:07.810Z] Sending build context to Docker daemon 11.59MB [2022-04-11T13:59:07.810Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T13:59:07.810Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T13:59:07.810Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-11T13:59:07.810Z] 9b3977197b4f: Pulling fs layer [2022-04-11T13:59:07.810Z] 1a89e8eeedd5: Pulling fs layer [2022-04-11T13:59:07.810Z] 94645a83ff95: Pulling fs layer [2022-04-11T13:59:07.810Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-11T13:59:07.810Z] 0c92f367c5e7: Pulling fs layer [2022-04-11T13:59:07.810Z] f7c0051592d6: Pulling fs layer [2022-04-11T13:59:07.810Z] a227ed2f7395: Pulling fs layer [2022-04-11T13:59:07.810Z] 3f3a8bcf1eab: Waiting [2022-04-11T13:59:07.810Z] 0c92f367c5e7: Waiting [2022-04-11T13:59:07.810Z] 7b1c46037f91: Pulling fs layer [2022-04-11T13:59:07.810Z] f7c0051592d6: Waiting [2022-04-11T13:59:07.810Z] a227ed2f7395: Waiting [2022-04-11T13:59:07.810Z] 7b1c46037f91: Waiting [2022-04-11T13:59:07.810Z] 94645a83ff95: Download complete [2022-04-11T13:59:07.810Z] 1a89e8eeedd5: Download complete [2022-04-11T13:59:07.810Z] 0c92f367c5e7: Verifying Checksum [2022-04-11T13:59:07.810Z] 0c92f367c5e7: Download complete [2022-04-11T13:59:07.810Z] f7c0051592d6: Download complete [2022-04-11T13:59:07.810Z] 9b3977197b4f: Verifying Checksum [2022-04-11T13:59:07.810Z] 9b3977197b4f: Download complete [2022-04-11T13:59:07.810Z] a227ed2f7395: Verifying Checksum [2022-04-11T13:59:07.810Z] a227ed2f7395: Download complete [2022-04-11T13:59:08.818Z] 9b3977197b4f: Pull complete [2022-04-11T13:59:09.418Z] 1a89e8eeedd5: Pull complete [2022-04-11T13:59:09.695Z] 94645a83ff95: Pull complete [2022-04-11T13:59:09.970Z] 7b1c46037f91: Verifying Checksum [2022-04-11T13:59:09.970Z] 7b1c46037f91: Download complete [2022-04-11T13:59:10.576Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-11T13:59:10.576Z] 3f3a8bcf1eab: Download complete [2022-04-11T13:59:22.992Z] 3f3a8bcf1eab: Pull complete [2022-04-11T13:59:22.992Z] 0c92f367c5e7: Pull complete [2022-04-11T13:59:22.992Z] f7c0051592d6: Pull complete [2022-04-11T13:59:22.992Z] a227ed2f7395: Pull complete [2022-04-11T13:59:29.714Z] 7b1c46037f91: Pull complete [2022-04-11T13:59:29.714Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-11T13:59:29.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-11T13:59:29.714Z] ---> f79e39bc4007 [2022-04-11T13:59:29.714Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T13:59:30.703Z] ---> Running in a387e78112ac [2022-04-11T13:59:30.980Z] Removing intermediate container a387e78112ac [2022-04-11T13:59:30.980Z] ---> 9548468ec289 [2022-04-11T13:59:30.980Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T13:59:30.980Z] ---> Running in ec19c149b658 [2022-04-11T13:59:31.257Z] Removing intermediate container ec19c149b658 [2022-04-11T13:59:31.257Z] ---> 21708653d269 [2022-04-11T13:59:31.257Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-11T13:59:31.257Z] ---> Running in 356efb4a7a64 [2022-04-11T13:59:31.534Z] Removing intermediate container 356efb4a7a64 [2022-04-11T13:59:31.534Z] ---> c49e275014dc [2022-04-11T13:59:31.534Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T13:59:31.808Z] ---> Running in fabf660e913b [2022-04-11T13:59:33.793Z] Removing intermediate container fabf660e913b [2022-04-11T13:59:33.793Z] ---> 9f7bcc7c6c1c [2022-04-11T13:59:33.793Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T13:59:33.793Z] ---> Running in ad05c2b74e2a [2022-04-11T13:59:34.390Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T13:59:35.367Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T13:59:36.345Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T13:59:36.345Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T13:59:36.345Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T13:59:36.622Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T13:59:36.622Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T13:59:36.622Z] OK: 224 MiB in 56 packages [2022-04-11T13:59:37.611Z] Removing intermediate container ad05c2b74e2a [2022-04-11T13:59:37.611Z] ---> 62bd1f21b262 [2022-04-11T13:59:37.611Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-11T13:59:38.211Z] ---> 5ce39d33d1f2 [2022-04-11T13:59:38.211Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T13:59:38.211Z] ---> Running in 6ebc2288b46f [2022-04-11T14:00:25.233Z] Removing intermediate container 6ebc2288b46f [2022-04-11T14:00:25.233Z] ---> 8d86629edc6e [2022-04-11T14:00:25.233Z] Step 10/12 : COPY . . [2022-04-11T14:00:25.233Z] ---> d21dcebeae8d [2022-04-11T14:00:25.233Z] Step 11/12 : ARG MAKE='make build' [2022-04-11T14:00:25.233Z] ---> Running in 242d9b9051f0 [2022-04-11T14:00:25.233Z] Removing intermediate container 242d9b9051f0 [2022-04-11T14:00:25.233Z] ---> e0101c83722e [2022-04-11T14:00:25.233Z] Step 12/12 : RUN $MAKE [2022-04-11T14:00:25.233Z] ---> Running in 5eadf7b58526 [2022-04-11T14:00:25.508Z] noop [2022-04-11T14:00:26.108Z] Removing intermediate container 5eadf7b58526 [2022-04-11T14:00:26.108Z] ---> 3bfabaf858b4 [2022-04-11T14:00:26.108Z] Successfully built 3bfabaf858b4 [2022-04-11T14:00:26.108Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:00:26.463Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T14:00:26.463Z] . [Pipeline] withDockerContainer [2022-04-11T14:00:26.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-19503 does not seem to be running inside a container [2022-04-11T14:00:26.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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-11T14:00:28.102Z] $ docker top 4a88b06fcd4babfdbda188ac09497a02b272f17ac00d54c45c4a3fa7a8854576 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T14:00:29.043Z] + go version [2022-04-11T14:00:29.043Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-11T14:00:29.072Z] $ docker stop --time=1 4a88b06fcd4babfdbda188ac09497a02b272f17ac00d54c45c4a3fa7a8854576 [2022-04-11T14:00:30.749Z] $ docker rm -f 4a88b06fcd4babfdbda188ac09497a02b272f17ac00d54c45c4a3fa7a8854576 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:00:31.371Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T14:00:31.371Z] . [Pipeline] withDockerContainer [2022-04-11T14:00:31.611Z] prd-ubuntu20.04-docker-arm64-4c-16g-19503 does not seem to be running inside a container [2022-04-11T14:00:31.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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-11T14:00:32.998Z] $ docker top 1b8d10eca7795faebc859efb58a7a128997ed07b256855ed6224ea65bddfe1a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T14:00:33.933Z] + make test [2022-04-11T14:00:33.933Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-11T14:00:35.411Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-11T14:01:57.320Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-11T14:01:57.320Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.143s coverage: 65.7% of statements [2022-04-11T14:01:57.320Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-11T14:01:57.320Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T14:02:19.557Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T14:02:19.557Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T14:02:19.557Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T14:02:20.557Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T14:02:20.577Z] $ docker stop --time=1 1b8d10eca7795faebc859efb58a7a128997ed07b256855ed6224ea65bddfe1a2 [2022-04-11T14:02:22.446Z] $ docker rm -f 1b8d10eca7795faebc859efb58a7a128997ed07b256855ed6224ea65bddfe1a2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T14:02:23.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T14:02:23.501Z] Warning: overwriting stash ‘coverage-report’ [2022-04-11T14:02:24.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T14:02:24.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T14:02:24.798Z] + ls -al . [2022-04-11T14:02:24.798Z] total 200 [2022-04-11T14:02:24.798Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 11 14:02 . [2022-04-11T14:02:24.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 13:58 .. [2022-04-11T14:02:24.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 13:58 .git [2022-04-11T14:02:24.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 13:58 .github [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 11 13:58 .gitignore [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 13:58 .golangci.yml [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 11 13:58 Attribution.txt [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 11 13:58 CHANGELOG.md [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 11 13:58 Dockerfile [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 13:58 GOVERNANCE.md [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 11 13:58 Jenkinsfile [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 13:58 LICENSE [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 2248 Apr 11 13:58 Makefile [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 11 13:58 OWNERS.md [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 11 13:58 README.md [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 11 13:56 VERSION [2022-04-11T14:02:24.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 13:58 bin [2022-04-11T14:02:24.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 13:58 cmd [2022-04-11T14:02:24.798Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 11 14:01 coverage.out [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 3092 Apr 11 13:58 go.mod [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 54115 Apr 11 13:58 go.sum [2022-04-11T14:02:24.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 13:58 internal [2022-04-11T14:02:24.798Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 11 13:58 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:02:25.152Z] + 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=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c --label arch=arm64 --label version=2.2.0-dev.11 . [2022-04-11T14:02:25.751Z] Sending build context to Docker daemon 11.64MB [2022-04-11T14:02:25.751Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T14:02:25.751Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-11T14:02:25.751Z] ---> 3bfabaf858b4 [2022-04-11T14:02:25.751Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T14:02:25.751Z] ---> Running in a1c7ea8754a0 [2022-04-11T14:02:26.030Z] Removing intermediate container a1c7ea8754a0 [2022-04-11T14:02:26.030Z] ---> d008903beba2 [2022-04-11T14:02:26.030Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T14:02:26.030Z] ---> Running in 0318ad883f3f [2022-04-11T14:02:26.630Z] Removing intermediate container 0318ad883f3f [2022-04-11T14:02:26.630Z] ---> 97359543200b [2022-04-11T14:02:26.630Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-11T14:02:26.630Z] ---> Running in 92fe1d772ad5 [2022-04-11T14:02:26.904Z] Removing intermediate container 92fe1d772ad5 [2022-04-11T14:02:26.904Z] ---> 744b9dd8fb28 [2022-04-11T14:02:26.904Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T14:02:26.904Z] ---> Running in 0c0e595635d5 [2022-04-11T14:02:28.894Z] Removing intermediate container 0c0e595635d5 [2022-04-11T14:02:28.894Z] ---> e2b3e85b7f72 [2022-04-11T14:02:28.894Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T14:02:28.894Z] ---> Running in 0863651dc8a4 [2022-04-11T14:02:29.889Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T14:02:30.875Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T14:02:31.867Z] OK: 224 MiB in 56 packages [2022-04-11T14:02:32.866Z] Removing intermediate container 0863651dc8a4 [2022-04-11T14:02:32.866Z] ---> 6060137316c2 [2022-04-11T14:02:32.866Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-11T14:02:33.471Z] ---> 35b17f522edd [2022-04-11T14:02:33.471Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T14:02:33.471Z] ---> Running in 8710f2b43166 [2022-04-11T14:02:35.461Z] Removing intermediate container 8710f2b43166 [2022-04-11T14:02:35.461Z] ---> 45fb3ecc8c4b [2022-04-11T14:02:35.461Z] Step 10/26 : COPY . . [2022-04-11T14:02:37.453Z] ---> 1424895fb554 [2022-04-11T14:02:37.453Z] Step 11/26 : ARG MAKE='make build' [2022-04-11T14:02:37.453Z] ---> Running in 7e25d3133ecd [2022-04-11T14:02:37.453Z] Removing intermediate container 7e25d3133ecd [2022-04-11T14:02:37.453Z] ---> 28f1eb9c4092 [2022-04-11T14:02:37.453Z] Step 12/26 : RUN $MAKE [2022-04-11T14:02:37.732Z] ---> Running in 3d6002c7e7d8 [2022-04-11T14:02:38.728Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=2.2.0-dev.11" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-04-11T14:05:00.706Z] Removing intermediate container 3d6002c7e7d8 [2022-04-11T14:05:00.706Z] ---> 23fca01c60e3 [2022-04-11T14:05:00.706Z] Step 13/26 : FROM alpine:3.14 [2022-04-11T14:05:00.706Z] 3.14: Pulling from library/alpine [2022-04-11T14:05:00.706Z] 455c02918c45: Pulling fs layer [2022-04-11T14:05:00.706Z] 455c02918c45: Download complete [2022-04-11T14:05:00.706Z] 455c02918c45: Pull complete [2022-04-11T14:05:00.706Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T14:05:00.706Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T14:05:00.706Z] ---> ac73e934f311 [2022-04-11T14:05:00.706Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-11T14:05:00.706Z] ---> Running in 92e3c2163726 [2022-04-11T14:05:00.706Z] Removing intermediate container 92e3c2163726 [2022-04-11T14:05:00.706Z] ---> 68353b6469b6 [2022-04-11T14:05:00.706Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T14:05:00.706Z] ---> Running in de8fb91e5bae [2022-04-11T14:05:00.706Z] Removing intermediate container de8fb91e5bae [2022-04-11T14:05:00.706Z] ---> 900699ee9728 [2022-04-11T14:05:00.706Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T14:05:00.706Z] ---> Running in dfe3098a7afe [2022-04-11T14:05:00.706Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-11T14:05:00.706Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-11T14:05:00.706Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T14:05:00.706Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T14:05:00.706Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T14:05:00.706Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T14:05:00.706Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T14:05:00.706Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T14:05:00.706Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T14:05:00.706Z] OK: 8 MiB in 20 packages [2022-04-11T14:05:00.706Z] Removing intermediate container dfe3098a7afe [2022-04-11T14:05:00.706Z] ---> 72290ec721af [2022-04-11T14:05:00.706Z] Step 17/26 : WORKDIR / [2022-04-11T14:05:00.706Z] ---> Running in 1daf5dcc89af [2022-04-11T14:05:00.706Z] Removing intermediate container 1daf5dcc89af [2022-04-11T14:05:00.706Z] ---> c7d24e282d90 [2022-04-11T14:05:00.706Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-11T14:05:00.706Z] ---> 8bcc22bd5c6a [2022-04-11T14:05:00.706Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-11T14:05:00.706Z] ---> 647e3f78df4f [2022-04-11T14:05:00.706Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-11T14:05:00.706Z] ---> a573f2f12e60 [2022-04-11T14:05:00.706Z] Step 21/26 : EXPOSE 59900 [2022-04-11T14:05:00.706Z] ---> Running in 3b1a569e7066 [2022-04-11T14:05:00.706Z] Removing intermediate container 3b1a569e7066 [2022-04-11T14:05:00.706Z] ---> c641e570ad9c [2022-04-11T14:05:00.706Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-11T14:05:00.706Z] ---> Running in 1fcdb2093c8a [2022-04-11T14:05:00.706Z] Removing intermediate container 1fcdb2093c8a [2022-04-11T14:05:00.706Z] ---> 19739ae69e14 [2022-04-11T14:05:00.706Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T14:05:00.706Z] ---> Running in 32844ef016f9 [2022-04-11T14:05:00.706Z] Removing intermediate container 32844ef016f9 [2022-04-11T14:05:00.706Z] ---> f0c9fd861929 [2022-04-11T14:05:00.706Z] Step 24/26 : LABEL arch=arm64 [2022-04-11T14:05:00.706Z] ---> Running in 6af61ca53c44 [2022-04-11T14:05:00.706Z] Removing intermediate container 6af61ca53c44 [2022-04-11T14:05:00.706Z] ---> 1694ab4bcde8 [2022-04-11T14:05:00.706Z] Step 25/26 : LABEL git_sha=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T14:05:00.706Z] ---> Running in 6b4d0dc2d86d [2022-04-11T14:05:00.979Z] Removing intermediate container 6b4d0dc2d86d [2022-04-11T14:05:00.979Z] ---> 712d5987562e [2022-04-11T14:05:00.979Z] Step 26/26 : LABEL version=2.2.0-dev.11 [2022-04-11T14:05:01.260Z] ---> Running in 8c587175e355 [2022-04-11T14:05:01.535Z] Removing intermediate container 8c587175e355 [2022-04-11T14:05:01.535Z] ---> 1251096b43d6 [2022-04-11T14:05:01.535Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T14:05:01.535Z] Successfully built 1251096b43d6 [2022-04-11T14:05:01.535Z] 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-11T14:05:01.642Z] provisioning config files... [2022-04-11T14:05:01.667Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/27@tmp/config3827580472977389027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:05:02.037Z] ---> docker-login.sh [2022-04-11T14:05:02.037Z] nexus3.edgexfoundry.org:10001 [2022-04-11T14:05:02.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T14:05:02.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T14:05:02.311Z] Configure a credential helper to remove this warning. See [2022-04-11T14:05:02.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T14:05:02.311Z] [2022-04-11T14:05:02.311Z] Login Succeeded [2022-04-11T14:05:02.311Z] nexus3.edgexfoundry.org:10002 [2022-04-11T14:05:02.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T14:05:02.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T14:05:02.913Z] Configure a credential helper to remove this warning. See [2022-04-11T14:05:02.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T14:05:02.913Z] [2022-04-11T14:05:02.913Z] Login Succeeded [2022-04-11T14:05:02.913Z] nexus3.edgexfoundry.org:10003 [2022-04-11T14:05:03.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T14:05:03.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T14:05:03.464Z] Configure a credential helper to remove this warning. See [2022-04-11T14:05:03.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T14:05:03.464Z] [2022-04-11T14:05:03.464Z] Login Succeeded [2022-04-11T14:05:03.464Z] nexus3.edgexfoundry.org:10004 [2022-04-11T14:05:03.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T14:05:04.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T14:05:04.018Z] Configure a credential helper to remove this warning. See [2022-04-11T14:05:04.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T14:05:04.018Z] [2022-04-11T14:05:04.018Z] Login Succeeded [2022-04-11T14:05:04.018Z] docker.io [2022-04-11T14:05:04.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T14:05:04.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T14:05:04.895Z] Configure a credential helper to remove this warning. See [2022-04-11T14:05:04.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T14:05:04.895Z] [2022-04-11T14:05:04.895Z] Login Succeeded [2022-04-11T14:05:04.895Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T14:05:04.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T14:05:04.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T14:05:04.980Z] [edgeXDocker.push] Tagging docker image device-virtual-arm64 with the following tags: [2022-04-11T14:05:04.980Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T14:05:04.980Z] latest [2022-04-11T14:05:04.980Z] 2.2.0-dev.11 [2022-04-11T14:05:04.980Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [2022-04-11T14:05:04.980Z] main [2022-04-11T14:05:04.980Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:05.335Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:05.703Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T14:05:05.703Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-11T14:05:05.703Z] 0e1f77b59c5b: Preparing [2022-04-11T14:05:05.703Z] c597ad2a8ecc: Preparing [2022-04-11T14:05:05.703Z] d77a471e6069: Preparing [2022-04-11T14:05:05.703Z] 4abbedf45dfc: Preparing [2022-04-11T14:05:05.703Z] 6f6142462bd5: Preparing [2022-04-11T14:05:05.703Z] f73e7dbfee58: Preparing [2022-04-11T14:05:05.703Z] f73e7dbfee58: Waiting [2022-04-11T14:05:05.984Z] 6f6142462bd5: Pushed [2022-04-11T14:05:05.984Z] d77a471e6069: Pushed [2022-04-11T14:05:05.984Z] c597ad2a8ecc: Pushed [2022-04-11T14:05:05.984Z] f73e7dbfee58: Layer already exists [2022-04-11T14:05:06.586Z] 4abbedf45dfc: Pushed [2022-04-11T14:05:13.313Z] 0e1f77b59c5b: Pushed [2022-04-11T14:05:13.313Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:13.672Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:14.031Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-11T14:05:14.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-11T14:05:14.031Z] 0e1f77b59c5b: Preparing [2022-04-11T14:05:14.031Z] c597ad2a8ecc: Preparing [2022-04-11T14:05:14.031Z] d77a471e6069: Preparing [2022-04-11T14:05:14.031Z] 4abbedf45dfc: Preparing [2022-04-11T14:05:14.031Z] 6f6142462bd5: Preparing [2022-04-11T14:05:14.031Z] f73e7dbfee58: Preparing [2022-04-11T14:05:14.031Z] f73e7dbfee58: Waiting [2022-04-11T14:05:14.031Z] d77a471e6069: Layer already exists [2022-04-11T14:05:14.031Z] 0e1f77b59c5b: Layer already exists [2022-04-11T14:05:14.031Z] 4abbedf45dfc: Layer already exists [2022-04-11T14:05:14.031Z] 6f6142462bd5: Layer already exists [2022-04-11T14:05:14.031Z] c597ad2a8ecc: Layer already exists [2022-04-11T14:05:14.307Z] f73e7dbfee58: Layer already exists [2022-04-11T14:05:14.307Z] latest: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:14.666Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:15.020Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.11 [2022-04-11T14:05:15.020Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-11T14:05:15.020Z] 0e1f77b59c5b: Preparing [2022-04-11T14:05:15.020Z] c597ad2a8ecc: Preparing [2022-04-11T14:05:15.020Z] d77a471e6069: Preparing [2022-04-11T14:05:15.020Z] 4abbedf45dfc: Preparing [2022-04-11T14:05:15.020Z] 6f6142462bd5: Preparing [2022-04-11T14:05:15.020Z] f73e7dbfee58: Preparing [2022-04-11T14:05:15.020Z] f73e7dbfee58: Waiting [2022-04-11T14:05:15.020Z] c597ad2a8ecc: Layer already exists [2022-04-11T14:05:15.020Z] 0e1f77b59c5b: Layer already exists [2022-04-11T14:05:15.020Z] d77a471e6069: Layer already exists [2022-04-11T14:05:15.020Z] 6f6142462bd5: Layer already exists [2022-04-11T14:05:15.020Z] 4abbedf45dfc: Layer already exists [2022-04-11T14:05:15.020Z] f73e7dbfee58: Layer already exists [2022-04-11T14:05:15.294Z] 2.2.0-dev.11: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:15.652Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:15.998Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [2022-04-11T14:05:15.998Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-11T14:05:15.998Z] 0e1f77b59c5b: Preparing [2022-04-11T14:05:15.999Z] c597ad2a8ecc: Preparing [2022-04-11T14:05:15.999Z] d77a471e6069: Preparing [2022-04-11T14:05:15.999Z] 4abbedf45dfc: Preparing [2022-04-11T14:05:15.999Z] 6f6142462bd5: Preparing [2022-04-11T14:05:15.999Z] f73e7dbfee58: Preparing [2022-04-11T14:05:15.999Z] f73e7dbfee58: Waiting [2022-04-11T14:05:15.999Z] 6f6142462bd5: Layer already exists [2022-04-11T14:05:15.999Z] d77a471e6069: Layer already exists [2022-04-11T14:05:15.999Z] 0e1f77b59c5b: Layer already exists [2022-04-11T14:05:15.999Z] 4abbedf45dfc: Layer already exists [2022-04-11T14:05:15.999Z] c597ad2a8ecc: Layer already exists [2022-04-11T14:05:15.999Z] f73e7dbfee58: Layer already exists [2022-04-11T14:05:16.273Z] bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:16.632Z] + docker tag device-virtual-arm64 nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:16.994Z] + docker push nexus3.edgexfoundry.org:10004/device-virtual-arm64:main [2022-04-11T14:05:16.994Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-virtual-arm64] [2022-04-11T14:05:16.994Z] 0e1f77b59c5b: Preparing [2022-04-11T14:05:16.994Z] c597ad2a8ecc: Preparing [2022-04-11T14:05:16.994Z] d77a471e6069: Preparing [2022-04-11T14:05:16.994Z] 4abbedf45dfc: Preparing [2022-04-11T14:05:16.994Z] 6f6142462bd5: Preparing [2022-04-11T14:05:16.994Z] f73e7dbfee58: Preparing [2022-04-11T14:05:16.994Z] f73e7dbfee58: Waiting [2022-04-11T14:05:16.994Z] 4abbedf45dfc: Layer already exists [2022-04-11T14:05:16.994Z] c597ad2a8ecc: Layer already exists [2022-04-11T14:05:16.994Z] 6f6142462bd5: Layer already exists [2022-04-11T14:05:17.267Z] d77a471e6069: Layer already exists [2022-04-11T14:05:17.267Z] 0e1f77b59c5b: Layer already exists [2022-04-11T14:05:17.267Z] f73e7dbfee58: Layer already exists [2022-04-11T14:05:17.267Z] main: digest: sha256:1533bcca0dc7d769418f600ba3304fbb84b3ad994647ab3680302b0077f99e6f size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-11T14:05:17.317Z] ===================================================== [Pipeline] echo [2022-04-11T14:05:17.329Z] taggedImages: [2022-04-11T14:05:17.329Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [2022-04-11T14:05:17.329Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:latest [2022-04-11T14:05:17.329Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:2.2.0-dev.11 [2022-04-11T14:05:17.329Z] - nexus3.edgexfoundry.org:10004/device-virtual-arm64:bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c-2.2.0-dev.11 [2022-04-11T14:05:17.329Z] - 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-11T14:05:17.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T14:05:17.710Z] [2022-04-11T14:05:17.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:18.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T14:05:18.353Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-11T14:05:18.353Z] 8998bd30e6a1: Pulling fs layer [2022-04-11T14:05:18.353Z] 04944245beec: Pulling fs layer [2022-04-11T14:05:18.353Z] 699f458cf7ca: Pulling fs layer [2022-04-11T14:05:18.353Z] 765212b225bb: Pulling fs layer [2022-04-11T14:05:18.353Z] f23df028b6ca: Pulling fs layer [2022-04-11T14:05:18.353Z] d65c8cfc05b1: Pulling fs layer [2022-04-11T14:05:18.353Z] 2437ff75d9bd: Pulling fs layer [2022-04-11T14:05:18.353Z] f23df028b6ca: Waiting [2022-04-11T14:05:18.353Z] d65c8cfc05b1: Waiting [2022-04-11T14:05:18.353Z] 2437ff75d9bd: Waiting [2022-04-11T14:05:18.353Z] 765212b225bb: Waiting [2022-04-11T14:05:18.353Z] 04944245beec: Verifying Checksum [2022-04-11T14:05:18.353Z] 04944245beec: Download complete [2022-04-11T14:05:18.353Z] 765212b225bb: Verifying Checksum [2022-04-11T14:05:18.353Z] 765212b225bb: Download complete [2022-04-11T14:05:18.353Z] f23df028b6ca: Verifying Checksum [2022-04-11T14:05:18.353Z] d65c8cfc05b1: Verifying Checksum [2022-04-11T14:05:18.353Z] d65c8cfc05b1: Download complete [2022-04-11T14:05:18.631Z] 699f458cf7ca: Verifying Checksum [2022-04-11T14:05:18.631Z] 699f458cf7ca: Download complete [2022-04-11T14:05:18.913Z] 8998bd30e6a1: Verifying Checksum [2022-04-11T14:05:18.913Z] 8998bd30e6a1: Download complete [2022-04-11T14:05:21.542Z] 2437ff75d9bd: Verifying Checksum [2022-04-11T14:05:21.542Z] 2437ff75d9bd: Download complete [2022-04-11T14:05:23.739Z] 8998bd30e6a1: Pull complete [2022-04-11T14:05:24.018Z] 04944245beec: Pull complete [2022-04-11T14:05:25.460Z] 699f458cf7ca: Pull complete [2022-04-11T14:05:25.738Z] 765212b225bb: Pull complete [2022-04-11T14:05:26.726Z] f23df028b6ca: Pull complete [2022-04-11T14:05:27.001Z] d65c8cfc05b1: Pull complete [2022-04-11T14:05:45.364Z] 2437ff75d9bd: Pull complete [2022-04-11T14:05:45.364Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-11T14:05:45.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T14:05:45.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-11T14:05:45.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-19503 does not seem to be running inside a container [2022-04-11T14:05:45.701Z] $ 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/27 -v /w/workspace/device-virtual-go/27:/w/workspace/device-virtual-go/27:rw,z -v /w/workspace/device-virtual-go/27@tmp:/w/workspace/device-virtual-go/27@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-11T14:05:49.124Z] $ docker top a22bdf209fc69017e42ab7696075f0e00383e4e3ed3afaa215ba00c6fc249328 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:05:50.088Z] ---> job-cost.sh [2022-04-11T14:05:50.088Z] lf-activate-venv: SKIPPING [2022-04-11T14:05:50.088Z] INFO: No Stack... [2022-04-11T14:05:50.365Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-11T14:05:51.345Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T14:05:52.021Z] + cut -d, -f6 [2022-04-11T14:05:52.021Z] + cat /w/workspace/device-virtual-go/27/archives/cost.csv [Pipeline] lock [2022-04-11T14:05:52.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [2022-04-11T14:05:52.100Z] Resource [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] did not exist. Created. [2022-04-11T14:05:52.101Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T14:05:52.806Z] /w/workspace/device-virtual-go/27@tmp/durable-daccb098/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-11T14:05:53.500Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-11T14:05:53.529Z] Warning: overwriting stash ‘stack-cost’ [2022-04-11T14:05:53.577Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T14:05:53.587Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T14:05:53.608Z] $ docker stop --time=1 a22bdf209fc69017e42ab7696075f0e00383e4e3ed3afaa215ba00c6fc249328 [2022-04-11T14:05:55.186Z] $ docker rm -f a22bdf209fc69017e42ab7696075f0e00383e4e3ed3afaa215ba00c6fc249328 [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-11T14:05:55.846Z] provisioning config files... [2022-04-11T14:05:55.856Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config4979790619962573217tmp [Pipeline] { [Pipeline] sh [2022-04-11T14:05:56.154Z] + set +x [2022-04-11T14:05:56.155Z] + + curl -s https://codecov.io/bash [2022-04-11T14:05:56.155Z] bash -s -- [2022-04-11T14:05:56.155Z] [2022-04-11T14:05:56.155Z] _____ _ [2022-04-11T14:05:56.155Z] / ____| | | [2022-04-11T14:05:56.155Z] | | ___ __| | ___ ___ _____ __ [2022-04-11T14:05:56.155Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-11T14:05:56.155Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-11T14:05:56.155Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-11T14:05:56.155Z] Bash-1.0.6 [2022-04-11T14:05:56.155Z] [2022-04-11T14:05:56.155Z] [2022-04-11T14:05:56.155Z] ==> git version 2.25.1 found [2022-04-11T14:05:56.155Z] ==> 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-11T14:05:56.155Z] Release-Date: 2020-01-08 [2022-04-11T14:05:56.155Z] 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-11T14:05:56.155Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-11T14:05:56.155Z] ==> Jenkins CI detected. [2022-04-11T14:05:56.155Z] current dir:  /w/workspace/exfoundry_device-virtual-go_main [2022-04-11T14:05:56.155Z] project root: . [2022-04-11T14:05:56.155Z] --> token set from env [2022-04-11T14:05:56.155Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-11T14:05:56.155Z] ==> Running gcov in . (disable via -X gcov) [2022-04-11T14:05:56.155Z] ==> Python coveragepy not found [2022-04-11T14:05:56.155Z] ==> Searching for coverage reports in: [2022-04-11T14:05:56.155Z] + . [2022-04-11T14:05:56.155Z] -> Found 1 reports [2022-04-11T14:05:56.155Z] ==> Detecting git/mercurial file structure [2022-04-11T14:05:56.155Z] ==> Reading reports [2022-04-11T14:05:56.155Z] + ./coverage.out bytes=44128 [2022-04-11T14:05:56.414Z] ==> Appending adjustments [2022-04-11T14:05:56.414Z] https://docs.codecov.io/docs/fixing-reports [2022-04-11T14:05:56.414Z] + Found adjustments [2022-04-11T14:05:56.414Z] ==> Gzipping contents [2022-04-11T14:05:56.414Z] 8.0K /tmp/codecov.2kjXad.gz [2022-04-11T14:05:56.414Z] ==> Uploading reports [2022-04-11T14:05:56.414Z] url: https://codecov.io [2022-04-11T14:05:56.414Z] query: branch=main&commit=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-11T14:05:56.414Z] -> Pinging Codecov [2022-04-11T14:05:56.414Z] 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=bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-11T14:05:56.674Z] -> Uploading to [2022-04-11T14:05:56.674Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-11/5E52B4B073DB2E39498172D8E973AA87/bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c/3fe04f13-4ea1-41fd-80d7-03e656bca8d3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T140556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3c86caf42febe29da96f7618405024ab7aaaad24dab8f807d573d25b3ef0937c [2022-04-11T14:05:56.674Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T14:05:56.674Z] Dload Upload Total Spent Left Speed [2022-04-11T14:05:56.933Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5285 0 0 100 5285 0 19646 --:--:-- --:--:-- --:--:-- 19646 [2022-04-11T14:05:56.933Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] } [2022-04-11T14:05:56.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-11T14:05:57.215Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-11T14:05:57.225Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:57.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T14:05:57.526Z] [2022-04-11T14:05:57.526Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:05:57.826Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T14:05:57.826Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-11T14:05:57.826Z] 188c0c94c7c5: Pulling fs layer [2022-04-11T14:05:57.826Z] 0ef7d3d256c8: Pulling fs layer [2022-04-11T14:05:57.826Z] de9db76c5a1d: Pulling fs layer [2022-04-11T14:05:57.826Z] 0eba1c9be4d2: Pulling fs layer [2022-04-11T14:05:57.826Z] 0d57e429df01: Pulling fs layer [2022-04-11T14:05:57.826Z] 4e4be7b47b0d: Pulling fs layer [2022-04-11T14:05:57.826Z] e1f770b5df2f: Pulling fs layer [2022-04-11T14:05:57.826Z] 85a0685a4137: Pulling fs layer [2022-04-11T14:05:57.826Z] e1f770b5df2f: Waiting [2022-04-11T14:05:57.826Z] 85a0685a4137: Waiting [2022-04-11T14:05:57.826Z] 4e4be7b47b0d: Waiting [2022-04-11T14:05:57.826Z] 0eba1c9be4d2: Waiting [2022-04-11T14:05:57.826Z] 0d57e429df01: Waiting [2022-04-11T14:05:57.826Z] de9db76c5a1d: Verifying Checksum [2022-04-11T14:05:57.826Z] de9db76c5a1d: Download complete [2022-04-11T14:05:57.826Z] 0ef7d3d256c8: Download complete [2022-04-11T14:05:57.826Z] 0d57e429df01: Verifying Checksum [2022-04-11T14:05:57.826Z] 0d57e429df01: Download complete [2022-04-11T14:05:57.826Z] 4e4be7b47b0d: Verifying Checksum [2022-04-11T14:05:57.826Z] 4e4be7b47b0d: Download complete [2022-04-11T14:05:57.826Z] 188c0c94c7c5: Verifying Checksum [2022-04-11T14:05:57.826Z] 188c0c94c7c5: Download complete [2022-04-11T14:05:58.087Z] 188c0c94c7c5: Pull complete [2022-04-11T14:05:58.087Z] e1f770b5df2f: Verifying Checksum [2022-04-11T14:05:58.087Z] e1f770b5df2f: Download complete [2022-04-11T14:05:58.087Z] 0ef7d3d256c8: Pull complete [2022-04-11T14:05:58.087Z] de9db76c5a1d: Pull complete [2022-04-11T14:05:58.657Z] 0eba1c9be4d2: Download complete [2022-04-11T14:05:58.916Z] 85a0685a4137: Verifying Checksum [2022-04-11T14:05:58.916Z] 85a0685a4137: Download complete [2022-04-11T14:06:02.199Z] 0eba1c9be4d2: Pull complete [2022-04-11T14:06:02.199Z] 0d57e429df01: Pull complete [2022-04-11T14:06:02.199Z] 4e4be7b47b0d: Pull complete [2022-04-11T14:06:02.199Z] e1f770b5df2f: Pull complete [2022-04-11T14:06:05.488Z] 85a0685a4137: Pull complete [2022-04-11T14:06:05.488Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-11T14:06:05.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-11T14:06:05.488Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-11T14:06:05.555Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T14:06:05.597Z] $ 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-11T14:06:07.630Z] $ docker top a7d175100f3fe7e1ff0f88275b058f275e32a7908be7ef2a84d7ac36a1abb03b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-11T14:06:07.703Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-11T14:06:07.982Z] + set -o pipefail [2022-04-11T14:06:07.982Z] + snyk monitor '--org=edgex-jenkins' [2022-04-11T14:06:13.268Z] [2022-04-11T14:06:13.268Z] Monitoring /w/workspace/exfoundry_device-virtual-go_main (github.com/edgexfoundry/device-virtual-go)... [2022-04-11T14:06:13.268Z] [2022-04-11T14:06:13.268Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3924f214-7ae4-42a4-961a-cd664290c3c8/history/0303b5f5-e668-4166-a94e-ab749cbb7311 [2022-04-11T14:06:13.268Z] [2022-04-11T14:06:13.268Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-11T14:06:13.268Z] [2022-04-11T14:06:13.268Z] [Pipeline] } [2022-04-11T14:06:13.284Z] $ docker stop --time=1 a7d175100f3fe7e1ff0f88275b058f275e32a7908be7ef2a84d7ac36a1abb03b [2022-04-11T14:06:15.515Z] $ docker rm -f a7d175100f3fe7e1ff0f88275b058f275e32a7908be7ef2a84d7ac36a1abb03b [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-11T14:06:16.225Z] + git log --format=format:%s -1 bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c [Pipeline] sh [2022-04-11T14:06:16.521Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T14:06:16.521Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:06:16.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T14:06:16.821Z] . [Pipeline] withDockerContainer [2022-04-11T14:06:16.888Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T14:06:16.923Z] $ 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-11T14:06:17.348Z] $ docker top 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T14:06:17.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T14:06:17.444Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T14:06:17.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T14:06:17.571Z] $ docker exec 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 ssh-agent [2022-04-11T14:06:17.687Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjMDGgA/agent.15 [2022-04-11T14:06:17.687Z] SSH_AGENT_PID=22 [2022-04-11T14:06:17.692Z] Running ssh-add (command line suppressed) [2022-04-11T14:06:17.820Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1459668574866102723.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1459668574866102723.key) [2022-04-11T14:06:17.831Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T14:06:18.126Z] + git semver tag [2022-04-11T14:06:18.126Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T14:06:18.126Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-11T14:06:18.126Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-11T14:06:18.126Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T14:06:18.126Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T14:06:18.126Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T14:06:18.126Z] # $SEMVER_BRANCH = main [2022-04-11T14:06:18.126Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-11T14:06:18.126Z] # bad5f78d6d96ce5bc91f3437ff3501c991ccbc5c HEAD [2022-04-11T14:06:18.126Z] # -> Force: false [2022-04-11T14:06:18.126Z] # c5ccec75f83dfbeebc0beac5b188e261376008f0 refs/tags/v2.2.0-dev.11 [Pipeline] } [2022-04-11T14:06:18.139Z] $ docker exec --env ******** --env ******** 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 ssh-agent -k [2022-04-11T14:06:18.247Z] unset SSH_AUTH_SOCK; [2022-04-11T14:06:18.247Z] unset SSH_AGENT_PID; [2022-04-11T14:06:18.247Z] echo Agent pid 22 killed; [2022-04-11T14:06:18.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T14:06:18.563Z] + git semver [Pipeline] } [2022-04-11T14:06:18.580Z] $ docker stop --time=1 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 [2022-04-11T14:06:19.885Z] $ docker rm -f 9f740a8fd23ec2ecce53bef19abbf552ac00aa1fb2d96f32d76a5926ea982d95 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:06:20.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T14:06:20.310Z] [2022-04-11T14:06:20.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:06:20.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T14:06:20.612Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-11T14:06:20.612Z] ab5ef0e58194: Pulling fs layer [2022-04-11T14:06:20.612Z] 9712f1f96733: Pulling fs layer [2022-04-11T14:06:20.612Z] 63f879dbbcfc: Pulling fs layer [2022-04-11T14:06:20.612Z] 0d9ebad4ef96: Pulling fs layer [2022-04-11T14:06:20.612Z] e9a5061849ea: Pulling fs layer [2022-04-11T14:06:20.612Z] d747dcd14b5f: Pulling fs layer [2022-04-11T14:06:20.612Z] 2de7ff778b66: Pulling fs layer [2022-04-11T14:06:20.612Z] e9a5061849ea: Waiting [2022-04-11T14:06:20.612Z] d747dcd14b5f: Waiting [2022-04-11T14:06:20.612Z] 0d9ebad4ef96: Waiting [2022-04-11T14:06:20.612Z] 2de7ff778b66: Waiting [2022-04-11T14:06:20.612Z] 9712f1f96733: Verifying Checksum [2022-04-11T14:06:20.612Z] 9712f1f96733: Download complete [2022-04-11T14:06:21.187Z] 0d9ebad4ef96: Verifying Checksum [2022-04-11T14:06:21.187Z] 0d9ebad4ef96: Download complete [2022-04-11T14:06:21.187Z] 63f879dbbcfc: Verifying Checksum [2022-04-11T14:06:21.187Z] 63f879dbbcfc: Download complete [2022-04-11T14:06:21.187Z] ab5ef0e58194: Verifying Checksum [2022-04-11T14:06:21.187Z] ab5ef0e58194: Download complete [2022-04-11T14:06:21.187Z] d747dcd14b5f: Verifying Checksum [2022-04-11T14:06:21.187Z] d747dcd14b5f: Download complete [2022-04-11T14:06:21.187Z] e9a5061849ea: Verifying Checksum [2022-04-11T14:06:21.187Z] e9a5061849ea: Download complete [2022-04-11T14:06:21.187Z] 2de7ff778b66: Verifying Checksum [2022-04-11T14:06:21.187Z] 2de7ff778b66: Download complete [2022-04-11T14:06:24.477Z] ab5ef0e58194: Pull complete [2022-04-11T14:06:24.477Z] 9712f1f96733: Pull complete [2022-04-11T14:06:24.736Z] 63f879dbbcfc: Pull complete [2022-04-11T14:06:28.930Z] 0d9ebad4ef96: Pull complete [2022-04-11T14:06:28.930Z] e9a5061849ea: Pull complete [2022-04-11T14:06:28.930Z] d747dcd14b5f: Pull complete [2022-04-11T14:06:29.867Z] 2de7ff778b66: Pull complete [2022-04-11T14:06:29.867Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-11T14:06:29.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-11T14:06:29.867Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-11T14:06:29.932Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T14:06:29.974Z] $ 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-11T14:06:31.991Z] $ docker top 87da20d3b249d996ebeff179cedb2aeab75809e852c524d04aae7e346ff95666 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-11T14:06:32.067Z] provisioning config files... [2022-04-11T14:06:32.074Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config266430914344661283tmp [2022-04-11T14:06:32.085Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7013710257279748886tmp [2022-04-11T14:06:32.095Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config7153243986807556740tmp [Pipeline] { [Pipeline] echo [2022-04-11T14:06:32.111Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:32.395Z] ---> sigul-configuration.sh [2022-04-11T14:06:32.395Z] gpg: directory `/root/.gnupg' created [2022-04-11T14:06:32.395Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-11T14:06:32.395Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-11T14:06:32.395Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-11T14:06:32.395Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-11T14:06:32.395Z] gpg: CAST5 encrypted data [2022-04-11T14:06:32.395Z] gpg: encrypted with 1 passphrase [2022-04-11T14:06:32.395Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-11T14:06:32.681Z] + mkdir /home/jenkins [2022-04-11T14:06:32.681Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-11T14:06:32.972Z] + 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-11T14:06:32.981Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:33.264Z] ---> sigul-install.sh [2022-04-11T14:06:33.265Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-11T14:06:33.552Z] + git tag --list [2022-04-11T14:06:33.552Z] v1.0.0 [2022-04-11T14:06:33.552Z] v1.1.0 [2022-04-11T14:06:33.552Z] v1.1.1 [2022-04-11T14:06:33.552Z] v1.2.1 [2022-04-11T14:06:33.552Z] v1.2.2 [2022-04-11T14:06:33.552Z] v1.2.3 [2022-04-11T14:06:33.552Z] v1.3.0 [2022-04-11T14:06:33.552Z] v1.3.1 [2022-04-11T14:06:33.552Z] v2.0.0 [2022-04-11T14:06:33.552Z] v2.0.1-dev.1 [2022-04-11T14:06:33.552Z] v2.0.1-dev.10 [2022-04-11T14:06:33.552Z] v2.0.1-dev.11 [2022-04-11T14:06:33.552Z] v2.0.1-dev.12 [2022-04-11T14:06:33.552Z] v2.0.1-dev.13 [2022-04-11T14:06:33.552Z] v2.0.1-dev.14 [2022-04-11T14:06:33.552Z] v2.0.1-dev.15 [2022-04-11T14:06:33.553Z] v2.0.1-dev.2 [2022-04-11T14:06:33.553Z] v2.0.1-dev.3 [2022-04-11T14:06:33.553Z] v2.0.1-dev.4 [2022-04-11T14:06:33.553Z] v2.0.1-dev.5 [2022-04-11T14:06:33.553Z] v2.0.1-dev.6 [2022-04-11T14:06:33.553Z] v2.0.1-dev.7 [2022-04-11T14:06:33.553Z] v2.0.1-dev.8 [2022-04-11T14:06:33.553Z] v2.0.1-dev.9 [2022-04-11T14:06:33.553Z] v2.1.0 [2022-04-11T14:06:33.553Z] v2.2.0-dev.1 [2022-04-11T14:06:33.553Z] v2.2.0-dev.10 [2022-04-11T14:06:33.553Z] v2.2.0-dev.11 [2022-04-11T14:06:33.553Z] v2.2.0-dev.2 [2022-04-11T14:06:33.553Z] v2.2.0-dev.3 [2022-04-11T14:06:33.553Z] v2.2.0-dev.4 [2022-04-11T14:06:33.553Z] v2.2.0-dev.5 [2022-04-11T14:06:33.553Z] v2.2.0-dev.6 [2022-04-11T14:06:33.553Z] v2.2.0-dev.7 [2022-04-11T14:06:33.553Z] v2.2.0-dev.8 [2022-04-11T14:06:33.553Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-11T14:06:33.845Z] + lftools sign git-tag v2.2.0-dev.11 [2022-04-11T14:06:34.416Z] Signing Git tag with Sigul... [2022-04-11T14:06:34.416Z] Signing v2.2.0-dev.11 [Pipeline] echo [2022-04-11T14:06:34.687Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:34.977Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-11T14:06:34.987Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-11T14:06:35.014Z] $ docker stop --time=1 87da20d3b249d996ebeff179cedb2aeab75809e852c524d04aae7e346ff95666 [2022-04-11T14:06:36.387Z] $ docker rm -f 87da20d3b249d996ebeff179cedb2aeab75809e852c524d04aae7e346ff95666 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-11T14:06:36.797Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T14:06:36.797Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:06:37.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T14:06:37.090Z] . [Pipeline] withDockerContainer [2022-04-11T14:06:37.162Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T14:06:37.204Z] $ 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-11T14:06:37.592Z] $ docker top 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T14:06:37.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T14:06:37.694Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T14:06:37.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T14:06:37.829Z] $ docker exec 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c ssh-agent [2022-04-11T14:06:37.946Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBGGpaj/agent.13 [2022-04-11T14:06:37.946Z] SSH_AGENT_PID=19 [2022-04-11T14:06:37.952Z] Running ssh-add (command line suppressed) [2022-04-11T14:06:38.064Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2137400752127010859.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_2137400752127010859.key) [2022-04-11T14:06:38.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T14:06:38.363Z] + git semver bump pre [2022-04-11T14:06:38.363Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T14:06:38.363Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-11T14:06:38.363Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-11T14:06:38.363Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T14:06:38.363Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T14:06:38.363Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T14:06:38.363Z] # $SEMVER_BRANCH = main [2022-04-11T14:06:38.363Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [2022-04-11T14:06:38.363Z] 2.2.0-dev.12 [Pipeline] } [2022-04-11T14:06:38.376Z] $ docker exec --env ******** --env ******** 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c ssh-agent -k [2022-04-11T14:06:38.483Z] unset SSH_AUTH_SOCK; [2022-04-11T14:06:38.483Z] unset SSH_AGENT_PID; [2022-04-11T14:06:38.483Z] echo Agent pid 19 killed; [2022-04-11T14:06:38.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T14:06:38.795Z] + git semver [Pipeline] } [2022-04-11T14:06:38.814Z] $ docker stop --time=1 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c [2022-04-11T14:06:40.100Z] $ docker rm -f 52a619bb7514b6ea1ee881398ee4f252c6d2349887c07c9940b8e308074a357c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T14:06:40.456Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T14:06:40.456Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:06:40.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T14:06:40.751Z] . [Pipeline] withDockerContainer [2022-04-11T14:06:40.813Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T14:06:40.853Z] $ 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-11T14:06:41.186Z] $ docker top 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T14:06:41.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T14:06:41.282Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T14:06:41.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T14:06:41.413Z] $ docker exec 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 ssh-agent [2022-04-11T14:06:41.531Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaCjjcf/agent.13 [2022-04-11T14:06:41.531Z] SSH_AGENT_PID=20 [2022-04-11T14:06:41.537Z] Running ssh-add (command line suppressed) [2022-04-11T14:06:41.663Z] Identity added: /w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1956948450601147048.key (/w/workspace/exfoundry_device-virtual-go_main@tmp/private_key_1956948450601147048.key) [2022-04-11T14:06:41.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T14:06:41.967Z] + git semver push [2022-04-11T14:06:41.967Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T14:06:41.967Z] # $GIT_DIR = /w/workspace/exfoundry_device-virtual-go_main/.git [2022-04-11T14:06:41.967Z] # $GIT_WORK_TREE = /w/workspace/exfoundry_device-virtual-go_main [2022-04-11T14:06:41.967Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T14:06:41.967Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T14:06:41.967Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T14:06:41.967Z] # $SEMVER_BRANCH = main [2022-04-11T14:06:41.967Z] # $SEMVER_DIR = /w/workspace/exfoundry_device-virtual-go_main/.semver [Pipeline] } [2022-04-11T14:06:43.892Z] $ docker exec --env ******** --env ******** 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 ssh-agent -k [2022-04-11T14:06:43.992Z] unset SSH_AUTH_SOCK; [2022-04-11T14:06:43.993Z] unset SSH_AGENT_PID; [2022-04-11T14:06:43.993Z] echo Agent pid 20 killed; [2022-04-11T14:06:44.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T14:06:44.306Z] + git semver [Pipeline] } [2022-04-11T14:06:44.324Z] $ docker stop --time=1 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 [2022-04-11T14:06:45.595Z] $ docker rm -f 6105f284935ce706f5f24c00f2700854c3bafebf022b6d23188cb4d529d10d61 [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-11T14:06:46.197Z] + [ -d /w/workspace/exfoundry_device-virtual-go_main/archives ] [2022-04-11T14:06:46.197Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-11T14:06:46.197Z] total 16 [2022-04-11T14:06:46.197Z] drwxr-xr-x 3 root root 4096 Apr 11 13:58 . [2022-04-11T14:06:46.197Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 14:06 .. [2022-04-11T14:06:46.197Z] drwxr-xr-x 2 root root 4096 Apr 11 13:58 cost [2022-04-11T14:06:46.197Z] -rw-r--r-- 1 root root 87 Apr 11 13:58 cost.csv [2022-04-11T14:06:46.197Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-11T14:06:46.197Z] + ls -al /w/workspace/exfoundry_device-virtual-go_main/archives [2022-04-11T14:06:46.197Z] total 16 [2022-04-11T14:06:46.197Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 13:58 . [2022-04-11T14:06:46.197Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 14:06 .. [2022-04-11T14:06:46.197Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 13:58 cost [2022-04-11T14:06:46.197Z] -rw-r--r-- 1 jenkins jenkins 87 Apr 11 13:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:46.511Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:47.382Z] ---> package-listing.sh [2022-04-11T14:06:47.382Z] ++ facter osfamily [2022-04-11T14:06:47.382Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T14:06:47.641Z] + OS_FAMILY=debian [2022-04-11T14:06:47.641Z] + workspace=/w/workspace/exfoundry_device-virtual-go_main [2022-04-11T14:06:47.641Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T14:06:47.641Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T14:06:47.641Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T14:06:47.641Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T14:06:47.641Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-11T14:06:47.641Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T14:06:47.641Z] + case "${OS_FAMILY}" in [2022-04-11T14:06:47.641Z] + dpkg -l [2022-04-11T14:06:47.641Z] + grep '^ii' [2022-04-11T14:06:47.641Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T14:06:47.641Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T14:06:47.641Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T14:06:47.641Z] + '[' /w/workspace/exfoundry_device-virtual-go_main ']' [2022-04-11T14:06:47.641Z] + mkdir -p /w/workspace/exfoundry_device-virtual-go_main/archives/ [2022-04-11T14:06:47.641Z] + 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-11T14:06:47.654Z] 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-11T14:06:47.935Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T14:06:48.488Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T14:06:48.488Z] . [Pipeline] withDockerContainer [2022-04-11T14:06:48.553Z] prd-ubuntu20.04-docker-8c-8g-19502 does not seem to be running inside a container [2022-04-11T14:06:48.592Z] $ 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-11T14:06:48.833Z] $ docker top 099c5186be1b738f375678c334b268849ab5ff3f7bf817280e549af611893e0e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T14:06:49.190Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T14:06:49.480Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T14:06:49.768Z] + ls /var/log/sa-host [2022-04-11T14:06:49.768Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T14:06:49.979Z] provisioning config files... [2022-04-11T14:06:49.987Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-virtual-go_main@tmp/config5317627102616054652tmp [Pipeline] { [Pipeline] echo [2022-04-11T14:06:50.004Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:50.286Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T14:06:50.294Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:50.633Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T14:06:50.643Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:50.934Z] ---> sudo-logs.sh [2022-04-11T14:06:50.934Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T14:06:50.960Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:51.250Z] ---> job-cost.sh [2022-04-11T14:06:51.250Z] lf-activate-venv: SKIPPING [2022-04-11T14:06:51.250Z] DEBUG: total: 0.2199999988079071 [2022-04-11T14:06:51.250Z] INFO: Retrieving Stack Cost... [2022-04-11T14:06:51.510Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T14:06:52.079Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T14:06:52.094Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T14:06:52.383Z] ---> logs-deploy.sh [2022-04-11T14:06:52.383Z] lf-activate-venv: SKIPPING [2022-04-11T14:06:52.383Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/main/27 [2022-04-11T14:06:52.383Z] INFO: archiving workspace using pattern(s): [2022-04-11T14:06:53.323Z] Archives upload complete. [2022-04-11T14:06:53.323Z] INFO: archiving logs to Nexus