Pull request #123 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 cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 167ba7bbb3247afb563485bd7b4f7b97420136fd+acb551efcb6a1b4088edd326f55b17ef654f475f (ae161787e891e849cde7b6c9028a5abbefc7867e) 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-ssh4589458973870426520.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-ssh8929473621437491164.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-123/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-123/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4617242119017950123.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-ssh8766383021236421681.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-123/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-123/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5542067760964213133.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-317 in /w/workspace/gexfoundry_device-rest-go_PR-123 [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-123 # 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-123@tmp/jenkins-gitclient-ssh8709574291233090354.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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-123@tmp/jenkins-gitclient-ssh8011838931997175427.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 167ba7bbb3247afb563485bd7b4f7b97420136fd Merge succeeded, producing 7d952399c06f8ce862280b8cc1aca357dea063c8 Checking out Revision 7d952399c06f8ce862280b8cc1aca357dea063c8 (PR-123) > git config core.sparsecheckout # timeout=10 > git checkout -f 167ba7bbb3247afb563485bd7b4f7b97420136fd # 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-123@tmp/jenkins-gitclient-ssh4670057980589208261.key > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7d952399c06f8ce862280b8cc1aca357dea063c8 # timeout=10 Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-27T07:04:34.686Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-27T07:04:34.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-27T07:04:34.819Z] ========================================================= [2021-06-27T07:04:34.819Z] EdgeX Global Pipelines Version Info [2021-06-27T07:04:34.820Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b669b1c72522a8c032fa974aa33a11710e5fdc48 # timeout=10 [2021-06-27T07:04:36.325Z] ------------------- [2021-06-27T07:04:36.325Z] stable info: [2021-06-27T07:04:36.325Z] ------------------- [2021-06-27T07:04:36.325Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-27T07:04:36.325Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:04:36.325Z] Message: update stable to v1.0.195 [2021-06-27T07:04:36.898Z] ------------------- [2021-06-27T07:04:36.898Z] experimental info: [2021-06-27T07:04:36.898Z] ------------------- [2021-06-27T07:04:36.898Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-27T07:04:36.898Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:04:36.898Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-27T07:04:37.026Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-27T07:04:37.051Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-27T07:04:37.075Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-27T07:04:37.097Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-27T07:04:37.120Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-27T07:04:37.144Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-27T07:04:37.166Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-27T07:04:37.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-27T07:04:37.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-27T07:04:37.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-27T07:04:37.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-27T07:04:37.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-27T07:04:37.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-27T07:04:37.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-27T07:04:37.358Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:04:37.382Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:04:37.407Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:04:37.431Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:04:37.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-27T07:04:37.478Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-27T07:04:37.502Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-27T07:04:37.525Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-27T07:04:37.551Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-27T07:04:37.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-27T07:04:37.596Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-27T07:04:37.619Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-27T07:04:37.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo [2021-06-27T07:04:37.664Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo [2021-06-27T07:04:37.686Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo [2021-06-27T07:04:37.709Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d952399c06f8ce862280b8cc1aca357dea063c8 [Pipeline] echo [2021-06-27T07:04:37.731Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d95239 [Pipeline] echo [2021-06-27T07:04:37.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:04:37.833Z] provisioning config files... [2021-06-27T07:04:37.851Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config753104844321722865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:04:38.171Z] ---> docker-login.sh [2021-06-27T07:04:38.171Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:04:38.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:04:38.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:04:38.431Z] Configure a credential helper to remove this warning. See [2021-06-27T07:04:38.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:04:38.431Z] [2021-06-27T07:04:38.431Z] Login Succeeded [2021-06-27T07:04:38.431Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:04:38.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:04:38.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:04:38.431Z] Configure a credential helper to remove this warning. See [2021-06-27T07:04:38.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:04:38.431Z] [2021-06-27T07:04:38.431Z] Login Succeeded [2021-06-27T07:04:38.431Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:04:38.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:04:38.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:04:38.697Z] Configure a credential helper to remove this warning. See [2021-06-27T07:04:38.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:04:38.697Z] [2021-06-27T07:04:38.697Z] Login Succeeded [2021-06-27T07:04:38.697Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:04:38.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:04:38.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:04:38.697Z] Configure a credential helper to remove this warning. See [2021-06-27T07:04:38.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:04:38.697Z] [2021-06-27T07:04:38.697Z] Login Succeeded [2021-06-27T07:04:38.697Z] docker.io [2021-06-27T07:04:38.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:04:39.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:04:39.226Z] Configure a credential helper to remove this warning. See [2021-06-27T07:04:39.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:04:39.226Z] [2021-06-27T07:04:39.226Z] Login Succeeded [2021-06-27T07:04:39.226Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:04:39.235Z] 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-27T07:04:39.763Z] + git log --format=format:%s -1 7d952399c06f8ce862280b8cc1aca357dea063c8 [Pipeline] echo [2021-06-27T07:04:39.801Z] GIT_COMMIT: 7d952399c06f8ce862280b8cc1aca357dea063c8, Commit Message: Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD [Pipeline] echo [2021-06-27T07:04:39.815Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:04:40.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:04:40.407Z] [2021-06-27T07:04:40.407Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:04:40.721Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:04:40.721Z] latest: Pulling from edgex-devops/git-semver [2021-06-27T07:04:40.721Z] 31603596830f: Pulling fs layer [2021-06-27T07:04:40.721Z] 54011a49482f: Pulling fs layer [2021-06-27T07:04:40.721Z] a6820b24f6d8: Pulling fs layer [2021-06-27T07:04:40.721Z] f581987b2513: Pulling fs layer [2021-06-27T07:04:40.721Z] f581987b2513: Waiting [2021-06-27T07:04:40.721Z] 54011a49482f: Verifying Checksum [2021-06-27T07:04:40.721Z] 54011a49482f: Download complete [2021-06-27T07:04:40.721Z] 31603596830f: Verifying Checksum [2021-06-27T07:04:40.721Z] 31603596830f: Download complete [2021-06-27T07:04:40.983Z] f581987b2513: Verifying Checksum [2021-06-27T07:04:40.983Z] f581987b2513: Download complete [2021-06-27T07:04:40.983Z] a6820b24f6d8: Verifying Checksum [2021-06-27T07:04:40.983Z] a6820b24f6d8: Download complete [2021-06-27T07:04:40.983Z] 31603596830f: Pull complete [2021-06-27T07:04:41.247Z] 54011a49482f: Pull complete [2021-06-27T07:04:41.823Z] a6820b24f6d8: Pull complete [2021-06-27T07:04:41.823Z] f581987b2513: Pull complete [2021-06-27T07:04:41.823Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-27T07:04:41.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:04:41.823Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-27T07:04:41.908Z] prd-centos7-docker-4c-2g-317 does not seem to be running inside a container [2021-06-27T07:04:41.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-123 -v /w/workspace/gexfoundry_device-rest-go_PR-123:/w/workspace/gexfoundry_device-rest-go_PR-123:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-123@tmp:/w/workspace/gexfoundry_device-rest-go_PR-123@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-27T07:04:42.757Z] $ docker top 8bfa0a3e274c8d264437b29c418895d5f18c9e0be92d2008d98e274bb7d5a4ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-27T07:04:42.920Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:04:42.920Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:04:43.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:04:43.033Z] $ docker exec 8bfa0a3e274c8d264437b29c418895d5f18c9e0be92d2008d98e274bb7d5a4ce ssh-agent [2021-06-27T07:04:43.152Z] SSH_AUTH_SOCK=/tmp/ssh-Zmj0HQFOPNsz/agent.13 [2021-06-27T07:04:43.152Z] SSH_AGENT_PID=20 [2021-06-27T07:04:43.160Z] Running ssh-add (command line suppressed) [2021-06-27T07:04:43.249Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_3813840750265063926.key (/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_3813840750265063926.key) [2021-06-27T07:04:43.269Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:04:43.570Z] + git tag --points-at HEAD [Pipeline] } [2021-06-27T07:04:43.591Z] $ docker exec --env ******** --env ******** 8bfa0a3e274c8d264437b29c418895d5f18c9e0be92d2008d98e274bb7d5a4ce ssh-agent -k [2021-06-27T07:04:43.687Z] unset SSH_AUTH_SOCK; [2021-06-27T07:04:43.688Z] unset SSH_AGENT_PID; [2021-06-27T07:04:43.688Z] echo Agent pid 20 killed; [2021-06-27T07:04:43.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-27T07:04:43.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:04:43.740Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:04:43.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:04:43.848Z] $ docker exec 8bfa0a3e274c8d264437b29c418895d5f18c9e0be92d2008d98e274bb7d5a4ce ssh-agent [2021-06-27T07:04:43.954Z] SSH_AUTH_SOCK=/tmp/ssh-cHSp8iX1YrEC/agent.56 [2021-06-27T07:04:43.954Z] SSH_AGENT_PID=63 [2021-06-27T07:04:43.959Z] Running ssh-add (command line suppressed) [2021-06-27T07:04:44.061Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_1708798359727262767.key (/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_1708798359727262767.key) [2021-06-27T07:04:44.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:04:44.388Z] + git semver init [2021-06-27T07:04:44.388Z] # -> Open(): unable to determine branch for HEAD [2021-06-27T07:04:44.388Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-123/.git [2021-06-27T07:04:44.388Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-123 [2021-06-27T07:04:44.388Z] # $SEMVER_REMOTE_NAME = origin [2021-06-27T07:04:44.388Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-27T07:04:44.388Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-27T07:04:44.388Z] # $SEMVER_BRANCH = PR-123 [2021-06-27T07:04:44.388Z] # $SEMVER_TEMP = /tmp/semver-034089620 [2021-06-27T07:04:44.388Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-27T07:04:45.341Z] # '/tmp/semver-034089620' -> '/w/workspace/gexfoundry_device-rest-go_PR-123/.semver' [2021-06-27T07:04:45.341Z] # -> Force: false [2021-06-27T07:04:45.341Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-123/.semver [Pipeline] } [2021-06-27T07:04:45.353Z] $ docker exec --env ******** --env ******** 8bfa0a3e274c8d264437b29c418895d5f18c9e0be92d2008d98e274bb7d5a4ce ssh-agent -k [2021-06-27T07:04:45.450Z] unset SSH_AUTH_SOCK; [2021-06-27T07:04:45.451Z] unset SSH_AGENT_PID; [2021-06-27T07:04:45.451Z] echo Agent pid 63 killed; [2021-06-27T07:04:45.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-27T07:04:45.806Z] + git semver [Pipeline] } [2021-06-27T07:04:45.817Z] $ docker stop --time=1 8bfa0a3e274c8d264437b29c418895d5f18c9e0be92d2008d98e274bb7d5a4ce [2021-06-27T07:04:47.090Z] $ docker rm -f 8bfa0a3e274c8d264437b29c418895d5f18c9e0be92d2008d98e274bb7d5a4ce [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:04:47.463Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-27T07:04:47.725Z] Stashed 1 file(s) [Pipeline] echo [2021-06-27T07:04:47.729Z] [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-27T07:05:03.078Z] Still waiting to schedule task [2021-06-27T07:05:03.079Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-27T07:05:03.081Z] Still waiting to schedule task [2021-06-27T07:05:03.082Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:08:21.032Z] Running on prd-centos7-docker-4c-2g-320 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] ws [2021-06-27T07:08:21.052Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-06-27T07:08:21.166Z] The recommended git tool is: git [2021-06-27T07:08:23.506Z] using credential edgex-jenkins-ssh [2021-06-27T07:08:23.520Z] Cloning the remote Git repository [2021-06-27T07:08:23.362Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:08:23.427Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-06-27T07:08:23.459Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:08:23.459Z] > git --version # timeout=10 [2021-06-27T07:08:23.467Z] > git --version # 'git version 2.24.4' [2021-06-27T07:08:23.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:08:23.494Z] [INFO] Currently running in a labeled security context [2021-06-27T07:08:23.495Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:08:23.495Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh5038997653705423576.key [2021-06-27T07:08:23.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:08:25.026Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 167ba7bbb3247afb563485bd7b4f7b97420136fd [2021-06-27T07:08:25.138Z] Merge succeeded, producing 42c8cd1f89f4c595d376f946c2e4f1c87b875388 [2021-06-27T07:08:25.139Z] Checking out Revision 42c8cd1f89f4c595d376f946c2e4f1c87b875388 (PR-123) [2021-06-27T07:08:24.444Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:08:24.458Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:08:24.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:08:24.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:08:24.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:08:24.488Z] [INFO] Currently running in a labeled security context [2021-06-27T07:08:24.488Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:08:24.489Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh8584137397329948509.key [2021-06-27T07:08:24.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-27T07:08:24.982Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:08:24.993Z] > git checkout -f 167ba7bbb3247afb563485bd7b4f7b97420136fd # timeout=10 [2021-06-27T07:08:25.021Z] > git remote # timeout=10 [2021-06-27T07:08:25.027Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:08:25.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:08:25.036Z] [INFO] Currently running in a labeled security context [2021-06-27T07:08:25.036Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:08:25.036Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh1276590474669486038.key [2021-06-27T07:08:25.041Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-27T07:08:25.085Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:08:25.098Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:08:25.103Z] > git checkout -f 42c8cd1f89f4c595d376f946c2e4f1c87b875388 # timeout=10 [2021-06-27T07:08:28.690Z] Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" [2021-06-27T07:08:28.704Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:08:28.690Z] > git rev-list --no-walk b669b1c72522a8c032fa974aa33a11710e5fdc48 # timeout=10 [2021-06-27T07:08:29.829Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:08:30.152Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:08:30.449Z] + sudo service docker restart [2021-06-27T07:08:30.450Z] + true [2021-06-27T07:08:30.450Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:08:48.630Z] provisioning config files... [2021-06-27T07:08:48.649Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7869656050185137706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:08:48.989Z] ---> docker-login.sh [2021-06-27T07:08:48.989Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:08:49.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:08:49.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:08:49.519Z] Configure a credential helper to remove this warning. See [2021-06-27T07:08:49.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:08:49.519Z] [2021-06-27T07:08:49.519Z] Login Succeeded [2021-06-27T07:08:49.519Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:08:49.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:08:49.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:08:49.519Z] Configure a credential helper to remove this warning. See [2021-06-27T07:08:49.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:08:49.519Z] [2021-06-27T07:08:49.519Z] Login Succeeded [2021-06-27T07:08:49.519Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:08:49.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:08:49.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:08:49.785Z] Configure a credential helper to remove this warning. See [2021-06-27T07:08:49.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:08:49.785Z] [2021-06-27T07:08:49.785Z] Login Succeeded [2021-06-27T07:08:49.785Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:08:49.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:08:49.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:08:49.785Z] Configure a credential helper to remove this warning. See [2021-06-27T07:08:49.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:08:49.785Z] [2021-06-27T07:08:49.785Z] Login Succeeded [2021-06-27T07:08:49.785Z] docker.io [2021-06-27T07:08:50.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:08:50.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:08:50.325Z] Configure a credential helper to remove this warning. See [2021-06-27T07:08:50.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:08:50.325Z] [2021-06-27T07:08:50.325Z] Login Succeeded [2021-06-27T07:08:50.325Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:08:50.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:08:50.505Z] ========================================================= [2021-06-27T07:08:50.505Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-27T07:08:50.505Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:08:50.824Z] + 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-27T07:08:50.824Z] Sending build context to Docker daemon 100.4kB [2021-06-27T07:08:50.824Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:08:50.824Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:08:51.091Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-27T07:08:51.091Z] 540db60ca938: Pulling fs layer [2021-06-27T07:08:51.091Z] adcc1eea9eea: Pulling fs layer [2021-06-27T07:08:51.091Z] 4c4ab2625f07: Pulling fs layer [2021-06-27T07:08:51.091Z] 0510c868ecb4: Pulling fs layer [2021-06-27T07:08:51.091Z] afea3b2eda06: Pulling fs layer [2021-06-27T07:08:51.091Z] 7809a108b3ef: Pulling fs layer [2021-06-27T07:08:51.091Z] f706445af74f: Pulling fs layer [2021-06-27T07:08:51.091Z] afea3b2eda06: Waiting [2021-06-27T07:08:51.091Z] 7809a108b3ef: Waiting [2021-06-27T07:08:51.091Z] f706445af74f: Waiting [2021-06-27T07:08:51.091Z] 0510c868ecb4: Waiting [2021-06-27T07:08:51.091Z] 4c4ab2625f07: Verifying Checksum [2021-06-27T07:08:51.091Z] 4c4ab2625f07: Download complete [2021-06-27T07:08:51.091Z] adcc1eea9eea: Verifying Checksum [2021-06-27T07:08:51.091Z] adcc1eea9eea: Download complete [2021-06-27T07:08:51.091Z] afea3b2eda06: Verifying Checksum [2021-06-27T07:08:51.091Z] afea3b2eda06: Download complete [2021-06-27T07:08:51.091Z] 7809a108b3ef: Verifying Checksum [2021-06-27T07:08:51.091Z] 7809a108b3ef: Download complete [2021-06-27T07:08:51.091Z] 540db60ca938: Verifying Checksum [2021-06-27T07:08:51.091Z] 540db60ca938: Download complete [2021-06-27T07:08:51.352Z] 540db60ca938: Pull complete [2021-06-27T07:08:51.925Z] adcc1eea9eea: Pull complete [2021-06-27T07:08:51.925Z] 4c4ab2625f07: Pull complete [2021-06-27T07:08:55.236Z] f706445af74f: Verifying Checksum [2021-06-27T07:08:55.236Z] f706445af74f: Download complete [2021-06-27T07:08:55.236Z] 0510c868ecb4: Verifying Checksum [2021-06-27T07:08:55.236Z] 0510c868ecb4: Download complete [2021-06-27T07:08:56.547Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-319 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] ws [2021-06-27T07:08:56.566Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-06-27T07:08:56.762Z] The recommended git tool is: git [2021-06-27T07:08:58.552Z] 0510c868ecb4: Pull complete [2021-06-27T07:08:58.813Z] afea3b2eda06: Pull complete [2021-06-27T07:08:58.813Z] 7809a108b3ef: Pull complete [2021-06-27T07:09:00.208Z] f706445af74f: Pull complete [2021-06-27T07:09:00.208Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-27T07:09:00.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-27T07:09:00.468Z] ---> b068be0155e3 [2021-06-27T07:09:00.468Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:09:02.018Z] using credential edgex-jenkins-ssh [2021-06-27T07:09:02.039Z] Cloning the remote Git repository [2021-06-27T07:09:02.082Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:09:02.188Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-06-27T07:09:02.276Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:09:02.277Z] > git --version # timeout=10 [2021-06-27T07:09:02.292Z] > git --version # 'git version 2.17.1' [2021-06-27T07:09:02.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:09:02.377Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:09:03.895Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:09:03.912Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:09:03.932Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:09:03.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:09:03.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:09:03.976Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/123/head:refs/remotes/origin/PR-123 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-27T07:09:04.519Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 167ba7bbb3247afb563485bd7b4f7b97420136fd [2021-06-27T07:09:04.728Z] Merge succeeded, producing 0df52e22b84e248f35bdc836271b82f752d1d6ec [2021-06-27T07:09:04.729Z] Checking out Revision 0df52e22b84e248f35bdc836271b82f752d1d6ec (PR-123) [2021-06-27T07:09:04.528Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:09:04.540Z] > git checkout -f 167ba7bbb3247afb563485bd7b4f7b97420136fd # timeout=10 [2021-06-27T07:09:04.608Z] > git remote # timeout=10 [2021-06-27T07:09:04.626Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:09:04.643Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:09:04.654Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-27T07:09:04.709Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:09:04.729Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:09:04.742Z] > git checkout -f 0df52e22b84e248f35bdc836271b82f752d1d6ec # timeout=10 [2021-06-27T07:09:08.894Z] Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" [2021-06-27T07:09:08.923Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:09:08.899Z] > git rev-list --no-walk b669b1c72522a8c032fa974aa33a11710e5fdc48 # timeout=10 [2021-06-27T07:09:10.267Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:09:10.687Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:09:11.029Z] + sudo service docker restart [2021-06-27T07:09:11.029Z] + true [2021-06-27T07:09:12.710Z] ---> Running in 93e45c4d379c [2021-06-27T07:09:12.710Z] Removing intermediate container 93e45c4d379c [2021-06-27T07:09:12.710Z] ---> 486bdfe32017 [2021-06-27T07:09:12.710Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:09:12.710Z] ---> Running in ca6a061ed44f [2021-06-27T07:09:12.710Z] Removing intermediate container ca6a061ed44f [2021-06-27T07:09:12.710Z] ---> 80378571ff66 [2021-06-27T07:09:12.710Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:09:12.710Z] ---> Running in 3e070d47dafb [2021-06-27T07:09:12.710Z] Removing intermediate container 3e070d47dafb [2021-06-27T07:09:12.710Z] ---> 25219d3c515b [2021-06-27T07:09:12.710Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:09:12.710Z] ---> Running in 1ba71db7184b [2021-06-27T07:09:13.661Z] Removing intermediate container 1ba71db7184b [2021-06-27T07:09:13.662Z] ---> 74620824406b [2021-06-27T07:09:13.662Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:09:13.662Z] ---> Running in 4578c2a4593b [2021-06-27T07:09:13.924Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:09:14.870Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:09:15.462Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-27T07:09:15.462Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-27T07:09:15.462Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-27T07:09:15.462Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:09:15.725Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:09:15.725Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-27T07:09:15.725Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:09:16.300Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-27T07:09:16.301Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:09:16.301Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:09:16.301Z] OK: 154 MiB in 49 packages [2021-06-27T07:09:17.251Z] Removing intermediate container 4578c2a4593b [2021-06-27T07:09:17.251Z] ---> 3624f50b4b8f [2021-06-27T07:09:17.251Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-27T07:09:17.513Z] ---> Running in 54b4f3c20b01 [2021-06-27T07:09:17.774Z] Removing intermediate container 54b4f3c20b01 [2021-06-27T07:09:17.774Z] ---> bd4787746f6c [2021-06-27T07:09:17.774Z] Step 9/10 : COPY . . [2021-06-27T07:09:18.036Z] ---> e1b073faddbb [2021-06-27T07:09:18.036Z] Step 10/10 : RUN go mod download [2021-06-27T07:09:18.036Z] ---> Running in baab1c98165b [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:09:29.377Z] provisioning config files... [2021-06-27T07:09:29.402Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config7236686225229895709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:09:29.778Z] ---> docker-login.sh [2021-06-27T07:09:29.778Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:09:30.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:31.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:31.033Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:31.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:31.033Z] [2021-06-27T07:09:31.033Z] Login Succeeded [2021-06-27T07:09:31.033Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:09:31.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:31.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:31.579Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:31.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:31.579Z] [2021-06-27T07:09:31.579Z] Login Succeeded [2021-06-27T07:09:31.579Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:09:31.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:32.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:32.133Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:32.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:32.133Z] [2021-06-27T07:09:32.133Z] Login Succeeded [2021-06-27T07:09:32.133Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:09:32.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:32.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:32.680Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:32.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:32.680Z] [2021-06-27T07:09:32.680Z] Login Succeeded [2021-06-27T07:09:32.680Z] docker.io [2021-06-27T07:09:32.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:09:33.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:09:33.552Z] Configure a credential helper to remove this warning. See [2021-06-27T07:09:33.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:09:33.552Z] [2021-06-27T07:09:33.552Z] Login Succeeded [2021-06-27T07:09:33.552Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:09:33.569Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:09:33.881Z] ========================================================= [2021-06-27T07:09:33.881Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-27T07:09:33.881Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:09:34.234Z] + 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-27T07:09:34.234Z] Sending build context to Docker daemon 100.4kB [2021-06-27T07:09:34.508Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:09:34.508Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:09:34.783Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-27T07:09:34.783Z] 595b0fe564bb: Pulling fs layer [2021-06-27T07:09:34.783Z] 3088b5b3c5c0: Pulling fs layer [2021-06-27T07:09:34.783Z] 5b7225fbf94c: Pulling fs layer [2021-06-27T07:09:34.783Z] ba82ee9f976e: Pulling fs layer [2021-06-27T07:09:34.783Z] 506bd15cee9f: Pulling fs layer [2021-06-27T07:09:34.783Z] 75a0a4a0db45: Pulling fs layer [2021-06-27T07:09:34.783Z] 618dc40b7e24: Pulling fs layer [2021-06-27T07:09:34.783Z] 506bd15cee9f: Waiting [2021-06-27T07:09:34.783Z] ba82ee9f976e: Waiting [2021-06-27T07:09:34.783Z] 75a0a4a0db45: Waiting [2021-06-27T07:09:34.783Z] 618dc40b7e24: Waiting [2021-06-27T07:09:34.783Z] 5b7225fbf94c: Verifying Checksum [2021-06-27T07:09:34.783Z] 5b7225fbf94c: Download complete [2021-06-27T07:09:34.783Z] 3088b5b3c5c0: Verifying Checksum [2021-06-27T07:09:34.783Z] 3088b5b3c5c0: Download complete [2021-06-27T07:09:35.057Z] 506bd15cee9f: Verifying Checksum [2021-06-27T07:09:35.057Z] 506bd15cee9f: Download complete [2021-06-27T07:09:35.057Z] 75a0a4a0db45: Verifying Checksum [2021-06-27T07:09:35.057Z] 75a0a4a0db45: Download complete [2021-06-27T07:09:35.057Z] 595b0fe564bb: Verifying Checksum [2021-06-27T07:09:35.057Z] 595b0fe564bb: Download complete [2021-06-27T07:09:35.667Z] 595b0fe564bb: Pull complete [2021-06-27T07:09:36.184Z] Removing intermediate container baab1c98165b [2021-06-27T07:09:36.185Z] ---> b77dc7ee2d9e [2021-06-27T07:09:36.185Z] Successfully built b77dc7ee2d9e [2021-06-27T07:09:36.185Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:09:36.272Z] 3088b5b3c5c0: Pull complete [2021-06-27T07:09:36.493Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:09:36.494Z] . [Pipeline] withDockerContainer [2021-06-27T07:09:36.573Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-06-27T07:09:36.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-27T07:09:36.873Z] 5b7225fbf94c: Pull complete [2021-06-27T07:09:36.873Z] 618dc40b7e24: Download complete [2021-06-27T07:09:37.295Z] $ docker top 77967adfacd86d3fca366d0eb04fff7d88eb5bf4815da63fedd7039eb7ca9da6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:09:37.695Z] + go version [2021-06-27T07:09:37.695Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-27T07:09:37.703Z] $ docker stop --time=1 77967adfacd86d3fca366d0eb04fff7d88eb5bf4815da63fedd7039eb7ca9da6 [2021-06-27T07:09:38.303Z] ba82ee9f976e: Verifying Checksum [2021-06-27T07:09:38.303Z] ba82ee9f976e: Download complete [2021-06-27T07:09:38.901Z] $ docker rm -f 77967adfacd86d3fca366d0eb04fff7d88eb5bf4815da63fedd7039eb7ca9da6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:09:39.431Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:09:39.431Z] . [Pipeline] withDockerContainer [2021-06-27T07:09:39.511Z] prd-centos7-docker-4c-2g-320 does not seem to be running inside a container [2021-06-27T07:09:39.554Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-27T07:09:39.906Z] $ docker top b92a07b01f417cc0245789ee54518f38d7470add4e032ed0673130d82acb4d81 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:09:40.309Z] + go mod tidy [Pipeline] sh [2021-06-27T07:09:40.880Z] + make test [2021-06-27T07:09:40.880Z] go mod tidy [2021-06-27T07:09:40.880Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-27T07:09:41.469Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-27T07:09:48.490Z] ba82ee9f976e: Pull complete [2021-06-27T07:09:48.765Z] 506bd15cee9f: Pull complete [2021-06-27T07:09:49.041Z] 75a0a4a0db45: Pull complete [2021-06-27T07:09:53.376Z] 618dc40b7e24: Pull complete [2021-06-27T07:09:53.376Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-27T07:09:53.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-27T07:09:53.376Z] ---> a36622ca3599 [2021-06-27T07:09:53.376Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:09:53.985Z] ---> Running in 7d44e46f6316 [2021-06-27T07:09:54.589Z] Removing intermediate container 7d44e46f6316 [2021-06-27T07:09:54.589Z] ---> 593946ed9886 [2021-06-27T07:09:54.589Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:09:54.589Z] ---> Running in ea19921b3638 [2021-06-27T07:09:55.190Z] Removing intermediate container ea19921b3638 [2021-06-27T07:09:55.190Z] ---> 3a7182c8c23a [2021-06-27T07:09:55.190Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:09:55.190Z] ---> Running in 92985443c73a [2021-06-27T07:09:55.789Z] Removing intermediate container 92985443c73a [2021-06-27T07:09:55.789Z] ---> 33f96e96dd6c [2021-06-27T07:09:55.789Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:09:55.789Z] ---> Running in a55082909774 [2021-06-27T07:09:58.421Z] Removing intermediate container a55082909774 [2021-06-27T07:09:58.421Z] ---> aa29f3f1b050 [2021-06-27T07:09:58.421Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:09:58.421Z] ---> Running in df4bdf040308 [2021-06-27T07:09:59.409Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:09:59.680Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-27T07:09:59.680Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 54.0% of statements [2021-06-27T07:09:59.680Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:10:00.382Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:10:01.370Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-27T07:10:01.370Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-27T07:10:01.370Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-27T07:10:01.640Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:10:01.640Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:10:01.640Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-27T07:10:01.912Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:10:02.886Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-27T07:10:02.886Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:10:02.886Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:10:02.886Z] OK: 144 MiB in 49 packages [2021-06-27T07:10:04.328Z] Removing intermediate container df4bdf040308 [2021-06-27T07:10:04.328Z] ---> e303313ca066 [2021-06-27T07:10:04.328Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-27T07:10:04.601Z] ---> Running in 27b8f68df88b [2021-06-27T07:10:04.876Z] Removing intermediate container 27b8f68df88b [2021-06-27T07:10:04.876Z] ---> 4418059d81d8 [2021-06-27T07:10:04.876Z] Step 9/10 : COPY . . [2021-06-27T07:10:05.035Z] gofmt -l . [2021-06-27T07:10:05.035Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:10:05.035Z] ./bin/test-go-mod-tidy.sh [2021-06-27T07:10:05.035Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:10:05.043Z] $ docker stop --time=1 b92a07b01f417cc0245789ee54518f38d7470add4e032ed0673130d82acb4d81 [2021-06-27T07:10:05.866Z] ---> 9c28e1293853 [2021-06-27T07:10:05.866Z] Step 10/10 : RUN go mod download [2021-06-27T07:10:05.866Z] ---> Running in 4285c90a1b12 [2021-06-27T07:10:07.142Z] $ docker rm -f b92a07b01f417cc0245789ee54518f38d7470add4e032ed0673130d82acb4d81 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:10:07.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:10:07.856Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-27T07:10:08.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:10:09.292Z] + ls -al . [2021-06-27T07:10:09.292Z] total 112 [2021-06-27T07:10:09.292Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 27 07:10 . [2021-06-27T07:10:09.292Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 27 07:08 .. [2021-06-27T07:10:09.292Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 27 07:08 Attribution.txt [2021-06-27T07:10:09.292Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 27 07:08 bin [2021-06-27T07:10:09.292Z] -rw-rw-r--. 1 jenkins jenkins 7602 Jun 27 07:08 CHANGELOG.md [2021-06-27T07:10:09.292Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 27 07:08 cmd [2021-06-27T07:10:09.292Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 27 07:09 coverage.out [2021-06-27T07:10:09.292Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 27 07:08 Dockerfile [2021-06-27T07:10:09.292Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 27 07:08 Dockerfile.build [2021-06-27T07:10:09.292Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 27 07:08 .dockerignore [2021-06-27T07:10:09.292Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 27 07:08 driver [2021-06-27T07:10:09.292Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 27 07:08 .git [2021-06-27T07:10:09.293Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 27 07:08 .github [2021-06-27T07:10:09.293Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 27 07:08 .gitignore [2021-06-27T07:10:09.293Z] -rw-r--r--. 1 jenkins jenkins 286 Jun 27 07:10 go.mod [2021-06-27T07:10:09.293Z] -rw-r--r--. 1 jenkins jenkins 20777 Jun 27 07:09 go.sum [2021-06-27T07:10:09.293Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 27 07:08 Jenkinsfile [2021-06-27T07:10:09.293Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 27 07:08 LICENSE [2021-06-27T07:10:09.293Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 27 07:08 Makefile [2021-06-27T07:10:09.293Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 27 07:08 README.md [2021-06-27T07:10:09.293Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 27 07:08 snap [2021-06-27T07:10:09.293Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 27 07:04 VERSION [2021-06-27T07:10:09.293Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 27 07:08 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:10:09.596Z] + 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=42c8cd1f89f4c595d376f946c2e4f1c87b875388 --label arch=amd64 --label version=0.0.0 . [2021-06-27T07:10:09.596Z] Sending build context to Docker daemon 110.1kB [2021-06-27T07:10:09.596Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:10:09.596Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-27T07:10:09.596Z] ---> b77dc7ee2d9e [2021-06-27T07:10:09.596Z] Step 3/25 : ARG MAKE='make build' [2021-06-27T07:10:09.858Z] ---> Running in 31674e44bc4e [2021-06-27T07:10:09.858Z] Removing intermediate container 31674e44bc4e [2021-06-27T07:10:09.858Z] ---> 9dbd9b939cae [2021-06-27T07:10:09.858Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:10:10.122Z] ---> Running in ba524890a28e [2021-06-27T07:10:10.389Z] Removing intermediate container ba524890a28e [2021-06-27T07:10:10.389Z] ---> f66fc9749aff [2021-06-27T07:10:10.389Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:10:10.389Z] ---> Running in 40900985f4df [2021-06-27T07:10:10.653Z] Removing intermediate container 40900985f4df [2021-06-27T07:10:10.653Z] ---> 698d3d523e9d [2021-06-27T07:10:10.653Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:10:10.653Z] ---> Running in 045e450e306b [2021-06-27T07:10:11.230Z] Removing intermediate container 045e450e306b [2021-06-27T07:10:11.230Z] ---> 1c17107fe33c [2021-06-27T07:10:11.230Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:10:11.230Z] ---> Running in cf0e87de7cf6 [2021-06-27T07:10:11.496Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:10:12.443Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:10:13.387Z] OK: 154 MiB in 49 packages [2021-06-27T07:10:13.650Z] Removing intermediate container cf0e87de7cf6 [2021-06-27T07:10:13.650Z] ---> 63d8ea50b880 [2021-06-27T07:10:13.650Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-27T07:10:13.650Z] ---> Running in e406b0fee519 [2021-06-27T07:10:13.650Z] Removing intermediate container e406b0fee519 [2021-06-27T07:10:13.650Z] ---> 7ef8742535af [2021-06-27T07:10:13.650Z] Step 9/25 : COPY . . [2021-06-27T07:10:13.913Z] ---> 5fdcbb8480ac [2021-06-27T07:10:13.913Z] Step 10/25 : RUN go mod tidy [2021-06-27T07:10:14.180Z] ---> Running in a468f81b2580 [2021-06-27T07:10:15.126Z] Removing intermediate container a468f81b2580 [2021-06-27T07:10:15.126Z] ---> 52ddc22fd455 [2021-06-27T07:10:15.126Z] Step 11/25 : RUN make update [2021-06-27T07:10:15.126Z] ---> Running in 464b14d9211f [2021-06-27T07:10:15.387Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:10:15.655Z] Removing intermediate container 464b14d9211f [2021-06-27T07:10:15.656Z] ---> bb036fede223 [2021-06-27T07:10:15.656Z] Step 12/25 : RUN $MAKE [2021-06-27T07:10:15.656Z] ---> Running in c34230df18d1 [2021-06-27T07:10:15.921Z] go mod tidy [2021-06-27T07:10:16.189Z] 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-27T07:10:28.466Z] Removing intermediate container c34230df18d1 [2021-06-27T07:10:28.466Z] ---> 8c2296423fc6 [2021-06-27T07:10:28.466Z] Step 13/25 : FROM alpine:3.12 [2021-06-27T07:10:28.733Z] 3.12: Pulling from library/alpine [2021-06-27T07:10:28.994Z] 339de151aab4: Pulling fs layer [2021-06-27T07:10:29.257Z] 339de151aab4: Verifying Checksum [2021-06-27T07:10:29.257Z] 339de151aab4: Download complete [2021-06-27T07:10:29.257Z] 339de151aab4: Pull complete [2021-06-27T07:10:29.257Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:10:29.257Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:10:29.257Z] ---> 13621d1b12d4 [2021-06-27T07:10:29.257Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:10:29.520Z] ---> Running in 7d4e443d4f72 [2021-06-27T07:10:29.520Z] Removing intermediate container 7d4e443d4f72 [2021-06-27T07:10:29.520Z] ---> 1cd4a77b04fd [2021-06-27T07:10:29.520Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-27T07:10:29.520Z] ---> Running in e9319c9a506a [2021-06-27T07:10:29.786Z] Removing intermediate container e9319c9a506a [2021-06-27T07:10:29.786Z] ---> 7035828957e5 [2021-06-27T07:10:29.786Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:10:29.787Z] ---> Running in fdff6831b844 [2021-06-27T07:10:30.049Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:10:30.049Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:10:30.311Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:10:30.311Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:10:30.311Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:10:30.311Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:10:30.311Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:10:30.311Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:10:30.311Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:10:30.311Z] OK: 8 MiB in 20 packages [2021-06-27T07:10:30.885Z] Removing intermediate container fdff6831b844 [2021-06-27T07:10:30.885Z] ---> 4d5cd4cbd146 [2021-06-27T07:10:30.885Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-27T07:10:31.149Z] ---> ac0c68582bc3 [2021-06-27T07:10:31.149Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-27T07:10:31.412Z] ---> 22088267489d [2021-06-27T07:10:31.412Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-27T07:10:31.412Z] ---> 6e911c07eb3b [2021-06-27T07:10:31.412Z] Step 20/25 : EXPOSE 59986 [2021-06-27T07:10:31.673Z] ---> Running in fcd71d7ddfd0 [2021-06-27T07:10:31.673Z] Removing intermediate container fcd71d7ddfd0 [2021-06-27T07:10:31.673Z] ---> 8b6bf7d7e625 [2021-06-27T07:10:31.673Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-27T07:10:31.938Z] ---> Running in c75964acf67c [2021-06-27T07:10:31.938Z] Removing intermediate container c75964acf67c [2021-06-27T07:10:31.938Z] ---> 5787416102f4 [2021-06-27T07:10:31.938Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:10:31.938Z] ---> Running in 5754474ff8bd [2021-06-27T07:10:32.245Z] Removing intermediate container 5754474ff8bd [2021-06-27T07:10:32.245Z] ---> ab73cd46803c [2021-06-27T07:10:32.245Z] Step 23/25 : LABEL arch=amd64 [2021-06-27T07:10:32.245Z] ---> Running in 3c30c6995f91 [2021-06-27T07:10:32.245Z] Removing intermediate container 3c30c6995f91 [2021-06-27T07:10:32.245Z] ---> 6615240095f2 [2021-06-27T07:10:32.245Z] Step 24/25 : LABEL git_sha=42c8cd1f89f4c595d376f946c2e4f1c87b875388 [2021-06-27T07:10:32.245Z] ---> Running in 3a21b88a06fe [2021-06-27T07:10:32.592Z] Removing intermediate container 3a21b88a06fe [2021-06-27T07:10:32.592Z] ---> 69b98607d04e [2021-06-27T07:10:32.592Z] Step 25/25 : LABEL version=0.0.0 [2021-06-27T07:10:32.592Z] ---> Running in 486a270ee832 [2021-06-27T07:10:32.592Z] Removing intermediate container 486a270ee832 [2021-06-27T07:10:32.592Z] ---> 726838953696 [2021-06-27T07:10:32.592Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:10:32.592Z] Successfully built 726838953696 [2021-06-27T07:10:32.592Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2021-06-27T07:10:32.711Z] Removing intermediate container 4285c90a1b12 [2021-06-27T07:10:32.711Z] ---> 156653d22f6c [2021-06-27T07:10:32.711Z] Successfully built 156653d22f6c [2021-06-27T07:10:32.711Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 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 [2021-06-27T07:10:33.080Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:10:33.080Z] . [Pipeline] libraryResource [Pipeline] sh [Pipeline] withDockerContainer [2021-06-27T07:10:33.396Z] ---> job-cost.sh [2021-06-27T07:10:33.396Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-A0aC [2021-06-27T07:10:33.558Z] prd-ubuntu18.04-docker-arm64-4c-16g-319 does not seem to be running inside a container [2021-06-27T07:10:33.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-27T07:10:35.398Z] $ docker top bc4c630d644aa32f6787803df74652aa124dd4ac73163bc0a3df397560287ca8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:10:36.380Z] + go version [2021-06-27T07:10:36.380Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-27T07:10:36.420Z] $ docker stop --time=1 bc4c630d644aa32f6787803df74652aa124dd4ac73163bc0a3df397560287ca8 [2021-06-27T07:10:38.243Z] $ docker rm -f bc4c630d644aa32f6787803df74652aa124dd4ac73163bc0a3df397560287ca8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:10:38.971Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:10:38.971Z] . [Pipeline] withDockerContainer [2021-06-27T07:10:39.240Z] prd-ubuntu18.04-docker-arm64-4c-16g-319 does not seem to be running inside a container [2021-06-27T07:10:39.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-27T07:10:41.050Z] $ docker top 8bae4ccdefef1022168f850ce3a2f9fe84d645fa84ecfd4683dfbc40f15fea52 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:10:41.990Z] + go mod tidy [Pipeline] sh [2021-06-27T07:10:43.273Z] + make test [2021-06-27T07:10:43.274Z] go mod tidy [2021-06-27T07:10:43.446Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:10:43.868Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-27T07:10:44.851Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-27T07:10:55.736Z] lf-activate-venv(): INFO: Adding /tmp/venv-A0aC/bin to PATH [2021-06-27T07:10:55.736Z] INFO: No Stack... [2021-06-27T07:10:55.736Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:10:55.995Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:10:56.296Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-06-27T07:10:56.296Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:10:56.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-123-3-stack-cost] [2021-06-27T07:10:56.337Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-123-3-stack-cost] did not exist. Created. [2021-06-27T07:10:56.337Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-123-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:10:56.662Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-27T07:10:56.732Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:10:56.745Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-123-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-27T07:11:41.446Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-27T07:11:41.446Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 54.0% of statements [2021-06-27T07:11:41.446Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:11:59.824Z] gofmt -l . [2021-06-27T07:11:59.824Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:11:59.824Z] ./bin/test-go-mod-tidy.sh [2021-06-27T07:11:59.824Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:12:01.840Z] $ docker stop --time=1 8bae4ccdefef1022168f850ce3a2f9fe84d645fa84ecfd4683dfbc40f15fea52 [2021-06-27T07:12:03.835Z] $ docker rm -f 8bae4ccdefef1022168f850ce3a2f9fe84d645fa84ecfd4683dfbc40f15fea52 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:12:04.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:12:04.748Z] Warning: overwriting stash ‘coverage-report’ [2021-06-27T07:12:05.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:12:05.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:12:06.162Z] + ls -al . [2021-06-27T07:12:06.162Z] total 140 [2021-06-27T07:12:06.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:12 . [2021-06-27T07:12:06.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:09 .. [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 07:09 .dockerignore [2021-06-27T07:12:06.162Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:09 .git [2021-06-27T07:12:06.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:09 .github [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 27 07:09 .gitignore [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 27 07:09 Attribution.txt [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 7602 Jun 27 07:09 CHANGELOG.md [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 27 07:09 Dockerfile [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 27 07:09 Dockerfile.build [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 07:09 Jenkinsfile [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 07:09 LICENSE [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 27 07:09 Makefile [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 27 07:09 README.md [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 07:04 VERSION [2021-06-27T07:12:06.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:09 bin [2021-06-27T07:12:06.162Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:09 cmd [2021-06-27T07:12:06.162Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 27 07:11 coverage.out [2021-06-27T07:12:06.162Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:09 driver [2021-06-27T07:12:06.162Z] -rw-r--r-- 1 jenkins jenkins 286 Jun 27 07:11 go.mod [2021-06-27T07:12:06.162Z] -rw-r--r-- 1 jenkins jenkins 20777 Jun 27 07:10 go.sum [2021-06-27T07:12:06.162Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:09 snap [2021-06-27T07:12:06.162Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 07:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:12:06.506Z] + 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=0df52e22b84e248f35bdc836271b82f752d1d6ec --label arch=arm64 --label version=0.0.0 . [2021-06-27T07:12:06.506Z] Sending build context to Docker daemon 110.1kB [2021-06-27T07:12:06.778Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:12:06.778Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-27T07:12:06.778Z] ---> 156653d22f6c [2021-06-27T07:12:06.778Z] Step 3/25 : ARG MAKE='make build' [2021-06-27T07:12:07.052Z] ---> Running in de5d0e814053 [2021-06-27T07:12:07.649Z] Removing intermediate container de5d0e814053 [2021-06-27T07:12:07.649Z] ---> 8a46a3b7ff41 [2021-06-27T07:12:07.649Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:12:07.649Z] ---> Running in 6eb580b41446 [2021-06-27T07:12:08.246Z] Removing intermediate container 6eb580b41446 [2021-06-27T07:12:08.246Z] ---> 4f225d86cc6d [2021-06-27T07:12:08.246Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:12:08.246Z] ---> Running in 43072e4412d1 [2021-06-27T07:12:08.843Z] Removing intermediate container 43072e4412d1 [2021-06-27T07:12:08.843Z] ---> c80bcca9e3b1 [2021-06-27T07:12:08.843Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:12:08.843Z] ---> Running in 9cd769fb1056 [2021-06-27T07:12:10.812Z] Removing intermediate container 9cd769fb1056 [2021-06-27T07:12:10.812Z] ---> ae12b9f8b97f [2021-06-27T07:12:10.812Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:12:11.083Z] ---> Running in d4ca9d7f0b26 [2021-06-27T07:12:12.059Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:12:13.034Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:12:14.008Z] OK: 144 MiB in 49 packages [2021-06-27T07:12:14.987Z] Removing intermediate container d4ca9d7f0b26 [2021-06-27T07:12:14.987Z] ---> 96f34289e706 [2021-06-27T07:12:14.987Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-27T07:12:15.263Z] ---> Running in 36084c7e7f34 [2021-06-27T07:12:15.542Z] Removing intermediate container 36084c7e7f34 [2021-06-27T07:12:15.543Z] ---> 09644b5ac36e [2021-06-27T07:12:15.543Z] Step 9/25 : COPY . . [2021-06-27T07:12:16.525Z] ---> c8a8630d3288 [2021-06-27T07:12:16.525Z] Step 10/25 : RUN go mod tidy [2021-06-27T07:12:16.525Z] ---> Running in 2f5562391b1d [2021-06-27T07:12:19.146Z] Removing intermediate container 2f5562391b1d [2021-06-27T07:12:19.146Z] ---> 7156c3153543 [2021-06-27T07:12:19.146Z] Step 11/25 : RUN make update [2021-06-27T07:12:19.417Z] ---> Running in ffc2be3842f7 [2021-06-27T07:12:20.395Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:12:21.373Z] Removing intermediate container ffc2be3842f7 [2021-06-27T07:12:21.373Z] ---> 41718b5054bb [2021-06-27T07:12:21.373Z] Step 12/25 : RUN $MAKE [2021-06-27T07:12:21.645Z] ---> Running in 2417f647701a [2021-06-27T07:12:22.621Z] go mod tidy [2021-06-27T07:12:23.227Z] 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-27T07:13:02.280Z] Removing intermediate container 2417f647701a [2021-06-27T07:13:02.280Z] ---> b47dc1665534 [2021-06-27T07:13:02.280Z] Step 13/25 : FROM alpine:3.12 [2021-06-27T07:13:02.280Z] 3.12: Pulling from library/alpine [2021-06-27T07:13:02.280Z] d2f70382dc9a: Pulling fs layer [2021-06-27T07:13:02.280Z] d2f70382dc9a: Verifying Checksum [2021-06-27T07:13:02.280Z] d2f70382dc9a: Download complete [2021-06-27T07:13:02.280Z] d2f70382dc9a: Pull complete [2021-06-27T07:13:02.280Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:13:02.280Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:13:02.280Z] ---> c4fd0aeabfcf [2021-06-27T07:13:02.280Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:13:02.280Z] ---> Running in 3394ee2fde82 [2021-06-27T07:13:02.280Z] Removing intermediate container 3394ee2fde82 [2021-06-27T07:13:02.280Z] ---> dbdd6b627e5b [2021-06-27T07:13:02.280Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-27T07:13:02.280Z] ---> Running in 0d3a3cdf8ded [2021-06-27T07:13:02.280Z] Removing intermediate container 0d3a3cdf8ded [2021-06-27T07:13:02.280Z] ---> d5b86017d6b6 [2021-06-27T07:13:02.280Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:13:02.280Z] ---> Running in 666a08e868a9 [2021-06-27T07:13:02.280Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:13:02.280Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:13:02.280Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:13:02.280Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:13:02.280Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:13:02.280Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:13:02.280Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:13:02.280Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:13:02.280Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:13:02.280Z] OK: 8 MiB in 20 packages [2021-06-27T07:13:03.734Z] Removing intermediate container 666a08e868a9 [2021-06-27T07:13:03.734Z] ---> 84c941d5b71f [2021-06-27T07:13:03.734Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-27T07:13:04.723Z] ---> 619a6e83c578 [2021-06-27T07:13:04.723Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-27T07:13:05.711Z] ---> 796f49d57252 [2021-06-27T07:13:05.711Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-27T07:13:06.309Z] ---> 42c226c484c1 [2021-06-27T07:13:06.309Z] Step 20/25 : EXPOSE 59986 [2021-06-27T07:13:06.585Z] ---> Running in 028412e7bb14 [2021-06-27T07:13:06.857Z] Removing intermediate container 028412e7bb14 [2021-06-27T07:13:06.857Z] ---> 89cb38263dc7 [2021-06-27T07:13:06.857Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-27T07:13:07.132Z] ---> Running in 70c9d59a3d2f [2021-06-27T07:13:07.406Z] Removing intermediate container 70c9d59a3d2f [2021-06-27T07:13:07.406Z] ---> 0f230b3bdb27 [2021-06-27T07:13:07.406Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:13:07.679Z] ---> Running in 6819f504f19d [2021-06-27T07:13:08.272Z] Removing intermediate container 6819f504f19d [2021-06-27T07:13:08.272Z] ---> ca7d4886a5af [2021-06-27T07:13:08.272Z] Step 23/25 : LABEL arch=arm64 [2021-06-27T07:13:08.272Z] ---> Running in d141131e694e [2021-06-27T07:13:08.864Z] Removing intermediate container d141131e694e [2021-06-27T07:13:08.864Z] ---> 64ff94bf08eb [2021-06-27T07:13:08.864Z] Step 24/25 : LABEL git_sha=0df52e22b84e248f35bdc836271b82f752d1d6ec [2021-06-27T07:13:08.864Z] ---> Running in 66d230374f81 [2021-06-27T07:13:09.457Z] Removing intermediate container 66d230374f81 [2021-06-27T07:13:09.457Z] ---> e54528f9999d [2021-06-27T07:13:09.457Z] Step 25/25 : LABEL version=0.0.0 [2021-06-27T07:13:09.457Z] ---> Running in 88bb1d0d6e8b [2021-06-27T07:13:09.726Z] Removing intermediate container 88bb1d0d6e8b [2021-06-27T07:13:09.726Z] ---> c7479014d393 [2021-06-27T07:13:09.726Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:13:09.726Z] Successfully built c7479014d393 [2021-06-27T07:13:09.999Z] 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-27T07:13:10.625Z] ---> job-cost.sh [2021-06-27T07:13:10.625Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jHaI [2021-06-27T07:13:49.584Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:15:11.354Z] lf-activate-venv(): INFO: Adding /tmp/venv-jHaI/bin to PATH [2021-06-27T07:15:11.354Z] INFO: No Stack... [2021-06-27T07:15:11.947Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-27T07:15:12.219Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:15:12.562Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-06-27T07:15:12.562Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:15:12.624Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-123-3-stack-cost] [2021-06-27T07:15:12.634Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-123-3-stack-cost] did not exist. Created. [2021-06-27T07:15:12.634Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-123-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:15:13.013Z] /w/workspace/device-rest-go/3@tmp/durable-2c83cf3c/script.sh: 1: /w/workspace/device-rest-go/3@tmp/durable-2c83cf3c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-27T07:15:13.356Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-27T07:15:13.390Z] Warning: overwriting stash ‘stack-cost’ [2021-06-27T07:15:13.545Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:15:13.563Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-123-3-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-27T07:15:14.247Z] provisioning config files... [2021-06-27T07:15:14.349Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config8397195048945261464tmp [Pipeline] { [Pipeline] sh [2021-06-27T07:15:14.667Z] + set +x [2021-06-27T07:15:14.667Z] + curl -s https://codecov.io/bash [2021-06-27T07:15:14.667Z] + bash -s -- [2021-06-27T07:15:14.667Z] [2021-06-27T07:15:14.667Z] _____ _ [2021-06-27T07:15:14.667Z] / ____| | | [2021-06-27T07:15:14.667Z] | | ___ __| | ___ ___ _____ __ [2021-06-27T07:15:14.667Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-27T07:15:14.667Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-27T07:15:14.667Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-27T07:15:14.667Z] Bash-1.0.3 [2021-06-27T07:15:14.667Z] [2021-06-27T07:15:14.667Z] [2021-06-27T07:15:14.667Z] ==> git version 2.24.4 found [2021-06-27T07:15:14.667Z] ==> 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-27T07:15:14.667Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-27T07:15:14.667Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-27T07:15:14.667Z] ==> Jenkins CI detected. [2021-06-27T07:15:14.667Z] project root: . [2021-06-27T07:15:14.667Z] --> token set from env [2021-06-27T07:15:14.667Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-27T07:15:14.928Z] ==> Running gcov in . (disable via -X gcov) [2021-06-27T07:15:14.928Z] ==> Python coveragepy not found [2021-06-27T07:15:14.928Z] ==> Searching for coverage reports in: [2021-06-27T07:15:14.928Z] + . [2021-06-27T07:15:14.928Z] -> Found 1 reports [2021-06-27T07:15:14.928Z] ==> Detecting git/mercurial file structure [2021-06-27T07:15:14.928Z] ==> Reading reports [2021-06-27T07:15:14.928Z] + ./coverage.out bytes=8513 [2021-06-27T07:15:14.928Z] ==> Appending adjustments [2021-06-27T07:15:14.928Z] https://docs.codecov.io/docs/fixing-reports [2021-06-27T07:15:14.928Z] + Found adjustments [2021-06-27T07:15:14.928Z] ==> Gzipping contents [2021-06-27T07:15:14.928Z] 4.0K /tmp/codecov.0pjDAJ.gz [2021-06-27T07:15:14.928Z] ==> Uploading reports [2021-06-27T07:15:14.928Z] url: https://codecov.io [2021-06-27T07:15:14.928Z] query: branch=PR-123&commit=7d952399c06f8ce862280b8cc1aca357dea063c8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-123%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=123&job=&cmd_args= [2021-06-27T07:15:14.928Z] -> Pinging Codecov [2021-06-27T07:15:14.928Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-123&commit=7d952399c06f8ce862280b8cc1aca357dea063c8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-123%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=123&job=&cmd_args= [2021-06-27T07:15:15.190Z] -> Uploading to [2021-06-27T07:15:15.190Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-27/4E5D53B4F1F92C436F7061BF334D961C/7d952399c06f8ce862280b8cc1aca357dea063c8/ebddba47-7b63-45e7-8f70-08bb5399e014.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210627T071515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41dc84e45a6808d32041a1089bbd6056c322ea9220de6e59b57a9d7784e07ba3 [2021-06-27T07:15:15.190Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-27T07:15:15.190Z] Dload Upload Total Spent Left Speed [2021-06-27T07:15:15.765Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1618 0 0 100 1618 0 5296 --:--:-- --:--:-- --:--:-- 5287 100 1618 0 0 100 1618 0 5293 --:--:-- --:--:-- --:--:-- 5287 [2021-06-27T07:15:15.765Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7d952399c06f8ce862280b8cc1aca357dea063c8 [Pipeline] } [2021-06-27T07:15:15.774Z] 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-27T07:15:17.338Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:15:17.910Z] ---> package-listing.sh [2021-06-27T07:15:17.911Z] ++ facter osfamily [2021-06-27T07:15:17.911Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-27T07:15:18.172Z] + OS_FAMILY=redhat [2021-06-27T07:15:18.172Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-123 [2021-06-27T07:15:18.172Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-27T07:15:18.172Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-27T07:15:18.172Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-27T07:15:18.172Z] + PACKAGES=/tmp/packages_start.txt [2021-06-27T07:15:18.172Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-123 ']' [2021-06-27T07:15:18.172Z] + PACKAGES=/tmp/packages_end.txt [2021-06-27T07:15:18.172Z] + case "${OS_FAMILY}" in [2021-06-27T07:15:18.172Z] + rpm -qa [2021-06-27T07:15:18.172Z] + sort [2021-06-27T07:15:18.754Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-27T07:15:18.754Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-27T07:15:18.754Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-27T07:15:18.754Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-123 ']' [2021-06-27T07:15:18.754Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-123/archives/ [2021-06-27T07:15:18.754Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-123/archives/ [Pipeline] echo [2021-06-27T07:15:18.774Z] 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-123/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-27T07:15:19.068Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:15:19.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:15:19.641Z] [2021-06-27T07:15:19.641Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:15:19.959Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:15:19.959Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-27T07:15:19.959Z] df20fa9351a1: Pulling fs layer [2021-06-27T07:15:19.959Z] 36b3adc4ff6f: Pulling fs layer [2021-06-27T07:15:19.959Z] 8ad3a11d3b57: Pulling fs layer [2021-06-27T07:15:19.959Z] 46f8f816bc3b: Pulling fs layer [2021-06-27T07:15:19.959Z] 93b61091891f: Pulling fs layer [2021-06-27T07:15:19.959Z] 93b9cdb0e59b: Pulling fs layer [2021-06-27T07:15:19.959Z] 5e14af77c1be: Pulling fs layer [2021-06-27T07:15:19.959Z] 01666e4c0597: Pulling fs layer [2021-06-27T07:15:19.959Z] aa168da1d23b: Pulling fs layer [2021-06-27T07:15:19.959Z] 46f8f816bc3b: Waiting [2021-06-27T07:15:19.959Z] 93b61091891f: Waiting [2021-06-27T07:15:19.959Z] 93b9cdb0e59b: Waiting [2021-06-27T07:15:19.959Z] 5e14af77c1be: Waiting [2021-06-27T07:15:19.959Z] 01666e4c0597: Waiting [2021-06-27T07:15:19.959Z] aa168da1d23b: Waiting [2021-06-27T07:15:19.959Z] 36b3adc4ff6f: Verifying Checksum [2021-06-27T07:15:19.959Z] 36b3adc4ff6f: Download complete [2021-06-27T07:15:19.959Z] 46f8f816bc3b: Verifying Checksum [2021-06-27T07:15:19.959Z] 46f8f816bc3b: Download complete [2021-06-27T07:15:19.959Z] df20fa9351a1: Verifying Checksum [2021-06-27T07:15:19.959Z] df20fa9351a1: Download complete [2021-06-27T07:15:20.220Z] 93b9cdb0e59b: Verifying Checksum [2021-06-27T07:15:20.220Z] 93b9cdb0e59b: Download complete [2021-06-27T07:15:20.220Z] 93b61091891f: Verifying Checksum [2021-06-27T07:15:20.220Z] 93b61091891f: Download complete [2021-06-27T07:15:20.220Z] 5e14af77c1be: Verifying Checksum [2021-06-27T07:15:20.220Z] 5e14af77c1be: Download complete [2021-06-27T07:15:20.220Z] 01666e4c0597: Verifying Checksum [2021-06-27T07:15:20.220Z] 01666e4c0597: Download complete [2021-06-27T07:15:20.220Z] 8ad3a11d3b57: Verifying Checksum [2021-06-27T07:15:20.220Z] 8ad3a11d3b57: Download complete [2021-06-27T07:15:20.220Z] df20fa9351a1: Pull complete [2021-06-27T07:15:20.484Z] 36b3adc4ff6f: Pull complete [2021-06-27T07:15:21.066Z] 8ad3a11d3b57: Pull complete [2021-06-27T07:15:21.066Z] 46f8f816bc3b: Pull complete [2021-06-27T07:15:21.332Z] 93b61091891f: Pull complete [2021-06-27T07:15:21.332Z] 93b9cdb0e59b: Pull complete [2021-06-27T07:15:21.594Z] 5e14af77c1be: Pull complete [2021-06-27T07:15:21.594Z] 01666e4c0597: Pull complete [2021-06-27T07:15:22.170Z] aa168da1d23b: Verifying Checksum [2021-06-27T07:15:22.170Z] aa168da1d23b: Download complete [2021-06-27T07:15:26.428Z] aa168da1d23b: Pull complete [2021-06-27T07:15:26.428Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-27T07:15:26.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:15:26.428Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-27T07:15:26.510Z] prd-centos7-docker-4c-2g-317 does not seem to be running inside a container [2021-06-27T07:15:26.548Z] $ 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-123/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-123 -v /w/workspace/gexfoundry_device-rest-go_PR-123:/w/workspace/gexfoundry_device-rest-go_PR-123:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-123@tmp:/w/workspace/gexfoundry_device-rest-go_PR-123@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-27T07:15:28.465Z] $ docker top 8feada2396ed8ee559f533c09748d62186cf9aeef991a84e8bbd2af84f27b107 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:15:28.885Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-27T07:15:29.190Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-27T07:15:29.497Z] + ls /var/log/sa-host [2021-06-27T07:15:29.498Z] + sadf -c /var/log/sa-host/sa05 [2021-06-27T07:15:29.498Z] file_magic: OK [2021-06-27T07:15:29.498Z] HZ: Using current value: 100 [2021-06-27T07:15:29.498Z] file_header: OK [2021-06-27T07:15:29.498Z] 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-27T07:15:29.498Z] Statistics: [2021-06-27T07:15:29.498Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:15:29.498Z] File successfully converted to sysstat format version 12.2.1 [2021-06-27T07:15:29.498Z] + sadf -c /var/log/sa-host/sa27 [2021-06-27T07:15:29.498Z] file_magic: OK [2021-06-27T07:15:29.498Z] HZ: Using current value: 100 [2021-06-27T07:15:29.498Z] file_header: OK [2021-06-27T07:15:29.498Z] 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-27T07:15:29.498Z] Statistics: [2021-06-27T07:15:29.498Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:15:29.498Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:15:29.712Z] provisioning config files... [2021-06-27T07:15:29.724Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config4787326600556937503tmp [Pipeline] { [Pipeline] echo [2021-06-27T07:15:29.758Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:15:30.065Z] ---> create-netrc.sh [Pipeline] } [2021-06-27T07:15:30.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:15:30.464Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-27T07:15:30.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:15:30.780Z] ---> sudo-logs.sh [2021-06-27T07:15:30.780Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-27T07:15:30.818Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:15:31.119Z] ---> job-cost.sh [2021-06-27T07:15:31.119Z] lf-activate-venv: SKIPPING [2021-06-27T07:15:31.119Z] DEBUG: total: 0.18000000715255737 [2021-06-27T07:15:31.119Z] INFO: Retrieving Stack Cost... [2021-06-27T07:15:31.692Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:15:32.282Z] INFO: Archiving Costs [Pipeline] echo [2021-06-27T07:15:32.298Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:15:32.600Z] ---> logs-deploy.sh [2021-06-27T07:15:32.600Z] lf-activate-venv: SKIPPING [2021-06-27T07:15:32.600Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-123/3 [2021-06-27T07:15:32.600Z] INFO: archiving workspace using pattern(s): [2021-06-27T07:15:33.547Z] Archives upload complete. [2021-06-27T07:15:33.547Z] INFO: archiving logs to Nexus