Pull request #287 updated Pull request #287 updated 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-ssh15843462021704791680.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-ssh12812999963668858332.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-ssh7095654280010892041.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-ssh13940007309289150848.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-ssh3598739637103084095.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 ‘prd-ubuntu20.04-docker-8c-8g-546’ is offline Running on prd-ubuntu20.04-docker-8c-8g-548 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 233f1c456e102289b839942e917dfe041468284f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-01T14:58:12.164Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-01T14:58:12.219Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-01T14:58:12.234Z] ========================================================= [2022-06-01T14:58:12.234Z] EdgeX Global Pipelines Version Info [2022-06-01T14:58:12.234Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:58:13.033Z] ------------------- [2022-06-01T14:58:13.033Z] stable info: [2022-06-01T14:58:13.033Z] ------------------- [2022-06-01T14:58:13.033Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T14:58:13.033Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-01T14:58:13.033Z] Message: update stable to v1.0.230 [2022-06-01T14:58:13.609Z] ------------------- [2022-06-01T14:58:13.609Z] experimental info: [2022-06-01T14:58:13.609Z] ------------------- [2022-06-01T14:58:13.609Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T14:58:13.609Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-01T14:58:13.609Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-01T14:58:13.772Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-01T14:58:13.780Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-01T14:58:13.788Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-01T14:58:13.801Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-01T14:58:13.810Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-01T14:58:13.821Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-01T14:58:13.833Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-01T14:58:13.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-01T14:58:13.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-01T14:58:13.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-01T14:58:13.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-01T14:58:13.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-01T14:58:13.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-01T14:58:13.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-01T14:58:13.979Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T14:58:13.988Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T14:58:13.996Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T14:58:14.004Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T14:58:14.012Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-01T14:58:14.021Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-01T14:58:14.029Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-01T14:58:14.037Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-01T14:58:14.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-01T14:58:14.054Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-01T14:58:14.062Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-01T14:58:14.070Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-01T14:58:14.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo [2022-06-01T14:58:14.089Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo [2022-06-01T14:58:14.098Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo [2022-06-01T14:58:14.111Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo [2022-06-01T14:58:14.121Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a266ebd [Pipeline] echo [2022-06-01T14:58:14.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T14:58:14.165Z] provisioning config files... [2022-06-01T14:58:14.178Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config4239445846380406319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:58:14.543Z] ---> docker-login.sh [2022-06-01T14:58:14.543Z] nexus3.edgexfoundry.org:10001 [2022-06-01T14:58:14.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:14.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:14.804Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:14.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:14.804Z] [2022-06-01T14:58:14.804Z] Login Succeeded [2022-06-01T14:58:14.804Z] nexus3.edgexfoundry.org:10002 [2022-06-01T14:58:15.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:15.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:15.064Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:15.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:15.064Z] [2022-06-01T14:58:15.064Z] Login Succeeded [2022-06-01T14:58:15.064Z] nexus3.edgexfoundry.org:10003 [2022-06-01T14:58:15.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:15.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:15.064Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:15.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:15.064Z] [2022-06-01T14:58:15.064Z] Login Succeeded [2022-06-01T14:58:15.064Z] nexus3.edgexfoundry.org:10004 [2022-06-01T14:58:15.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:15.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:15.327Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:15.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:15.327Z] [2022-06-01T14:58:15.327Z] Login Succeeded [2022-06-01T14:58:15.327Z] docker.io [2022-06-01T14:58:15.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:15.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:15.902Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:15.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:15.902Z] [2022-06-01T14:58:15.902Z] Login Succeeded [2022-06-01T14:58:15.902Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T14:58:15.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-01T14:58:16.298Z] + git rev-list -1 --merges a266ebd99d2e725a38e992c2b726a9db996e56be~1..a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo [2022-06-01T14:58:16.341Z] -----------> git rev-list -1 --merges a266ebd99d2e725a38e992c2b726a9db996e56be~1..a266ebd99d2e725a38e992c2b726a9db996e56be a266ebd99d2e725a38e992c2b726a9db996e56be [false] [Pipeline] sh [2022-06-01T14:58:16.640Z] + git log --format=format:%s -1 a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo [2022-06-01T14:58:16.660Z] ========================================================= [2022-06-01T14:58:16.660Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-01T14:58:16.660Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T14:58:16.978Z] + git log --format=format:%s -1 a266ebd99d2e725a38e992c2b726a9db996e56be [Pipeline] echo [2022-06-01T14:58:16.990Z] [semverPrep] GIT_COMMIT: a266ebd99d2e725a38e992c2b726a9db996e56be, Commit Message: style(snap): Add end of lines [Pipeline] echo [2022-06-01T14:58:17.003Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-01T14:58:17.355Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T14:58:17.355Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-01T14:58:17.355Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-01T14:58:17.355Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-01T14:58:17.355Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-01T14:58:17.355Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-01T14:58:17.355Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:58:17.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T14:58:17.731Z] [2022-06-01T14:58:17.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:58:18.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T14:58:18.037Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-01T14:58:18.037Z] 1fe172e4850f: Pulling fs layer [2022-06-01T14:58:18.037Z] caf521ccaac6: Pulling fs layer [2022-06-01T14:58:18.037Z] 3ead6fa29328: Pulling fs layer [2022-06-01T14:58:18.037Z] 5c2a1cbceb83: Pulling fs layer [2022-06-01T14:58:18.037Z] a8d5f1318db7: Pulling fs layer [2022-06-01T14:58:18.037Z] c427282e49a2: Pulling fs layer [2022-06-01T14:58:18.037Z] 1827001aaf11: Pulling fs layer [2022-06-01T14:58:18.037Z] 0714d37db230: Pulling fs layer [2022-06-01T14:58:18.037Z] ac28cf19c067: Pulling fs layer [2022-06-01T14:58:18.037Z] ca983d60f3e2: Pulling fs layer [2022-06-01T14:58:18.037Z] 9f894cec8388: Pulling fs layer [2022-06-01T14:58:18.037Z] 5c2a1cbceb83: Waiting [2022-06-01T14:58:18.037Z] a8d5f1318db7: Waiting [2022-06-01T14:58:18.037Z] c427282e49a2: Waiting [2022-06-01T14:58:18.037Z] ac28cf19c067: Waiting [2022-06-01T14:58:18.037Z] 1827001aaf11: Waiting [2022-06-01T14:58:18.037Z] ca983d60f3e2: Waiting [2022-06-01T14:58:18.037Z] 9f894cec8388: Waiting [2022-06-01T14:58:18.037Z] caf521ccaac6: Download complete [2022-06-01T14:58:18.037Z] 5c2a1cbceb83: Download complete [2022-06-01T14:58:18.037Z] a8d5f1318db7: Verifying Checksum [2022-06-01T14:58:18.037Z] a8d5f1318db7: Download complete [2022-06-01T14:58:18.299Z] c427282e49a2: Verifying Checksum [2022-06-01T14:58:18.299Z] c427282e49a2: Download complete [2022-06-01T14:58:18.299Z] 3ead6fa29328: Verifying Checksum [2022-06-01T14:58:18.299Z] 3ead6fa29328: Download complete [2022-06-01T14:58:18.299Z] 0714d37db230: Verifying Checksum [2022-06-01T14:58:18.299Z] 0714d37db230: Download complete [2022-06-01T14:58:18.299Z] ac28cf19c067: Verifying Checksum [2022-06-01T14:58:18.299Z] ac28cf19c067: Download complete [2022-06-01T14:58:18.299Z] ca983d60f3e2: Download complete [2022-06-01T14:58:18.299Z] 9f894cec8388: Verifying Checksum [2022-06-01T14:58:18.299Z] 9f894cec8388: Download complete [2022-06-01T14:58:18.299Z] 1fe172e4850f: Verifying Checksum [2022-06-01T14:58:18.299Z] 1fe172e4850f: Download complete [2022-06-01T14:58:18.561Z] 1827001aaf11: Verifying Checksum [2022-06-01T14:58:19.944Z] 1fe172e4850f: Pull complete [2022-06-01T14:58:19.944Z] caf521ccaac6: Pull complete [2022-06-01T14:58:20.531Z] 3ead6fa29328: Pull complete [2022-06-01T14:58:20.531Z] 5c2a1cbceb83: Pull complete [2022-06-01T14:58:21.105Z] a8d5f1318db7: Pull complete [2022-06-01T14:58:21.105Z] c427282e49a2: Pull complete [2022-06-01T14:58:23.017Z] 1827001aaf11: Pull complete [2022-06-01T14:58:23.278Z] 0714d37db230: Pull complete [2022-06-01T14:58:23.278Z] ac28cf19c067: Pull complete [2022-06-01T14:58:23.542Z] ca983d60f3e2: Pull complete [2022-06-01T14:58:23.543Z] 9f894cec8388: Pull complete [2022-06-01T14:58:23.543Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-01T14:58:23.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T14:58:23.543Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:58:23.649Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-06-01T14:58:23.698Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T14:58:25.123Z] $ docker top 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 -eo pid,comm [2022-06-01T14:58:25.201Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-01T14:58:25.201Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T14:58:25.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T14:58:25.237Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T14:58:25.379Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T14:58:25.388Z] $ docker exec 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 ssh-agent [2022-06-01T14:58:25.515Z] SSH_AUTH_SOCK=/tmp/ssh-DjRivpDlrK3k/agent.33 [2022-06-01T14:58:25.515Z] SSH_AGENT_PID=39 [2022-06-01T14:58:25.523Z] Running ssh-add (command line suppressed) [2022-06-01T14:58:25.661Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_4145622688902597470.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_4145622688902597470.key) [2022-06-01T14:58:25.673Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T14:58:25.966Z] + git tag --points-at HEAD [Pipeline] } [2022-06-01T14:58:25.987Z] $ docker exec --env ******** --env ******** 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 ssh-agent -k [2022-06-01T14:58:26.105Z] unset SSH_AUTH_SOCK; [2022-06-01T14:58:26.106Z] unset SSH_AGENT_PID; [2022-06-01T14:58:26.106Z] echo Agent pid 39 killed; [2022-06-01T14:58:26.112Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-01T14:58:26.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T14:58:26.135Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T14:58:26.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T14:58:26.278Z] $ docker exec 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 ssh-agent [2022-06-01T14:58:26.415Z] SSH_AUTH_SOCK=/tmp/ssh-2a8oOWqhaiGo/agent.73 [2022-06-01T14:58:26.415Z] SSH_AGENT_PID=79 [2022-06-01T14:58:26.421Z] Running ssh-add (command line suppressed) [2022-06-01T14:58:26.544Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5663798585839796313.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_5663798585839796313.key) [2022-06-01T14:58:26.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T14:58:26.843Z] + git semver init [2022-06-01T14:58:27.104Z] 2022-06-01 14:58:27,076 [run_init] DEBUG init version:0.0.0 force:False [2022-06-01T14:58:27.104Z] 2022-06-01 14:58:27,077 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver [2022-06-01T14:58:27.104Z] 2022-06-01 14:58:27,077 [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-01T14:58:27.104Z] 2022-06-01 14:58:27,077 [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-01T14:58:28.489Z] 2022-06-01 14:58:28,100 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude [2022-06-01T14:58:28.489Z] 2022-06-01 14:58:28,100 [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-01T14:58:28.490Z] 2022-06-01 14:58:28,100 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-01T14:58:28.490Z] 2022-06-01 14:58:28,104 [execute] INFO git cat-file --batch-check [2022-06-01T14:58:28.490Z] 2022-06-01 14:58:28,104 [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-01T14:58:28.490Z] 2022-06-01 14:58:28,110 [execute] INFO git cat-file --batch [2022-06-01T14:58:28.490Z] 2022-06-01 14:58:28,110 [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-01T14:58:28.490Z] 2022-06-01 14:58:28,116 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 [2022-06-01T14:58:28.490Z] 0.0.0 [Pipeline] } [2022-06-01T14:58:28.509Z] $ docker exec --env ******** --env ******** 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 ssh-agent -k [2022-06-01T14:58:28.633Z] unset SSH_AUTH_SOCK; [2022-06-01T14:58:28.634Z] unset SSH_AGENT_PID; [2022-06-01T14:58:28.634Z] echo Agent pid 79 killed; [2022-06-01T14:58:28.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T14:58:28.969Z] + git semver [Pipeline] } [2022-06-01T14:58:29.255Z] $ docker stop --time=1 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 [2022-06-01T14:58:30.580Z] $ docker rm -f 6adedd894353bc9e4f0eab1098e2b15fcea7b5c41b923913b4bf10623b7deec0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T14:58:30.937Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-01T14:58:31.208Z] Stashed 1 file(s) [Pipeline] echo [2022-06-01T14:58:31.211Z] [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-01T14:58:31.351Z] provisioning config files... [2022-06-01T14:58:31.363Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config5422176321354218257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:58:31.663Z] ---> docker-login.sh [2022-06-01T14:58:31.664Z] nexus3.edgexfoundry.org:10001 [2022-06-01T14:58:31.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:31.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:31.664Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:31.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:31.664Z] [2022-06-01T14:58:31.664Z] Login Succeeded [2022-06-01T14:58:31.664Z] nexus3.edgexfoundry.org:10002 [2022-06-01T14:58:31.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:31.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:31.925Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:31.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:31.925Z] [2022-06-01T14:58:31.925Z] Login Succeeded [2022-06-01T14:58:31.925Z] nexus3.edgexfoundry.org:10003 [2022-06-01T14:58:31.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:31.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:31.925Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:31.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:31.925Z] [2022-06-01T14:58:31.925Z] Login Succeeded [2022-06-01T14:58:31.925Z] nexus3.edgexfoundry.org:10004 [2022-06-01T14:58:32.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:32.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:32.186Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:32.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:32.186Z] [2022-06-01T14:58:32.186Z] Login Succeeded [2022-06-01T14:58:32.186Z] docker.io [2022-06-01T14:58:32.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T14:58:32.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T14:58:32.448Z] Configure a credential helper to remove this warning. See [2022-06-01T14:58:32.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T14:58:32.448Z] [2022-06-01T14:58:32.448Z] Login Succeeded [2022-06-01T14:58:32.448Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T14:58:32.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T14:58:32.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T14:58:32.532Z] ========================================================= [2022-06-01T14:58:32.532Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-01T14:58:32.532Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:58:32.858Z] + 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-01T14:58:32.858Z] Sending build context to Docker daemon 22.95MB [2022-06-01T14:58:32.858Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T14:58:32.858Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T14:58:33.118Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-01T14:58:33.118Z] 59bf1c3509f3: Pulling fs layer [2022-06-01T14:58:33.118Z] 666ba61612fd: Pulling fs layer [2022-06-01T14:58:33.118Z] 8ed8ca486205: Pulling fs layer [2022-06-01T14:58:33.118Z] 4fe6c5a15a65: Pulling fs layer [2022-06-01T14:58:33.118Z] 22a0e8bec74d: Pulling fs layer [2022-06-01T14:58:33.118Z] ca2b28591e48: Pulling fs layer [2022-06-01T14:58:33.118Z] a51346096db8: Pulling fs layer [2022-06-01T14:58:33.118Z] daebc70d1ce1: Pulling fs layer [2022-06-01T14:58:33.118Z] 0e18a0eac166: Pulling fs layer [2022-06-01T14:58:33.118Z] 4fe6c5a15a65: Waiting [2022-06-01T14:58:33.118Z] a51346096db8: Waiting [2022-06-01T14:58:33.118Z] 22a0e8bec74d: Waiting [2022-06-01T14:58:33.118Z] daebc70d1ce1: Waiting [2022-06-01T14:58:33.118Z] 0e18a0eac166: Waiting [2022-06-01T14:58:33.118Z] ca2b28591e48: Waiting [2022-06-01T14:58:33.118Z] 8ed8ca486205: Verifying Checksum [2022-06-01T14:58:33.118Z] 8ed8ca486205: Download complete [2022-06-01T14:58:33.118Z] 666ba61612fd: Download complete [2022-06-01T14:58:33.118Z] 22a0e8bec74d: Verifying Checksum [2022-06-01T14:58:33.118Z] 22a0e8bec74d: Download complete [2022-06-01T14:58:33.118Z] ca2b28591e48: Verifying Checksum [2022-06-01T14:58:33.118Z] ca2b28591e48: Download complete [2022-06-01T14:58:33.118Z] a51346096db8: Verifying Checksum [2022-06-01T14:58:33.118Z] a51346096db8: Download complete [2022-06-01T14:58:33.118Z] 59bf1c3509f3: Verifying Checksum [2022-06-01T14:58:33.118Z] 59bf1c3509f3: Download complete [2022-06-01T14:58:33.118Z] daebc70d1ce1: Verifying Checksum [2022-06-01T14:58:33.118Z] daebc70d1ce1: Download complete [2022-06-01T14:58:33.380Z] 59bf1c3509f3: Pull complete [2022-06-01T14:58:33.380Z] 666ba61612fd: Pull complete [2022-06-01T14:58:33.640Z] 8ed8ca486205: Pull complete [2022-06-01T14:58:33.640Z] 0e18a0eac166: Verifying Checksum [2022-06-01T14:58:33.640Z] 0e18a0eac166: Download complete [2022-06-01T14:58:33.899Z] 4fe6c5a15a65: Verifying Checksum [2022-06-01T14:58:33.899Z] 4fe6c5a15a65: Download complete [2022-06-01T14:58:38.096Z] 4fe6c5a15a65: Pull complete [2022-06-01T14:58:38.096Z] 22a0e8bec74d: Pull complete [2022-06-01T14:58:38.096Z] ca2b28591e48: Pull complete [2022-06-01T14:58:38.096Z] a51346096db8: Pull complete [2022-06-01T14:58:38.096Z] daebc70d1ce1: Pull complete [2022-06-01T14:58:40.013Z] 0e18a0eac166: Pull complete [2022-06-01T14:58:40.013Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-01T14:58:40.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-01T14:58:40.013Z] ---> f018257e8ee9 [2022-06-01T14:58:40.013Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T14:58:41.929Z] ---> Running in 732930656cee [2022-06-01T14:58:41.929Z] Removing intermediate container 732930656cee [2022-06-01T14:58:41.929Z] ---> 5a332516729d [2022-06-01T14:58:41.929Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T14:58:41.929Z] ---> Running in a20ae32c4e78 [2022-06-01T14:58:41.929Z] Removing intermediate container a20ae32c4e78 [2022-06-01T14:58:41.929Z] ---> 6209ddd351a0 [2022-06-01T14:58:41.929Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-01T14:58:41.929Z] ---> Running in f71dba1d2220 [2022-06-01T14:58:42.192Z] Removing intermediate container f71dba1d2220 [2022-06-01T14:58:42.192Z] ---> 99f51dc07fa3 [2022-06-01T14:58:42.192Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T14:58:42.192Z] ---> Running in 798fc08336b9 [2022-06-01T14:58:42.761Z] Removing intermediate container 798fc08336b9 [2022-06-01T14:58:42.761Z] ---> 9198b18a1bde [2022-06-01T14:58:42.761Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T14:58:42.761Z] ---> Running in ea609edccbc2 [2022-06-01T14:58:43.020Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T14:58:43.960Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T14:58:44.220Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T14:58:44.481Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T14:58:44.481Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T14:58:44.741Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T14:58:44.741Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T14:58:44.741Z] OK: 224 MiB in 56 packages [2022-06-01T14:58:45.310Z] Removing intermediate container ea609edccbc2 [2022-06-01T14:58:45.310Z] ---> b1c87e3ea77f [2022-06-01T14:58:45.310Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-01T14:58:45.310Z] ---> d97f7f69c49e [2022-06-01T14:58:45.310Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T14:58:45.310Z] ---> Running in 286839eaefc9 [2022-06-01T14:58:46.314Z] Still waiting to schedule task [2022-06-01T14:58:46.314Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-547’ is offline [2022-06-01T14:59:07.300Z] Removing intermediate container 286839eaefc9 [2022-06-01T14:59:07.300Z] ---> 10afee73f848 [2022-06-01T14:59:07.300Z] Step 10/12 : COPY . . [2022-06-01T14:59:07.560Z] ---> 1cb46e28e5d1 [2022-06-01T14:59:07.560Z] Step 11/12 : ARG MAKE='make build' [2022-06-01T14:59:07.560Z] ---> Running in fbe683657017 [2022-06-01T14:59:07.827Z] Removing intermediate container fbe683657017 [2022-06-01T14:59:07.827Z] ---> 88406c8dc881 [2022-06-01T14:59:07.827Z] Step 12/12 : RUN $MAKE [2022-06-01T14:59:07.827Z] ---> Running in 186418131d6d [2022-06-01T14:59:08.088Z] noop [2022-06-01T14:59:08.349Z] Removing intermediate container 186418131d6d [2022-06-01T14:59:08.349Z] ---> 3f6d647334f3 [2022-06-01T14:59:08.349Z] Successfully built 3f6d647334f3 [2022-06-01T14:59:08.349Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:59:08.673Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T14:59:08.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:59:08.755Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-06-01T14:59:08.795Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-01T14:59:09.194Z] $ docker top 14c70feb4459d151111ae16a0ebf9f4e35753effc602973fc2c4d9b589ba45e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T14:59:09.554Z] + go version [2022-06-01T14:59:09.554Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-01T14:59:09.572Z] $ docker stop --time=1 14c70feb4459d151111ae16a0ebf9f4e35753effc602973fc2c4d9b589ba45e1 [2022-06-01T14:59:10.863Z] $ docker rm -f 14c70feb4459d151111ae16a0ebf9f4e35753effc602973fc2c4d9b589ba45e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:59:11.284Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T14:59:11.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:59:11.375Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-06-01T14:59:11.435Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-01T14:59:11.879Z] $ docker top b2256f8da6db881cce92b7faea6f347f85157f3a336d686d2556918ddec10ab0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T14:59:12.303Z] + make test [2022-06-01T14:59:12.303Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-01T14:59:12.563Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-01T14:59:22.554Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-01T14:59:22.554Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements [2022-06-01T14:59:29.134Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T14:59:33.354Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T14:59:33.354Z] ./snap/local/hooks/cmd/configure/configure.go [2022-06-01T14:59:33.354Z] ./snap/local/hooks/cmd/install/install.go [2022-06-01T14:59:33.354Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T14:59:33.354Z] make: *** [Makefile:56: test] Error 1 [Pipeline] } [2022-06-01T14:59:33.372Z] $ docker stop --time=1 b2256f8da6db881cce92b7faea6f347f85157f3a336d686d2556918ddec10ab0 [2022-06-01T14:59:35.306Z] $ docker rm -f b2256f8da6db881cce92b7faea6f347f85157f3a336d686d2556918ddec10ab0 [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-01T14:59:36.454Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T14:59:36.454Z] [2022-06-01T14:59:36.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T14:59:36.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T14:59:36.762Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-01T14:59:36.762Z] 5eb5b503b376: Pulling fs layer [2022-06-01T14:59:36.762Z] 5c69ac0246d0: Pulling fs layer [2022-06-01T14:59:36.762Z] ec43610c2a17: Pulling fs layer [2022-06-01T14:59:36.762Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-01T14:59:36.762Z] 33b1e0a273af: Pulling fs layer [2022-06-01T14:59:36.762Z] 5d3b04190fa2: Pulling fs layer [2022-06-01T14:59:36.762Z] 2f39f015ded8: Pulling fs layer [2022-06-01T14:59:36.762Z] 3a2ae6a8a46f: Waiting [2022-06-01T14:59:36.762Z] 33b1e0a273af: Waiting [2022-06-01T14:59:36.762Z] 5d3b04190fa2: Waiting [2022-06-01T14:59:36.762Z] 2f39f015ded8: Waiting [2022-06-01T14:59:36.762Z] 5c69ac0246d0: Verifying Checksum [2022-06-01T14:59:36.762Z] 5c69ac0246d0: Download complete [2022-06-01T14:59:36.762Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-01T14:59:36.762Z] 3a2ae6a8a46f: Download complete [2022-06-01T14:59:36.762Z] 33b1e0a273af: Verifying Checksum [2022-06-01T14:59:36.762Z] 33b1e0a273af: Download complete [2022-06-01T14:59:37.023Z] 5d3b04190fa2: Verifying Checksum [2022-06-01T14:59:37.023Z] 5d3b04190fa2: Download complete [2022-06-01T14:59:37.023Z] ec43610c2a17: Verifying Checksum [2022-06-01T14:59:37.023Z] ec43610c2a17: Download complete [2022-06-01T14:59:37.023Z] 5eb5b503b376: Download complete [2022-06-01T14:59:37.961Z] 2f39f015ded8: Download complete [2022-06-01T14:59:38.529Z] 5eb5b503b376: Pull complete [2022-06-01T14:59:38.529Z] 5c69ac0246d0: Pull complete [2022-06-01T14:59:39.099Z] ec43610c2a17: Pull complete [2022-06-01T14:59:39.099Z] 3a2ae6a8a46f: Pull complete [2022-06-01T14:59:39.361Z] 33b1e0a273af: Pull complete [2022-06-01T14:59:39.361Z] 5d3b04190fa2: Pull complete [2022-06-01T14:59:44.642Z] 2f39f015ded8: Pull complete [2022-06-01T14:59:44.642Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-01T14:59:44.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T14:59:44.642Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T14:59:44.738Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-06-01T14:59:44.778Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T14:59:46.828Z] $ docker top 486ce6059c559aadd8f68fa3fe6c680912ffa638b3faf6672bce6f90bbb4ae29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T14:59:47.220Z] ---> job-cost.sh [2022-06-01T14:59:47.220Z] lf-activate-venv: SKIPPING [2022-06-01T14:59:47.220Z] INFO: No Stack... [2022-06-01T14:59:47.792Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T14:59:48.053Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T14:59:48.345Z] + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv [2022-06-01T14:59:48.345Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T14:59:48.360Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [2022-06-01T14:59:48.369Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] did not exist. Created. [2022-06-01T14:59:48.369Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T14:59:48.682Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-01T14:59:48.711Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T14:59:48.716Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T14:59:48.738Z] $ docker stop --time=1 486ce6059c559aadd8f68fa3fe6c680912ffa638b3faf6672bce6f90bbb4ae29 [2022-06-01T14:59:49.908Z] $ docker rm -f 486ce6059c559aadd8f68fa3fe6c680912ffa638b3faf6672bce6f90bbb4ae29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T14:59:50.025Z] Failed in branch amd64 [2022-06-01T15:00:30.813Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-549 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws [2022-06-01T15:00:30.825Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2022-06-01T15:00:30.859Z] The recommended git tool is: git [2022-06-01T15:00:37.476Z] using credential edgex-jenkins-ssh [2022-06-01T15:00:37.497Z] Cloning the remote Git repository [2022-06-01T15:00:37.572Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-01T15:00:37.647Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2022-06-01T15:00:37.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-01T15:00:37.733Z] > git --version # timeout=10 [2022-06-01T15:00:37.755Z] > git --version # 'git version 2.25.1' [2022-06-01T15:00:37.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T15:00:37.833Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T15:00:39.855Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-01T15:00:39.873Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T15:00:39.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-01T15:00:39.934Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-01T15:00:39.935Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T15:00:39.950Z] > 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-01T15:00:40.482Z] Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit a266ebd99d2e725a38e992c2b726a9db996e56be [2022-06-01T15:00:40.698Z] Merge succeeded, producing a266ebd99d2e725a38e992c2b726a9db996e56be [2022-06-01T15:00:40.699Z] Checking out Revision a266ebd99d2e725a38e992c2b726a9db996e56be (PR-287) [2022-06-01T15:00:40.504Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T15:00:40.521Z] > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 [2022-06-01T15:00:40.607Z] > git remote # timeout=10 [2022-06-01T15:00:40.628Z] > git config --get remote.origin.url # timeout=10 [2022-06-01T15:00:40.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T15:00:40.655Z] > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 [2022-06-01T15:00:40.680Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-01T15:00:40.711Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T15:00:40.725Z] > git checkout -f a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 [2022-06-01T15:00:44.838Z] 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-01T15:00:45.773Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-01T15:00:45.773Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T15:00:45.773Z] Dload Upload Total Spent Left Speed [2022-06-01T15:00:45.773Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 45381 0 --:--:-- --:--:-- --:--:-- 45381 [Pipeline] sh [2022-06-01T15:00:46.504Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-01T15:00:46.845Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-06-01T15:00:46.845Z] /etc/docker/daemon.json [2022-06-01T15:00:46.845Z] { [2022-06-01T15:00:46.845Z] "registry-mirrors": [ [2022-06-01T15:00:46.845Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-01T15:00:46.845Z] ], [2022-06-01T15:00:46.845Z] "bip": "10.250.0.254/24", [2022-06-01T15:00:46.845Z] "hosts": [ [2022-06-01T15:00:46.845Z] "tcp://0.0.0.0:5555", [2022-06-01T15:00:46.845Z] "unix:///var/run/docker.sock" [2022-06-01T15:00:46.845Z] ], [2022-06-01T15:00:46.845Z] "mtu": 1458, [2022-06-01T15:00:46.845Z] "selinux-enabled": true, [2022-06-01T15:00:46.845Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-01T15:00:46.845Z] } [Pipeline] sh [2022-06-01T15:00:47.199Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-01T15:00:47.539Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T15:01:05.875Z] provisioning config files... [2022-06-01T15:01:05.901Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config7981539933419130811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:01:06.257Z] ---> docker-login.sh [2022-06-01T15:01:06.257Z] nexus3.edgexfoundry.org:10001 [2022-06-01T15:01:06.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T15:01:07.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T15:01:07.129Z] Configure a credential helper to remove this warning. See [2022-06-01T15:01:07.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T15:01:07.129Z] [2022-06-01T15:01:07.129Z] Login Succeeded [2022-06-01T15:01:07.129Z] nexus3.edgexfoundry.org:10002 [2022-06-01T15:01:07.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T15:01:07.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T15:01:07.674Z] Configure a credential helper to remove this warning. See [2022-06-01T15:01:07.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T15:01:07.674Z] [2022-06-01T15:01:07.674Z] Login Succeeded [2022-06-01T15:01:07.674Z] nexus3.edgexfoundry.org:10003 [2022-06-01T15:01:07.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T15:01:07.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T15:01:07.947Z] Configure a credential helper to remove this warning. See [2022-06-01T15:01:07.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T15:01:07.947Z] [2022-06-01T15:01:07.947Z] Login Succeeded [2022-06-01T15:01:07.947Z] nexus3.edgexfoundry.org:10004 [2022-06-01T15:01:08.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T15:01:08.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T15:01:08.547Z] Configure a credential helper to remove this warning. See [2022-06-01T15:01:08.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T15:01:08.547Z] [2022-06-01T15:01:08.547Z] Login Succeeded [2022-06-01T15:01:08.547Z] docker.io [2022-06-01T15:01:08.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T15:01:09.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T15:01:09.413Z] Configure a credential helper to remove this warning. See [2022-06-01T15:01:09.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T15:01:09.413Z] [2022-06-01T15:01:09.413Z] Login Succeeded [2022-06-01T15:01:09.413Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T15:01:09.433Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T15:01:09.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T15:01:09.967Z] ========================================================= [2022-06-01T15:01:09.967Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-01T15:01:09.967Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T15:01:10.330Z] + 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-01T15:01:10.935Z] Sending build context to Docker daemon 11.63MB [2022-06-01T15:01:10.935Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T15:01:10.935Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T15:01:10.935Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-01T15:01:10.935Z] 9b3977197b4f: Pulling fs layer [2022-06-01T15:01:10.935Z] 1a89e8eeedd5: Pulling fs layer [2022-06-01T15:01:10.935Z] 94645a83ff95: Pulling fs layer [2022-06-01T15:01:10.935Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-01T15:01:10.935Z] 0c92f367c5e7: Pulling fs layer [2022-06-01T15:01:10.935Z] 3096ccb668a1: Pulling fs layer [2022-06-01T15:01:10.935Z] e8cf19c19ddd: Pulling fs layer [2022-06-01T15:01:10.935Z] a4caa8a26152: Pulling fs layer [2022-06-01T15:01:10.935Z] 3f3a8bcf1eab: Waiting [2022-06-01T15:01:10.935Z] 0c92f367c5e7: Waiting [2022-06-01T15:01:10.935Z] 3096ccb668a1: Waiting [2022-06-01T15:01:10.936Z] e8cf19c19ddd: Waiting [2022-06-01T15:01:10.936Z] a4caa8a26152: Waiting [2022-06-01T15:01:10.936Z] 94645a83ff95: Verifying Checksum [2022-06-01T15:01:10.936Z] 94645a83ff95: Download complete [2022-06-01T15:01:10.936Z] 1a89e8eeedd5: Verifying Checksum [2022-06-01T15:01:10.936Z] 1a89e8eeedd5: Download complete [2022-06-01T15:01:10.936Z] 0c92f367c5e7: Download complete [2022-06-01T15:01:11.216Z] 3096ccb668a1: Verifying Checksum [2022-06-01T15:01:11.216Z] 3096ccb668a1: Download complete [2022-06-01T15:01:11.216Z] 9b3977197b4f: Verifying Checksum [2022-06-01T15:01:11.216Z] 9b3977197b4f: Download complete [2022-06-01T15:01:11.216Z] e8cf19c19ddd: Verifying Checksum [2022-06-01T15:01:11.216Z] e8cf19c19ddd: Download complete [2022-06-01T15:01:11.816Z] 9b3977197b4f: Pull complete [2022-06-01T15:01:12.417Z] 1a89e8eeedd5: Pull complete [2022-06-01T15:01:12.697Z] 94645a83ff95: Pull complete [2022-06-01T15:01:12.974Z] a4caa8a26152: Verifying Checksum [2022-06-01T15:01:12.974Z] a4caa8a26152: Download complete [2022-06-01T15:01:13.570Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-01T15:01:13.570Z] 3f3a8bcf1eab: Download complete [2022-06-01T15:01:25.969Z] 3f3a8bcf1eab: Pull complete [2022-06-01T15:01:25.969Z] 0c92f367c5e7: Pull complete [2022-06-01T15:01:25.969Z] 3096ccb668a1: Pull complete [2022-06-01T15:01:25.969Z] e8cf19c19ddd: Pull complete [2022-06-01T15:01:32.691Z] a4caa8a26152: Pull complete [2022-06-01T15:01:32.691Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-01T15:01:32.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-01T15:01:32.691Z] ---> 725f1c02e7f9 [2022-06-01T15:01:32.691Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T15:01:33.681Z] ---> Running in 1cd345445304 [2022-06-01T15:01:33.681Z] Removing intermediate container 1cd345445304 [2022-06-01T15:01:33.681Z] ---> 4fcb35508c2d [2022-06-01T15:01:33.681Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T15:01:33.957Z] ---> Running in e1645736f858 [2022-06-01T15:01:34.231Z] Removing intermediate container e1645736f858 [2022-06-01T15:01:34.231Z] ---> 2461ea14ff7d [2022-06-01T15:01:34.231Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-01T15:01:34.231Z] ---> Running in 9f045a121d6a [2022-06-01T15:01:34.507Z] Removing intermediate container 9f045a121d6a [2022-06-01T15:01:34.507Z] ---> f5e310928259 [2022-06-01T15:01:34.507Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T15:01:34.507Z] ---> Running in c955bc93316e [2022-06-01T15:01:36.494Z] Removing intermediate container c955bc93316e [2022-06-01T15:01:36.494Z] ---> 7dc1584c2db4 [2022-06-01T15:01:36.494Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T15:01:36.494Z] ---> Running in ee3e8dcffd85 [2022-06-01T15:01:38.478Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T15:01:39.456Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T15:01:40.446Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T15:01:40.446Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T15:01:40.728Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T15:01:40.728Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T15:01:41.002Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T15:01:41.002Z] OK: 224 MiB in 56 packages [2022-06-01T15:01:41.987Z] Removing intermediate container ee3e8dcffd85 [2022-06-01T15:01:41.987Z] ---> 4f7f774d0cdb [2022-06-01T15:01:41.987Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-01T15:01:42.265Z] ---> 4864ab8bceab [2022-06-01T15:01:42.265Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T15:01:42.550Z] ---> Running in bf00fea9b40e [2022-06-01T15:02:29.532Z] Removing intermediate container bf00fea9b40e [2022-06-01T15:02:29.532Z] ---> c783d777ab10 [2022-06-01T15:02:29.532Z] Step 10/12 : COPY . . [2022-06-01T15:02:29.532Z] ---> b7847778d0a4 [2022-06-01T15:02:29.532Z] Step 11/12 : ARG MAKE='make build' [2022-06-01T15:02:29.532Z] ---> Running in adedf127dba0 [2022-06-01T15:02:29.532Z] Removing intermediate container adedf127dba0 [2022-06-01T15:02:29.532Z] ---> fcd6da54dfdb [2022-06-01T15:02:29.532Z] Step 12/12 : RUN $MAKE [2022-06-01T15:02:29.532Z] ---> Running in aa7269a277f5 [2022-06-01T15:02:29.532Z] noop [2022-06-01T15:02:29.532Z] Removing intermediate container aa7269a277f5 [2022-06-01T15:02:29.532Z] ---> 6a8c78b66f6e [2022-06-01T15:02:29.532Z] Successfully built 6a8c78b66f6e [2022-06-01T15:02:29.532Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T15:02:29.899Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T15:02:29.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T15:02:30.134Z] prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container [2022-06-01T15:02:30.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-arm64 cat [2022-06-01T15:02:31.480Z] $ docker top 045e0547478c6512aedc04c4192e2097a85938a76f32951a5e622ddef83052d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T15:02:32.354Z] + go version [2022-06-01T15:02:32.354Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-01T15:02:32.388Z] $ docker stop --time=1 045e0547478c6512aedc04c4192e2097a85938a76f32951a5e622ddef83052d2 [2022-06-01T15:02:33.989Z] $ docker rm -f 045e0547478c6512aedc04c4192e2097a85938a76f32951a5e622ddef83052d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T15:02:34.583Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T15:02:34.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T15:02:34.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container [2022-06-01T15:02:34.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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-arm64 cat [2022-06-01T15:02:36.108Z] $ docker top 1eca08d2ec80672d1fe5cc78ddc74d2b57293ce09fe5bba9ac38ac1ebd596c2f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T15:02:36.993Z] + make test [2022-06-01T15:02:36.994Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-01T15:02:38.435Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-01T15:04:00.269Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-01T15:04:00.269Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2022-06-01T15:04:00.269Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-01T15:04:00.269Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T15:04:22.500Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T15:04:22.500Z] ./snap/local/hooks/cmd/install/install.go [2022-06-01T15:04:22.500Z] ./snap/local/hooks/cmd/configure/configure.go [2022-06-01T15:04:22.500Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T15:04:22.500Z] make: *** [Makefile:56: test] Error 1 [Pipeline] } [2022-06-01T15:04:22.529Z] $ docker stop --time=1 1eca08d2ec80672d1fe5cc78ddc74d2b57293ce09fe5bba9ac38ac1ebd596c2f [2022-06-01T15:04:24.261Z] $ docker rm -f 1eca08d2ec80672d1fe5cc78ddc74d2b57293ce09fe5bba9ac38ac1ebd596c2f [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-01T15:04:25.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T15:04:25.278Z] [2022-06-01T15:04:25.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T15:04:25.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T15:04:25.896Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-01T15:04:25.896Z] 8998bd30e6a1: Pulling fs layer [2022-06-01T15:04:25.896Z] 04944245beec: Pulling fs layer [2022-06-01T15:04:25.896Z] 699f458cf7ca: Pulling fs layer [2022-06-01T15:04:25.896Z] 765212b225bb: Pulling fs layer [2022-06-01T15:04:25.896Z] f23df028b6ca: Pulling fs layer [2022-06-01T15:04:25.896Z] d65c8cfc05b1: Pulling fs layer [2022-06-01T15:04:25.896Z] 2437ff75d9bd: Pulling fs layer [2022-06-01T15:04:25.896Z] d65c8cfc05b1: Waiting [2022-06-01T15:04:25.896Z] 2437ff75d9bd: Waiting [2022-06-01T15:04:25.896Z] 765212b225bb: Waiting [2022-06-01T15:04:25.896Z] f23df028b6ca: Waiting [2022-06-01T15:04:25.896Z] 04944245beec: Verifying Checksum [2022-06-01T15:04:25.896Z] 04944245beec: Download complete [2022-06-01T15:04:25.896Z] 765212b225bb: Verifying Checksum [2022-06-01T15:04:25.896Z] 765212b225bb: Download complete [2022-06-01T15:04:25.896Z] f23df028b6ca: Verifying Checksum [2022-06-01T15:04:25.896Z] f23df028b6ca: Download complete [2022-06-01T15:04:25.896Z] d65c8cfc05b1: Verifying Checksum [2022-06-01T15:04:25.896Z] d65c8cfc05b1: Download complete [2022-06-01T15:04:26.172Z] 699f458cf7ca: Verifying Checksum [2022-06-01T15:04:26.172Z] 699f458cf7ca: Download complete [2022-06-01T15:04:26.447Z] 8998bd30e6a1: Verifying Checksum [2022-06-01T15:04:26.447Z] 8998bd30e6a1: Download complete [2022-06-01T15:04:29.079Z] 2437ff75d9bd: Verifying Checksum [2022-06-01T15:04:29.079Z] 2437ff75d9bd: Download complete [2022-06-01T15:04:30.517Z] 8998bd30e6a1: Pull complete [2022-06-01T15:04:31.117Z] 04944245beec: Pull complete [2022-06-01T15:04:32.551Z] 699f458cf7ca: Pull complete [2022-06-01T15:04:32.825Z] 765212b225bb: Pull complete [2022-06-01T15:04:33.807Z] f23df028b6ca: Pull complete [2022-06-01T15:04:34.082Z] d65c8cfc05b1: Pull complete [2022-06-01T15:04:49.184Z] 2437ff75d9bd: Pull complete [2022-06-01T15:04:49.184Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-01T15:04:49.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T15:04:49.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T15:04:49.423Z] prd-ubuntu20.04-docker-arm64-4c-16g-549 does not seem to be running inside a container [2022-06-01T15:04:49.522Z] $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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:arm64 cat [2022-06-01T15:04:51.946Z] $ docker top 2534cff9ec955fa7d1b2ff6d7fedeeb10fd818f3b8516a7b8de874a0010f60bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:04:52.849Z] ---> job-cost.sh [2022-06-01T15:04:52.849Z] lf-activate-venv: SKIPPING [2022-06-01T15:04:52.849Z] INFO: No Stack... [2022-06-01T15:04:53.122Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-01T15:04:54.103Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T15:04:54.766Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2022-06-01T15:04:54.766Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T15:04:54.828Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [2022-06-01T15:04:54.834Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] did not exist. Created. [2022-06-01T15:04:54.834Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T15:04:55.510Z] /w/workspace/device-virtual-go/2@tmp/durable-365593d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-01T15:04:56.217Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-01T15:04:56.246Z] Warning: overwriting stash ‘stack-cost’ [2022-06-01T15:04:56.701Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T15:04:56.710Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T15:04:56.739Z] $ docker stop --time=1 2534cff9ec955fa7d1b2ff6d7fedeeb10fd818f3b8516a7b8de874a0010f60bb [2022-06-01T15:04:58.245Z] $ docker rm -f 2534cff9ec955fa7d1b2ff6d7fedeeb10fd818f3b8516a7b8de874a0010f60bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T15:04:58.557Z] 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-01T15:04:59.260Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] [2022-06-01T15:04:59.260Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-01T15:04:59.260Z] total 16 [2022-06-01T15:04:59.260Z] drwxr-xr-x 3 root root 4096 Jun 1 14:59 . [2022-06-01T15:04:59.260Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 14:59 .. [2022-06-01T15:04:59.260Z] drwxr-xr-x 2 root root 4096 Jun 1 14:59 cost [2022-06-01T15:04:59.260Z] -rw-r--r-- 1 root root 88 Jun 1 14:59 cost.csv [2022-06-01T15:04:59.260Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-01T15:04:59.260Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives [2022-06-01T15:04:59.260Z] total 16 [2022-06-01T15:04:59.260Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 14:59 . [2022-06-01T15:04:59.260Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 14:59 .. [2022-06-01T15:04:59.260Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 14:59 cost [2022-06-01T15:04:59.260Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 1 14:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:04:59.662Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:05:00.536Z] ---> package-listing.sh [2022-06-01T15:05:00.536Z] ++ facter osfamily [2022-06-01T15:05:00.536Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-01T15:05:00.797Z] + OS_FAMILY=debian [2022-06-01T15:05:00.797Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-287 [2022-06-01T15:05:00.797Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-01T15:05:00.797Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-01T15:05:00.797Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-01T15:05:00.797Z] + PACKAGES=/tmp/packages_start.txt [2022-06-01T15:05:00.797Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-01T15:05:00.797Z] + PACKAGES=/tmp/packages_end.txt [2022-06-01T15:05:00.797Z] + case "${OS_FAMILY}" in [2022-06-01T15:05:00.797Z] + dpkg -l [2022-06-01T15:05:00.797Z] + grep '^ii' [2022-06-01T15:05:00.797Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-01T15:05:00.797Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-01T15:05:00.797Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-01T15:05:00.797Z] + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' [2022-06-01T15:05:00.797Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ [2022-06-01T15:05:00.797Z] + 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-01T15:05:00.810Z] 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-01T15:05:01.090Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T15:05:01.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T15:05:01.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T15:05:01.734Z] prd-ubuntu20.04-docker-8c-8g-548 does not seem to be running inside a container [2022-06-01T15:05:01.776Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T15:05:02.019Z] $ docker top c3e943380ceae633f1c41b5c56d02b20fe51917e54a598ddc234fad42af2fae2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T15:05:02.379Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-01T15:05:02.667Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-01T15:05:02.955Z] + ls /var/log/sa-host [2022-06-01T15:05:02.955Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T15:05:03.023Z] provisioning config files... [2022-06-01T15:05:03.032Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config618333578289783268tmp [Pipeline] { [Pipeline] echo [2022-06-01T15:05:03.047Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:05:03.338Z] ---> create-netrc.sh [Pipeline] } [2022-06-01T15:05:03.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:05:03.676Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-01T15:05:03.685Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:05:03.970Z] ---> sudo-logs.sh [2022-06-01T15:05:03.970Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-01T15:05:03.993Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:05:04.279Z] ---> job-cost.sh [2022-06-01T15:05:04.279Z] lf-activate-venv: SKIPPING [2022-06-01T15:05:04.279Z] DEBUG: total: 0.2199999988079071 [2022-06-01T15:05:04.279Z] INFO: Retrieving Stack Cost... [2022-06-01T15:05:04.540Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T15:05:05.111Z] INFO: Archiving Costs [Pipeline] echo [2022-06-01T15:05:05.124Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T15:05:05.410Z] ---> logs-deploy.sh [2022-06-01T15:05:05.410Z] lf-activate-venv: SKIPPING [2022-06-01T15:05:05.410Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/2 [2022-06-01T15:05:05.410Z] INFO: archiving workspace using pattern(s): [2022-06-01T15:05:06.353Z] Archives upload complete. [2022-06-01T15:05:06.353Z] INFO: archiving logs to Nexus