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 a7143f809de06213dd52eb511ad6c8339cd540f7+c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f (c42e0908cfd0728e2fad4466a371a39c93afc7c4) 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-ssh8298520034132679595.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-ssh7905882145335089839.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-ssh1042625193608000931.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-ssh5484392788305686214.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-ssh2101574722578986637.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-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-1005 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-ssh3819192835337479949.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 a7143f809de06213dd52eb511ad6c8339cd540f7 Merge succeeded, producing a7143f809de06213dd52eb511ad6c8339cd540f7 Checking out Revision a7143f809de06213dd52eb511ad6c8339cd540f7 (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-ssh1151532644921498210.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 a7143f809de06213dd52eb511ad6c8339cd540f7 # 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-ssh5407813645286701109.key > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7143f809de06213dd52eb511ad6c8339cd540f7 # 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-30T20:17:53.375Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-30T20:17:53.467Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv > git rev-list --no-walk 5bf95241b67e71c23011b1c67b577e87daf3523e # timeout=10 [Pipeline] { [Pipeline] echo [2021-06-30T20:17:53.496Z] ========================================================= [2021-06-30T20:17:53.496Z] EdgeX Global Pipelines Version Info [2021-06-30T20:17:53.496Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:17:54.921Z] ------------------- [2021-06-30T20:17:54.922Z] stable info: [2021-06-30T20:17:54.922Z] ------------------- [2021-06-30T20:17:54.922Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-30T20:17:54.922Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T20:17:54.922Z] Message: update stable to v1.0.195 [2021-06-30T20:17:55.496Z] ------------------- [2021-06-30T20:17:55.496Z] experimental info: [2021-06-30T20:17:55.496Z] ------------------- [2021-06-30T20:17:55.496Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-30T20:17:55.496Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T20:17:55.496Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-30T20:17:55.719Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-30T20:17:55.745Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-30T20:17:55.771Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-30T20:17:55.797Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-30T20:17:55.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-30T20:17:55.847Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-30T20:17:55.871Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-30T20:17:55.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-30T20:17:55.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-30T20:17:55.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-30T20:17:55.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-30T20:17:56.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-30T20:17:56.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-30T20:17:56.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-30T20:17:56.104Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T20:17:56.132Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T20:17:56.160Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T20:17:56.186Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T20:17:56.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-30T20:17:56.240Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-30T20:17:56.266Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-30T20:17:56.293Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-30T20:17:56.321Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-30T20:17:56.347Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-30T20:17:56.394Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-30T20:17:56.435Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-30T20:17:56.461Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-06-30T20:17:56.488Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-06-30T20:17:56.514Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-06-30T20:17:56.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7143f809de06213dd52eb511ad6c8339cd540f7 [Pipeline] echo [2021-06-30T20:17:56.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7143f8 [Pipeline] echo [2021-06-30T20:17:56.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T20:17:56.697Z] provisioning config files... [2021-06-30T20:17:56.712Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config6166435768728365785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:17:57.036Z] ---> docker-login.sh [2021-06-30T20:17:57.037Z] nexus3.edgexfoundry.org:10001 [2021-06-30T20:17:57.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:17:57.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:17:57.300Z] Configure a credential helper to remove this warning. See [2021-06-30T20:17:57.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:17:57.300Z] [2021-06-30T20:17:57.300Z] Login Succeeded [2021-06-30T20:17:57.300Z] nexus3.edgexfoundry.org:10002 [2021-06-30T20:17:57.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:17:57.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:17:57.300Z] Configure a credential helper to remove this warning. See [2021-06-30T20:17:57.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:17:57.300Z] [2021-06-30T20:17:57.300Z] Login Succeeded [2021-06-30T20:17:57.300Z] nexus3.edgexfoundry.org:10003 [2021-06-30T20:17:57.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:17:57.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:17:57.564Z] Configure a credential helper to remove this warning. See [2021-06-30T20:17:57.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:17:57.564Z] [2021-06-30T20:17:57.564Z] Login Succeeded [2021-06-30T20:17:57.564Z] nexus3.edgexfoundry.org:10004 [2021-06-30T20:17:57.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:17:57.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:17:57.564Z] Configure a credential helper to remove this warning. See [2021-06-30T20:17:57.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:17:57.564Z] [2021-06-30T20:17:57.564Z] Login Succeeded [2021-06-30T20:17:57.564Z] docker.io [2021-06-30T20:17:57.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:17:58.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:17:58.094Z] Configure a credential helper to remove this warning. See [2021-06-30T20:17:58.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:17:58.094Z] [2021-06-30T20:17:58.094Z] Login Succeeded [2021-06-30T20:17:58.094Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T20:17:58.102Z] 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-30T20:17:58.683Z] + git log --format=format:%s -1 a7143f809de06213dd52eb511ad6c8339cd540f7 [Pipeline] echo [2021-06-30T20:17:58.726Z] GIT_COMMIT: a7143f809de06213dd52eb511ad6c8339cd540f7, Commit Message: feat(snap): add go-based configure and install hooks [Pipeline] echo [2021-06-30T20:17:58.741Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:18:04.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T20:18:04.675Z] [2021-06-30T20:18:04.675Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:18:05.011Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T20:18:05.011Z] latest: Pulling from edgex-devops/git-semver [2021-06-30T20:18:05.011Z] 31603596830f: Pulling fs layer [2021-06-30T20:18:05.011Z] 54011a49482f: Pulling fs layer [2021-06-30T20:18:05.011Z] a6820b24f6d8: Pulling fs layer [2021-06-30T20:18:05.011Z] f581987b2513: Pulling fs layer [2021-06-30T20:18:05.011Z] f581987b2513: Waiting [2021-06-30T20:18:05.011Z] 54011a49482f: Verifying Checksum [2021-06-30T20:18:05.011Z] 54011a49482f: Download complete [2021-06-30T20:18:05.280Z] 31603596830f: Verifying Checksum [2021-06-30T20:18:05.280Z] 31603596830f: Download complete [2021-06-30T20:18:05.280Z] f581987b2513: Verifying Checksum [2021-06-30T20:18:05.280Z] f581987b2513: Download complete [2021-06-30T20:18:05.556Z] a6820b24f6d8: Verifying Checksum [2021-06-30T20:18:05.556Z] a6820b24f6d8: Download complete [2021-06-30T20:18:05.556Z] 31603596830f: Pull complete [2021-06-30T20:18:05.556Z] 54011a49482f: Pull complete [2021-06-30T20:18:06.144Z] a6820b24f6d8: Pull complete [2021-06-30T20:18:06.406Z] f581987b2513: Pull complete [2021-06-30T20:18:06.406Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-30T20:18:06.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T20:18:06.406Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-30T20:18:06.492Z] prd-centos7-docker-4c-2g-1005 does not seem to be running inside a container [2021-06-30T20:18:06.546Z] $ 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-30T20:18:07.384Z] $ docker top 93fa49bb1fc77c2a500fcc979ff4eca10c5565317880fbb58f5b391d29f69226 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-30T20:18:07.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T20:18:07.521Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T20:18:07.639Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T20:18:07.641Z] $ docker exec 93fa49bb1fc77c2a500fcc979ff4eca10c5565317880fbb58f5b391d29f69226 ssh-agent [2021-06-30T20:18:07.754Z] SSH_AUTH_SOCK=/tmp/ssh-sWrEf01oehrp/agent.15 [2021-06-30T20:18:07.754Z] SSH_AGENT_PID=21 [2021-06-30T20:18:07.765Z] Running ssh-add (command line suppressed) [2021-06-30T20:18:07.869Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_7659448704618557679.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_7659448704618557679.key) [2021-06-30T20:18:07.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T20:18:08.191Z] + git tag --points-at HEAD [Pipeline] } [2021-06-30T20:18:08.205Z] $ docker exec --env ******** --env ******** 93fa49bb1fc77c2a500fcc979ff4eca10c5565317880fbb58f5b391d29f69226 ssh-agent -k [2021-06-30T20:18:08.310Z] unset SSH_AUTH_SOCK; [2021-06-30T20:18:08.311Z] unset SSH_AGENT_PID; [2021-06-30T20:18:08.311Z] echo Agent pid 21 killed; [2021-06-30T20:18:08.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-30T20:18:08.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T20:18:08.365Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T20:18:08.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T20:18:08.498Z] $ docker exec 93fa49bb1fc77c2a500fcc979ff4eca10c5565317880fbb58f5b391d29f69226 ssh-agent [2021-06-30T20:18:08.611Z] SSH_AUTH_SOCK=/tmp/ssh-qMwzUEr8tuai/agent.54 [2021-06-30T20:18:08.611Z] SSH_AGENT_PID=61 [2021-06-30T20:18:08.616Z] Running ssh-add (command line suppressed) [2021-06-30T20:18:08.712Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_5285189501562116017.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_5285189501562116017.key) [2021-06-30T20:18:08.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T20:18:09.035Z] + git semver init [2021-06-30T20:18:09.035Z] # -> Open(): unable to determine branch for HEAD [2021-06-30T20:18:09.035Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.git [2021-06-30T20:18:09.035Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T20:18:09.035Z] # $SEMVER_REMOTE_NAME = origin [2021-06-30T20:18:09.035Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-30T20:18:09.035Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-30T20:18:09.035Z] # $SEMVER_BRANCH = PR-127 [2021-06-30T20:18:09.035Z] # $SEMVER_TEMP = /tmp/semver-453290946 [2021-06-30T20:18:09.035Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-30T20:18:12.347Z] # '/tmp/semver-453290946' -> '/w/workspace/gexfoundry_device-rest-go_PR-127/.semver' [2021-06-30T20:18:12.347Z] # -> Force: false [2021-06-30T20:18:12.347Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.semver [Pipeline] } [2021-06-30T20:18:12.356Z] $ docker exec --env ******** --env ******** 93fa49bb1fc77c2a500fcc979ff4eca10c5565317880fbb58f5b391d29f69226 ssh-agent -k [2021-06-30T20:18:12.445Z] unset SSH_AUTH_SOCK; [2021-06-30T20:18:12.445Z] unset SSH_AGENT_PID; [2021-06-30T20:18:12.445Z] echo Agent pid 61 killed; [2021-06-30T20:18:12.458Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T20:18:12.795Z] + git semver [Pipeline] } [2021-06-30T20:18:12.809Z] $ docker stop --time=1 93fa49bb1fc77c2a500fcc979ff4eca10c5565317880fbb58f5b391d29f69226 [2021-06-30T20:18:14.074Z] $ docker rm -f 93fa49bb1fc77c2a500fcc979ff4eca10c5565317880fbb58f5b391d29f69226 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T20:18:14.440Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-30T20:18:14.715Z] Stashed 1 file(s) [Pipeline] echo [2021-06-30T20:18:14.719Z] [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-30T20:18:30.002Z] Still waiting to schedule task [2021-06-30T20:18:30.003Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1005’ [2021-06-30T20:18:30.004Z] Still waiting to schedule task [2021-06-30T20:18:30.005Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-30T20:20:34.684Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1006 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T20:20:34.711Z] Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout [2021-06-30T20:20:34.997Z] The recommended git tool is: git [2021-06-30T20:20:44.218Z] using credential edgex-jenkins-ssh [2021-06-30T20:20:44.248Z] Cloning the remote Git repository [2021-06-30T20:20:44.303Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T20:20:44.419Z] > git init /w/workspace/device-rest-go/6 # timeout=10 [2021-06-30T20:20:44.489Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T20:20:44.490Z] > git --version # timeout=10 [2021-06-30T20:20:44.505Z] > git --version # 'git version 2.17.1' [2021-06-30T20:20:44.507Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T20:20:44.606Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T20:20:46.023Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T20:20:46.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T20:20:46.069Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T20:20:46.096Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T20:20:46.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T20:20:46.109Z] > 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-30T20:20:46.692Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit a7143f809de06213dd52eb511ad6c8339cd540f7 [2021-06-30T20:20:46.878Z] Merge succeeded, producing a7143f809de06213dd52eb511ad6c8339cd540f7 [2021-06-30T20:20:46.879Z] Checking out Revision a7143f809de06213dd52eb511ad6c8339cd540f7 (PR-127) [2021-06-30T20:20:46.695Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T20:20:46.710Z] > git checkout -f a7143f809de06213dd52eb511ad6c8339cd540f7 # timeout=10 [2021-06-30T20:20:46.784Z] > git remote # timeout=10 [2021-06-30T20:20:46.801Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T20:20:46.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T20:20:46.830Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T20:20:46.849Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T20:20:46.870Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T20:20:46.880Z] > git checkout -f a7143f809de06213dd52eb511ad6c8339cd540f7 # timeout=10 [2021-06-30T20:20:51.093Z] 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-30T20:20:52.560Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-30T20:20:52.984Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T20:20:53.329Z] + true [2021-06-30T20:20:53.329Z] + sudo service docker restart [2021-06-30T20:21:03.653Z] Running on prd-centos7-docker-4c-2g-1007 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T20:21:03.682Z] Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout [2021-06-30T20:21:03.808Z] The recommended git tool is: git [2021-06-30T20:21:06.127Z] using credential edgex-jenkins-ssh [2021-06-30T20:21:06.139Z] Cloning the remote Git repository [2021-06-30T20:21:06.164Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T20:21:06.225Z] > git init /w/workspace/device-rest-go/6 # timeout=10 [2021-06-30T20:21:06.255Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T20:21:06.255Z] > git --version # timeout=10 [2021-06-30T20:21:06.262Z] > git --version # 'git version 2.24.4' [2021-06-30T20:21:06.263Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T20:21:06.293Z] [INFO] Currently running in a labeled security context [2021-06-30T20:21:06.294Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T20:21:06.294Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/6@tmp/jenkins-gitclient-ssh857539747777795769.key [2021-06-30T20:21:06.307Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T20:21:07.170Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T20:21:07.187Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T20:21:07.204Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T20:21:07.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T20:21:07.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T20:21:07.218Z] [INFO] Currently running in a labeled security context [2021-06-30T20:21:07.218Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T20:21:07.219Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/6@tmp/jenkins-gitclient-ssh4141525507924301484.key [2021-06-30T20:21:07.227Z] > 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-30T20:21:07.700Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit a7143f809de06213dd52eb511ad6c8339cd540f7 [2021-06-30T20:21:07.802Z] Merge succeeded, producing a7143f809de06213dd52eb511ad6c8339cd540f7 [2021-06-30T20:21:07.803Z] Checking out Revision a7143f809de06213dd52eb511ad6c8339cd540f7 (PR-127) [2021-06-30T20:21:07.707Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T20:21:07.713Z] > git checkout -f a7143f809de06213dd52eb511ad6c8339cd540f7 # timeout=10 [2021-06-30T20:21:07.746Z] > git remote # timeout=10 [2021-06-30T20:21:07.753Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T20:21:07.763Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T20:21:07.764Z] [INFO] Currently running in a labeled security context [2021-06-30T20:21:07.764Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T20:21:07.764Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/6@tmp/jenkins-gitclient-ssh8736225556273724223.key [2021-06-30T20:21:07.770Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T20:21:07.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T20:21:07.804Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T20:21:07.818Z] > git checkout -f a7143f809de06213dd52eb511ad6c8339cd540f7 # timeout=10 [2021-06-30T20:21:11.332Z] Commit message: "feat(snap): add go-based configure and install hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T20:21:11.697Z] provisioning config files... [Pipeline] withEnv [Pipeline] { [2021-06-30T20:21:11.723Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config3063109126778455585tmp [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T20:21:14.291Z] ---> docker-login.sh [2021-06-30T20:21:14.291Z] nexus3.edgexfoundry.org:10001 [2021-06-30T20:21:14.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:14.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:14.291Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:14.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:14.291Z] [2021-06-30T20:21:14.291Z] Login Succeeded [2021-06-30T20:21:14.291Z] nexus3.edgexfoundry.org:10002 [2021-06-30T20:21:14.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:14.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:14.291Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:14.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:14.291Z] [2021-06-30T20:21:14.291Z] Login Succeeded [2021-06-30T20:21:14.291Z] nexus3.edgexfoundry.org:10003 [2021-06-30T20:21:14.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:14.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:14.291Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:14.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:14.291Z] [2021-06-30T20:21:14.291Z] Login Succeeded [2021-06-30T20:21:14.291Z] nexus3.edgexfoundry.org:10004 [2021-06-30T20:21:14.704Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-30T20:21:14.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:14.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:14.888Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:14.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:14.888Z] [2021-06-30T20:21:14.889Z] Login Succeeded [2021-06-30T20:21:14.889Z] docker.io [2021-06-30T20:21:15.029Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T20:21:15.330Z] + true [2021-06-30T20:21:15.330Z] + sudo service docker restart [2021-06-30T20:21:15.330Z] Redirecting to /bin/systemctl restart docker.service [2021-06-30T20:21:15.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:15.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:15.759Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:15.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:15.759Z] [2021-06-30T20:21:15.759Z] Login Succeeded [2021-06-30T20:21:15.759Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T20:21:15.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T20:21:16.080Z] ========================================================= [2021-06-30T20:21:16.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-30T20:21:16.080Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:21:16.432Z] + 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-30T20:21:16.432Z] Sending build context to Docker daemon 116.2kB [2021-06-30T20:21:16.705Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T20:21:16.705Z] Step 2/10 : FROM ${BASE} [2021-06-30T20:21:16.980Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-30T20:21:16.980Z] 595b0fe564bb: Pulling fs layer [2021-06-30T20:21:16.980Z] 3088b5b3c5c0: Pulling fs layer [2021-06-30T20:21:16.980Z] 5b7225fbf94c: Pulling fs layer [2021-06-30T20:21:16.980Z] ba82ee9f976e: Pulling fs layer [2021-06-30T20:21:16.980Z] 506bd15cee9f: Pulling fs layer [2021-06-30T20:21:16.981Z] 75a0a4a0db45: Pulling fs layer [2021-06-30T20:21:16.981Z] 618dc40b7e24: Pulling fs layer [2021-06-30T20:21:16.981Z] ba82ee9f976e: Waiting [2021-06-30T20:21:16.981Z] 506bd15cee9f: Waiting [2021-06-30T20:21:16.981Z] 75a0a4a0db45: Waiting [2021-06-30T20:21:16.981Z] 618dc40b7e24: Waiting [2021-06-30T20:21:16.981Z] 5b7225fbf94c: Download complete [2021-06-30T20:21:16.981Z] 3088b5b3c5c0: Verifying Checksum [2021-06-30T20:21:16.981Z] 3088b5b3c5c0: Download complete [2021-06-30T20:21:17.255Z] 506bd15cee9f: Verifying Checksum [2021-06-30T20:21:17.255Z] 506bd15cee9f: Download complete [2021-06-30T20:21:17.255Z] 75a0a4a0db45: Download complete [2021-06-30T20:21:17.255Z] 595b0fe564bb: Verifying Checksum [2021-06-30T20:21:17.255Z] 595b0fe564bb: Download complete [2021-06-30T20:21:17.857Z] 595b0fe564bb: Pull complete [2021-06-30T20:21:18.461Z] 3088b5b3c5c0: Pull complete [2021-06-30T20:21:18.739Z] 5b7225fbf94c: Pull complete [2021-06-30T20:21:19.731Z] 618dc40b7e24: Verifying Checksum [2021-06-30T20:21:19.731Z] 618dc40b7e24: Download complete [2021-06-30T20:21:20.738Z] ba82ee9f976e: Download complete [2021-06-30T20:21:30.921Z] ba82ee9f976e: Pull complete [2021-06-30T20:21:31.518Z] 506bd15cee9f: Pull complete [2021-06-30T20:21:31.792Z] 75a0a4a0db45: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T20:21:33.509Z] provisioning config files... [2021-06-30T20:21:33.524Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config37159124698305385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:21:33.858Z] ---> docker-login.sh [2021-06-30T20:21:33.858Z] nexus3.edgexfoundry.org:10001 [2021-06-30T20:21:34.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:34.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:34.122Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:34.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:34.122Z] [2021-06-30T20:21:34.122Z] Login Succeeded [2021-06-30T20:21:34.122Z] nexus3.edgexfoundry.org:10002 [2021-06-30T20:21:34.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:34.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:34.385Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:34.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:34.385Z] [2021-06-30T20:21:34.385Z] Login Succeeded [2021-06-30T20:21:34.385Z] nexus3.edgexfoundry.org:10003 [2021-06-30T20:21:34.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:34.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:34.385Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:34.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:34.385Z] [2021-06-30T20:21:34.385Z] Login Succeeded [2021-06-30T20:21:34.385Z] nexus3.edgexfoundry.org:10004 [2021-06-30T20:21:34.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:34.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:34.650Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:34.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:34.650Z] [2021-06-30T20:21:34.650Z] Login Succeeded [2021-06-30T20:21:34.650Z] docker.io [2021-06-30T20:21:34.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T20:21:34.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T20:21:34.911Z] Configure a credential helper to remove this warning. See [2021-06-30T20:21:34.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T20:21:34.911Z] [2021-06-30T20:21:34.911Z] Login Succeeded [2021-06-30T20:21:34.911Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T20:21:34.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T20:21:35.088Z] ========================================================= [2021-06-30T20:21:35.088Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-30T20:21:35.088Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:21:35.196Z] 618dc40b7e24: Pull complete [2021-06-30T20:21:35.196Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-30T20:21:35.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-30T20:21:35.196Z] ---> a36622ca3599 [2021-06-30T20:21:35.196Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T20:21:35.404Z] + 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-30T20:21:35.404Z] Sending build context to Docker daemon 116.2kB [2021-06-30T20:21:35.404Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T20:21:35.404Z] Step 2/10 : FROM ${BASE} [2021-06-30T20:21:35.404Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-30T20:21:35.404Z] 540db60ca938: Pulling fs layer [2021-06-30T20:21:35.404Z] adcc1eea9eea: Pulling fs layer [2021-06-30T20:21:35.404Z] 4c4ab2625f07: Pulling fs layer [2021-06-30T20:21:35.404Z] 0510c868ecb4: Pulling fs layer [2021-06-30T20:21:35.404Z] afea3b2eda06: Pulling fs layer [2021-06-30T20:21:35.404Z] 7809a108b3ef: Pulling fs layer [2021-06-30T20:21:35.404Z] f706445af74f: Pulling fs layer [2021-06-30T20:21:35.404Z] afea3b2eda06: Waiting [2021-06-30T20:21:35.404Z] 7809a108b3ef: Waiting [2021-06-30T20:21:35.404Z] f706445af74f: Waiting [2021-06-30T20:21:35.404Z] 0510c868ecb4: Waiting [2021-06-30T20:21:35.404Z] 4c4ab2625f07: Verifying Checksum [2021-06-30T20:21:35.404Z] 4c4ab2625f07: Download complete [2021-06-30T20:21:35.404Z] adcc1eea9eea: Verifying Checksum [2021-06-30T20:21:35.404Z] adcc1eea9eea: Download complete [2021-06-30T20:21:35.666Z] afea3b2eda06: Verifying Checksum [2021-06-30T20:21:35.666Z] afea3b2eda06: Download complete [2021-06-30T20:21:35.666Z] 540db60ca938: Verifying Checksum [2021-06-30T20:21:35.666Z] 540db60ca938: Download complete [2021-06-30T20:21:35.666Z] 7809a108b3ef: Verifying Checksum [2021-06-30T20:21:35.666Z] 7809a108b3ef: Download complete [2021-06-30T20:21:35.666Z] 540db60ca938: Pull complete [2021-06-30T20:21:35.926Z] adcc1eea9eea: Pull complete [2021-06-30T20:21:35.926Z] 4c4ab2625f07: Pull complete [2021-06-30T20:21:37.827Z] ---> Running in f30a9e4c4a00 [2021-06-30T20:21:37.827Z] Removing intermediate container f30a9e4c4a00 [2021-06-30T20:21:37.827Z] ---> 71dcd742212e [2021-06-30T20:21:37.827Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T20:21:37.847Z] f706445af74f: Verifying Checksum [2021-06-30T20:21:37.847Z] f706445af74f: Download complete [2021-06-30T20:21:38.102Z] ---> Running in d3640e6b1ac8 [2021-06-30T20:21:38.430Z] 0510c868ecb4: Verifying Checksum [2021-06-30T20:21:38.431Z] 0510c868ecb4: Download complete [2021-06-30T20:21:38.699Z] Removing intermediate container d3640e6b1ac8 [2021-06-30T20:21:38.699Z] ---> 2efc41ab6962 [2021-06-30T20:21:38.699Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T20:21:38.699Z] ---> Running in c05508839f05 [2021-06-30T20:21:39.558Z] Removing intermediate container c05508839f05 [2021-06-30T20:21:39.558Z] ---> b05cc5a67dfb [2021-06-30T20:21:39.558Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T20:21:39.558Z] ---> Running in 4d0158869b13 [2021-06-30T20:21:41.764Z] 0510c868ecb4: Pull complete [2021-06-30T20:21:41.764Z] afea3b2eda06: Pull complete [2021-06-30T20:21:41.764Z] 7809a108b3ef: Pull complete [2021-06-30T20:21:42.290Z] Removing intermediate container 4d0158869b13 [2021-06-30T20:21:42.290Z] ---> dd3adb32f8eb [2021-06-30T20:21:42.290Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T20:21:42.290Z] ---> Running in 896994ab2d6a [2021-06-30T20:21:43.162Z] f706445af74f: Pull complete [2021-06-30T20:21:43.162Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-30T20:21:43.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-30T20:21:43.162Z] ---> b068be0155e3 [2021-06-30T20:21:43.162Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T20:21:43.287Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T20:21:44.266Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T20:21:44.862Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T20:21:45.134Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T20:21:45.134Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T20:21:45.134Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T20:21:45.403Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T20:21:45.403Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T20:21:45.674Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T20:21:46.270Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T20:21:46.270Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T20:21:46.270Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T20:21:46.270Z] OK: 144 MiB in 49 packages [2021-06-30T20:21:47.710Z] Removing intermediate container 896994ab2d6a [2021-06-30T20:21:47.710Z] ---> 41209eea1b4a [2021-06-30T20:21:47.710Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T20:21:47.996Z] ---> Running in c16d4f24e9af [2021-06-30T20:21:48.591Z] Removing intermediate container c16d4f24e9af [2021-06-30T20:21:48.591Z] ---> c60d6aba16f2 [2021-06-30T20:21:48.591Z] Step 9/10 : COPY . . [2021-06-30T20:21:49.185Z] ---> 2b3f0e5b25bb [2021-06-30T20:21:49.185Z] Step 10/10 : RUN go mod download [2021-06-30T20:21:49.458Z] ---> Running in 81d000514135 [2021-06-30T20:21:49.772Z] ---> Running in 2ed464cb2895 [2021-06-30T20:21:49.772Z] Removing intermediate container 2ed464cb2895 [2021-06-30T20:21:49.772Z] ---> faccbebcbbcf [2021-06-30T20:21:49.772Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T20:21:49.772Z] ---> Running in c0d845c55d7e [2021-06-30T20:21:49.772Z] Removing intermediate container c0d845c55d7e [2021-06-30T20:21:49.772Z] ---> 9e974a3cec8b [2021-06-30T20:21:49.772Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T20:21:49.772Z] ---> Running in 2c2755e34e36 [2021-06-30T20:21:49.772Z] Removing intermediate container 2c2755e34e36 [2021-06-30T20:21:49.772Z] ---> 6c048947420b [2021-06-30T20:21:49.772Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T20:21:49.772Z] ---> Running in 71cf5ffc4429 [2021-06-30T20:21:50.351Z] Removing intermediate container 71cf5ffc4429 [2021-06-30T20:21:50.351Z] ---> 1404805c3bff [2021-06-30T20:21:50.351Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T20:21:50.351Z] ---> Running in 963938a60116 [2021-06-30T20:21:50.612Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T20:21:51.555Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T20:21:51.817Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T20:21:51.817Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T20:21:52.079Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T20:21:52.079Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T20:21:52.340Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T20:21:52.340Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T20:21:52.340Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T20:21:52.601Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T20:21:52.867Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T20:21:52.867Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T20:21:52.867Z] OK: 154 MiB in 49 packages [2021-06-30T20:21:53.442Z] Removing intermediate container 963938a60116 [2021-06-30T20:21:53.442Z] ---> 41dd52fc5cec [2021-06-30T20:21:53.442Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T20:21:53.706Z] ---> Running in 744e0a30dc73 [2021-06-30T20:21:53.706Z] Removing intermediate container 744e0a30dc73 [2021-06-30T20:21:53.706Z] ---> 5033a8f55fca [2021-06-30T20:21:53.706Z] Step 9/10 : COPY . . [2021-06-30T20:21:53.967Z] ---> 77f3e24cfa3d [2021-06-30T20:21:53.967Z] Step 10/10 : RUN go mod download [2021-06-30T20:21:53.967Z] ---> Running in a9abd6546ae8 [2021-06-30T20:22:06.237Z] Removing intermediate container a9abd6546ae8 [2021-06-30T20:22:06.237Z] ---> 1d314c2b18c3 [2021-06-30T20:22:06.237Z] Successfully built 1d314c2b18c3 [2021-06-30T20:22:06.237Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:22:06.542Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T20:22:06.542Z] . [Pipeline] withDockerContainer [2021-06-30T20:22:06.626Z] prd-centos7-docker-4c-2g-1007 does not seem to be running inside a container [2021-06-30T20:22:06.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T20:22:07.053Z] $ docker top 1fd39f2295f65cc30b6762d40e3bb9b0ee62d89d75ced28a720fa7c8dc3185ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T20:22:07.449Z] + go version [2021-06-30T20:22:07.449Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-30T20:22:07.461Z] $ docker stop --time=1 1fd39f2295f65cc30b6762d40e3bb9b0ee62d89d75ced28a720fa7c8dc3185ba [2021-06-30T20:22:08.645Z] $ docker rm -f 1fd39f2295f65cc30b6762d40e3bb9b0ee62d89d75ced28a720fa7c8dc3185ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:22:09.183Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T20:22:09.183Z] . [Pipeline] withDockerContainer [2021-06-30T20:22:09.261Z] prd-centos7-docker-4c-2g-1007 does not seem to be running inside a container [2021-06-30T20:22:09.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T20:22:09.730Z] $ docker top 1cb7d2d44b330464be652f0ef9a030476998506a770889db9ba0108f450fb5a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T20:22:10.121Z] + go mod tidy [Pipeline] sh [2021-06-30T20:22:10.682Z] + make test [2021-06-30T20:22:10.682Z] go mod tidy [2021-06-30T20:22:10.682Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T20:22:11.260Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T20:22:16.263Z] Removing intermediate container 81d000514135 [2021-06-30T20:22:16.264Z] ---> 078ca344037d [2021-06-30T20:22:16.264Z] Successfully built 078ca344037d [2021-06-30T20:22:16.264Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:22:16.608Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T20:22:16.608Z] . [Pipeline] withDockerContainer [2021-06-30T20:22:16.872Z] prd-ubuntu18.04-docker-arm64-4c-16g-1006 does not seem to be running inside a container [2021-06-30T20:22:16.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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-30T20:22:18.587Z] $ docker top 525deb9af9a04befd7a709282a91e727577d756d3960c1779dea27f9d6818843 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T20:22:19.581Z] + go version [2021-06-30T20:22:19.581Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-30T20:22:19.602Z] $ docker stop --time=1 525deb9af9a04befd7a709282a91e727577d756d3960c1779dea27f9d6818843 [2021-06-30T20:22:21.450Z] $ docker rm -f 525deb9af9a04befd7a709282a91e727577d756d3960c1779dea27f9d6818843 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:22:22.203Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T20:22:22.203Z] . [Pipeline] withDockerContainer [2021-06-30T20:22:22.459Z] prd-ubuntu18.04-docker-arm64-4c-16g-1006 does not seem to be running inside a container [2021-06-30T20:22:22.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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-30T20:22:24.139Z] $ docker top acac25f3ba3e2285750c0af77e1b0bf5715779e9534a59c143c69b19505b5b22 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T20:22:25.120Z] + go mod tidy [Pipeline] sh [2021-06-30T20:22:26.288Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T20:22:26.382Z] + make test [2021-06-30T20:22:26.382Z] go mod tidy [2021-06-30T20:22:26.655Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T20:22:26.880Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-30T20:22:26.880Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T20:22:28.094Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T20:22:33.520Z] gofmt -l . [2021-06-30T20:22:33.520Z] [ "`gofmt -l .`" = "" ] [2021-06-30T20:22:33.520Z] ./bin/test-go-mod-tidy.sh [2021-06-30T20:22:33.520Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T20:22:33.532Z] $ docker stop --time=1 1cb7d2d44b330464be652f0ef9a030476998506a770889db9ba0108f450fb5a2 [2021-06-30T20:22:35.072Z] $ docker rm -f 1cb7d2d44b330464be652f0ef9a030476998506a770889db9ba0108f450fb5a2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T20:22:35.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T20:22:35.715Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-30T20:22:40.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T20:22:40.852Z] + ls -al . [2021-06-30T20:22:40.852Z] total 112 [2021-06-30T20:22:40.852Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 30 20:22 . [2021-06-30T20:22:40.852Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 30 20:21 .. [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 30 20:21 Attribution.txt [2021-06-30T20:22:40.852Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 20:21 bin [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jun 30 20:21 CHANGELOG.md [2021-06-30T20:22:40.852Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 20:21 cmd [2021-06-30T20:22:40.852Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 30 20:22 coverage.out [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 30 20:21 Dockerfile [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 30 20:21 Dockerfile.build [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 30 20:21 .dockerignore [2021-06-30T20:22:40.852Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 30 20:21 driver [2021-06-30T20:22:40.852Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 30 20:21 .git [2021-06-30T20:22:40.852Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 20:21 .github [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 30 20:21 .gitignore [2021-06-30T20:22:40.852Z] -rw-r--r--. 1 jenkins jenkins 271 Jun 30 20:22 go.mod [2021-06-30T20:22:40.852Z] -rw-r--r--. 1 jenkins jenkins 20570 Jun 30 20:22 go.sum [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 30 20:21 Jenkinsfile [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 20:21 LICENSE [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 30 20:21 Makefile [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 30 20:21 README.md [2021-06-30T20:22:40.852Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 20:21 snap [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 20:18 VERSION [2021-06-30T20:22:40.852Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 30 20:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:22:41.161Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a7143f809de06213dd52eb511ad6c8339cd540f7 --label arch=amd64 --label version=0.0.0 . [2021-06-30T20:22:41.161Z] Sending build context to Docker daemon 126kB [2021-06-30T20:22:41.161Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T20:22:41.161Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T20:22:41.161Z] ---> 1d314c2b18c3 [2021-06-30T20:22:41.161Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T20:22:41.161Z] ---> Running in 85ee5cb2c416 [2021-06-30T20:22:41.422Z] Removing intermediate container 85ee5cb2c416 [2021-06-30T20:22:41.422Z] ---> 81e806d6d7d5 [2021-06-30T20:22:41.422Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T20:22:41.422Z] ---> Running in cda21d109ac6 [2021-06-30T20:22:41.422Z] Removing intermediate container cda21d109ac6 [2021-06-30T20:22:41.422Z] ---> 434fc67d29e7 [2021-06-30T20:22:41.422Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T20:22:41.422Z] ---> Running in d59ec2bccd1f [2021-06-30T20:22:41.682Z] Removing intermediate container d59ec2bccd1f [2021-06-30T20:22:41.682Z] ---> 7596a229b41e [2021-06-30T20:22:41.682Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T20:22:41.682Z] ---> Running in c43102a5f1f7 [2021-06-30T20:22:41.942Z] Removing intermediate container c43102a5f1f7 [2021-06-30T20:22:41.942Z] ---> ccf0373431ad [2021-06-30T20:22:41.942Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T20:22:41.942Z] ---> Running in 3c4223ca2fc7 [2021-06-30T20:22:42.203Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T20:22:43.153Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T20:22:43.421Z] OK: 154 MiB in 49 packages [2021-06-30T20:22:43.997Z] Removing intermediate container 3c4223ca2fc7 [2021-06-30T20:22:43.997Z] ---> 026068209618 [2021-06-30T20:22:43.997Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T20:22:43.997Z] ---> Running in cbe04ee39818 [2021-06-30T20:22:43.997Z] Removing intermediate container cbe04ee39818 [2021-06-30T20:22:43.997Z] ---> 38bdee26e7b4 [2021-06-30T20:22:43.997Z] Step 9/25 : COPY . . [2021-06-30T20:22:44.258Z] ---> 5de1c79b1b72 [2021-06-30T20:22:44.258Z] Step 10/25 : RUN go mod tidy [2021-06-30T20:22:44.258Z] ---> Running in 3e97f3eaa65a [2021-06-30T20:22:44.833Z] Removing intermediate container 3e97f3eaa65a [2021-06-30T20:22:44.833Z] ---> e3b5c0d6a8b8 [2021-06-30T20:22:44.833Z] Step 11/25 : RUN make update [2021-06-30T20:22:44.833Z] ---> Running in a023b3f3a0e9 [2021-06-30T20:22:45.094Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T20:22:45.357Z] Removing intermediate container a023b3f3a0e9 [2021-06-30T20:22:45.357Z] ---> 5f36ad6886d2 [2021-06-30T20:22:45.357Z] Step 12/25 : RUN $MAKE [2021-06-30T20:22:45.357Z] ---> Running in 99e3ebf7b278 [2021-06-30T20:22:45.626Z] go mod tidy [2021-06-30T20:22:45.895Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-30T20:22:58.195Z] Removing intermediate container 99e3ebf7b278 [2021-06-30T20:22:58.195Z] ---> a2e6468b9555 [2021-06-30T20:22:58.195Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T20:22:58.195Z] 3.12: Pulling from library/alpine [2021-06-30T20:22:58.195Z] 339de151aab4: Pulling fs layer [2021-06-30T20:22:58.195Z] 339de151aab4: Verifying Checksum [2021-06-30T20:22:58.195Z] 339de151aab4: Download complete [2021-06-30T20:22:58.195Z] 339de151aab4: Pull complete [2021-06-30T20:22:58.195Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T20:22:58.195Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T20:22:58.195Z] ---> 13621d1b12d4 [2021-06-30T20:22:58.195Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T20:22:58.195Z] ---> Running in 1d0e2fc4d2ec [2021-06-30T20:22:58.195Z] Removing intermediate container 1d0e2fc4d2ec [2021-06-30T20:22:58.195Z] ---> 9a49cb1adb74 [2021-06-30T20:22:58.195Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T20:22:58.195Z] ---> Running in be7e97bf2e98 [2021-06-30T20:22:58.195Z] Removing intermediate container be7e97bf2e98 [2021-06-30T20:22:58.195Z] ---> e9b9f6c6abb9 [2021-06-30T20:22:58.195Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T20:22:58.195Z] ---> Running in 19cdbec454b4 [2021-06-30T20:22:58.195Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-30T20:22:58.195Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-30T20:22:58.195Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T20:22:58.195Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T20:22:58.195Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T20:22:58.195Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T20:22:58.195Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T20:22:58.457Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T20:22:58.457Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T20:22:58.457Z] OK: 8 MiB in 20 packages [2021-06-30T20:22:58.725Z] Removing intermediate container 19cdbec454b4 [2021-06-30T20:22:58.725Z] ---> 129f7ff7f8f9 [2021-06-30T20:22:58.725Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T20:22:58.990Z] ---> fe89d56832da [2021-06-30T20:22:58.990Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T20:22:59.251Z] ---> 29ccda82ec60 [2021-06-30T20:22:59.251Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T20:22:59.517Z] ---> 27d1ce140982 [2021-06-30T20:22:59.517Z] Step 20/25 : EXPOSE 59986 [2021-06-30T20:22:59.517Z] ---> Running in a3e4226a1a1b [2021-06-30T20:22:59.517Z] Removing intermediate container a3e4226a1a1b [2021-06-30T20:22:59.517Z] ---> 3a26d9e09cca [2021-06-30T20:22:59.517Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T20:22:59.517Z] ---> Running in 045974cc209b [2021-06-30T20:22:59.517Z] Removing intermediate container 045974cc209b [2021-06-30T20:22:59.517Z] ---> 72044661e0a8 [2021-06-30T20:22:59.517Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T20:22:59.517Z] ---> Running in d47928309f88 [2021-06-30T20:22:59.783Z] Removing intermediate container d47928309f88 [2021-06-30T20:22:59.783Z] ---> 636550bf5a17 [2021-06-30T20:22:59.783Z] Step 23/25 : LABEL arch=amd64 [2021-06-30T20:22:59.783Z] ---> Running in 491364e3c7ec [2021-06-30T20:22:59.783Z] Removing intermediate container 491364e3c7ec [2021-06-30T20:22:59.783Z] ---> a7f537ac76b1 [2021-06-30T20:22:59.783Z] Step 24/25 : LABEL git_sha=a7143f809de06213dd52eb511ad6c8339cd540f7 [2021-06-30T20:22:59.783Z] ---> Running in 3e52c9a53edc [2021-06-30T20:23:00.045Z] Removing intermediate container 3e52c9a53edc [2021-06-30T20:23:00.045Z] ---> 18b2d3ba6462 [2021-06-30T20:23:00.045Z] Step 25/25 : LABEL version=0.0.0 [2021-06-30T20:23:00.045Z] ---> Running in fc67868b773b [2021-06-30T20:23:00.045Z] Removing intermediate container fc67868b773b [2021-06-30T20:23:00.045Z] ---> 0389e9076b18 [2021-06-30T20:23:00.045Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T20:23:00.045Z] Successfully built 0389e9076b18 [2021-06-30T20:23:00.045Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:23:01.141Z] ---> job-cost.sh [2021-06-30T20:23:01.141Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MXlR [2021-06-30T20:23:11.178Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T20:23:15.992Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T20:23:19.409Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-06-30T20:23:19.409Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T20:23:23.457Z] lf-activate-venv(): INFO: Adding /tmp/venv-MXlR/bin to PATH [2021-06-30T20:23:23.457Z] INFO: No Stack... [2021-06-30T20:23:24.401Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T20:23:24.662Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T20:23:24.964Z] + cat /w/workspace/device-rest-go/6/archives/cost.csv [2021-06-30T20:23:24.964Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T20:23:24.994Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-6-stack-cost] [2021-06-30T20:23:25.014Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-6-stack-cost] did not exist. Created. [2021-06-30T20:23:25.014Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T20:23:25.348Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-30T20:23:25.419Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T20:23:25.429Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T20:23:46.252Z] gofmt -l . [2021-06-30T20:23:46.252Z] [ "`gofmt -l .`" = "" ] [2021-06-30T20:23:46.252Z] ./bin/test-go-mod-tidy.sh [2021-06-30T20:23:46.252Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T20:23:46.547Z] $ docker stop --time=1 acac25f3ba3e2285750c0af77e1b0bf5715779e9534a59c143c69b19505b5b22 [2021-06-30T20:23:48.541Z] $ docker rm -f acac25f3ba3e2285750c0af77e1b0bf5715779e9534a59c143c69b19505b5b22 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T20:23:49.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T20:23:49.421Z] Warning: overwriting stash ‘coverage-report’ [2021-06-30T20:23:49.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T20:23:50.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T20:23:50.776Z] + ls -al . [2021-06-30T20:23:50.776Z] total 140 [2021-06-30T20:23:50.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 20:23 . [2021-06-30T20:23:50.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 20:20 .. [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 30 20:20 .dockerignore [2021-06-30T20:23:50.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 20:20 .git [2021-06-30T20:23:50.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:20 .github [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 30 20:20 .gitignore [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 30 20:20 Attribution.txt [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 30 20:20 CHANGELOG.md [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 30 20:20 Dockerfile [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 30 20:20 Dockerfile.build [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 30 20:20 Jenkinsfile [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 20:20 LICENSE [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 30 20:20 Makefile [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 30 20:20 README.md [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 20:18 VERSION [2021-06-30T20:23:50.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:20 bin [2021-06-30T20:23:50.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 20:20 cmd [2021-06-30T20:23:50.776Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 30 20:23 coverage.out [2021-06-30T20:23:50.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 20:20 driver [2021-06-30T20:23:50.776Z] -rw-r--r-- 1 jenkins jenkins 271 Jun 30 20:23 go.mod [2021-06-30T20:23:50.776Z] -rw-r--r-- 1 jenkins jenkins 20570 Jun 30 20:22 go.sum [2021-06-30T20:23:50.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 20:20 snap [2021-06-30T20:23:50.776Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 30 20:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:23:51.116Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a7143f809de06213dd52eb511ad6c8339cd540f7 --label arch=arm64 --label version=0.0.0 . [2021-06-30T20:23:51.116Z] Sending build context to Docker daemon 126kB [2021-06-30T20:23:51.390Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T20:23:51.390Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T20:23:51.390Z] ---> 078ca344037d [2021-06-30T20:23:51.390Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T20:23:51.665Z] ---> Running in 8fca2b6da51d [2021-06-30T20:23:52.263Z] Removing intermediate container 8fca2b6da51d [2021-06-30T20:23:52.263Z] ---> 9adcb2c96984 [2021-06-30T20:23:52.263Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T20:23:52.263Z] ---> Running in 49fed4894ae8 [2021-06-30T20:23:52.863Z] Removing intermediate container 49fed4894ae8 [2021-06-30T20:23:52.863Z] ---> 562c1040f5fb [2021-06-30T20:23:52.863Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T20:23:52.863Z] ---> Running in 7cccf6724fb0 [2021-06-30T20:23:53.458Z] Removing intermediate container 7cccf6724fb0 [2021-06-30T20:23:53.458Z] ---> 9c6084f81e56 [2021-06-30T20:23:53.458Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T20:23:53.458Z] ---> Running in 8876f68bd8cf [2021-06-30T20:23:57.396Z] Removing intermediate container 8876f68bd8cf [2021-06-30T20:23:57.397Z] ---> 637fcd7cba02 [2021-06-30T20:23:57.397Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T20:23:57.397Z] ---> Running in 73a331ab3732 [2021-06-30T20:23:57.397Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T20:23:58.032Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T20:23:58.624Z] OK: 144 MiB in 49 packages [2021-06-30T20:23:59.604Z] Removing intermediate container 73a331ab3732 [2021-06-30T20:23:59.604Z] ---> 2d49511d4ddf [2021-06-30T20:23:59.604Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T20:23:59.877Z] ---> Running in 8aacb21907dc [2021-06-30T20:24:00.481Z] Removing intermediate container 8aacb21907dc [2021-06-30T20:24:00.481Z] ---> 9e3093f57099 [2021-06-30T20:24:00.481Z] Step 9/25 : COPY . . [2021-06-30T20:24:01.075Z] ---> 7f031f3363a3 [2021-06-30T20:24:01.075Z] Step 10/25 : RUN go mod tidy [2021-06-30T20:24:01.360Z] ---> Running in f6079c22ffa2 [2021-06-30T20:24:03.981Z] Removing intermediate container f6079c22ffa2 [2021-06-30T20:24:03.981Z] ---> 5b35548b18d9 [2021-06-30T20:24:03.981Z] Step 11/25 : RUN make update [2021-06-30T20:24:04.251Z] ---> Running in a5e4cf4c4d5d [2021-06-30T20:24:05.227Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T20:24:06.655Z] Removing intermediate container a5e4cf4c4d5d [2021-06-30T20:24:06.655Z] ---> 8ae61f031401 [2021-06-30T20:24:06.655Z] Step 12/25 : RUN $MAKE [2021-06-30T20:24:06.655Z] ---> Running in 70fcec50b280 [2021-06-30T20:24:07.636Z] go mod tidy [2021-06-30T20:24:08.238Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-30T20:24:47.254Z] Removing intermediate container 70fcec50b280 [2021-06-30T20:24:47.254Z] ---> 1726321257cf [2021-06-30T20:24:47.254Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T20:24:47.254Z] 3.12: Pulling from library/alpine [2021-06-30T20:24:47.254Z] d2f70382dc9a: Pulling fs layer [2021-06-30T20:24:47.254Z] d2f70382dc9a: Verifying Checksum [2021-06-30T20:24:47.254Z] d2f70382dc9a: Download complete [2021-06-30T20:24:47.254Z] d2f70382dc9a: Pull complete [2021-06-30T20:24:47.254Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T20:24:47.254Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T20:24:47.254Z] ---> c4fd0aeabfcf [2021-06-30T20:24:47.254Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T20:24:47.254Z] ---> Running in e262ee3a6a11 [2021-06-30T20:24:47.254Z] Removing intermediate container e262ee3a6a11 [2021-06-30T20:24:47.254Z] ---> 5f521385887e [2021-06-30T20:24:47.254Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T20:24:47.254Z] ---> Running in e16f579cdd6e [2021-06-30T20:24:47.254Z] Removing intermediate container e16f579cdd6e [2021-06-30T20:24:47.254Z] ---> 90caccbb8999 [2021-06-30T20:24:47.255Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T20:24:47.255Z] ---> Running in 8cacbcd1dbfc [2021-06-30T20:24:47.255Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-30T20:24:47.255Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-30T20:24:47.255Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T20:24:47.255Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T20:24:47.255Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T20:24:47.255Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T20:24:47.255Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T20:24:47.255Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T20:24:47.255Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T20:24:47.255Z] OK: 8 MiB in 20 packages [2021-06-30T20:24:48.685Z] Removing intermediate container 8cacbcd1dbfc [2021-06-30T20:24:48.685Z] ---> 94062d5776e3 [2021-06-30T20:24:48.685Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T20:24:49.664Z] ---> 8025e386277c [2021-06-30T20:24:49.664Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T20:24:50.645Z] ---> 087698fac81c [2021-06-30T20:24:50.645Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T20:24:51.239Z] ---> 66d0cdf2ae62 [2021-06-30T20:24:51.239Z] Step 20/25 : EXPOSE 59986 [2021-06-30T20:24:51.512Z] ---> Running in bd2ac68ba48a [2021-06-30T20:24:51.788Z] Removing intermediate container bd2ac68ba48a [2021-06-30T20:24:51.788Z] ---> 7c407c63e3ef [2021-06-30T20:24:51.788Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T20:24:52.063Z] ---> Running in fb362d7d795c [2021-06-30T20:24:52.657Z] Removing intermediate container fb362d7d795c [2021-06-30T20:24:52.657Z] ---> 03b6dad67f03 [2021-06-30T20:24:52.657Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T20:24:52.657Z] ---> Running in f38fcac44133 [2021-06-30T20:24:53.257Z] Removing intermediate container f38fcac44133 [2021-06-30T20:24:53.257Z] ---> 9cf077b72871 [2021-06-30T20:24:53.257Z] Step 23/25 : LABEL arch=arm64 [2021-06-30T20:24:53.257Z] ---> Running in 6fbfc92c8426 [2021-06-30T20:24:53.853Z] Removing intermediate container 6fbfc92c8426 [2021-06-30T20:24:53.853Z] ---> 05179031c475 [2021-06-30T20:24:53.853Z] Step 24/25 : LABEL git_sha=a7143f809de06213dd52eb511ad6c8339cd540f7 [2021-06-30T20:24:53.853Z] ---> Running in 699ce6d70d58 [2021-06-30T20:24:54.447Z] Removing intermediate container 699ce6d70d58 [2021-06-30T20:24:54.447Z] ---> ed7a72080f64 [2021-06-30T20:24:54.447Z] Step 25/25 : LABEL version=0.0.0 [2021-06-30T20:24:54.447Z] ---> Running in 90c7b4b321e1 [2021-06-30T20:24:55.040Z] Removing intermediate container 90c7b4b321e1 [2021-06-30T20:24:55.040Z] ---> 4b2b919810a9 [2021-06-30T20:24:55.040Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T20:24:55.040Z] Successfully built 4b2b919810a9 [2021-06-30T20:24:55.040Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:24:55.667Z] ---> job-cost.sh [2021-06-30T20:24:55.667Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UDN4 [2021-06-30T20:25:34.639Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T20:27:11.394Z] lf-activate-venv(): INFO: Adding /tmp/venv-UDN4/bin to PATH [2021-06-30T20:27:11.394Z] INFO: No Stack... [2021-06-30T20:27:11.394Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-30T20:27:11.394Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T20:27:11.741Z] + cat /w/workspace/device-rest-go/6/archives/cost.csv [2021-06-30T20:27:11.741Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T20:27:11.806Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-6-stack-cost] [2021-06-30T20:27:11.815Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-6-stack-cost] did not exist. Created. [2021-06-30T20:27:11.815Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T20:27:12.188Z] /w/workspace/device-rest-go/6@tmp/durable-7bf3d7ac/script.sh: 1: /w/workspace/device-rest-go/6@tmp/durable-7bf3d7ac/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-30T20:27:12.530Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-30T20:27:12.568Z] Warning: overwriting stash ‘stack-cost’ [2021-06-30T20:27:12.714Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T20:27:12.741Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-6-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-30T20:27:13.796Z] provisioning config files... [2021-06-30T20:27:13.807Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config3109554192536204537tmp [Pipeline] { [Pipeline] sh [2021-06-30T20:27:14.143Z] + set +x [2021-06-30T20:27:14.143Z] + curl -s https://codecov.io/bash [2021-06-30T20:27:14.143Z] + bash -s -- [2021-06-30T20:27:14.143Z] [2021-06-30T20:27:14.143Z] _____ _ [2021-06-30T20:27:14.143Z] / ____| | | [2021-06-30T20:27:14.143Z] | | ___ __| | ___ ___ _____ __ [2021-06-30T20:27:14.143Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-30T20:27:14.143Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-30T20:27:14.143Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-30T20:27:14.143Z] Bash-1.0.3 [2021-06-30T20:27:14.143Z] [2021-06-30T20:27:14.143Z] [2021-06-30T20:27:14.143Z] ==> git version 2.24.4 found [2021-06-30T20:27:14.143Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-30T20:27:14.143Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-30T20:27:14.143Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-30T20:27:14.143Z] ==> Jenkins CI detected. [2021-06-30T20:27:14.143Z] project root: . [2021-06-30T20:27:14.143Z] --> token set from env [2021-06-30T20:27:14.416Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-30T20:27:14.416Z] ==> Running gcov in . (disable via -X gcov) [2021-06-30T20:27:14.416Z] ==> Python coveragepy not found [2021-06-30T20:27:14.416Z] ==> Searching for coverage reports in: [2021-06-30T20:27:14.416Z] + . [2021-06-30T20:27:14.416Z] -> Found 1 reports [2021-06-30T20:27:14.416Z] ==> Detecting git/mercurial file structure [2021-06-30T20:27:14.416Z] ==> Reading reports [2021-06-30T20:27:14.416Z] + ./coverage.out bytes=8513 [2021-06-30T20:27:14.416Z] ==> Appending adjustments [2021-06-30T20:27:14.416Z] https://docs.codecov.io/docs/fixing-reports [2021-06-30T20:27:14.416Z] + Found adjustments [2021-06-30T20:27:14.416Z] ==> Gzipping contents [2021-06-30T20:27:14.416Z] 4.0K /tmp/codecov.3QYpde.gz [2021-06-30T20:27:14.416Z] ==> Uploading reports [2021-06-30T20:27:14.416Z] url: https://codecov.io [2021-06-30T20:27:14.416Z] query: branch=PR-127&commit=a7143f809de06213dd52eb511ad6c8339cd540f7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-127%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=127&job=&cmd_args= [2021-06-30T20:27:14.416Z] -> Pinging Codecov [2021-06-30T20:27:14.416Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-127&commit=a7143f809de06213dd52eb511ad6c8339cd540f7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-127%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=127&job=&cmd_args= [2021-06-30T20:27:14.991Z] -> Uploading to [2021-06-30T20:27:14.991Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-30/4E5D53B4F1F92C436F7061BF334D961C/a7143f809de06213dd52eb511ad6c8339cd540f7/14600713-e453-4aef-aab4-aa75394ac703.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T202714Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3820e6fa45521b76f59749fc0d0b056ba1aaad76e56684a7b728f0d85319cde1 [2021-06-30T20:27:14.991Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-30T20:27:14.991Z] Dload Upload Total Spent Left Speed [2021-06-30T20:27:15.253Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1793 0 0 100 1793 0 4343 --:--:-- --:--:-- --:--:-- 4351 [2021-06-30T20:27:15.253Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a7143f809de06213dd52eb511ad6c8339cd540f7 [Pipeline] } [2021-06-30T20:27:15.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-30T20:27:17.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:27:17.651Z] ---> package-listing.sh [2021-06-30T20:27:17.651Z] ++ facter osfamily [2021-06-30T20:27:17.651Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-30T20:27:17.919Z] + OS_FAMILY=redhat [2021-06-30T20:27:17.919Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T20:27:17.919Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-30T20:27:17.919Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-30T20:27:17.919Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-30T20:27:17.919Z] + PACKAGES=/tmp/packages_start.txt [2021-06-30T20:27:17.919Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T20:27:17.919Z] + PACKAGES=/tmp/packages_end.txt [2021-06-30T20:27:17.919Z] + case "${OS_FAMILY}" in [2021-06-30T20:27:17.919Z] + rpm -qa [2021-06-30T20:27:17.919Z] + sort [2021-06-30T20:27:18.494Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-30T20:27:18.494Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-30T20:27:18.494Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-30T20:27:18.494Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T20:27:18.494Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [2021-06-30T20:27:18.494Z] + 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-30T20:27:18.510Z] 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-30T20:27:18.806Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:27:21.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T20:27:21.812Z] [2021-06-30T20:27:21.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-30T20:27:22.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T20:27:22.135Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-30T20:27:22.135Z] df20fa9351a1: Pulling fs layer [2021-06-30T20:27:22.135Z] 36b3adc4ff6f: Pulling fs layer [2021-06-30T20:27:22.135Z] 8ad3a11d3b57: Pulling fs layer [2021-06-30T20:27:22.135Z] 46f8f816bc3b: Pulling fs layer [2021-06-30T20:27:22.135Z] 93b61091891f: Pulling fs layer [2021-06-30T20:27:22.135Z] 93b9cdb0e59b: Pulling fs layer [2021-06-30T20:27:22.135Z] 5e14af77c1be: Pulling fs layer [2021-06-30T20:27:22.135Z] 01666e4c0597: Pulling fs layer [2021-06-30T20:27:22.135Z] aa168da1d23b: Pulling fs layer [2021-06-30T20:27:22.135Z] 93b9cdb0e59b: Waiting [2021-06-30T20:27:22.135Z] 5e14af77c1be: Waiting [2021-06-30T20:27:22.135Z] 01666e4c0597: Waiting [2021-06-30T20:27:22.135Z] aa168da1d23b: Waiting [2021-06-30T20:27:22.135Z] 46f8f816bc3b: Waiting [2021-06-30T20:27:22.135Z] 93b61091891f: Waiting [2021-06-30T20:27:22.135Z] 36b3adc4ff6f: Verifying Checksum [2021-06-30T20:27:22.135Z] 36b3adc4ff6f: Download complete [2021-06-30T20:27:22.135Z] 46f8f816bc3b: Verifying Checksum [2021-06-30T20:27:22.135Z] 46f8f816bc3b: Download complete [2021-06-30T20:27:22.396Z] df20fa9351a1: Verifying Checksum [2021-06-30T20:27:22.396Z] df20fa9351a1: Download complete [2021-06-30T20:27:22.396Z] 93b9cdb0e59b: Verifying Checksum [2021-06-30T20:27:22.396Z] 93b9cdb0e59b: Download complete [2021-06-30T20:27:22.396Z] 93b61091891f: Verifying Checksum [2021-06-30T20:27:22.396Z] 93b61091891f: Download complete [2021-06-30T20:27:22.396Z] 5e14af77c1be: Verifying Checksum [2021-06-30T20:27:22.396Z] 5e14af77c1be: Download complete [2021-06-30T20:27:22.396Z] 01666e4c0597: Verifying Checksum [2021-06-30T20:27:22.396Z] 01666e4c0597: Download complete [2021-06-30T20:27:22.659Z] df20fa9351a1: Pull complete [2021-06-30T20:27:22.659Z] 36b3adc4ff6f: Pull complete [2021-06-30T20:27:22.921Z] 8ad3a11d3b57: Verifying Checksum [2021-06-30T20:27:22.921Z] 8ad3a11d3b57: Download complete [2021-06-30T20:27:23.185Z] 8ad3a11d3b57: Pull complete [2021-06-30T20:27:23.445Z] 46f8f816bc3b: Pull complete [2021-06-30T20:27:23.706Z] 93b61091891f: Pull complete [2021-06-30T20:27:23.706Z] 93b9cdb0e59b: Pull complete [2021-06-30T20:27:23.706Z] 5e14af77c1be: Pull complete [2021-06-30T20:27:23.969Z] 01666e4c0597: Pull complete [2021-06-30T20:27:24.544Z] aa168da1d23b: Verifying Checksum [2021-06-30T20:27:24.544Z] aa168da1d23b: Download complete [2021-06-30T20:27:28.773Z] aa168da1d23b: Pull complete [2021-06-30T20:27:28.773Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-30T20:27:28.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T20:27:28.773Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-30T20:27:28.855Z] prd-centos7-docker-4c-2g-1005 does not seem to be running inside a container [2021-06-30T20:27:28.907Z] $ 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-30T20:27:30.701Z] $ docker top adec2c945222fa90751b845a0db1dac7170fa18e78b25719c918867690350c18 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T20:27:31.094Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-30T20:27:31.392Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-30T20:27:31.693Z] + ls /var/log/sa-host [2021-06-30T20:27:31.693Z] + sadf -c /var/log/sa-host/sa05 [2021-06-30T20:27:31.693Z] file_magic: OK [2021-06-30T20:27:31.693Z] HZ: Using current value: 100 [2021-06-30T20:27:31.693Z] file_header: OK [2021-06-30T20:27:31.693Z] 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-30T20:27:31.693Z] Statistics: [2021-06-30T20:27:31.693Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T20:27:31.693Z] File successfully converted to sysstat format version 12.2.1 [2021-06-30T20:27:31.693Z] + sadf -c /var/log/sa-host/sa30 [2021-06-30T20:27:31.693Z] file_magic: OK [2021-06-30T20:27:31.693Z] HZ: Using current value: 100 [2021-06-30T20:27:31.693Z] file_header: OK [2021-06-30T20:27:31.693Z] 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-30T20:27:31.693Z] Statistics: [2021-06-30T20:27:31.693Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T20:27:31.693Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T20:27:32.447Z] provisioning config files... [2021-06-30T20:27:32.462Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config359697167200914882tmp [Pipeline] { [Pipeline] echo [2021-06-30T20:27:32.487Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:27:32.787Z] ---> create-netrc.sh [Pipeline] } [2021-06-30T20:27:32.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:27:33.247Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-30T20:27:33.260Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:27:33.567Z] ---> sudo-logs.sh [2021-06-30T20:27:33.567Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-30T20:27:33.601Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:27:33.898Z] ---> job-cost.sh [2021-06-30T20:27:33.898Z] lf-activate-venv: SKIPPING [2021-06-30T20:27:33.898Z] DEBUG: total: 0.18000000715255737 [2021-06-30T20:27:33.898Z] INFO: Retrieving Stack Cost... [2021-06-30T20:27:34.842Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T20:27:35.106Z] INFO: Archiving Costs [Pipeline] echo [2021-06-30T20:27:35.119Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T20:27:35.428Z] ---> logs-deploy.sh [2021-06-30T20:27:35.428Z] lf-activate-venv: SKIPPING [2021-06-30T20:27:35.428Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-127/6 [2021-06-30T20:27:35.428Z] INFO: archiving workspace using pattern(s): [2021-06-30T20:27:36.380Z] Archives upload complete. [2021-06-30T20:27:36.380Z] INFO: archiving logs to Nexus