MonicaisHer commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9cab87334a4d5affcc1b2c5c12d642008ef46c2d rather than a266ebd99d2e725a38e992c2b726a9db996e56be Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d 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-ssh8478712102251619045.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh15449564493825235675.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11255040024944126341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10951495497572317194.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15861187413666300532.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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-632 in /w/workspace/foundry_device-virtual-go_PR-287 [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/foundry_device-virtual-go_PR-287 # 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 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit a266ebd99d2e725a38e992c2b726a9db996e56be Merge succeeded, producing a266ebd99d2e725a38e992c2b726a9db996e56be Checking out Revision a266ebd99d2e725a38e992c2b726a9db996e56be (PR-287) > 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 remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 Commit message: "style(snap): Add end of lines" > git rev-list --no-walk a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-02T06:17:56.595Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-02T06:17:56.657Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-02T06:17:56.676Z] ========================================================= [2022-06-02T06:17:56.676Z] EdgeX Global Pipelines Version Info [2022-06-02T06:17:56.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:17:57.407Z] ------------------- [2022-06-02T06:17:57.407Z] stable info: [2022-06-02T06:17:57.407Z] ------------------- [2022-06-02T06:17:57.407Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-02T06:17:57.407Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-02T06:17:57.407Z] Message: update stable to v1.0.230 [2022-06-02T06:17:57.977Z] ------------------- [2022-06-02T06:17:57.977Z] experimental info: [2022-06-02T06:17:57.977Z] ------------------- [2022-06-02T06:17:57.977Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-02T06:17:57.977Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-02T06:17:57.977Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-02T06:17:58.149Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-02T06:17:58.163Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-02T06:17:58.180Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-02T06:17:58.190Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-02T06:17:58.201Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-02T06:17:58.214Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-02T06:17:58.225Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-02T06:17:58.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-02T06:17:58.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-02T06:17:58.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-02T06:17:58.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-02T06:17:58.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-02T06:17:58.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-02T06:17:58.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-02T06:17:58.324Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-02T06:17:58.341Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-02T06:17:58.357Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-02T06:17:58.367Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-02T06:17:58.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-02T06:17:58.390Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-02T06:17:58.403Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-02T06:17:58.414Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-02T06:17:58.425Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-02T06:17:58.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-02T06:17:58.449Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-02T06:17:58.460Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-02T06:17:58.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo [2022-06-02T06:17:58.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo [2022-06-02T06:17:58.506Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo [2022-06-02T06:17:58.518Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo [2022-06-02T06:17:58.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a266ebd [Pipeline] echo [2022-06-02T06:17:58.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T06:17:58.581Z] provisioning config files... [2022-06-02T06:17:58.594Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config3943018608809126919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:17:58.919Z] ---> docker-login.sh [2022-06-02T06:17:58.919Z] nexus3.edgexfoundry.org:10001 [2022-06-02T06:17:59.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:17:59.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:17:59.181Z] Configure a credential helper to remove this warning. See [2022-06-02T06:17:59.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:17:59.181Z] [2022-06-02T06:17:59.181Z] Login Succeeded [2022-06-02T06:17:59.181Z] nexus3.edgexfoundry.org:10002 [2022-06-02T06:17:59.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:17:59.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:17:59.441Z] Configure a credential helper to remove this warning. See [2022-06-02T06:17:59.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:17:59.441Z] [2022-06-02T06:17:59.441Z] Login Succeeded [2022-06-02T06:17:59.441Z] nexus3.edgexfoundry.org:10003 [2022-06-02T06:17:59.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:17:59.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:17:59.442Z] Configure a credential helper to remove this warning. See [2022-06-02T06:17:59.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:17:59.442Z] [2022-06-02T06:17:59.442Z] Login Succeeded [2022-06-02T06:17:59.442Z] nexus3.edgexfoundry.org:10004 [2022-06-02T06:17:59.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:17:59.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:17:59.701Z] Configure a credential helper to remove this warning. See [2022-06-02T06:17:59.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:17:59.701Z] [2022-06-02T06:17:59.701Z] Login Succeeded [2022-06-02T06:17:59.701Z] docker.io [2022-06-02T06:17:59.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:17:59.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:17:59.961Z] Configure a credential helper to remove this warning. See [2022-06-02T06:17:59.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:17:59.961Z] [2022-06-02T06:17:59.961Z] Login Succeeded [2022-06-02T06:17:59.961Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T06:17:59.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-02T06:18:00.356Z] + git rev-list -1 --merges a266ebd99d2e725a38e992c2b726a9db996e56be~1..a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo [2022-06-02T06:18:00.384Z] -----------> git rev-list -1 --merges a266ebd99d2e725a38e992c2b726a9db996e56be~1..a266ebd99d2e725a38e992c2b726a9db996e56be a266ebd99d2e725a38e992c2b726a9db996e56be [false] [Pipeline] sh [2022-06-02T06:18:00.675Z] + git log --format=format:%s -1 a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo [2022-06-02T06:18:00.688Z] ========================================================= [2022-06-02T06:18:00.688Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-02T06:18:00.688Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T06:18:01.019Z] + git log --format=format:%s -1 a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo [2022-06-02T06:18:01.030Z] [semverPrep] GIT_COMMIT: a266ebd99d2e725a38e992c2b726a9db996e56be, Commit Message: style(snap): Add end of lines [Pipeline] echo [2022-06-02T06:18:01.039Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-02T06:18:01.399Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T06:18:01.399Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-02T06:18:01.399Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-02T06:18:01.399Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-02T06:18:01.399Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-02T06:18:01.399Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-02T06:18:01.399Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:18:01.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T06:18:01.822Z] [2022-06-02T06:18:01.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:18:02.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T06:18:02.132Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-02T06:18:02.132Z] 1fe172e4850f: Pulling fs layer [2022-06-02T06:18:02.132Z] caf521ccaac6: Pulling fs layer [2022-06-02T06:18:02.132Z] 3ead6fa29328: Pulling fs layer [2022-06-02T06:18:02.132Z] 5c2a1cbceb83: Pulling fs layer [2022-06-02T06:18:02.132Z] a8d5f1318db7: Pulling fs layer [2022-06-02T06:18:02.132Z] c427282e49a2: Pulling fs layer [2022-06-02T06:18:02.132Z] 1827001aaf11: Pulling fs layer [2022-06-02T06:18:02.132Z] 0714d37db230: Pulling fs layer [2022-06-02T06:18:02.132Z] ac28cf19c067: Pulling fs layer [2022-06-02T06:18:02.132Z] ca983d60f3e2: Pulling fs layer [2022-06-02T06:18:02.132Z] 9f894cec8388: Pulling fs layer [2022-06-02T06:18:02.132Z] 5c2a1cbceb83: Waiting [2022-06-02T06:18:02.132Z] a8d5f1318db7: Waiting [2022-06-02T06:18:02.132Z] c427282e49a2: Waiting [2022-06-02T06:18:02.132Z] 1827001aaf11: Waiting [2022-06-02T06:18:02.132Z] 0714d37db230: Waiting [2022-06-02T06:18:02.132Z] ac28cf19c067: Waiting [2022-06-02T06:18:02.132Z] ca983d60f3e2: Waiting [2022-06-02T06:18:02.132Z] 9f894cec8388: Waiting [2022-06-02T06:18:02.132Z] caf521ccaac6: Download complete [2022-06-02T06:18:02.132Z] 5c2a1cbceb83: Verifying Checksum [2022-06-02T06:18:02.396Z] 3ead6fa29328: Verifying Checksum [2022-06-02T06:18:02.396Z] 3ead6fa29328: Download complete [2022-06-02T06:18:02.396Z] a8d5f1318db7: Verifying Checksum [2022-06-02T06:18:02.396Z] a8d5f1318db7: Download complete [2022-06-02T06:18:02.396Z] c427282e49a2: Download complete [2022-06-02T06:18:02.396Z] 0714d37db230: Verifying Checksum [2022-06-02T06:18:02.396Z] 0714d37db230: Download complete [2022-06-02T06:18:02.396Z] ac28cf19c067: Verifying Checksum [2022-06-02T06:18:02.396Z] ac28cf19c067: Download complete [2022-06-02T06:18:02.396Z] ca983d60f3e2: Verifying Checksum [2022-06-02T06:18:02.396Z] ca983d60f3e2: Download complete [2022-06-02T06:18:02.396Z] 9f894cec8388: Verifying Checksum [2022-06-02T06:18:02.396Z] 9f894cec8388: Download complete [2022-06-02T06:18:02.396Z] 1fe172e4850f: Verifying Checksum [2022-06-02T06:18:02.396Z] 1fe172e4850f: Download complete [2022-06-02T06:18:02.657Z] 1827001aaf11: Verifying Checksum [2022-06-02T06:18:02.657Z] 1827001aaf11: Download complete [2022-06-02T06:18:04.043Z] 1fe172e4850f: Pull complete [2022-06-02T06:18:04.043Z] caf521ccaac6: Pull complete [2022-06-02T06:18:04.614Z] 3ead6fa29328: Pull complete [2022-06-02T06:18:04.614Z] 5c2a1cbceb83: Pull complete [2022-06-02T06:18:04.874Z] a8d5f1318db7: Pull complete [2022-06-02T06:18:04.874Z] c427282e49a2: Pull complete [2022-06-02T06:18:06.785Z] 1827001aaf11: Pull complete [2022-06-02T06:18:07.047Z] 0714d37db230: Pull complete [2022-06-02T06:18:07.047Z] ac28cf19c067: Pull complete [2022-06-02T06:18:07.307Z] ca983d60f3e2: Pull complete [2022-06-02T06:18:07.307Z] 9f894cec8388: Pull complete [2022-06-02T06:18:07.307Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-02T06:18:07.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T06:18:07.307Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T06:18:07.411Z] prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container [2022-06-02T06:18:07.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-02T06:18:08.715Z] $ docker top 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T06:18:08.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T06:18:08.815Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T06:18:08.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T06:18:08.953Z] $ docker exec 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd ssh-agent [2022-06-02T06:18:09.090Z] SSH_AUTH_SOCK=/tmp/ssh-l1FhBIlw3dh9/agent.33 [2022-06-02T06:18:09.090Z] SSH_AGENT_PID=39 [2022-06-02T06:18:09.098Z] Running ssh-add (command line suppressed) [2022-06-02T06:18:09.230Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_864392985115529329.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_864392985115529329.key) [2022-06-02T06:18:09.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T06:18:09.535Z] + git tag --points-at HEAD [Pipeline] } [2022-06-02T06:18:09.555Z] $ docker exec --env ******** --env ******** 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd ssh-agent -k [2022-06-02T06:18:09.685Z] unset SSH_AUTH_SOCK; [2022-06-02T06:18:09.686Z] unset SSH_AGENT_PID; [2022-06-02T06:18:09.686Z] echo Agent pid 39 killed; [2022-06-02T06:18:09.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-02T06:18:09.722Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T06:18:09.722Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T06:18:09.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T06:18:09.878Z] $ docker exec 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd ssh-agent [2022-06-02T06:18:10.010Z] SSH_AUTH_SOCK=/tmp/ssh-ipDoF5lq2f3b/agent.72 [2022-06-02T06:18:10.010Z] SSH_AGENT_PID=79 [2022-06-02T06:18:10.015Z] Running ssh-add (command line suppressed) [2022-06-02T06:18:10.142Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_2237333194425520447.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_2237333194425520447.key) [2022-06-02T06:18:10.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T06:18:10.442Z] + git semver init [2022-06-02T06:18:10.702Z] 2022-06-02 06:18:10,622 [run_init] DEBUG init version:0.0.0 force:False [2022-06-02T06:18:10.702Z] 2022-06-02 06:18:10,623 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-02T06:18:10.702Z] 2022-06-02 06:18:10,623 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-02T06:18:10.702Z] 2022-06-02 06:18:10,623 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) [2022-06-02T06:18:11.643Z] 2022-06-02 06:18:11,591 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude [2022-06-02T06:18:11.643Z] 2022-06-02 06:18:11,591 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False [2022-06-02T06:18:11.643Z] 2022-06-02 06:18:11,591 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-02T06:18:11.643Z] 2022-06-02 06:18:11,595 [execute] INFO git cat-file --batch-check [2022-06-02T06:18:11.643Z] 2022-06-02 06:18:11,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-02T06:18:11.643Z] 2022-06-02 06:18:11,602 [execute] INFO git cat-file --batch [2022-06-02T06:18:11.643Z] 2022-06-02 06:18:11,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) [2022-06-02T06:18:11.643Z] 2022-06-02 06:18:11,607 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-02T06:18:11.643Z] 0.0.0 [Pipeline] } [2022-06-02T06:18:11.659Z] $ docker exec --env ******** --env ******** 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd ssh-agent -k [2022-06-02T06:18:11.771Z] unset SSH_AUTH_SOCK; [2022-06-02T06:18:11.771Z] unset SSH_AGENT_PID; [2022-06-02T06:18:11.771Z] echo Agent pid 79 killed; [2022-06-02T06:18:11.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T06:18:12.086Z] + git semver [Pipeline] } [2022-06-02T06:18:12.365Z] $ docker stop --time=1 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd [2022-06-02T06:18:13.665Z] $ docker rm -f 22f1acb0f8bbb46d3ef260025cd8d44090cf97aeeff68006abe6c21c58af34cd [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T06:18:14.011Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-02T06:18:14.255Z] Stashed 1 file(s) [Pipeline] echo [2022-06-02T06:18:14.257Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-06-02T06:18:14.406Z] provisioning config files... [2022-06-02T06:18:14.414Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config7272572452309194863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:18:14.710Z] ---> docker-login.sh [2022-06-02T06:18:14.710Z] nexus3.edgexfoundry.org:10001 [2022-06-02T06:18:14.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:18:14.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:18:14.710Z] Configure a credential helper to remove this warning. See [2022-06-02T06:18:14.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:18:14.710Z] [2022-06-02T06:18:14.710Z] Login Succeeded [2022-06-02T06:18:14.710Z] nexus3.edgexfoundry.org:10002 [2022-06-02T06:18:14.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:18:14.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:18:14.970Z] Configure a credential helper to remove this warning. See [2022-06-02T06:18:14.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:18:14.970Z] [2022-06-02T06:18:14.970Z] Login Succeeded [2022-06-02T06:18:14.970Z] nexus3.edgexfoundry.org:10003 [2022-06-02T06:18:14.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:18:14.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:18:14.970Z] Configure a credential helper to remove this warning. See [2022-06-02T06:18:14.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:18:14.970Z] [2022-06-02T06:18:14.970Z] Login Succeeded [2022-06-02T06:18:14.970Z] nexus3.edgexfoundry.org:10004 [2022-06-02T06:18:15.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:18:15.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:18:15.230Z] Configure a credential helper to remove this warning. See [2022-06-02T06:18:15.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:18:15.230Z] [2022-06-02T06:18:15.230Z] Login Succeeded [2022-06-02T06:18:15.230Z] docker.io [2022-06-02T06:18:15.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:18:15.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:18:15.490Z] Configure a credential helper to remove this warning. See [2022-06-02T06:18:15.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:18:15.490Z] [2022-06-02T06:18:15.490Z] Login Succeeded [2022-06-02T06:18:15.490Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T06:18:15.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-02T06:18:15.558Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T06:18:15.571Z] ========================================================= [2022-06-02T06:18:15.571Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-02T06:18:15.571Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:18:15.887Z] + 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-06-02T06:18:15.887Z] Sending build context to Docker daemon 23.01MB [2022-06-02T06:18:15.887Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T06:18:15.887Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-02T06:18:16.148Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-02T06:18:16.148Z] 59bf1c3509f3: Pulling fs layer [2022-06-02T06:18:16.148Z] 666ba61612fd: Pulling fs layer [2022-06-02T06:18:16.148Z] 8ed8ca486205: Pulling fs layer [2022-06-02T06:18:16.148Z] 4fe6c5a15a65: Pulling fs layer [2022-06-02T06:18:16.148Z] 22a0e8bec74d: Pulling fs layer [2022-06-02T06:18:16.148Z] ca2b28591e48: Pulling fs layer [2022-06-02T06:18:16.148Z] a51346096db8: Pulling fs layer [2022-06-02T06:18:16.148Z] daebc70d1ce1: Pulling fs layer [2022-06-02T06:18:16.148Z] 0e18a0eac166: Pulling fs layer [2022-06-02T06:18:16.148Z] 4fe6c5a15a65: Waiting [2022-06-02T06:18:16.148Z] 22a0e8bec74d: Waiting [2022-06-02T06:18:16.148Z] ca2b28591e48: Waiting [2022-06-02T06:18:16.148Z] a51346096db8: Waiting [2022-06-02T06:18:16.148Z] daebc70d1ce1: Waiting [2022-06-02T06:18:16.148Z] 0e18a0eac166: Waiting [2022-06-02T06:18:16.148Z] 8ed8ca486205: Verifying Checksum [2022-06-02T06:18:16.148Z] 8ed8ca486205: Download complete [2022-06-02T06:18:16.148Z] 666ba61612fd: Verifying Checksum [2022-06-02T06:18:16.148Z] 666ba61612fd: Download complete [2022-06-02T06:18:16.148Z] 22a0e8bec74d: Verifying Checksum [2022-06-02T06:18:16.148Z] 22a0e8bec74d: Download complete [2022-06-02T06:18:16.148Z] ca2b28591e48: Verifying Checksum [2022-06-02T06:18:16.148Z] ca2b28591e48: Download complete [2022-06-02T06:18:16.148Z] 59bf1c3509f3: Verifying Checksum [2022-06-02T06:18:16.148Z] 59bf1c3509f3: Download complete [2022-06-02T06:18:16.148Z] a51346096db8: Verifying Checksum [2022-06-02T06:18:16.148Z] a51346096db8: Download complete [2022-06-02T06:18:16.148Z] daebc70d1ce1: Verifying Checksum [2022-06-02T06:18:16.148Z] daebc70d1ce1: Download complete [2022-06-02T06:18:16.148Z] 59bf1c3509f3: Pull complete [2022-06-02T06:18:16.409Z] 666ba61612fd: Pull complete [2022-06-02T06:18:16.410Z] 8ed8ca486205: Pull complete [2022-06-02T06:18:16.671Z] 0e18a0eac166: Verifying Checksum [2022-06-02T06:18:16.671Z] 0e18a0eac166: Download complete [2022-06-02T06:18:16.930Z] 4fe6c5a15a65: Verifying Checksum [2022-06-02T06:18:16.930Z] 4fe6c5a15a65: Download complete [2022-06-02T06:18:21.143Z] 4fe6c5a15a65: Pull complete [2022-06-02T06:18:21.143Z] 22a0e8bec74d: Pull complete [2022-06-02T06:18:21.143Z] ca2b28591e48: Pull complete [2022-06-02T06:18:21.143Z] a51346096db8: Pull complete [2022-06-02T06:18:21.143Z] daebc70d1ce1: Pull complete [2022-06-02T06:18:23.050Z] 0e18a0eac166: Pull complete [2022-06-02T06:18:23.050Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-02T06:18:23.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-02T06:18:23.050Z] ---> f018257e8ee9 [2022-06-02T06:18:23.050Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T06:18:24.439Z] ---> Running in 6cd53913743d [2022-06-02T06:18:24.439Z] Removing intermediate container 6cd53913743d [2022-06-02T06:18:24.439Z] ---> 01a82f4ac216 [2022-06-02T06:18:24.439Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T06:18:24.439Z] ---> Running in 51230b234ac1 [2022-06-02T06:18:24.439Z] Removing intermediate container 51230b234ac1 [2022-06-02T06:18:24.439Z] ---> 353ff819ae70 [2022-06-02T06:18:24.439Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-02T06:18:24.439Z] ---> Running in b4b8e974d649 [2022-06-02T06:18:24.699Z] Removing intermediate container b4b8e974d649 [2022-06-02T06:18:24.699Z] ---> dce2b39a03df [2022-06-02T06:18:24.699Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T06:18:24.699Z] ---> Running in 631d4bd18bd4 [2022-06-02T06:18:25.270Z] Removing intermediate container 631d4bd18bd4 [2022-06-02T06:18:25.270Z] ---> 444bc1cc0898 [2022-06-02T06:18:25.270Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T06:18:25.270Z] ---> Running in 3c20d93de9cc [2022-06-02T06:18:25.531Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T06:18:26.474Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T06:18:26.734Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-02T06:18:26.734Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-02T06:18:26.995Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-02T06:18:26.995Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-02T06:18:26.995Z] Executing busybox-1.34.1-r3.trigger [2022-06-02T06:18:26.995Z] OK: 224 MiB in 56 packages [2022-06-02T06:18:27.566Z] Removing intermediate container 3c20d93de9cc [2022-06-02T06:18:27.566Z] ---> 59e0b09c40de [2022-06-02T06:18:27.566Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-02T06:18:27.566Z] ---> 3f230e577b5d [2022-06-02T06:18:27.566Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T06:18:27.566Z] ---> Running in af19ed49b627 [2022-06-02T06:18:29.364Z] Still waiting to schedule task [2022-06-02T06:18:29.364Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-02T06:18:49.517Z] Removing intermediate container af19ed49b627 [2022-06-02T06:18:49.517Z] ---> 767eeb590a7c [2022-06-02T06:18:49.517Z] Step 10/12 : COPY . . [2022-06-02T06:18:49.517Z] ---> 067a75820018 [2022-06-02T06:18:49.517Z] Step 11/12 : ARG MAKE='make build' [2022-06-02T06:18:49.517Z] ---> Running in 8ef9ee0e84d9 [2022-06-02T06:18:49.517Z] Removing intermediate container 8ef9ee0e84d9 [2022-06-02T06:18:49.517Z] ---> f80d9f907fa7 [2022-06-02T06:18:49.517Z] Step 12/12 : RUN $MAKE [2022-06-02T06:18:49.517Z] ---> Running in 204a49993e86 [2022-06-02T06:18:49.517Z] noop [2022-06-02T06:18:49.517Z] Removing intermediate container 204a49993e86 [2022-06-02T06:18:49.517Z] ---> 0ff60a0b391c [2022-06-02T06:18:49.517Z] Successfully built 0ff60a0b391c [2022-06-02T06:18:49.517Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:18:49.833Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-02T06:18:49.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T06:18:49.927Z] prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container [2022-06-02T06:18:49.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-02T06:18:50.342Z] $ docker top db2cdb91206e00a935359bcb06f37ba0bfb0e262b97e5fc0b52c8922093b56a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T06:18:50.700Z] + go version [2022-06-02T06:18:50.700Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-02T06:18:50.717Z] $ docker stop --time=1 db2cdb91206e00a935359bcb06f37ba0bfb0e262b97e5fc0b52c8922093b56a0 [2022-06-02T06:18:52.008Z] $ docker rm -f db2cdb91206e00a935359bcb06f37ba0bfb0e262b97e5fc0b52c8922093b56a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:18:52.410Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-02T06:18:52.410Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T06:18:52.492Z] prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container [2022-06-02T06:18:52.549Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-02T06:18:52.915Z] $ docker top 71816677fe5c262de33afa8a1d15f798ccfca71c36016e9070ac61a122c5564a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-02T06:18:53.327Z] + make test [2022-06-02T06:18:53.327Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-02T06:18:53.895Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-02T06:19:03.884Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-02T06:19:03.884Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.032s coverage: 65.7% of statements [2022-06-02T06:19:12.001Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-02T06:19:15.291Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-02T06:19:15.291Z] ./snap/local/hooks/cmd/configure/configure.go [2022-06-02T06:19:15.291Z] ./snap/local/hooks/cmd/install/install.go [2022-06-02T06:19:15.291Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-02T06:19:15.291Z] make: *** [Makefile:56: test] Error 1 [Pipeline] } [2022-06-02T06:19:15.308Z] $ docker stop --time=1 71816677fe5c262de33afa8a1d15f798ccfca71c36016e9070ac61a122c5564a [2022-06-02T06:19:16.966Z] $ docker rm -f 71816677fe5c262de33afa8a1d15f798ccfca71c36016e9070ac61a122c5564a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:19:17.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T06:19:17.548Z] [2022-06-02T06:19:17.548Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:19:17.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T06:19:17.857Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-02T06:19:17.857Z] 5eb5b503b376: Pulling fs layer [2022-06-02T06:19:17.857Z] 5c69ac0246d0: Pulling fs layer [2022-06-02T06:19:17.857Z] ec43610c2a17: Pulling fs layer [2022-06-02T06:19:17.857Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-02T06:19:17.857Z] 33b1e0a273af: Pulling fs layer [2022-06-02T06:19:17.857Z] 5d3b04190fa2: Pulling fs layer [2022-06-02T06:19:17.857Z] 2f39f015ded8: Pulling fs layer [2022-06-02T06:19:17.857Z] 3a2ae6a8a46f: Waiting [2022-06-02T06:19:17.857Z] 5d3b04190fa2: Waiting [2022-06-02T06:19:17.857Z] 33b1e0a273af: Waiting [2022-06-02T06:19:17.857Z] 5c69ac0246d0: Download complete [2022-06-02T06:19:17.857Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-02T06:19:17.857Z] 3a2ae6a8a46f: Download complete [2022-06-02T06:19:18.119Z] 33b1e0a273af: Verifying Checksum [2022-06-02T06:19:18.119Z] 33b1e0a273af: Download complete [2022-06-02T06:19:18.119Z] 5d3b04190fa2: Download complete [2022-06-02T06:19:18.119Z] ec43610c2a17: Verifying Checksum [2022-06-02T06:19:18.119Z] ec43610c2a17: Download complete [2022-06-02T06:19:18.119Z] 5eb5b503b376: Verifying Checksum [2022-06-02T06:19:18.119Z] 5eb5b503b376: Download complete [2022-06-02T06:19:18.691Z] 2f39f015ded8: Download complete [2022-06-02T06:19:19.632Z] 5eb5b503b376: Pull complete [2022-06-02T06:19:19.632Z] 5c69ac0246d0: Pull complete [2022-06-02T06:19:19.893Z] ec43610c2a17: Pull complete [2022-06-02T06:19:20.153Z] 3a2ae6a8a46f: Pull complete [2022-06-02T06:19:20.411Z] 33b1e0a273af: Pull complete [2022-06-02T06:19:20.411Z] 5d3b04190fa2: Pull complete [2022-06-02T06:19:25.687Z] 2f39f015ded8: Pull complete [2022-06-02T06:19:25.687Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-02T06:19:25.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T06:19:25.687Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T06:19:25.769Z] prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container [2022-06-02T06:19:25.806Z] $ 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/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-02T06:19:27.405Z] $ docker top ac41695be64b8f50f62d8b72992d0846db5686a047e21a0e311ca8e05f740e93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:19:27.822Z] ---> job-cost.sh [2022-06-02T06:19:27.822Z] lf-activate-venv: SKIPPING [2022-06-02T06:19:27.822Z] INFO: No Stack... [2022-06-02T06:19:28.083Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-02T06:19:28.656Z] INFO: Archiving Costs [Pipeline] sh [2022-06-02T06:19:28.957Z] + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv [2022-06-02T06:19:28.957Z] + cut -d, -f6 [Pipeline] lock [2022-06-02T06:19:28.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [2022-06-02T06:19:28.978Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] did not exist. Created. [2022-06-02T06:19:28.978Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-02T06:19:29.280Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-02T06:19:29.310Z] Stashed 1 file(s) [Pipeline] } [2022-06-02T06:19:29.318Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-02T06:19:29.345Z] $ docker stop --time=1 ac41695be64b8f50f62d8b72992d0846db5686a047e21a0e311ca8e05f740e93 [2022-06-02T06:19:30.515Z] $ docker rm -f ac41695be64b8f50f62d8b72992d0846db5686a047e21a0e311ca8e05f740e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-02T06:19:30.627Z] Failed in branch amd64 [2022-06-02T06:20:08.287Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-633 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws [2022-06-02T06:20:08.301Z] Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout [2022-06-02T06:20:08.332Z] The recommended git tool is: git [2022-06-02T06:20:14.507Z] using credential edgex-jenkins-ssh [2022-06-02T06:20:14.525Z] Cloning the remote Git repository [2022-06-02T06:20:14.587Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-02T06:20:14.658Z] > git init /w/workspace/device-virtual-go/3 # timeout=10 [2022-06-02T06:20:14.724Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-02T06:20:14.724Z] > git --version # timeout=10 [2022-06-02T06:20:14.745Z] > git --version # 'git version 2.25.1' [2022-06-02T06:20:14.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-02T06:20:14.847Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-02T06:20:16.836Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-02T06:20:16.854Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-02T06:20:16.878Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-02T06:20:16.920Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-02T06:20:16.921Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-02T06:20:16.935Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-02T06:20:17.435Z] Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit a266ebd99d2e725a38e992c2b726a9db996e56be [2022-06-02T06:20:17.659Z] Merge succeeded, producing a266ebd99d2e725a38e992c2b726a9db996e56be [2022-06-02T06:20:17.659Z] Checking out Revision a266ebd99d2e725a38e992c2b726a9db996e56be (PR-287) [2022-06-02T06:20:17.462Z] > git config core.sparsecheckout # timeout=10 [2022-06-02T06:20:17.485Z] > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 [2022-06-02T06:20:17.573Z] > git remote # timeout=10 [2022-06-02T06:20:17.595Z] > git config --get remote.origin.url # timeout=10 [2022-06-02T06:20:17.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-02T06:20:17.620Z] > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-06-02T06:20:17.644Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-02T06:20:17.671Z] > git config core.sparsecheckout # timeout=10 [2022-06-02T06:20:17.682Z] > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 [2022-06-02T06:20:21.792Z] Commit message: "style(snap): Add end of lines" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T06:20:22.677Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-02T06:20:22.677Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-02T06:20:22.677Z] Dload Upload Total Spent Left Speed [2022-06-02T06:20:22.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 95726 [Pipeline] sh [2022-06-02T06:20:23.402Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-02T06:20:23.756Z] + sudo tee /etc/docker/daemon.new [2022-06-02T06:20:23.756Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-02T06:20:23.756Z] { [2022-06-02T06:20:23.756Z] "registry-mirrors": [ [2022-06-02T06:20:23.756Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-02T06:20:23.756Z] ], [2022-06-02T06:20:23.756Z] "bip": "10.250.0.254/24", [2022-06-02T06:20:23.756Z] "hosts": [ [2022-06-02T06:20:23.756Z] "tcp://0.0.0.0:5555", [2022-06-02T06:20:23.756Z] "unix:///var/run/docker.sock" [2022-06-02T06:20:23.756Z] ], [2022-06-02T06:20:23.756Z] "mtu": 1458, [2022-06-02T06:20:23.756Z] "selinux-enabled": true, [2022-06-02T06:20:23.756Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-02T06:20:23.756Z] } [Pipeline] sh [2022-06-02T06:20:24.099Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-02T06:20:24.442Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T06:20:42.779Z] provisioning config files... [2022-06-02T06:20:42.803Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config2439746581359636600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:20:43.159Z] ---> docker-login.sh [2022-06-02T06:20:43.159Z] nexus3.edgexfoundry.org:10001 [2022-06-02T06:20:43.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:20:44.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:20:44.030Z] Configure a credential helper to remove this warning. See [2022-06-02T06:20:44.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:20:44.030Z] [2022-06-02T06:20:44.030Z] Login Succeeded [2022-06-02T06:20:44.030Z] nexus3.edgexfoundry.org:10002 [2022-06-02T06:20:44.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:20:44.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:20:44.304Z] Configure a credential helper to remove this warning. See [2022-06-02T06:20:44.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:20:44.304Z] [2022-06-02T06:20:44.304Z] Login Succeeded [2022-06-02T06:20:44.304Z] nexus3.edgexfoundry.org:10003 [2022-06-02T06:20:44.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:20:44.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:20:44.898Z] Configure a credential helper to remove this warning. See [2022-06-02T06:20:44.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:20:44.898Z] [2022-06-02T06:20:44.898Z] Login Succeeded [2022-06-02T06:20:44.898Z] nexus3.edgexfoundry.org:10004 [2022-06-02T06:20:45.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:20:45.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:20:45.447Z] Configure a credential helper to remove this warning. See [2022-06-02T06:20:45.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:20:45.447Z] [2022-06-02T06:20:45.447Z] Login Succeeded [2022-06-02T06:20:45.447Z] docker.io [2022-06-02T06:20:45.718Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T06:20:45.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T06:20:45.992Z] Configure a credential helper to remove this warning. See [2022-06-02T06:20:45.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T06:20:45.992Z] [2022-06-02T06:20:45.992Z] Login Succeeded [2022-06-02T06:20:45.992Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T06:20:46.009Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-02T06:20:46.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T06:20:46.451Z] ========================================================= [2022-06-02T06:20:46.451Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-02T06:20:46.451Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:20:46.809Z] + 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-06-02T06:20:47.406Z] Sending build context to Docker daemon 11.66MB [2022-06-02T06:20:47.406Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-02T06:20:47.406Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-02T06:20:47.406Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-02T06:20:47.406Z] 9b3977197b4f: Pulling fs layer [2022-06-02T06:20:47.406Z] 1a89e8eeedd5: Pulling fs layer [2022-06-02T06:20:47.406Z] 94645a83ff95: Pulling fs layer [2022-06-02T06:20:47.406Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-02T06:20:47.406Z] 0c92f367c5e7: Pulling fs layer [2022-06-02T06:20:47.406Z] 3f3a8bcf1eab: Waiting [2022-06-02T06:20:47.406Z] 3096ccb668a1: Pulling fs layer [2022-06-02T06:20:47.406Z] 0c92f367c5e7: Waiting [2022-06-02T06:20:47.406Z] e8cf19c19ddd: Pulling fs layer [2022-06-02T06:20:47.406Z] a4caa8a26152: Pulling fs layer [2022-06-02T06:20:47.406Z] e8cf19c19ddd: Waiting [2022-06-02T06:20:47.406Z] 3096ccb668a1: Waiting [2022-06-02T06:20:47.406Z] a4caa8a26152: Waiting [2022-06-02T06:20:47.406Z] 94645a83ff95: Download complete [2022-06-02T06:20:47.406Z] 1a89e8eeedd5: Download complete [2022-06-02T06:20:47.406Z] 0c92f367c5e7: Verifying Checksum [2022-06-02T06:20:47.406Z] 0c92f367c5e7: Download complete [2022-06-02T06:20:47.684Z] 3096ccb668a1: Verifying Checksum [2022-06-02T06:20:47.684Z] 3096ccb668a1: Download complete [2022-06-02T06:20:47.684Z] 9b3977197b4f: Download complete [2022-06-02T06:20:47.684Z] e8cf19c19ddd: Verifying Checksum [2022-06-02T06:20:47.684Z] e8cf19c19ddd: Download complete [2022-06-02T06:20:48.291Z] 9b3977197b4f: Pull complete [2022-06-02T06:20:48.900Z] 1a89e8eeedd5: Pull complete [2022-06-02T06:20:49.183Z] 94645a83ff95: Pull complete [2022-06-02T06:20:49.457Z] a4caa8a26152: Verifying Checksum [2022-06-02T06:20:49.457Z] a4caa8a26152: Download complete [2022-06-02T06:20:50.057Z] 3f3a8bcf1eab: Download complete [2022-06-02T06:21:02.476Z] 3f3a8bcf1eab: Pull complete [2022-06-02T06:21:02.476Z] 0c92f367c5e7: Pull complete [2022-06-02T06:21:02.476Z] 3096ccb668a1: Pull complete [2022-06-02T06:21:03.073Z] e8cf19c19ddd: Pull complete [2022-06-02T06:21:09.804Z] a4caa8a26152: Pull complete [2022-06-02T06:21:09.804Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-02T06:21:09.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-02T06:21:09.804Z] ---> 725f1c02e7f9 [2022-06-02T06:21:09.804Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T06:21:09.804Z] ---> Running in 5627fd64c241 [2022-06-02T06:21:10.081Z] Removing intermediate container 5627fd64c241 [2022-06-02T06:21:10.081Z] ---> 5c3962f0194d [2022-06-02T06:21:10.081Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T06:21:10.081Z] ---> Running in e598689c2d84 [2022-06-02T06:21:10.360Z] Removing intermediate container e598689c2d84 [2022-06-02T06:21:10.360Z] ---> de314ac0dbac [2022-06-02T06:21:10.360Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-02T06:21:10.634Z] ---> Running in 55c413d1dae6 [2022-06-02T06:21:10.907Z] Removing intermediate container 55c413d1dae6 [2022-06-02T06:21:10.907Z] ---> 8641b414532d [2022-06-02T06:21:10.907Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T06:21:10.907Z] ---> Running in 8329d3d55377 [2022-06-02T06:21:12.890Z] Removing intermediate container 8329d3d55377 [2022-06-02T06:21:12.890Z] ---> 3fe92d50e27f [2022-06-02T06:21:12.890Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T06:21:12.890Z] ---> Running in fdb5eda15e53 [2022-06-02T06:21:13.868Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-02T06:21:14.475Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-02T06:21:15.453Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-02T06:21:15.729Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-02T06:21:15.729Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-02T06:21:16.004Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-02T06:21:16.004Z] Executing busybox-1.34.1-r3.trigger [2022-06-02T06:21:16.004Z] OK: 224 MiB in 56 packages [2022-06-02T06:21:16.992Z] Removing intermediate container fdb5eda15e53 [2022-06-02T06:21:16.992Z] ---> 400f950e2a32 [2022-06-02T06:21:16.992Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-02T06:21:17.588Z] ---> 9bf79d45dbcc [2022-06-02T06:21:17.588Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T06:21:17.588Z] ---> Running in 2e641a9277b7 [2022-06-02T06:22:04.587Z] Removing intermediate container 2e641a9277b7 [2022-06-02T06:22:04.587Z] ---> ca61d536e9b9 [2022-06-02T06:22:04.587Z] Step 10/12 : COPY . . [2022-06-02T06:22:04.587Z] ---> b9d7f77c2515 [2022-06-02T06:22:04.587Z] Step 11/12 : ARG MAKE='make build' [2022-06-02T06:22:04.587Z] ---> Running in ea717c29c243 [2022-06-02T06:22:04.587Z] Removing intermediate container ea717c29c243 [2022-06-02T06:22:04.587Z] ---> 2ae16e5e1feb [2022-06-02T06:22:04.587Z] Step 12/12 : RUN $MAKE [2022-06-02T06:22:04.587Z] ---> Running in f4253c273b3e [2022-06-02T06:22:04.587Z] noop [2022-06-02T06:22:04.587Z] Removing intermediate container f4253c273b3e [2022-06-02T06:22:04.587Z] ---> c50bcd910476 [2022-06-02T06:22:04.587Z] Successfully built c50bcd910476 [2022-06-02T06:22:04.587Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:22:04.955Z] + docker inspect -f . ci-base-image-arm64 [2022-06-02T06:22:04.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T06:22:05.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-633 does not seem to be running inside a container [2022-06-02T06:22:05.291Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-02T06:22:06.574Z] $ docker top e3b3a84f1b835f0de6e7157bec6c8ee7b3a3ccc48ca5d2e4fcd97aef92225dbb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T06:22:07.495Z] + go version [2022-06-02T06:22:07.495Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-02T06:22:07.528Z] $ docker stop --time=1 e3b3a84f1b835f0de6e7157bec6c8ee7b3a3ccc48ca5d2e4fcd97aef92225dbb [2022-06-02T06:22:09.153Z] $ docker rm -f e3b3a84f1b835f0de6e7157bec6c8ee7b3a3ccc48ca5d2e4fcd97aef92225dbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:22:09.768Z] + docker inspect -f . ci-base-image-arm64 [2022-06-02T06:22:09.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T06:22:10.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-633 does not seem to be running inside a container [2022-06-02T06:22:10.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-02T06:22:11.405Z] $ docker top 6ac88be3a66277e5529bb473601dc24bf1a70a681acfa8b8750c73ea693614d0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-02T06:22:12.333Z] + make test [2022-06-02T06:22:12.333Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-02T06:22:13.776Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-02T06:23:35.587Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-02T06:23:35.587Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2022-06-02T06:23:35.587Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-02T06:23:35.587Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-02T06:23:57.816Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-02T06:23:57.816Z] ./snap/local/hooks/cmd/install/install.go [2022-06-02T06:23:57.816Z] ./snap/local/hooks/cmd/configure/configure.go [2022-06-02T06:23:57.816Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-02T06:23:57.816Z] make: *** [Makefile:56: test] Error 1 [Pipeline] } [2022-06-02T06:23:57.844Z] $ docker stop --time=1 6ac88be3a66277e5529bb473601dc24bf1a70a681acfa8b8750c73ea693614d0 [2022-06-02T06:23:59.621Z] $ docker rm -f 6ac88be3a66277e5529bb473601dc24bf1a70a681acfa8b8750c73ea693614d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:24:00.704Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T06:24:00.704Z] [2022-06-02T06:24:00.704Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:24:01.070Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T06:24:01.346Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-02T06:24:01.347Z] 8998bd30e6a1: Pulling fs layer [2022-06-02T06:24:01.347Z] 04944245beec: Pulling fs layer [2022-06-02T06:24:01.347Z] 699f458cf7ca: Pulling fs layer [2022-06-02T06:24:01.347Z] 765212b225bb: Pulling fs layer [2022-06-02T06:24:01.347Z] f23df028b6ca: Pulling fs layer [2022-06-02T06:24:01.347Z] d65c8cfc05b1: Pulling fs layer [2022-06-02T06:24:01.347Z] 2437ff75d9bd: Pulling fs layer [2022-06-02T06:24:01.347Z] f23df028b6ca: Waiting [2022-06-02T06:24:01.347Z] d65c8cfc05b1: Waiting [2022-06-02T06:24:01.347Z] 765212b225bb: Waiting [2022-06-02T06:24:01.347Z] 2437ff75d9bd: Waiting [2022-06-02T06:24:01.347Z] 04944245beec: Verifying Checksum [2022-06-02T06:24:01.347Z] 04944245beec: Download complete [2022-06-02T06:24:01.347Z] 765212b225bb: Verifying Checksum [2022-06-02T06:24:01.347Z] 765212b225bb: Download complete [2022-06-02T06:24:01.624Z] f23df028b6ca: Verifying Checksum [2022-06-02T06:24:01.624Z] f23df028b6ca: Download complete [2022-06-02T06:24:01.624Z] d65c8cfc05b1: Verifying Checksum [2022-06-02T06:24:01.624Z] d65c8cfc05b1: Download complete [2022-06-02T06:24:01.624Z] 699f458cf7ca: Verifying Checksum [2022-06-02T06:24:01.624Z] 699f458cf7ca: Download complete [2022-06-02T06:24:01.896Z] 8998bd30e6a1: Download complete [2022-06-02T06:24:04.518Z] 2437ff75d9bd: Verifying Checksum [2022-06-02T06:24:04.519Z] 2437ff75d9bd: Download complete [2022-06-02T06:24:06.487Z] 8998bd30e6a1: Pull complete [2022-06-02T06:24:06.777Z] 04944245beec: Pull complete [2022-06-02T06:24:08.845Z] 699f458cf7ca: Pull complete [2022-06-02T06:24:08.845Z] 765212b225bb: Pull complete [2022-06-02T06:24:09.827Z] f23df028b6ca: Pull complete [2022-06-02T06:24:10.100Z] d65c8cfc05b1: Pull complete [2022-06-02T06:24:25.200Z] 2437ff75d9bd: Pull complete [2022-06-02T06:24:25.200Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-02T06:24:25.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-02T06:24:25.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T06:24:25.439Z] prd-ubuntu20.04-docker-arm64-4c-16g-633 does not seem to be running inside a container [2022-06-02T06:24:25.528Z] $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-02T06:24:27.887Z] $ docker top 5cdbd8c87762ac10621325eeb0ec6401777bbb774f4a8443419723380bf786e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:24:28.807Z] ---> job-cost.sh [2022-06-02T06:24:28.807Z] lf-activate-venv: SKIPPING [2022-06-02T06:24:28.807Z] INFO: No Stack... [2022-06-02T06:24:29.401Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-02T06:24:29.992Z] INFO: Archiving Costs [Pipeline] sh [2022-06-02T06:24:30.656Z] + cat /w/workspace/device-virtual-go/3/archives/cost.csv [2022-06-02T06:24:30.656Z] + cut -d, -f6 [Pipeline] lock [2022-06-02T06:24:30.715Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [2022-06-02T06:24:30.722Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] did not exist. Created. [2022-06-02T06:24:30.722Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-02T06:24:31.396Z] /w/workspace/device-virtual-go/3@tmp/durable-5dab2226/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-02T06:24:32.067Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-02T06:24:32.086Z] Warning: overwriting stash ‘stack-cost’ [2022-06-02T06:24:32.546Z] Stashed 1 file(s) [Pipeline] } [2022-06-02T06:24:32.554Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-02T06:24:32.582Z] $ docker stop --time=1 5cdbd8c87762ac10621325eeb0ec6401777bbb774f4a8443419723380bf786e1 [2022-06-02T06:24:34.103Z] $ docker rm -f 5cdbd8c87762ac10621325eeb0ec6401777bbb774f4a8443419723380bf786e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-02T06:24:34.406Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-06-02T06:24:35.060Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] [2022-06-02T06:24:35.060Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-02T06:24:35.060Z] total 16 [2022-06-02T06:24:35.060Z] drwxr-xr-x 3 root root 4096 Jun 2 06:19 . [2022-06-02T06:24:35.060Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 06:19 .. [2022-06-02T06:24:35.060Z] drwxr-xr-x 2 root root 4096 Jun 2 06:19 cost [2022-06-02T06:24:35.060Z] -rw-r--r-- 1 root root 88 Jun 2 06:19 cost.csv [2022-06-02T06:24:35.060Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-02T06:24:35.060Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-02T06:24:35.060Z] total 16 [2022-06-02T06:24:35.060Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 06:19 . [2022-06-02T06:24:35.060Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 06:19 .. [2022-06-02T06:24:35.060Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 06:19 cost [2022-06-02T06:24:35.060Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 2 06:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:24:35.355Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:24:36.229Z] ---> package-listing.sh [2022-06-02T06:24:36.230Z] ++ facter osfamily [2022-06-02T06:24:36.230Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-02T06:24:36.490Z] + OS_FAMILY=debian [2022-06-02T06:24:36.490Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-287 [2022-06-02T06:24:36.490Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-02T06:24:36.490Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-02T06:24:36.490Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-02T06:24:36.490Z] + PACKAGES=/tmp/packages_start.txt [2022-06-02T06:24:36.490Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-02T06:24:36.490Z] + PACKAGES=/tmp/packages_end.txt [2022-06-02T06:24:36.490Z] + case "${OS_FAMILY}" in [2022-06-02T06:24:36.490Z] + dpkg -l [2022-06-02T06:24:36.490Z] + grep '^ii' [2022-06-02T06:24:36.490Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-02T06:24:36.490Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-02T06:24:36.490Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-02T06:24:36.490Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-02T06:24:36.490Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ [2022-06-02T06:24:36.490Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo [2022-06-02T06:24:36.501Z] 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/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-02T06:24:36.782Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T06:24:37.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T06:24:37.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T06:24:37.442Z] prd-ubuntu20.04-docker-8c-8g-632 does not seem to be running inside a container [2022-06-02T06:24:37.494Z] $ 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/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-02T06:24:37.751Z] $ docker top 90b5617cd5c195cad6db2aca87a6fbe86e1a8f31b5e0dfcc049bd065e5710547 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T06:24:38.111Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-02T06:24:38.395Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-02T06:24:38.682Z] + ls /var/log/sa-host [2022-06-02T06:24:38.682Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T06:24:38.815Z] provisioning config files... [2022-06-02T06:24:38.828Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1438778462196622930tmp [Pipeline] { [Pipeline] echo [2022-06-02T06:24:38.839Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:24:39.123Z] ---> create-netrc.sh [Pipeline] } [2022-06-02T06:24:39.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:24:39.481Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-02T06:24:39.490Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:24:39.774Z] ---> sudo-logs.sh [2022-06-02T06:24:39.774Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-02T06:24:39.807Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:24:40.096Z] ---> job-cost.sh [2022-06-02T06:24:40.096Z] lf-activate-venv: SKIPPING [2022-06-02T06:24:40.096Z] DEBUG: total: 0.2199999988079071 [2022-06-02T06:24:40.096Z] INFO: Retrieving Stack Cost... [2022-06-02T06:24:40.358Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-02T06:24:40.929Z] INFO: Archiving Costs [Pipeline] echo [2022-06-02T06:24:40.940Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-02T06:24:41.224Z] ---> logs-deploy.sh [2022-06-02T06:24:41.224Z] lf-activate-venv: SKIPPING [2022-06-02T06:24:41.224Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/3 [2022-06-02T06:24:41.224Z] INFO: archiving workspace using pattern(s): [2022-06-02T06:24:42.165Z] Archives upload complete. [2022-06-02T06:24:42.166Z] INFO: archiving logs to Nexus