Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f17a959956fc561d4771619dc1a45ddee013e59e+b5c3ad01f67977970fed420537dc3b570bb51b0a (089cddc09324958708959a017d7f9fcc43ecef8f) 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-ssh14668012442188065380.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5044777043827126512.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-179/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-179/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6686301614919190515.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5823285438339773746.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-179/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-179/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5072206774441425764.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-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-rest-go-settings PROJECT: device-rest-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-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33414’ Running on prd-ubuntu20.04-docker-8c-8g-33419 in /w/workspace/gexfoundry_device-rest-go_PR-179 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-179 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b5c3ad01f67977970fed420537dc3b570bb51b0a into PR head commit f17a959956fc561d4771619dc1a45ddee013e59e Merge succeeded, producing 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 Checking out Revision 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 (PR-179) > git config core.sparsecheckout # timeout=10 > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # 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 b5c3ad01f67977970fed420537dc3b570bb51b0a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 # timeout=10 Commit message: "Merge commit 'b5c3ad01f67977970fed420537dc3b570bb51b0a' into HEAD" > git rev-list --no-walk f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-27T03:08:42.263Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-27T03:08:42.321Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-27T03:08:42.342Z] ========================================================= [2022-04-27T03:08:42.342Z] EdgeX Global Pipelines Version Info [2022-04-27T03:08:42.342Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:08:43.109Z] ------------------- [2022-04-27T03:08:43.109Z] stable info: [2022-04-27T03:08:43.109Z] ------------------- [2022-04-27T03:08:43.109Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-27T03:08:43.109Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-27T03:08:43.109Z] Message: update stable to v1.0.221 [2022-04-27T03:08:43.680Z] ------------------- [2022-04-27T03:08:43.680Z] experimental info: [2022-04-27T03:08:43.680Z] ------------------- [2022-04-27T03:08:43.680Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-27T03:08:43.680Z] Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 [2022-04-27T03:08:43.680Z] Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-27T03:08:43.789Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-27T03:08:43.805Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-27T03:08:43.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-27T03:08:43.823Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-27T03:08:43.832Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-27T03:08:43.841Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-27T03:08:43.850Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-27T03:08:43.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-27T03:08:43.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-27T03:08:43.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-27T03:08:43.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-27T03:08:43.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-27T03:08:43.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-27T03:08:43.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-27T03:08:43.950Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T03:08:43.961Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-27T03:08:43.974Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T03:08:43.986Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-27T03:08:43.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-27T03:08:44.008Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-27T03:08:44.021Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-27T03:08:44.033Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-27T03:08:44.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-27T03:08:44.057Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-27T03:08:44.070Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-27T03:08:44.081Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-27T03:08:44.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-179 [Pipeline] echo [2022-04-27T03:08:44.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-179 [Pipeline] echo [2022-04-27T03:08:44.116Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-179 [Pipeline] echo [2022-04-27T03:08:44.181Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [Pipeline] echo [2022-04-27T03:08:44.191Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d41c3f [Pipeline] echo [2022-04-27T03:08:44.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T03:08:44.241Z] provisioning config files... [2022-04-27T03:08:44.252Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config3910876756130204351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:08:44.556Z] ---> docker-login.sh [2022-04-27T03:08:44.556Z] nexus3.edgexfoundry.org:10001 [2022-04-27T03:08:44.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:45.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:45.079Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:45.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:45.079Z] [2022-04-27T03:08:45.079Z] Login Succeeded [2022-04-27T03:08:45.079Z] nexus3.edgexfoundry.org:10002 [2022-04-27T03:08:45.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:45.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:45.079Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:45.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:45.079Z] [2022-04-27T03:08:45.079Z] Login Succeeded [2022-04-27T03:08:45.079Z] nexus3.edgexfoundry.org:10003 [2022-04-27T03:08:45.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:45.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:45.340Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:45.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:45.340Z] [2022-04-27T03:08:45.340Z] Login Succeeded [2022-04-27T03:08:45.340Z] nexus3.edgexfoundry.org:10004 [2022-04-27T03:08:45.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:45.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:45.340Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:45.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:45.340Z] [2022-04-27T03:08:45.340Z] Login Succeeded [2022-04-27T03:08:45.340Z] docker.io [2022-04-27T03:08:45.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:45.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:45.862Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:45.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:45.862Z] [2022-04-27T03:08:45.862Z] Login Succeeded [2022-04-27T03:08:45.862Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T03:08:45.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-27T03:08:46.231Z] + git rev-list -1 --merges 5d41c3f0f111f37fe79223fccc840247fb9fd6c2~1..5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [Pipeline] echo [2022-04-27T03:08:46.307Z] -----------> git rev-list -1 --merges 5d41c3f0f111f37fe79223fccc840247fb9fd6c2~1..5d41c3f0f111f37fe79223fccc840247fb9fd6c2 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [2022-04-27T03:08:46.307Z] 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [false] [Pipeline] sh [2022-04-27T03:08:46.596Z] + git log --format=format:%s -1 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [Pipeline] echo [2022-04-27T03:08:46.613Z] ========================================================= [2022-04-27T03:08:46.613Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-27T03:08:46.613Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T03:08:46.944Z] + git log --format=format:%s -1 5d41c3f0f111f37fe79223fccc840247fb9fd6c2 [Pipeline] echo [2022-04-27T03:08:46.957Z] [semverPrep] GIT_COMMIT: 5d41c3f0f111f37fe79223fccc840247fb9fd6c2, Commit Message: Merge commit 'b5c3ad01f67977970fed420537dc3b570bb51b0a' into HEAD [Pipeline] echo [2022-04-27T03:08:46.969Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-27T03:08:47.354Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-27T03:08:47.354Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-27T03:08:47.354Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-27T03:08:47.354Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-27T03:08:47.354Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-27T03:08:47.354Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-27T03:08:47.354Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:08:47.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T03:08:47.700Z] [2022-04-27T03:08:47.700Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:08:48.006Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T03:08:48.006Z] latest: Pulling from edgex-devops/git-semver [2022-04-27T03:08:48.006Z] a0d0a0d46f8b: Pulling fs layer [2022-04-27T03:08:48.006Z] 3e5f54012d9b: Pulling fs layer [2022-04-27T03:08:48.006Z] 4c7163046ea9: Pulling fs layer [2022-04-27T03:08:48.006Z] 0c2d73faf560: Pulling fs layer [2022-04-27T03:08:48.006Z] 0c2d73faf560: Waiting [2022-04-27T03:08:48.006Z] 3e5f54012d9b: Download complete [2022-04-27T03:08:48.006Z] a0d0a0d46f8b: Download complete [2022-04-27T03:08:48.265Z] 0c2d73faf560: Verifying Checksum [2022-04-27T03:08:48.265Z] 0c2d73faf560: Download complete [2022-04-27T03:08:48.265Z] 4c7163046ea9: Verifying Checksum [2022-04-27T03:08:48.265Z] 4c7163046ea9: Download complete [2022-04-27T03:08:48.265Z] a0d0a0d46f8b: Pull complete [2022-04-27T03:08:48.524Z] 3e5f54012d9b: Pull complete [2022-04-27T03:08:48.785Z] 4c7163046ea9: Pull complete [2022-04-27T03:08:49.045Z] 0c2d73faf560: Pull complete [2022-04-27T03:08:49.045Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-27T03:08:49.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-27T03:08:49.045Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-27T03:08:49.114Z] prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container [2022-04-27T03:08:49.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-27T03:08:50.530Z] $ docker top 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-27T03:08:50.624Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T03:08:50.624Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T03:08:50.760Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T03:08:50.770Z] $ docker exec 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb ssh-agent [2022-04-27T03:08:50.891Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXObcIPl/agent.14 [2022-04-27T03:08:50.891Z] SSH_AGENT_PID=21 [2022-04-27T03:08:50.899Z] Running ssh-add (command line suppressed) [2022-04-27T03:08:51.012Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_2049854766312008217.key (/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_2049854766312008217.key) [2022-04-27T03:08:51.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T03:08:51.317Z] + git tag --points-at HEAD [Pipeline] } [2022-04-27T03:08:51.343Z] $ docker exec --env ******** --env ******** 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb ssh-agent -k [2022-04-27T03:08:51.458Z] unset SSH_AUTH_SOCK; [2022-04-27T03:08:51.458Z] unset SSH_AGENT_PID; [2022-04-27T03:08:51.458Z] echo Agent pid 21 killed; [2022-04-27T03:08:51.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-27T03:08:51.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-27T03:08:51.491Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-27T03:08:51.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-27T03:08:51.637Z] $ docker exec 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb ssh-agent [2022-04-27T03:08:51.763Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXecJKKC/agent.54 [2022-04-27T03:08:51.763Z] SSH_AGENT_PID=61 [2022-04-27T03:08:51.769Z] Running ssh-add (command line suppressed) [2022-04-27T03:08:51.882Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_4216716903471177664.key (/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/private_key_4216716903471177664.key) [2022-04-27T03:08:51.892Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-27T03:08:52.187Z] + git semver init [2022-04-27T03:08:52.188Z] # -> Open(): unable to determine branch for HEAD [2022-04-27T03:08:52.188Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-179/.git [2022-04-27T03:08:52.188Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-179 [2022-04-27T03:08:52.188Z] # $SEMVER_REMOTE_NAME = origin [2022-04-27T03:08:52.188Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-27T03:08:52.188Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-27T03:08:52.188Z] # $SEMVER_BRANCH = PR-179 [2022-04-27T03:08:52.188Z] # $SEMVER_TEMP = /tmp/semver-340315670 [2022-04-27T03:08:52.188Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-27T03:08:53.575Z] # '/tmp/semver-340315670' -> '/w/workspace/gexfoundry_device-rest-go_PR-179/.semver' [2022-04-27T03:08:53.575Z] # -> Force: false [2022-04-27T03:08:53.575Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-179/.semver [Pipeline] } [2022-04-27T03:08:53.592Z] $ docker exec --env ******** --env ******** 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb ssh-agent -k [2022-04-27T03:08:53.717Z] unset SSH_AUTH_SOCK; [2022-04-27T03:08:53.717Z] unset SSH_AGENT_PID; [2022-04-27T03:08:53.717Z] echo Agent pid 61 killed; [2022-04-27T03:08:53.722Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-27T03:08:54.023Z] + git semver [Pipeline] } [2022-04-27T03:08:54.043Z] $ docker stop --time=1 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb [2022-04-27T03:08:55.465Z] $ docker rm -f 12e39850e7aa1a1b715db26775c13da11421e251e42c67a522a6152dc18116cb [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-27T03:08:55.828Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-27T03:08:56.090Z] Stashed 1 file(s) [Pipeline] echo [2022-04-27T03:08:56.095Z] [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-04-27T03:08:56.246Z] provisioning config files... [2022-04-27T03:08:56.256Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config5355130715877494574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:08:56.555Z] ---> docker-login.sh [2022-04-27T03:08:56.556Z] nexus3.edgexfoundry.org:10001 [2022-04-27T03:08:56.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:56.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:56.556Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:56.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:56.556Z] [2022-04-27T03:08:56.556Z] Login Succeeded [2022-04-27T03:08:56.556Z] nexus3.edgexfoundry.org:10002 [2022-04-27T03:08:56.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:56.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:56.556Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:56.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:56.556Z] [2022-04-27T03:08:56.556Z] Login Succeeded [2022-04-27T03:08:56.816Z] nexus3.edgexfoundry.org:10003 [2022-04-27T03:08:56.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:56.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:56.816Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:56.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:56.816Z] [2022-04-27T03:08:56.816Z] Login Succeeded [2022-04-27T03:08:56.816Z] nexus3.edgexfoundry.org:10004 [2022-04-27T03:08:56.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:57.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:57.080Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:57.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:57.080Z] [2022-04-27T03:08:57.080Z] Login Succeeded [2022-04-27T03:08:57.080Z] docker.io [2022-04-27T03:08:57.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:08:57.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:08:57.341Z] Configure a credential helper to remove this warning. See [2022-04-27T03:08:57.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:08:57.341Z] [2022-04-27T03:08:57.341Z] Login Succeeded [2022-04-27T03:08:57.341Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T03:08:57.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T03:08:57.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T03:08:57.436Z] ========================================================= [2022-04-27T03:08:57.436Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-27T03:08:57.436Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:08:57.741Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T03:08:57.741Z] Sending build context to Docker daemon 10.58MB [2022-04-27T03:08:57.741Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T03:08:57.741Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-27T03:08:57.741Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-27T03:08:57.741Z] 59bf1c3509f3: Pulling fs layer [2022-04-27T03:08:57.741Z] 666ba61612fd: Pulling fs layer [2022-04-27T03:08:57.741Z] 8ed8ca486205: Pulling fs layer [2022-04-27T03:08:57.741Z] 4fe6c5a15a65: Pulling fs layer [2022-04-27T03:08:57.741Z] 22a0e8bec74d: Pulling fs layer [2022-04-27T03:08:57.741Z] ca2b28591e48: Pulling fs layer [2022-04-27T03:08:57.741Z] a51346096db8: Pulling fs layer [2022-04-27T03:08:57.741Z] daebc70d1ce1: Pulling fs layer [2022-04-27T03:08:57.741Z] 0e18a0eac166: Pulling fs layer [2022-04-27T03:08:57.741Z] daebc70d1ce1: Waiting [2022-04-27T03:08:57.741Z] 0e18a0eac166: Waiting [2022-04-27T03:08:57.741Z] 4fe6c5a15a65: Waiting [2022-04-27T03:08:57.741Z] a51346096db8: Waiting [2022-04-27T03:08:57.741Z] 22a0e8bec74d: Waiting [2022-04-27T03:08:58.001Z] 8ed8ca486205: Verifying Checksum [2022-04-27T03:08:58.001Z] 8ed8ca486205: Download complete [2022-04-27T03:08:58.001Z] 666ba61612fd: Download complete [2022-04-27T03:08:58.001Z] 22a0e8bec74d: Verifying Checksum [2022-04-27T03:08:58.001Z] 22a0e8bec74d: Download complete [2022-04-27T03:08:58.001Z] ca2b28591e48: Verifying Checksum [2022-04-27T03:08:58.001Z] a51346096db8: Download complete [2022-04-27T03:08:58.001Z] 59bf1c3509f3: Verifying Checksum [2022-04-27T03:08:58.001Z] 59bf1c3509f3: Download complete [2022-04-27T03:08:58.001Z] daebc70d1ce1: Verifying Checksum [2022-04-27T03:08:58.001Z] daebc70d1ce1: Download complete [2022-04-27T03:08:58.001Z] 59bf1c3509f3: Pull complete [2022-04-27T03:08:58.262Z] 666ba61612fd: Pull complete [2022-04-27T03:08:58.529Z] 8ed8ca486205: Pull complete [2022-04-27T03:08:58.793Z] 0e18a0eac166: Verifying Checksum [2022-04-27T03:08:58.793Z] 0e18a0eac166: Download complete [2022-04-27T03:08:58.793Z] 4fe6c5a15a65: Verifying Checksum [2022-04-27T03:08:58.793Z] 4fe6c5a15a65: Download complete [2022-04-27T03:09:02.084Z] 4fe6c5a15a65: Pull complete [2022-04-27T03:09:02.343Z] 22a0e8bec74d: Pull complete [2022-04-27T03:09:02.343Z] ca2b28591e48: Pull complete [2022-04-27T03:09:02.343Z] a51346096db8: Pull complete [2022-04-27T03:09:02.603Z] daebc70d1ce1: Pull complete [2022-04-27T03:09:04.511Z] 0e18a0eac166: Pull complete [2022-04-27T03:09:04.511Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-27T03:09:04.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-27T03:09:04.511Z] ---> f018257e8ee9 [2022-04-27T03:09:04.511Z] Step 3/12 : ARG MAKE='make build' [2022-04-27T03:09:07.052Z] ---> Running in 07e2b3448353 [2022-04-27T03:09:07.052Z] Removing intermediate container 07e2b3448353 [2022-04-27T03:09:07.052Z] ---> 75263d6d5495 [2022-04-27T03:09:07.052Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T03:09:07.052Z] ---> Running in c3bba72bea15 [2022-04-27T03:09:07.052Z] Removing intermediate container c3bba72bea15 [2022-04-27T03:09:07.052Z] ---> 2793d4853167 [2022-04-27T03:09:07.052Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T03:09:07.052Z] ---> Running in 8f9e986dd69c [2022-04-27T03:09:07.312Z] Removing intermediate container 8f9e986dd69c [2022-04-27T03:09:07.312Z] ---> ea489e82ce99 [2022-04-27T03:09:07.312Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T03:09:07.312Z] ---> Running in 3ef6fc5d757d [2022-04-27T03:09:07.887Z] Removing intermediate container 3ef6fc5d757d [2022-04-27T03:09:07.887Z] ---> 15c2f77e5ca2 [2022-04-27T03:09:07.887Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T03:09:07.887Z] ---> Running in 1effbb15a9aa [2022-04-27T03:09:08.147Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-27T03:09:09.089Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-27T03:09:09.350Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T03:09:09.610Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-27T03:09:09.610Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T03:09:09.610Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T03:09:09.871Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T03:09:09.871Z] OK: 224 MiB in 56 packages [2022-04-27T03:09:10.443Z] Removing intermediate container 1effbb15a9aa [2022-04-27T03:09:10.443Z] ---> 630641a670d5 [2022-04-27T03:09:10.443Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-27T03:09:10.443Z] ---> Running in ea2e3d147d1e [2022-04-27T03:09:10.443Z] Removing intermediate container ea2e3d147d1e [2022-04-27T03:09:10.443Z] ---> fcdceb761b9d [2022-04-27T03:09:10.443Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-27T03:09:10.704Z] ---> 6dee71d94bb3 [2022-04-27T03:09:10.704Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T03:09:10.704Z] ---> Running in 0813e86d7c46 [2022-04-27T03:09:11.215Z] Still waiting to schedule task [2022-04-27T03:09:11.215Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33415’ [2022-04-27T03:09:25.604Z] Removing intermediate container 0813e86d7c46 [2022-04-27T03:09:25.604Z] ---> 3f47c5b39884 [2022-04-27T03:09:25.604Z] Step 11/12 : COPY . . [2022-04-27T03:09:25.604Z] ---> 3ed53f542e77 [2022-04-27T03:09:25.604Z] Step 12/12 : RUN $MAKE [2022-04-27T03:09:25.604Z] ---> Running in 8df2f79ca53c [2022-04-27T03:09:25.604Z] noop [2022-04-27T03:09:26.173Z] Removing intermediate container 8df2f79ca53c [2022-04-27T03:09:26.173Z] ---> 91e8e7d040e1 [2022-04-27T03:09:26.173Z] Successfully built 91e8e7d040e1 [2022-04-27T03:09:26.173Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:09:26.477Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T03:09:26.478Z] . [Pipeline] withDockerContainer [2022-04-27T03:09:26.550Z] prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container [2022-04-27T03:09:26.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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 ******** ci-base-image-x86_64 cat [2022-04-27T03:09:26.984Z] $ docker top 72636af648189f54e0de8397e829276add86d7e3b23226aaf8679756cef65b7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T03:09:27.346Z] + go version [2022-04-27T03:09:27.347Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-27T03:09:27.365Z] $ docker stop --time=1 72636af648189f54e0de8397e829276add86d7e3b23226aaf8679756cef65b7b [2022-04-27T03:09:28.677Z] $ docker rm -f 72636af648189f54e0de8397e829276add86d7e3b23226aaf8679756cef65b7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:09:29.105Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-27T03:09:29.105Z] . [Pipeline] withDockerContainer [2022-04-27T03:09:29.171Z] prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container [2022-04-27T03:09:29.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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 ******** ci-base-image-x86_64 cat [2022-04-27T03:09:29.606Z] $ docker top 081c39e9edf56ab4e5406356163f2dd6e54272a646fe9a99203d88b4bb6e9163 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T03:09:29.962Z] + make test [2022-04-27T03:09:29.962Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-27T03:09:30.221Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-27T03:09:40.300Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-27T03:09:40.300Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements [2022-04-27T03:09:45.580Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T03:09:49.775Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T03:09:49.775Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T03:09:49.775Z] ./bin/test-attribution-txt.sh [2022-04-27T03:09:49.775Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-27T03:09:49.775Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-04-27T03:09:49.798Z] $ docker stop --time=1 081c39e9edf56ab4e5406356163f2dd6e54272a646fe9a99203d88b4bb6e9163 [2022-04-27T03:09:52.414Z] $ docker rm -f 081c39e9edf56ab4e5406356163f2dd6e54272a646fe9a99203d88b4bb6e9163 [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] sh [2022-04-27T03:09:53.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T03:09:53.021Z] [2022-04-27T03:09:53.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:09:53.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T03:09:53.328Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-27T03:09:53.328Z] 5eb5b503b376: Pulling fs layer [2022-04-27T03:09:53.328Z] 5c69ac0246d0: Pulling fs layer [2022-04-27T03:09:53.328Z] ec43610c2a17: Pulling fs layer [2022-04-27T03:09:53.328Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-27T03:09:53.328Z] 33b1e0a273af: Pulling fs layer [2022-04-27T03:09:53.328Z] 5d3b04190fa2: Pulling fs layer [2022-04-27T03:09:53.328Z] 2f39f015ded8: Pulling fs layer [2022-04-27T03:09:53.328Z] 33b1e0a273af: Waiting [2022-04-27T03:09:53.328Z] 3a2ae6a8a46f: Waiting [2022-04-27T03:09:53.328Z] 5d3b04190fa2: Waiting [2022-04-27T03:09:53.328Z] 2f39f015ded8: Waiting [2022-04-27T03:09:53.328Z] 5c69ac0246d0: Download complete [2022-04-27T03:09:53.328Z] 3a2ae6a8a46f: Download complete [2022-04-27T03:09:53.594Z] 33b1e0a273af: Verifying Checksum [2022-04-27T03:09:53.594Z] 33b1e0a273af: Download complete [2022-04-27T03:09:53.594Z] 5d3b04190fa2: Verifying Checksum [2022-04-27T03:09:53.594Z] 5d3b04190fa2: Download complete [2022-04-27T03:09:53.594Z] ec43610c2a17: Verifying Checksum [2022-04-27T03:09:53.594Z] ec43610c2a17: Download complete [2022-04-27T03:09:53.594Z] 5eb5b503b376: Verifying Checksum [2022-04-27T03:09:53.594Z] 5eb5b503b376: Download complete [2022-04-27T03:09:54.535Z] 2f39f015ded8: Download complete [2022-04-27T03:09:54.796Z] 5eb5b503b376: Pull complete [2022-04-27T03:09:55.056Z] 5c69ac0246d0: Pull complete [2022-04-27T03:09:55.625Z] ec43610c2a17: Pull complete [2022-04-27T03:09:55.886Z] 3a2ae6a8a46f: Pull complete [2022-04-27T03:09:56.145Z] 33b1e0a273af: Pull complete [2022-04-27T03:09:56.145Z] 5d3b04190fa2: Pull complete [2022-04-27T03:10:00.338Z] 2f39f015ded8: Pull complete [2022-04-27T03:10:00.338Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-27T03:10:00.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T03:10:00.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-27T03:10:00.398Z] prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container [2022-04-27T03:10:00.441Z] $ 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/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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-lftools-log-publisher:latest cat [2022-04-27T03:10:04.643Z] $ docker top c4b290ca0a24c85e2f76254f6d8703f96dc0ee6946ead20f0a8c29c43f8d0269 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:10:05.063Z] ---> job-cost.sh [2022-04-27T03:10:05.063Z] lf-activate-venv: SKIPPING [2022-04-27T03:10:05.063Z] INFO: No Stack... [2022-04-27T03:10:05.322Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T03:10:05.891Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T03:10:06.181Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-179/archives/cost.csv [2022-04-27T03:10:06.181Z] + cut -d, -f6 [Pipeline] lock [2022-04-27T03:10:06.194Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [2022-04-27T03:10:06.200Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] did not exist. Created. [2022-04-27T03:10:06.200Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T03:10:06.502Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-27T03:10:06.537Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T03:10:06.543Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T03:10:06.567Z] $ docker stop --time=1 c4b290ca0a24c85e2f76254f6d8703f96dc0ee6946ead20f0a8c29c43f8d0269 [2022-04-27T03:10:07.836Z] $ docker rm -f c4b290ca0a24c85e2f76254f6d8703f96dc0ee6946ead20f0a8c29c43f8d0269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T03:10:07.964Z] Failed in branch amd64 [2022-04-27T03:12:26.765Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-33421 in /w/workspace/gexfoundry_device-rest-go_PR-179 [Pipeline] { [Pipeline] ws [2022-04-27T03:12:26.778Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-04-27T03:12:27.035Z] The recommended git tool is: git [2022-04-27T03:12:34.142Z] using credential edgex-jenkins-ssh [2022-04-27T03:12:34.161Z] Cloning the remote Git repository [2022-04-27T03:12:34.232Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-27T03:12:34.317Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-04-27T03:12:34.422Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-27T03:12:34.423Z] > git --version # timeout=10 [2022-04-27T03:12:34.450Z] > git --version # 'git version 2.25.1' [2022-04-27T03:12:34.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T03:12:34.540Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T03:12:37.238Z] Merging remotes/origin/main commit b5c3ad01f67977970fed420537dc3b570bb51b0a into PR head commit f17a959956fc561d4771619dc1a45ddee013e59e [2022-04-27T03:12:36.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-27T03:12:36.513Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-27T03:12:36.592Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-27T03:12:36.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-27T03:12:36.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T03:12:36.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/179/head:refs/remotes/origin/PR-179 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-27T03:12:37.268Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T03:12:37.305Z] > git checkout -f f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 [2022-04-27T03:12:37.404Z] > git remote # timeout=10 [2022-04-27T03:12:37.433Z] > git config --get remote.origin.url # timeout=10 [2022-04-27T03:12:37.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-27T03:12:37.473Z] > git merge b5c3ad01f67977970fed420537dc3b570bb51b0a # timeout=10 [2022-04-27T03:12:37.534Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-27T03:12:37.545Z] Merge succeeded, producing 1705afaf18abdff98b08bef17ba1da451609369e [2022-04-27T03:12:37.546Z] Checking out Revision 1705afaf18abdff98b08bef17ba1da451609369e (PR-179) [2022-04-27T03:12:37.559Z] > git config core.sparsecheckout # timeout=10 [2022-04-27T03:12:37.575Z] > git checkout -f 1705afaf18abdff98b08bef17ba1da451609369e # timeout=10 [2022-04-27T03:12:41.860Z] Commit message: "Merge commit 'b5c3ad01f67977970fed420537dc3b570bb51b0a' into HEAD" [2022-04-27T03:12:41.877Z] > git rev-list --no-walk f17a959956fc561d4771619dc1a45ddee013e59e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-27T03:12:42.834Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-27T03:12:42.834Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-27T03:12:42.834Z] Dload Upload Total Spent Left Speed [2022-04-27T03:12:42.834Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh [2022-04-27T03:12:43.391Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-27T03:12:43.745Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-27T03:12:43.745Z] sudo tee /etc/docker/daemon.new [2022-04-27T03:12:43.745Z] { [2022-04-27T03:12:43.745Z] "registry-mirrors": [ [2022-04-27T03:12:43.745Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-27T03:12:43.745Z] ], [2022-04-27T03:12:43.745Z] "bip": "10.250.0.254/24", [2022-04-27T03:12:43.745Z] "hosts": [ [2022-04-27T03:12:43.745Z] "tcp://0.0.0.0:5555", [2022-04-27T03:12:43.745Z] "unix:///var/run/docker.sock" [2022-04-27T03:12:43.745Z] ], [2022-04-27T03:12:43.745Z] "mtu": 1458, [2022-04-27T03:12:43.745Z] "selinux-enabled": true, [2022-04-27T03:12:43.745Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-27T03:12:43.745Z] } [Pipeline] sh [2022-04-27T03:12:44.098Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-27T03:12:44.449Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T03:13:02.847Z] provisioning config files... [2022-04-27T03:13:02.875Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3070361965609069533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:13:03.328Z] ---> docker-login.sh [2022-04-27T03:13:03.328Z] nexus3.edgexfoundry.org:10001 [2022-04-27T03:13:03.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:13:04.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:13:04.221Z] Configure a credential helper to remove this warning. See [2022-04-27T03:13:04.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:13:04.221Z] [2022-04-27T03:13:04.221Z] Login Succeeded [2022-04-27T03:13:04.497Z] nexus3.edgexfoundry.org:10002 [2022-04-27T03:13:04.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:13:04.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:13:04.772Z] Configure a credential helper to remove this warning. See [2022-04-27T03:13:04.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:13:04.772Z] [2022-04-27T03:13:04.772Z] Login Succeeded [2022-04-27T03:13:04.772Z] nexus3.edgexfoundry.org:10003 [2022-04-27T03:13:05.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:13:05.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:13:05.376Z] Configure a credential helper to remove this warning. See [2022-04-27T03:13:05.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:13:05.376Z] [2022-04-27T03:13:05.376Z] Login Succeeded [2022-04-27T03:13:05.376Z] nexus3.edgexfoundry.org:10004 [2022-04-27T03:13:05.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:13:05.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:13:05.931Z] Configure a credential helper to remove this warning. See [2022-04-27T03:13:05.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:13:05.931Z] [2022-04-27T03:13:05.931Z] Login Succeeded [2022-04-27T03:13:05.931Z] docker.io [2022-04-27T03:13:06.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-27T03:13:06.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-27T03:13:06.810Z] Configure a credential helper to remove this warning. See [2022-04-27T03:13:06.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-27T03:13:06.810Z] [2022-04-27T03:13:06.810Z] Login Succeeded [2022-04-27T03:13:06.810Z] ---> docker-login.sh ends [Pipeline] } [2022-04-27T03:13:06.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-27T03:13:07.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-27T03:13:07.372Z] ========================================================= [2022-04-27T03:13:07.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-27T03:13:07.372Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:13:07.734Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-27T03:13:07.734Z] Sending build context to Docker daemon 129.5kB [2022-04-27T03:13:08.010Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-27T03:13:08.010Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-27T03:13:08.289Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-27T03:13:08.289Z] 9b3977197b4f: Pulling fs layer [2022-04-27T03:13:08.289Z] 1a89e8eeedd5: Pulling fs layer [2022-04-27T03:13:08.289Z] 94645a83ff95: Pulling fs layer [2022-04-27T03:13:08.289Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-27T03:13:08.289Z] 0c92f367c5e7: Pulling fs layer [2022-04-27T03:13:08.289Z] 3096ccb668a1: Pulling fs layer [2022-04-27T03:13:08.289Z] e8cf19c19ddd: Pulling fs layer [2022-04-27T03:13:08.289Z] a4caa8a26152: Pulling fs layer [2022-04-27T03:13:08.289Z] 3f3a8bcf1eab: Waiting [2022-04-27T03:13:08.290Z] 0c92f367c5e7: Waiting [2022-04-27T03:13:08.290Z] 3096ccb668a1: Waiting [2022-04-27T03:13:08.290Z] e8cf19c19ddd: Waiting [2022-04-27T03:13:08.290Z] a4caa8a26152: Waiting [2022-04-27T03:13:08.290Z] 94645a83ff95: Verifying Checksum [2022-04-27T03:13:08.290Z] 94645a83ff95: Download complete [2022-04-27T03:13:08.290Z] 1a89e8eeedd5: Download complete [2022-04-27T03:13:08.290Z] 0c92f367c5e7: Verifying Checksum [2022-04-27T03:13:08.290Z] 0c92f367c5e7: Download complete [2022-04-27T03:13:08.290Z] 3096ccb668a1: Verifying Checksum [2022-04-27T03:13:08.290Z] 3096ccb668a1: Download complete [2022-04-27T03:13:08.290Z] 9b3977197b4f: Verifying Checksum [2022-04-27T03:13:08.290Z] 9b3977197b4f: Download complete [2022-04-27T03:13:08.290Z] e8cf19c19ddd: Verifying Checksum [2022-04-27T03:13:08.290Z] e8cf19c19ddd: Download complete [2022-04-27T03:13:09.291Z] 9b3977197b4f: Pull complete [2022-04-27T03:13:09.898Z] 1a89e8eeedd5: Pull complete [2022-04-27T03:13:10.174Z] 94645a83ff95: Pull complete [2022-04-27T03:13:10.450Z] a4caa8a26152: Verifying Checksum [2022-04-27T03:13:10.450Z] a4caa8a26152: Download complete [2022-04-27T03:13:11.049Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-27T03:13:11.049Z] 3f3a8bcf1eab: Download complete [2022-04-27T03:13:23.473Z] 3f3a8bcf1eab: Pull complete [2022-04-27T03:13:23.473Z] 0c92f367c5e7: Pull complete [2022-04-27T03:13:23.748Z] 3096ccb668a1: Pull complete [2022-04-27T03:13:24.024Z] e8cf19c19ddd: Pull complete [2022-04-27T03:13:30.764Z] a4caa8a26152: Pull complete [2022-04-27T03:13:30.764Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-27T03:13:30.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-27T03:13:30.764Z] ---> 725f1c02e7f9 [2022-04-27T03:13:30.764Z] Step 3/12 : ARG MAKE='make build' [2022-04-27T03:13:31.041Z] ---> Running in ed215384b9d0 [2022-04-27T03:13:31.643Z] Removing intermediate container ed215384b9d0 [2022-04-27T03:13:31.643Z] ---> c9b53a811bce [2022-04-27T03:13:31.643Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-27T03:13:31.643Z] ---> Running in a570d4af7944 [2022-04-27T03:13:31.921Z] Removing intermediate container a570d4af7944 [2022-04-27T03:13:31.921Z] ---> 61a311a9cd46 [2022-04-27T03:13:31.921Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-27T03:13:31.921Z] ---> Running in c9bd08991f3a [2022-04-27T03:13:32.197Z] Removing intermediate container c9bd08991f3a [2022-04-27T03:13:32.197Z] ---> ce3086c2e2d1 [2022-04-27T03:13:32.197Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-27T03:13:32.482Z] ---> Running in 176967a3727e [2022-04-27T03:13:35.894Z] Removing intermediate container 176967a3727e [2022-04-27T03:13:35.894Z] ---> 7ce59e7038ef [2022-04-27T03:13:35.894Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-27T03:13:35.894Z] ---> Running in 87871ff83303 [2022-04-27T03:13:36.494Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-27T03:13:37.486Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-27T03:13:38.476Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-27T03:13:38.476Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-27T03:13:38.476Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-27T03:13:38.753Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-27T03:13:39.028Z] Executing busybox-1.34.1-r3.trigger [2022-04-27T03:13:39.028Z] OK: 224 MiB in 56 packages [2022-04-27T03:13:40.023Z] Removing intermediate container 87871ff83303 [2022-04-27T03:13:40.023Z] ---> 16393065c22b [2022-04-27T03:13:40.023Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-27T03:13:40.023Z] ---> Running in 8275416a90cb [2022-04-27T03:13:40.300Z] Removing intermediate container 8275416a90cb [2022-04-27T03:13:40.300Z] ---> ffe503f5d54a [2022-04-27T03:13:40.300Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-27T03:13:40.924Z] ---> b6d4a2807cc4 [2022-04-27T03:13:40.924Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-27T03:13:41.214Z] ---> Running in 1bb4debbaef7 [2022-04-27T03:14:28.235Z] Removing intermediate container 1bb4debbaef7 [2022-04-27T03:14:28.235Z] ---> 2e7de0f33358 [2022-04-27T03:14:28.235Z] Step 11/12 : COPY . . [2022-04-27T03:14:28.834Z] ---> 8f2c39a246f5 [2022-04-27T03:14:28.834Z] Step 12/12 : RUN $MAKE [2022-04-27T03:14:28.834Z] ---> Running in 3751327c1d8b [2022-04-27T03:14:29.820Z] noop [2022-04-27T03:14:30.424Z] Removing intermediate container 3751327c1d8b [2022-04-27T03:14:30.424Z] ---> 96eeb754a822 [2022-04-27T03:14:30.424Z] Successfully built 96eeb754a822 [2022-04-27T03:14:30.424Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:14:30.778Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T03:14:30.778Z] . [Pipeline] withDockerContainer [2022-04-27T03:14:31.020Z] prd-ubuntu20.04-docker-arm64-4c-16g-33421 does not seem to be running inside a container [2022-04-27T03:14:31.115Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** ci-base-image-arm64 cat [2022-04-27T03:14:32.423Z] $ docker top 6b18f08db46e4d1c23176398baa76127eb4add3fe181ce53d14b0141eb26604f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T03:14:33.368Z] + go version [2022-04-27T03:14:33.368Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-27T03:14:33.400Z] $ docker stop --time=1 6b18f08db46e4d1c23176398baa76127eb4add3fe181ce53d14b0141eb26604f [2022-04-27T03:14:35.072Z] $ docker rm -f 6b18f08db46e4d1c23176398baa76127eb4add3fe181ce53d14b0141eb26604f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:14:35.718Z] + docker inspect -f . ci-base-image-arm64 [2022-04-27T03:14:35.718Z] . [Pipeline] withDockerContainer [2022-04-27T03:14:35.962Z] prd-ubuntu20.04-docker-arm64-4c-16g-33421 does not seem to be running inside a container [2022-04-27T03:14:36.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** ci-base-image-arm64 cat [2022-04-27T03:14:37.369Z] $ docker top 2ec1f72200a0720dd19e95b84d07c88dc79e7beca0fb703c14782b0cd4ba6f88 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-27T03:14:38.302Z] + make test [2022-04-27T03:14:38.302Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-27T03:14:40.290Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-27T03:16:17.220Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-27T03:16:17.220Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements [2022-04-27T03:16:17.220Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-27T03:16:17.220Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-27T03:16:35.593Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-27T03:16:35.593Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-27T03:16:35.593Z] ./bin/test-attribution-txt.sh [2022-04-27T03:16:35.593Z] An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add [2022-04-27T03:16:36.185Z] make: *** [Makefile:46: test] Error 1 [Pipeline] } [2022-04-27T03:16:36.217Z] $ docker stop --time=1 2ec1f72200a0720dd19e95b84d07c88dc79e7beca0fb703c14782b0cd4ba6f88 [2022-04-27T03:16:38.002Z] $ docker rm -f 2ec1f72200a0720dd19e95b84d07c88dc79e7beca0fb703c14782b0cd4ba6f88 [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] sh [2022-04-27T03:16:39.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T03:16:39.077Z] [2022-04-27T03:16:39.077Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:16:39.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T03:16:39.699Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-27T03:16:39.699Z] 8998bd30e6a1: Pulling fs layer [2022-04-27T03:16:39.699Z] 04944245beec: Pulling fs layer [2022-04-27T03:16:39.699Z] 699f458cf7ca: Pulling fs layer [2022-04-27T03:16:39.699Z] 765212b225bb: Pulling fs layer [2022-04-27T03:16:39.699Z] f23df028b6ca: Pulling fs layer [2022-04-27T03:16:39.699Z] d65c8cfc05b1: Pulling fs layer [2022-04-27T03:16:39.699Z] 2437ff75d9bd: Pulling fs layer [2022-04-27T03:16:39.699Z] 765212b225bb: Waiting [2022-04-27T03:16:39.699Z] f23df028b6ca: Waiting [2022-04-27T03:16:39.699Z] d65c8cfc05b1: Waiting [2022-04-27T03:16:39.699Z] 2437ff75d9bd: Waiting [2022-04-27T03:16:39.699Z] 04944245beec: Verifying Checksum [2022-04-27T03:16:39.699Z] 04944245beec: Download complete [2022-04-27T03:16:39.699Z] 765212b225bb: Download complete [2022-04-27T03:16:39.699Z] f23df028b6ca: Verifying Checksum [2022-04-27T03:16:39.699Z] f23df028b6ca: Download complete [2022-04-27T03:16:39.699Z] d65c8cfc05b1: Verifying Checksum [2022-04-27T03:16:39.699Z] d65c8cfc05b1: Download complete [2022-04-27T03:16:39.974Z] 699f458cf7ca: Verifying Checksum [2022-04-27T03:16:39.974Z] 699f458cf7ca: Download complete [2022-04-27T03:16:40.246Z] 8998bd30e6a1: Download complete [2022-04-27T03:16:42.870Z] 2437ff75d9bd: Verifying Checksum [2022-04-27T03:16:42.870Z] 2437ff75d9bd: Download complete [2022-04-27T03:16:44.310Z] 8998bd30e6a1: Pull complete [2022-04-27T03:16:44.903Z] 04944245beec: Pull complete [2022-04-27T03:16:46.364Z] 699f458cf7ca: Pull complete [2022-04-27T03:16:46.364Z] 765212b225bb: Pull complete [2022-04-27T03:16:47.389Z] f23df028b6ca: Pull complete [2022-04-27T03:16:47.769Z] d65c8cfc05b1: Pull complete [2022-04-27T03:17:02.889Z] 2437ff75d9bd: Pull complete [2022-04-27T03:17:02.889Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-27T03:17:02.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-27T03:17:02.889Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-27T03:17:03.132Z] prd-ubuntu20.04-docker-arm64-4c-16g-33421 does not seem to be running inside a container [2022-04-27T03:17:03.238Z] $ 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-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-27T03:17:06.083Z] $ docker top f8c9e7b316bf19e51d79cd4370257c7c136ba281a521accccedee2ee1f755200 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:17:07.029Z] ---> job-cost.sh [2022-04-27T03:17:07.029Z] lf-activate-venv: SKIPPING [2022-04-27T03:17:07.029Z] INFO: No Stack... [2022-04-27T03:17:07.627Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-27T03:17:08.606Z] INFO: Archiving Costs [Pipeline] sh [2022-04-27T03:17:09.274Z] + + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-04-27T03:17:09.274Z] cut -d, -f6 [Pipeline] lock [2022-04-27T03:17:09.347Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [2022-04-27T03:17:09.352Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] did not exist. Created. [2022-04-27T03:17:09.353Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-27T03:17:10.057Z] /w/workspace/device-rest-go/2@tmp/durable-91b6a93e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-27T03:17:10.751Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-27T03:17:10.772Z] Warning: overwriting stash ‘stack-cost’ [2022-04-27T03:17:11.285Z] Stashed 1 file(s) [Pipeline] } [2022-04-27T03:17:11.292Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-179-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-27T03:17:11.324Z] $ docker stop --time=1 f8c9e7b316bf19e51d79cd4370257c7c136ba281a521accccedee2ee1f755200 [2022-04-27T03:17:12.870Z] $ docker rm -f f8c9e7b316bf19e51d79cd4370257c7c136ba281a521accccedee2ee1f755200 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-27T03:17:13.196Z] 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-04-27T03:17:13.986Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-179/archives ] [2022-04-27T03:17:13.986Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-179/archives [2022-04-27T03:17:13.986Z] total 16 [2022-04-27T03:17:13.986Z] drwxr-xr-x 3 root root 4096 Apr 27 03:10 . [2022-04-27T03:17:13.986Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 03:10 .. [2022-04-27T03:17:13.986Z] drwxr-xr-x 2 root root 4096 Apr 27 03:10 cost [2022-04-27T03:17:13.986Z] -rw-r--r-- 1 root root 85 Apr 27 03:10 cost.csv [2022-04-27T03:17:13.987Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-179/archives [2022-04-27T03:17:13.987Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-179/archives [2022-04-27T03:17:13.987Z] total 16 [2022-04-27T03:17:13.987Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 03:10 . [2022-04-27T03:17:13.987Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 03:10 .. [2022-04-27T03:17:13.987Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 03:10 cost [2022-04-27T03:17:13.987Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 27 03:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:17:14.291Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:17:15.159Z] ---> package-listing.sh [2022-04-27T03:17:15.159Z] ++ facter osfamily [2022-04-27T03:17:15.159Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-27T03:17:15.421Z] + OS_FAMILY=debian [2022-04-27T03:17:15.421Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-179 [2022-04-27T03:17:15.421Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-27T03:17:15.421Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-27T03:17:15.421Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-27T03:17:15.421Z] + PACKAGES=/tmp/packages_start.txt [2022-04-27T03:17:15.421Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-179 ']' [2022-04-27T03:17:15.421Z] + PACKAGES=/tmp/packages_end.txt [2022-04-27T03:17:15.421Z] + case "${OS_FAMILY}" in [2022-04-27T03:17:15.421Z] + dpkg -l [2022-04-27T03:17:15.421Z] + grep '^ii' [2022-04-27T03:17:15.421Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-27T03:17:15.421Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-27T03:17:15.421Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-27T03:17:15.421Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-179 ']' [2022-04-27T03:17:15.421Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-179/archives/ [2022-04-27T03:17:15.421Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-179/archives/ [Pipeline] echo [2022-04-27T03:17:15.435Z] 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/gexfoundry_device-rest-go_PR-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-27T03:17:15.721Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-27T03:17:16.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-27T03:17:16.282Z] . [Pipeline] withDockerContainer [2022-04-27T03:17:16.347Z] prd-ubuntu20.04-docker-8c-8g-33419 does not seem to be running inside a container [2022-04-27T03:17:16.390Z] $ 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/gexfoundry_device-rest-go_PR-179/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-179 -v /w/workspace/gexfoundry_device-rest-go_PR-179:/w/workspace/gexfoundry_device-rest-go_PR-179:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-179@tmp:/w/workspace/gexfoundry_device-rest-go_PR-179@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-lftools-log-publisher:latest cat [2022-04-27T03:17:16.610Z] $ docker top 1e618bbb59e2520551f0255052a7149948a4fd8e42e95862d2e3e79261b962f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-27T03:17:16.965Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-27T03:17:17.256Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-27T03:17:17.550Z] + ls /var/log/sa-host [2022-04-27T03:17:17.550Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-27T03:17:17.794Z] provisioning config files... [2022-04-27T03:17:17.803Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-179@tmp/config5418052706202913765tmp [Pipeline] { [Pipeline] echo [2022-04-27T03:17:17.815Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:17:18.097Z] ---> create-netrc.sh [Pipeline] } [2022-04-27T03:17:18.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:17:18.440Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-27T03:17:18.470Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:17:18.836Z] ---> sudo-logs.sh [2022-04-27T03:17:18.836Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-27T03:17:18.879Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:17:19.162Z] ---> job-cost.sh [2022-04-27T03:17:19.162Z] lf-activate-venv: SKIPPING [2022-04-27T03:17:19.162Z] DEBUG: total: 0.2199999988079071 [2022-04-27T03:17:19.162Z] INFO: Retrieving Stack Cost... [2022-04-27T03:17:19.423Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-27T03:17:19.993Z] INFO: Archiving Costs [Pipeline] echo [2022-04-27T03:17:20.006Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-27T03:17:20.295Z] ---> logs-deploy.sh [2022-04-27T03:17:20.296Z] lf-activate-venv: SKIPPING [2022-04-27T03:17:20.296Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-179/2 [2022-04-27T03:17:20.296Z] INFO: archiving workspace using pattern(s): [2022-04-27T03:17:21.236Z] Archives upload complete. [2022-04-27T03:17:21.236Z] INFO: archiving logs to Nexus