Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5bf95241b67e71c23011b1c67b577e87daf3523e+c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f (ab219926e7de857d57a0d66bde34602d9eb3a820) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5211429787822921443.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3442193367226957127.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 6a41506d72e8e131afc862d141935157bee59f41 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-127/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6998411290460506897.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8130606213819814485.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee 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-127/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6647902015394906437.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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: [[centos7-docker-4c-2g, ubuntu18.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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . 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 ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-915’ is offline ‘prd-centos7-docker-4c-2g-978’ is offline ‘prd-centos7-docker-4c-2g-984’ is offline ‘prd-centos7-docker-4c-2g-987’ is offline ‘prd-centos7-docker-4c-2g-989’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-977’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-991 in /w/workspace/gexfoundry_device-rest-go_PR-127 [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-127 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh8438299962141381215.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 5bf95241b67e71c23011b1c67b577e87daf3523e Merge succeeded, producing 5bf95241b67e71c23011b1c67b577e87daf3523e Checking out Revision 5bf95241b67e71c23011b1c67b577e87daf3523e (PR-127) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh3276622226375513803.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bf95241b67e71c23011b1c67b577e87daf3523e # timeout=10 > git remote # timeout=10 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh8856711574723702863.key > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bf95241b67e71c23011b1c67b577e87daf3523e # timeout=10 Commit message: "feat(snap): add go-based configure and install hooks" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-30T19:48:38.473Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 2453e380f0d7722d8a0c548d076a603dc1a13dd7 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-30T19:48:42.339Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T19:48:42.369Z] ========================================================= [2021-06-30T19:48:42.370Z] EdgeX Global Pipelines Version Info [2021-06-30T19:48:42.370Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:48:43.867Z] ------------------- [2021-06-30T19:48:43.867Z] stable info: [2021-06-30T19:48:43.867Z] ------------------- [2021-06-30T19:48:43.867Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-30T19:48:43.868Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T19:48:43.868Z] Message: update stable to v1.0.195 [2021-06-30T19:48:44.440Z] ------------------- [2021-06-30T19:48:44.440Z] experimental info: [2021-06-30T19:48:44.440Z] ------------------- [2021-06-30T19:48:44.440Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-30T19:48:44.440Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T19:48:44.440Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-30T19:48:44.563Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-30T19:48:44.588Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-30T19:48:44.612Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-30T19:48:44.639Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-30T19:48:44.662Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-30T19:48:44.686Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-30T19:48:44.710Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-30T19:48:44.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-30T19:48:44.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-30T19:48:44.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-30T19:48:44.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-30T19:48:44.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-30T19:48:44.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-30T19:48:44.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-30T19:48:44.902Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T19:48:44.927Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T19:48:44.951Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T19:48:44.976Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T19:48:45.001Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-30T19:48:45.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-30T19:48:45.049Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-30T19:48:45.073Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-30T19:48:45.097Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-30T19:48:45.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-30T19:48:45.144Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-30T19:48:45.169Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-30T19:48:45.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-06-30T19:48:45.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-06-30T19:48:45.241Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-06-30T19:48:45.264Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bf95241b67e71c23011b1c67b577e87daf3523e [Pipeline] echo [2021-06-30T19:48:45.287Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bf9524 [Pipeline] echo [2021-06-30T19:48:45.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T19:48:45.389Z] provisioning config files... [2021-06-30T19:48:45.408Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config3150937923829400777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:48:45.738Z] ---> docker-login.sh [2021-06-30T19:48:45.738Z] nexus3.edgexfoundry.org:10001 [2021-06-30T19:48:46.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:48:46.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:48:46.000Z] Configure a credential helper to remove this warning. See [2021-06-30T19:48:46.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:48:46.000Z] [2021-06-30T19:48:46.000Z] Login Succeeded [2021-06-30T19:48:46.000Z] nexus3.edgexfoundry.org:10002 [2021-06-30T19:48:46.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:48:46.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:48:46.260Z] Configure a credential helper to remove this warning. See [2021-06-30T19:48:46.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:48:46.260Z] [2021-06-30T19:48:46.260Z] Login Succeeded [2021-06-30T19:48:46.260Z] nexus3.edgexfoundry.org:10003 [2021-06-30T19:48:46.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:48:46.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:48:46.260Z] Configure a credential helper to remove this warning. See [2021-06-30T19:48:46.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:48:46.260Z] [2021-06-30T19:48:46.260Z] Login Succeeded [2021-06-30T19:48:46.260Z] nexus3.edgexfoundry.org:10004 [2021-06-30T19:48:46.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:48:46.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:48:46.520Z] Configure a credential helper to remove this warning. See [2021-06-30T19:48:46.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:48:46.520Z] [2021-06-30T19:48:46.520Z] Login Succeeded [2021-06-30T19:48:46.520Z] docker.io [2021-06-30T19:48:46.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:48:46.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:48:46.787Z] Configure a credential helper to remove this warning. See [2021-06-30T19:48:46.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:48:46.787Z] [2021-06-30T19:48:46.787Z] Login Succeeded [2021-06-30T19:48:46.787Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T19:48:46.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T19:48:47.318Z] + git log --format=format:%s -1 5bf95241b67e71c23011b1c67b577e87daf3523e [Pipeline] echo [2021-06-30T19:48:47.358Z] GIT_COMMIT: 5bf95241b67e71c23011b1c67b577e87daf3523e, Commit Message: feat(snap): add go-based configure and install hooks [Pipeline] echo [2021-06-30T19:48:47.372Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:48:47.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T19:48:47.970Z] [2021-06-30T19:48:47.970Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:48:48.292Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T19:48:48.292Z] latest: Pulling from edgex-devops/git-semver [2021-06-30T19:48:48.292Z] 31603596830f: Pulling fs layer [2021-06-30T19:48:48.292Z] 54011a49482f: Pulling fs layer [2021-06-30T19:48:48.292Z] a6820b24f6d8: Pulling fs layer [2021-06-30T19:48:48.292Z] f581987b2513: Pulling fs layer [2021-06-30T19:48:48.292Z] f581987b2513: Waiting [2021-06-30T19:48:48.292Z] 54011a49482f: Verifying Checksum [2021-06-30T19:48:48.292Z] 54011a49482f: Download complete [2021-06-30T19:48:48.554Z] 31603596830f: Verifying Checksum [2021-06-30T19:48:48.554Z] 31603596830f: Download complete [2021-06-30T19:48:48.554Z] f581987b2513: Verifying Checksum [2021-06-30T19:48:48.554Z] f581987b2513: Download complete [2021-06-30T19:48:48.554Z] a6820b24f6d8: Verifying Checksum [2021-06-30T19:48:48.554Z] a6820b24f6d8: Download complete [2021-06-30T19:48:48.554Z] 31603596830f: Pull complete [2021-06-30T19:48:48.819Z] 54011a49482f: Pull complete [2021-06-30T19:48:52.988Z] a6820b24f6d8: Pull complete [2021-06-30T19:48:52.988Z] f581987b2513: Pull complete [2021-06-30T19:48:52.988Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-30T19:48:52.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T19:48:52.988Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-30T19:48:53.086Z] prd-centos7-docker-4c-2g-991 does not seem to be running inside a container [2021-06-30T19:48:53.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-127 -v /w/workspace/gexfoundry_device-rest-go_PR-127:/w/workspace/gexfoundry_device-rest-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-127@tmp:/w/workspace/gexfoundry_device-rest-go_PR-127@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:10004/edgex-devops/git-semver:latest cat [2021-06-30T19:48:54.139Z] $ docker top 430b03cb1ed42600e0841e48ea0be07ad0e3d6a6b0c7c045bf4c07e457fb3262 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-30T19:48:54.278Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T19:48:54.279Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T19:48:54.382Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T19:48:54.382Z] $ docker exec 430b03cb1ed42600e0841e48ea0be07ad0e3d6a6b0c7c045bf4c07e457fb3262 ssh-agent [2021-06-30T19:48:54.485Z] SSH_AUTH_SOCK=/tmp/ssh-4nfFcAhawjsX/agent.14 [2021-06-30T19:48:54.485Z] SSH_AGENT_PID=20 [2021-06-30T19:48:54.492Z] Running ssh-add (command line suppressed) [2021-06-30T19:48:54.568Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_7438197815437270566.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_7438197815437270566.key) [2021-06-30T19:48:54.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T19:48:54.899Z] + git tag --points-at HEAD [Pipeline] } [2021-06-30T19:48:54.911Z] $ docker exec --env ******** --env ******** 430b03cb1ed42600e0841e48ea0be07ad0e3d6a6b0c7c045bf4c07e457fb3262 ssh-agent -k [2021-06-30T19:48:55.018Z] unset SSH_AUTH_SOCK; [2021-06-30T19:48:55.019Z] unset SSH_AGENT_PID; [2021-06-30T19:48:55.019Z] echo Agent pid 20 killed; [2021-06-30T19:48:55.036Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-30T19:48:55.123Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T19:48:55.123Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T19:48:55.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T19:48:55.230Z] $ docker exec 430b03cb1ed42600e0841e48ea0be07ad0e3d6a6b0c7c045bf4c07e457fb3262 ssh-agent [2021-06-30T19:48:55.342Z] SSH_AUTH_SOCK=/tmp/ssh-v0pi1ZqOVVsY/agent.55 [2021-06-30T19:48:55.342Z] SSH_AGENT_PID=61 [2021-06-30T19:48:55.348Z] Running ssh-add (command line suppressed) [2021-06-30T19:48:55.443Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_2129235565999598101.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_2129235565999598101.key) [2021-06-30T19:48:55.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T19:48:55.766Z] + git semver init [2021-06-30T19:48:55.766Z] # -> Open(): unable to determine branch for HEAD [2021-06-30T19:48:55.766Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.git [2021-06-30T19:48:55.766Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T19:48:55.766Z] # $SEMVER_REMOTE_NAME = origin [2021-06-30T19:48:55.766Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-30T19:48:55.766Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-30T19:48:55.766Z] # $SEMVER_BRANCH = PR-127 [2021-06-30T19:48:55.766Z] # $SEMVER_TEMP = /tmp/semver-367273145 [2021-06-30T19:48:55.766Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-30T19:48:56.724Z] # '/tmp/semver-367273145' -> '/w/workspace/gexfoundry_device-rest-go_PR-127/.semver' [2021-06-30T19:48:56.724Z] # -> Force: false [2021-06-30T19:48:56.724Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.semver [Pipeline] } [2021-06-30T19:48:56.731Z] $ docker exec --env ******** --env ******** 430b03cb1ed42600e0841e48ea0be07ad0e3d6a6b0c7c045bf4c07e457fb3262 ssh-agent -k [2021-06-30T19:48:56.828Z] unset SSH_AUTH_SOCK; [2021-06-30T19:48:56.828Z] unset SSH_AGENT_PID; [2021-06-30T19:48:56.829Z] echo Agent pid 61 killed; [2021-06-30T19:48:56.842Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T19:48:57.175Z] + git semver [Pipeline] } [2021-06-30T19:48:57.187Z] $ docker stop --time=1 430b03cb1ed42600e0841e48ea0be07ad0e3d6a6b0c7c045bf4c07e457fb3262 [2021-06-30T19:48:58.575Z] $ docker rm -f 430b03cb1ed42600e0841e48ea0be07ad0e3d6a6b0c7c045bf4c07e457fb3262 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T19:48:58.963Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-30T19:48:59.274Z] Stashed 1 file(s) [Pipeline] echo [2021-06-30T19:48:59.278Z] [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] node [Pipeline] node [2021-06-30T19:49:14.616Z] Still waiting to schedule task [2021-06-30T19:49:14.616Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-30T19:49:14.619Z] Still waiting to schedule task [2021-06-30T19:49:14.620Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-30T19:50:48.167Z] Running on prd-centos7-docker-4c-2g-997 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T19:50:48.193Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2021-06-30T19:50:51.417Z] The recommended git tool is: git [2021-06-30T19:50:53.901Z] using credential edgex-jenkins-ssh [2021-06-30T19:50:53.919Z] Cloning the remote Git repository [2021-06-30T19:50:53.939Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T19:50:54.003Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2021-06-30T19:50:54.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T19:50:54.037Z] > git --version # timeout=10 [2021-06-30T19:50:54.049Z] > git --version # 'git version 2.24.4' [2021-06-30T19:50:54.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T19:50:54.074Z] [INFO] Currently running in a labeled security context [2021-06-30T19:50:54.074Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T19:50:54.074Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh698386109325954948.key [2021-06-30T19:50:54.115Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T19:50:54.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T19:50:54.932Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T19:50:54.947Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T19:50:54.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T19:50:54.961Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T19:50:54.962Z] [INFO] Currently running in a labeled security context [2021-06-30T19:50:54.962Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T19:50:54.962Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh965515760911865161.key [2021-06-30T19:50:54.970Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T19:50:55.382Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 5bf95241b67e71c23011b1c67b577e87daf3523e [2021-06-30T19:50:55.494Z] Merge succeeded, producing 5bf95241b67e71c23011b1c67b577e87daf3523e [2021-06-30T19:50:55.494Z] Checking out Revision 5bf95241b67e71c23011b1c67b577e87daf3523e (PR-127) [2021-06-30T19:50:55.389Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T19:50:55.401Z] > git checkout -f 5bf95241b67e71c23011b1c67b577e87daf3523e # timeout=10 [2021-06-30T19:50:55.437Z] > git remote # timeout=10 [2021-06-30T19:50:55.445Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T19:50:55.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T19:50:55.454Z] [INFO] Currently running in a labeled security context [2021-06-30T19:50:55.454Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T19:50:55.454Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/5@tmp/jenkins-gitclient-ssh5892410350630746606.key [2021-06-30T19:50:55.469Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T19:50:55.481Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T19:50:55.494Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T19:50:55.505Z] > git checkout -f 5bf95241b67e71c23011b1c67b577e87daf3523e # timeout=10 [2021-06-30T19:50:59.089Z] Commit message: "feat(snap): add go-based configure and install hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T19:51:00.145Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-30T19:51:00.467Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T19:51:00.765Z] + sudo service docker restart [2021-06-30T19:51:00.765Z] + true [2021-06-30T19:51:00.765Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T19:51:18.980Z] provisioning config files... [2021-06-30T19:51:18.996Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config5199965742575189044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:51:19.347Z] ---> docker-login.sh [2021-06-30T19:51:19.347Z] nexus3.edgexfoundry.org:10001 [2021-06-30T19:51:19.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:51:19.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:51:19.618Z] Configure a credential helper to remove this warning. See [2021-06-30T19:51:19.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:51:19.618Z] [2021-06-30T19:51:19.618Z] Login Succeeded [2021-06-30T19:51:19.618Z] nexus3.edgexfoundry.org:10002 [2021-06-30T19:51:19.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:51:19.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:51:19.882Z] Configure a credential helper to remove this warning. See [2021-06-30T19:51:19.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:51:19.882Z] [2021-06-30T19:51:19.882Z] Login Succeeded [2021-06-30T19:51:19.882Z] nexus3.edgexfoundry.org:10003 [2021-06-30T19:51:19.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:51:20.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:51:20.147Z] Configure a credential helper to remove this warning. See [2021-06-30T19:51:20.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:51:20.147Z] [2021-06-30T19:51:20.147Z] Login Succeeded [2021-06-30T19:51:20.147Z] nexus3.edgexfoundry.org:10004 [2021-06-30T19:51:20.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:51:20.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:51:20.147Z] Configure a credential helper to remove this warning. See [2021-06-30T19:51:20.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:51:20.147Z] [2021-06-30T19:51:20.147Z] Login Succeeded [2021-06-30T19:51:20.147Z] docker.io [2021-06-30T19:51:20.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:51:20.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:51:20.682Z] Configure a credential helper to remove this warning. See [2021-06-30T19:51:20.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:51:20.682Z] [2021-06-30T19:51:20.682Z] Login Succeeded [2021-06-30T19:51:20.682Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T19:51:20.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T19:51:20.870Z] ========================================================= [2021-06-30T19:51:20.871Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-30T19:51:20.871Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:51:21.187Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-30T19:51:21.187Z] Sending build context to Docker daemon 116.2kB [2021-06-30T19:51:21.187Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T19:51:21.187Z] Step 2/10 : FROM ${BASE} [2021-06-30T19:51:21.187Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-30T19:51:21.187Z] 540db60ca938: Pulling fs layer [2021-06-30T19:51:21.188Z] adcc1eea9eea: Pulling fs layer [2021-06-30T19:51:21.188Z] 4c4ab2625f07: Pulling fs layer [2021-06-30T19:51:21.188Z] 0510c868ecb4: Pulling fs layer [2021-06-30T19:51:21.188Z] afea3b2eda06: Pulling fs layer [2021-06-30T19:51:21.188Z] 7809a108b3ef: Pulling fs layer [2021-06-30T19:51:21.188Z] f706445af74f: Pulling fs layer [2021-06-30T19:51:21.188Z] afea3b2eda06: Waiting [2021-06-30T19:51:21.188Z] 0510c868ecb4: Waiting [2021-06-30T19:51:21.188Z] 7809a108b3ef: Waiting [2021-06-30T19:51:21.188Z] f706445af74f: Waiting [2021-06-30T19:51:21.188Z] 4c4ab2625f07: Verifying Checksum [2021-06-30T19:51:21.188Z] 4c4ab2625f07: Download complete [2021-06-30T19:51:21.188Z] adcc1eea9eea: Verifying Checksum [2021-06-30T19:51:21.188Z] adcc1eea9eea: Download complete [2021-06-30T19:51:21.454Z] afea3b2eda06: Verifying Checksum [2021-06-30T19:51:21.454Z] afea3b2eda06: Download complete [2021-06-30T19:51:21.454Z] 7809a108b3ef: Verifying Checksum [2021-06-30T19:51:21.454Z] 7809a108b3ef: Download complete [2021-06-30T19:51:21.454Z] 540db60ca938: Verifying Checksum [2021-06-30T19:51:21.454Z] 540db60ca938: Download complete [2021-06-30T19:51:21.454Z] 540db60ca938: Pull complete [2021-06-30T19:51:21.718Z] adcc1eea9eea: Pull complete [2021-06-30T19:51:21.718Z] 4c4ab2625f07: Pull complete [2021-06-30T19:51:23.124Z] f706445af74f: Verifying Checksum [2021-06-30T19:51:23.124Z] f706445af74f: Download complete [2021-06-30T19:51:23.393Z] 0510c868ecb4: Verifying Checksum [2021-06-30T19:51:23.393Z] 0510c868ecb4: Download complete [2021-06-30T19:51:27.662Z] 0510c868ecb4: Pull complete [2021-06-30T19:51:27.662Z] afea3b2eda06: Pull complete [2021-06-30T19:51:27.662Z] 7809a108b3ef: Pull complete [2021-06-30T19:51:28.621Z] f706445af74f: Pull complete [2021-06-30T19:51:28.621Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-30T19:51:28.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-30T19:51:28.621Z] ---> b068be0155e3 [2021-06-30T19:51:28.621Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T19:51:33.863Z] ---> Running in 4961bfc34382 [2021-06-30T19:51:33.863Z] Removing intermediate container 4961bfc34382 [2021-06-30T19:51:33.863Z] ---> 67043f7461e3 [2021-06-30T19:51:33.863Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T19:51:33.863Z] ---> Running in bfdbb4eee5c0 [2021-06-30T19:51:33.863Z] Removing intermediate container bfdbb4eee5c0 [2021-06-30T19:51:33.863Z] ---> fd0e2fcf3125 [2021-06-30T19:51:33.863Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T19:51:33.863Z] ---> Running in 0f5835f93312 [2021-06-30T19:51:33.864Z] Removing intermediate container 0f5835f93312 [2021-06-30T19:51:33.864Z] ---> 0ec1bb9d173e [2021-06-30T19:51:33.864Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T19:51:33.864Z] ---> Running in 75208ddd895a [2021-06-30T19:51:34.436Z] Removing intermediate container 75208ddd895a [2021-06-30T19:51:34.436Z] ---> fb5adf40c4db [2021-06-30T19:51:34.436Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T19:51:34.701Z] ---> Running in 06ab0dcf8612 [2021-06-30T19:51:34.965Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T19:51:35.914Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T19:51:36.043Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-996 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T19:51:36.063Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2021-06-30T19:51:36.179Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T19:51:36.180Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T19:51:36.271Z] The recommended git tool is: git [2021-06-30T19:51:36.442Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T19:51:36.442Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T19:51:36.442Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T19:51:36.703Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T19:51:36.703Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T19:51:36.967Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T19:51:36.967Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T19:51:37.232Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T19:51:37.232Z] OK: 154 MiB in 49 packages [2021-06-30T19:51:37.498Z] Removing intermediate container 06ab0dcf8612 [2021-06-30T19:51:37.498Z] ---> a34c5896e6d7 [2021-06-30T19:51:37.498Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T19:51:37.763Z] ---> Running in ab6f838d0c23 [2021-06-30T19:51:37.763Z] Removing intermediate container ab6f838d0c23 [2021-06-30T19:51:37.763Z] ---> 40ce12aed23a [2021-06-30T19:51:37.763Z] Step 9/10 : COPY . . [2021-06-30T19:51:38.027Z] ---> eb29250ad80e [2021-06-30T19:51:38.027Z] Step 10/10 : RUN go mod download [2021-06-30T19:51:38.027Z] ---> Running in 4a9d6eac7836 [2021-06-30T19:51:41.626Z] using credential edgex-jenkins-ssh [2021-06-30T19:51:41.646Z] Cloning the remote Git repository [2021-06-30T19:51:41.685Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T19:51:41.798Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2021-06-30T19:51:41.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T19:51:41.910Z] > git --version # timeout=10 [2021-06-30T19:51:41.931Z] > git --version # 'git version 2.17.1' [2021-06-30T19:51:41.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T19:51:42.074Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T19:51:44.290Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 5bf95241b67e71c23011b1c67b577e87daf3523e [2021-06-30T19:51:44.486Z] Merge succeeded, producing 5bf95241b67e71c23011b1c67b577e87daf3523e [2021-06-30T19:51:44.487Z] Checking out Revision 5bf95241b67e71c23011b1c67b577e87daf3523e (PR-127) [2021-06-30T19:51:43.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T19:51:43.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T19:51:43.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T19:51:43.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T19:51:43.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T19:51:43.720Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T19:51:44.302Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T19:51:44.313Z] > git checkout -f 5bf95241b67e71c23011b1c67b577e87daf3523e # timeout=10 [2021-06-30T19:51:44.399Z] > git remote # timeout=10 [2021-06-30T19:51:44.416Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T19:51:44.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T19:51:44.438Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T19:51:44.465Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T19:51:44.491Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T19:51:44.501Z] > git checkout -f 5bf95241b67e71c23011b1c67b577e87daf3523e # timeout=10 [2021-06-30T19:51:48.700Z] Commit message: "feat(snap): add go-based configure and install hooks" [Pipeline] withEnv [Pipeline] { [2021-06-30T19:51:53.716Z] Removing intermediate container 4a9d6eac7836 [2021-06-30T19:51:53.716Z] ---> 3b7ab542f81a [2021-06-30T19:51:53.716Z] Successfully built 3b7ab542f81a [2021-06-30T19:51:53.716Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T19:51:54.048Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T19:51:54.048Z] . [Pipeline] withDockerContainer [2021-06-30T19:51:54.760Z] prd-centos7-docker-4c-2g-997 does not seem to be running inside a container [2021-06-30T19:51:54.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T19:51:54.992Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-30T19:51:55.197Z] $ docker top 30390655836fbe97a29f96647e950c55a191251a242c2856c1bd24987a9da2f8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-30T19:51:55.624Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T19:51:55.666Z] + go version [2021-06-30T19:51:55.666Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-30T19:51:55.716Z] $ docker stop --time=1 30390655836fbe97a29f96647e950c55a191251a242c2856c1bd24987a9da2f8 [2021-06-30T19:51:55.968Z] + true [2021-06-30T19:51:55.968Z] + sudo service docker restart [2021-06-30T19:51:56.917Z] $ docker rm -f 30390655836fbe97a29f96647e950c55a191251a242c2856c1bd24987a9da2f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:51:57.491Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T19:51:57.491Z] . [Pipeline] withDockerContainer [2021-06-30T19:51:57.575Z] prd-centos7-docker-4c-2g-997 does not seem to be running inside a container [2021-06-30T19:51:57.625Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T19:51:58.040Z] $ docker top 3135d74c6e6533f74010768a341058eb9d2f91fa41a6f9022a880d9da3cbb56f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T19:51:58.471Z] + go mod tidy [Pipeline] sh [2021-06-30T19:51:59.046Z] + make test [2021-06-30T19:51:59.046Z] go mod tidy [2021-06-30T19:51:59.319Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T19:51:59.590Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T19:52:14.303Z] provisioning config files... [2021-06-30T19:52:14.330Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config3780129883366095758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:52:14.707Z] ---> docker-login.sh [2021-06-30T19:52:14.707Z] nexus3.edgexfoundry.org:10001 [2021-06-30T19:52:15.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:52:18.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:52:18.406Z] Configure a credential helper to remove this warning. See [2021-06-30T19:52:18.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:52:18.406Z] [2021-06-30T19:52:18.406Z] Login Succeeded [2021-06-30T19:52:18.406Z] nexus3.edgexfoundry.org:10002 [2021-06-30T19:52:18.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:52:18.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:52:18.406Z] Configure a credential helper to remove this warning. See [2021-06-30T19:52:18.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:52:18.406Z] [2021-06-30T19:52:18.406Z] Login Succeeded [2021-06-30T19:52:18.406Z] nexus3.edgexfoundry.org:10003 [2021-06-30T19:52:18.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:52:18.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:52:18.406Z] Configure a credential helper to remove this warning. See [2021-06-30T19:52:18.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:52:18.406Z] [2021-06-30T19:52:18.406Z] Login Succeeded [2021-06-30T19:52:18.406Z] nexus3.edgexfoundry.org:10004 [2021-06-30T19:52:18.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:52:18.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:52:18.406Z] Configure a credential helper to remove this warning. See [2021-06-30T19:52:18.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:52:18.406Z] [2021-06-30T19:52:18.406Z] Login Succeeded [2021-06-30T19:52:18.406Z] docker.io [2021-06-30T19:52:18.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T19:52:18.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T19:52:18.406Z] Configure a credential helper to remove this warning. See [2021-06-30T19:52:18.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T19:52:18.406Z] [2021-06-30T19:52:18.406Z] Login Succeeded [2021-06-30T19:52:18.406Z] ---> docker-login.sh ends [2021-06-30T19:52:18.409Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T19:52:18.409Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 54.0% of statements [2021-06-30T19:52:18.409Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] } [2021-06-30T19:52:18.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T19:52:18.745Z] ========================================================= [2021-06-30T19:52:18.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-30T19:52:18.745Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:52:19.096Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-30T19:52:19.096Z] Sending build context to Docker daemon 116.2kB [2021-06-30T19:52:19.370Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T19:52:19.370Z] Step 2/10 : FROM ${BASE} [2021-06-30T19:52:19.648Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-30T19:52:19.648Z] 595b0fe564bb: Pulling fs layer [2021-06-30T19:52:19.648Z] 3088b5b3c5c0: Pulling fs layer [2021-06-30T19:52:19.648Z] 5b7225fbf94c: Pulling fs layer [2021-06-30T19:52:19.648Z] ba82ee9f976e: Pulling fs layer [2021-06-30T19:52:19.648Z] 506bd15cee9f: Pulling fs layer [2021-06-30T19:52:19.648Z] 75a0a4a0db45: Pulling fs layer [2021-06-30T19:52:19.648Z] 618dc40b7e24: Pulling fs layer [2021-06-30T19:52:19.648Z] 506bd15cee9f: Waiting [2021-06-30T19:52:19.648Z] ba82ee9f976e: Waiting [2021-06-30T19:52:19.648Z] 75a0a4a0db45: Waiting [2021-06-30T19:52:19.648Z] 5b7225fbf94c: Verifying Checksum [2021-06-30T19:52:19.648Z] 5b7225fbf94c: Download complete [2021-06-30T19:52:19.648Z] 3088b5b3c5c0: Verifying Checksum [2021-06-30T19:52:19.648Z] 3088b5b3c5c0: Download complete [2021-06-30T19:52:19.648Z] 506bd15cee9f: Download complete [2021-06-30T19:52:19.648Z] 75a0a4a0db45: Download complete [2021-06-30T19:52:19.648Z] 595b0fe564bb: Verifying Checksum [2021-06-30T19:52:19.648Z] 595b0fe564bb: Download complete [2021-06-30T19:52:20.632Z] 595b0fe564bb: Pull complete [2021-06-30T19:52:20.908Z] 3088b5b3c5c0: Pull complete [2021-06-30T19:52:21.508Z] 5b7225fbf94c: Pull complete [2021-06-30T19:52:22.494Z] 618dc40b7e24: Verifying Checksum [2021-06-30T19:52:22.494Z] 618dc40b7e24: Download complete [2021-06-30T19:52:22.769Z] ba82ee9f976e: Download complete [2021-06-30T19:52:25.085Z] gofmt -l . [2021-06-30T19:52:25.085Z] snap/local/hooks/cmd/install/install.go [2021-06-30T19:52:25.085Z] [ "`gofmt -l .`" = "" ] [2021-06-30T19:52:25.085Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-06-30T19:52:25.099Z] $ docker stop --time=1 3135d74c6e6533f74010768a341058eb9d2f91fa41a6f9022a880d9da3cbb56f [2021-06-30T19:52:26.574Z] $ docker rm -f 3135d74c6e6533f74010768a341058eb9d2f91fa41a6f9022a880d9da3cbb56f [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] libraryResource [Pipeline] sh [2021-06-30T19:52:27.592Z] ---> job-cost.sh [2021-06-30T19:52:27.593Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-D157 [2021-06-30T19:52:32.929Z] ba82ee9f976e: Pull complete [2021-06-30T19:52:33.202Z] 506bd15cee9f: Pull complete [2021-06-30T19:52:33.476Z] 75a0a4a0db45: Pull complete [2021-06-30T19:52:37.653Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T19:52:37.815Z] 618dc40b7e24: Pull complete [2021-06-30T19:52:37.815Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-30T19:52:37.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-30T19:52:37.815Z] ---> a36622ca3599 [2021-06-30T19:52:37.815Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T19:52:39.251Z] ---> Running in 6352862a4ca7 [2021-06-30T19:52:39.531Z] Removing intermediate container 6352862a4ca7 [2021-06-30T19:52:39.531Z] ---> 63bc6379adcf [2021-06-30T19:52:39.531Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T19:52:39.805Z] ---> Running in 63d04a832de6 [2021-06-30T19:52:40.407Z] Removing intermediate container 63d04a832de6 [2021-06-30T19:52:40.407Z] ---> 6e2a20cf3430 [2021-06-30T19:52:40.407Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T19:52:40.407Z] ---> Running in 258b23e027fd [2021-06-30T19:52:41.005Z] Removing intermediate container 258b23e027fd [2021-06-30T19:52:41.005Z] ---> 9a25d6e1d5e9 [2021-06-30T19:52:41.005Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T19:52:41.005Z] ---> Running in 7e837d3d5ced [2021-06-30T19:52:43.633Z] Removing intermediate container 7e837d3d5ced [2021-06-30T19:52:43.633Z] ---> 44332a2c0c96 [2021-06-30T19:52:43.633Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T19:52:43.633Z] ---> Running in f2e7d96d1ec8 [2021-06-30T19:52:44.622Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T19:52:45.599Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T19:52:46.190Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T19:52:46.461Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T19:52:46.461Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T19:52:46.744Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T19:52:46.744Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T19:52:46.744Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T19:52:47.014Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T19:52:47.285Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T19:52:47.285Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T19:52:47.285Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T19:52:47.561Z] OK: 144 MiB in 49 packages [2021-06-30T19:52:48.991Z] Removing intermediate container f2e7d96d1ec8 [2021-06-30T19:52:48.991Z] ---> 849533f0314f [2021-06-30T19:52:48.991Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T19:52:48.991Z] ---> Running in c4b323a5c156 [2021-06-30T19:52:49.263Z] Removing intermediate container c4b323a5c156 [2021-06-30T19:52:49.263Z] ---> 38023d65b9b3 [2021-06-30T19:52:49.263Z] Step 9/10 : COPY . . [2021-06-30T19:52:49.940Z] lf-activate-venv(): INFO: Adding /tmp/venv-D157/bin to PATH [2021-06-30T19:52:49.940Z] INFO: No Stack... [2021-06-30T19:52:49.940Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T19:52:50.249Z] ---> ee2d01465247 [2021-06-30T19:52:50.249Z] Step 10/10 : RUN go mod download [2021-06-30T19:52:50.249Z] ---> Running in 7fb4fd01658c [2021-06-30T19:52:50.513Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T19:52:50.831Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2021-06-30T19:52:50.831Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T19:52:50.872Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-5-stack-cost] [2021-06-30T19:52:50.878Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-5-stack-cost] did not exist. Created. [2021-06-30T19:52:50.879Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T19:52:51.206Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-30T19:52:51.455Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T19:52:51.472Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T19:52:51.753Z] Failed in branch amd64 [2021-06-30T19:53:19.151Z] Removing intermediate container 7fb4fd01658c [2021-06-30T19:53:19.151Z] ---> 65c47907b66e [2021-06-30T19:53:19.151Z] Successfully built 65c47907b66e [2021-06-30T19:53:19.151Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:53:19.498Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T19:53:19.498Z] . [Pipeline] withDockerContainer [2021-06-30T19:53:19.766Z] prd-ubuntu18.04-docker-arm64-4c-16g-996 does not seem to be running inside a container [2021-06-30T19:53:19.880Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 [2021-06-30T19:53:21.531Z] $ docker top 9aeeae9965d18deaa84e495f09e5a5e4ea6b62dfd13fb3e9a4441d24107d21bf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T19:53:22.527Z] + go version [2021-06-30T19:53:22.527Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-30T19:53:22.578Z] $ docker stop --time=1 9aeeae9965d18deaa84e495f09e5a5e4ea6b62dfd13fb3e9a4441d24107d21bf [2021-06-30T19:53:24.450Z] $ docker rm -f 9aeeae9965d18deaa84e495f09e5a5e4ea6b62dfd13fb3e9a4441d24107d21bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:53:25.246Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T19:53:25.246Z] . [Pipeline] withDockerContainer [2021-06-30T19:53:25.506Z] prd-ubuntu18.04-docker-arm64-4c-16g-996 does not seem to be running inside a container [2021-06-30T19:53:25.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 [2021-06-30T19:53:27.258Z] $ docker top 6846e9d36c704b58292617579041da149c0272899be56faa2e66f2fe32b2b3c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T19:53:28.203Z] + go mod tidy [Pipeline] sh [2021-06-30T19:53:29.477Z] + make test [2021-06-30T19:53:29.477Z] go mod tidy [2021-06-30T19:53:30.087Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T19:53:31.075Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T19:54:27.645Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T19:54:27.645Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements [2021-06-30T19:54:27.645Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T19:54:45.995Z] gofmt -l . [2021-06-30T19:54:45.995Z] snap/local/hooks/cmd/install/install.go [2021-06-30T19:54:45.995Z] [ "`gofmt -l .`" = "" ] [2021-06-30T19:54:45.995Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2021-06-30T19:54:46.072Z] $ docker stop --time=1 6846e9d36c704b58292617579041da149c0272899be56faa2e66f2fe32b2b3c6 [2021-06-30T19:54:48.174Z] $ docker rm -f 6846e9d36c704b58292617579041da149c0272899be56faa2e66f2fe32b2b3c6 [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] libraryResource [Pipeline] sh [2021-06-30T19:54:49.357Z] ---> job-cost.sh [2021-06-30T19:54:49.357Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uNkj [2021-06-30T19:55:30.169Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T19:56:54.983Z] lf-activate-venv(): INFO: Adding /tmp/venv-uNkj/bin to PATH [2021-06-30T19:56:54.983Z] INFO: No Stack... [2021-06-30T19:56:54.983Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-30T19:56:54.983Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T19:56:55.324Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2021-06-30T19:56:55.324Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T19:56:55.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-5-stack-cost] [2021-06-30T19:56:55.393Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-5-stack-cost] did not exist. Created. [2021-06-30T19:56:55.393Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T19:56:55.777Z] /w/workspace/device-rest-go/5@tmp/durable-69b3032f/script.sh: 1: /w/workspace/device-rest-go/5@tmp/durable-69b3032f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-30T19:56:56.123Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-30T19:56:56.158Z] Warning: overwriting stash ‘stack-cost’ [2021-06-30T19:56:56.741Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T19:56:56.758Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T19:56:56.979Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:56:58.884Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:56:59.191Z] ---> package-listing.sh [2021-06-30T19:56:59.191Z] ++ facter osfamily [2021-06-30T19:56:59.191Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-30T19:56:59.455Z] + OS_FAMILY=redhat [2021-06-30T19:56:59.455Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T19:56:59.455Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-30T19:56:59.455Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-30T19:56:59.455Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-30T19:56:59.455Z] + PACKAGES=/tmp/packages_start.txt [2021-06-30T19:56:59.455Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T19:56:59.455Z] + PACKAGES=/tmp/packages_end.txt [2021-06-30T19:56:59.455Z] + case "${OS_FAMILY}" in [2021-06-30T19:56:59.455Z] + rpm -qa [2021-06-30T19:56:59.455Z] + sort [2021-06-30T19:57:00.034Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-30T19:57:00.034Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-30T19:57:00.034Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-30T19:57:00.034Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T19:57:00.034Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [2021-06-30T19:57:00.034Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [Pipeline] echo [2021-06-30T19:57:00.049Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-30T19:57:00.336Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:57:00.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T19:57:00.906Z] [2021-06-30T19:57:00.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-30T19:57:01.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T19:57:01.217Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-30T19:57:01.217Z] df20fa9351a1: Pulling fs layer [2021-06-30T19:57:01.217Z] 36b3adc4ff6f: Pulling fs layer [2021-06-30T19:57:01.217Z] 8ad3a11d3b57: Pulling fs layer [2021-06-30T19:57:01.217Z] 46f8f816bc3b: Pulling fs layer [2021-06-30T19:57:01.217Z] 93b61091891f: Pulling fs layer [2021-06-30T19:57:01.217Z] 93b9cdb0e59b: Pulling fs layer [2021-06-30T19:57:01.217Z] 5e14af77c1be: Pulling fs layer [2021-06-30T19:57:01.217Z] 01666e4c0597: Pulling fs layer [2021-06-30T19:57:01.217Z] aa168da1d23b: Pulling fs layer [2021-06-30T19:57:01.217Z] 5e14af77c1be: Waiting [2021-06-30T19:57:01.217Z] 46f8f816bc3b: Waiting [2021-06-30T19:57:01.217Z] 93b61091891f: Waiting [2021-06-30T19:57:01.217Z] 01666e4c0597: Waiting [2021-06-30T19:57:01.217Z] aa168da1d23b: Waiting [2021-06-30T19:57:01.217Z] 93b9cdb0e59b: Waiting [2021-06-30T19:57:01.217Z] 36b3adc4ff6f: Verifying Checksum [2021-06-30T19:57:01.217Z] 36b3adc4ff6f: Download complete [2021-06-30T19:57:01.217Z] 46f8f816bc3b: Verifying Checksum [2021-06-30T19:57:01.217Z] 46f8f816bc3b: Download complete [2021-06-30T19:57:01.217Z] df20fa9351a1: Verifying Checksum [2021-06-30T19:57:01.217Z] df20fa9351a1: Download complete [2021-06-30T19:57:01.482Z] 93b9cdb0e59b: Verifying Checksum [2021-06-30T19:57:01.482Z] 93b9cdb0e59b: Download complete [2021-06-30T19:57:01.482Z] 5e14af77c1be: Verifying Checksum [2021-06-30T19:57:01.482Z] 5e14af77c1be: Download complete [2021-06-30T19:57:01.482Z] 93b61091891f: Verifying Checksum [2021-06-30T19:57:01.482Z] 93b61091891f: Download complete [2021-06-30T19:57:01.482Z] 01666e4c0597: Verifying Checksum [2021-06-30T19:57:01.482Z] 01666e4c0597: Download complete [2021-06-30T19:57:01.482Z] df20fa9351a1: Pull complete [2021-06-30T19:57:01.749Z] 36b3adc4ff6f: Pull complete [2021-06-30T19:57:01.749Z] 8ad3a11d3b57: Verifying Checksum [2021-06-30T19:57:01.749Z] 8ad3a11d3b57: Download complete [2021-06-30T19:57:02.326Z] 8ad3a11d3b57: Pull complete [2021-06-30T19:57:02.326Z] 46f8f816bc3b: Pull complete [2021-06-30T19:57:02.589Z] 93b61091891f: Pull complete [2021-06-30T19:57:02.851Z] 93b9cdb0e59b: Pull complete [2021-06-30T19:57:02.851Z] 5e14af77c1be: Pull complete [2021-06-30T19:57:02.851Z] 01666e4c0597: Pull complete [2021-06-30T19:57:04.783Z] aa168da1d23b: Verifying Checksum [2021-06-30T19:57:04.783Z] aa168da1d23b: Download complete [2021-06-30T19:57:08.998Z] aa168da1d23b: Pull complete [2021-06-30T19:57:08.998Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-30T19:57:08.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T19:57:08.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-30T19:57:09.077Z] prd-centos7-docker-4c-2g-991 does not seem to be running inside a container [2021-06-30T19:57:09.116Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-127/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-127 -v /w/workspace/gexfoundry_device-rest-go_PR-127:/w/workspace/gexfoundry_device-rest-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-127@tmp:/w/workspace/gexfoundry_device-rest-go_PR-127@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:alpine cat [2021-06-30T19:57:11.602Z] $ docker top 0174ee4b1f9f72b5219b4bd3959e86ae15e807b440ddce5a75a084eaf95a8263 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T19:57:11.996Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-30T19:57:12.291Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-30T19:57:12.594Z] + ls /var/log/sa-host [2021-06-30T19:57:12.594Z] + sadf -c /var/log/sa-host/sa05 [2021-06-30T19:57:12.594Z] file_magic: OK [2021-06-30T19:57:12.594Z] HZ: Using current value: 100 [2021-06-30T19:57:12.594Z] file_header: OK [2021-06-30T19:57:12.594Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-30T19:57:12.594Z] Statistics: [2021-06-30T19:57:12.594Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T19:57:12.594Z] File successfully converted to sysstat format version 12.2.1 [2021-06-30T19:57:12.594Z] + sadf -c /var/log/sa-host/sa30 [2021-06-30T19:57:12.594Z] file_magic: OK [2021-06-30T19:57:12.594Z] HZ: Using current value: 100 [2021-06-30T19:57:12.594Z] file_header: OK [2021-06-30T19:57:12.594Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-06-30T19:57:12.594Z] Statistics: [2021-06-30T19:57:12.594Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T19:57:12.594Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T19:57:12.790Z] provisioning config files... [2021-06-30T19:57:12.802Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config8506989564762752087tmp [Pipeline] { [Pipeline] echo [2021-06-30T19:57:12.834Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:57:13.135Z] ---> create-netrc.sh [Pipeline] } [2021-06-30T19:57:13.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:57:13.520Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-30T19:57:13.530Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:57:17.722Z] ---> sudo-logs.sh [2021-06-30T19:57:17.722Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-30T19:57:17.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:57:18.080Z] ---> job-cost.sh [2021-06-30T19:57:18.080Z] lf-activate-venv: SKIPPING [2021-06-30T19:57:18.080Z] DEBUG: total: 0.18000000715255737 [2021-06-30T19:57:18.080Z] INFO: Retrieving Stack Cost... [2021-06-30T19:57:19.463Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T19:57:19.725Z] INFO: Archiving Costs [Pipeline] echo [2021-06-30T19:57:19.742Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T19:57:20.041Z] ---> logs-deploy.sh [2021-06-30T19:57:20.041Z] lf-activate-venv: SKIPPING [2021-06-30T19:57:20.041Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-127/5 [2021-06-30T19:57:20.041Z] INFO: archiving workspace using pattern(s): [2021-06-30T19:57:20.988Z] Archives upload complete. [2021-06-30T19:57:20.988Z] INFO: archiving logs to Nexus