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 703406679a0bd739babd0126f7438661081b810c+acb551efcb6a1b4088edd326f55b17ef654f475f (2cabba75f3c487c49fd4839015203f47bb2cba6a) 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-ssh4277037348209462731.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-ssh8151362314644355.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-ssh3637280814741638118.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-ssh1127020645922478443.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-ssh8980123386516197835.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-323 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-ssh1480259519249320977.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-ssh3147866880080502775.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 703406679a0bd739babd0126f7438661081b810c Merge succeeded, producing 3fe616ed3f063443007c61c3d4a74f8e07d62510 Checking out Revision 3fe616ed3f063443007c61c3d4a74f8e07d62510 (PR-123) > git config core.sparsecheckout # timeout=10 > git checkout -f 703406679a0bd739babd0126f7438661081b810c # 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-ssh6024618342116434462.key > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3fe616ed3f063443007c61c3d4a74f8e07d62510 # 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:14:49.384Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-27T07:14:49.485Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-27T07:14:49.518Z] ========================================================= [2021-06-27T07:14:49.518Z] EdgeX Global Pipelines Version Info [2021-06-27T07:14:49.518Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0df52e22b84e248f35bdc836271b82f752d1d6ec # timeout=10 [2021-06-27T07:14:51.015Z] ------------------- [2021-06-27T07:14:51.016Z] stable info: [2021-06-27T07:14:51.016Z] ------------------- [2021-06-27T07:14:51.016Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-27T07:14:51.016Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:14:51.016Z] Message: update stable to v1.0.195 [2021-06-27T07:14:51.588Z] ------------------- [2021-06-27T07:14:51.588Z] experimental info: [2021-06-27T07:14:51.588Z] ------------------- [2021-06-27T07:14:51.588Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-27T07:14:51.588Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-27T07:14:51.588Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-27T07:14:51.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-27T07:14:51.851Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-27T07:14:51.882Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-27T07:14:51.913Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-27T07:14:51.943Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-27T07:14:51.970Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-27T07:14:51.997Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-27T07:14:52.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-27T07:14:52.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-27T07:14:52.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-27T07:14:52.123Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-27T07:14:52.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-27T07:14:52.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-27T07:14:52.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-27T07:14:52.231Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:14:52.259Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-27T07:14:52.287Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:14:52.316Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-27T07:14:52.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-27T07:14:52.386Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-27T07:14:52.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-27T07:14:52.447Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-27T07:14:52.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-27T07:14:52.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-27T07:14:52.543Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-27T07:14:52.573Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-27T07:14:52.603Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-123 [Pipeline] echo [2021-06-27T07:14:52.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-123 [Pipeline] echo [2021-06-27T07:14:52.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-123 [Pipeline] echo [2021-06-27T07:14:52.693Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3fe616ed3f063443007c61c3d4a74f8e07d62510 [Pipeline] echo [2021-06-27T07:14:52.721Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3fe616e [Pipeline] echo [2021-06-27T07:14:52.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:14:52.870Z] provisioning config files... [2021-06-27T07:14:52.893Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config6661775305487368356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:14:53.220Z] ---> docker-login.sh [2021-06-27T07:14:53.220Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:14:53.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:14:53.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:14:53.793Z] Configure a credential helper to remove this warning. See [2021-06-27T07:14:53.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:14:53.793Z] [2021-06-27T07:14:53.793Z] Login Succeeded [2021-06-27T07:14:53.793Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:14:53.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:14:53.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:14:53.793Z] Configure a credential helper to remove this warning. See [2021-06-27T07:14:53.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:14:53.793Z] [2021-06-27T07:14:53.793Z] Login Succeeded [2021-06-27T07:14:53.793Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:14:54.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:14:54.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:14:54.058Z] Configure a credential helper to remove this warning. See [2021-06-27T07:14:54.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:14:54.058Z] [2021-06-27T07:14:54.058Z] Login Succeeded [2021-06-27T07:14:54.058Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:14:54.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:14:54.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:14:54.058Z] Configure a credential helper to remove this warning. See [2021-06-27T07:14:54.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:14:54.058Z] [2021-06-27T07:14:54.058Z] Login Succeeded [2021-06-27T07:14:54.058Z] docker.io [2021-06-27T07:14:54.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:14:54.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:14:54.584Z] Configure a credential helper to remove this warning. See [2021-06-27T07:14:54.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:14:54.584Z] [2021-06-27T07:14:54.584Z] Login Succeeded [2021-06-27T07:14:54.584Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:14:54.593Z] 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:14:55.322Z] + git log --format=format:%s -1 3fe616ed3f063443007c61c3d4a74f8e07d62510 [Pipeline] echo [2021-06-27T07:14:55.360Z] GIT_COMMIT: 3fe616ed3f063443007c61c3d4a74f8e07d62510, Commit Message: Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD [Pipeline] echo [2021-06-27T07:14:55.374Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:14:56.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:14:56.266Z] [2021-06-27T07:14:56.266Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:14:56.581Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:14:56.581Z] latest: Pulling from edgex-devops/git-semver [2021-06-27T07:14:56.581Z] 31603596830f: Pulling fs layer [2021-06-27T07:14:56.581Z] 54011a49482f: Pulling fs layer [2021-06-27T07:14:56.581Z] a6820b24f6d8: Pulling fs layer [2021-06-27T07:14:56.581Z] f581987b2513: Pulling fs layer [2021-06-27T07:14:56.581Z] f581987b2513: Waiting [2021-06-27T07:14:56.581Z] 54011a49482f: Verifying Checksum [2021-06-27T07:14:56.581Z] 54011a49482f: Download complete [2021-06-27T07:14:56.844Z] 31603596830f: Verifying Checksum [2021-06-27T07:14:56.844Z] 31603596830f: Download complete [2021-06-27T07:14:56.844Z] a6820b24f6d8: Verifying Checksum [2021-06-27T07:14:56.844Z] a6820b24f6d8: Download complete [2021-06-27T07:14:56.844Z] f581987b2513: Verifying Checksum [2021-06-27T07:14:56.844Z] f581987b2513: Download complete [2021-06-27T07:14:56.844Z] 31603596830f: Pull complete [2021-06-27T07:14:57.104Z] 54011a49482f: Pull complete [2021-06-27T07:14:57.678Z] a6820b24f6d8: Pull complete [2021-06-27T07:14:57.940Z] f581987b2513: Pull complete [2021-06-27T07:14:57.940Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-27T07:14:57.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-27T07:14:57.940Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-27T07:14:58.026Z] prd-centos7-docker-4c-2g-323 does not seem to be running inside a container [2021-06-27T07:14:58.066Z] $ 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:15:00.135Z] $ docker top 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-27T07:15:00.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:15:00.255Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:15:00.365Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:15:00.364Z] $ docker exec 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 ssh-agent [2021-06-27T07:15:00.473Z] SSH_AUTH_SOCK=/tmp/ssh-059gpFxNznLH/agent.14 [2021-06-27T07:15:00.473Z] SSH_AGENT_PID=20 [2021-06-27T07:15:00.480Z] Running ssh-add (command line suppressed) [2021-06-27T07:15:00.567Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_2766130682277148364.key (/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_2766130682277148364.key) [2021-06-27T07:15:00.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:15:00.897Z] + git tag --points-at HEAD [Pipeline] } [2021-06-27T07:15:00.910Z] $ docker exec --env ******** --env ******** 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 ssh-agent -k [2021-06-27T07:15:01.001Z] unset SSH_AUTH_SOCK; [2021-06-27T07:15:01.001Z] unset SSH_AGENT_PID; [2021-06-27T07:15:01.001Z] echo Agent pid 20 killed; [2021-06-27T07:15:01.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-27T07:15:01.060Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-27T07:15:01.060Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-27T07:15:01.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-27T07:15:01.172Z] $ docker exec 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 ssh-agent [2021-06-27T07:15:01.289Z] SSH_AUTH_SOCK=/tmp/ssh-NqH1EwFH40Ck/agent.53 [2021-06-27T07:15:01.289Z] SSH_AGENT_PID=60 [2021-06-27T07:15:01.297Z] Running ssh-add (command line suppressed) [2021-06-27T07:15:01.395Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_7121305448451270536.key (/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/private_key_7121305448451270536.key) [2021-06-27T07:15:01.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-27T07:15:01.718Z] + git semver init [2021-06-27T07:15:01.718Z] # -> Open(): unable to determine branch for HEAD [2021-06-27T07:15:01.718Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-123/.git [2021-06-27T07:15:01.718Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-123 [2021-06-27T07:15:01.718Z] # $SEMVER_REMOTE_NAME = origin [2021-06-27T07:15:01.718Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-27T07:15:01.718Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-27T07:15:01.718Z] # $SEMVER_BRANCH = PR-123 [2021-06-27T07:15:01.718Z] # $SEMVER_TEMP = /tmp/semver-033446022 [2021-06-27T07:15:01.718Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-27T07:15:03.142Z] # '/tmp/semver-033446022' -> '/w/workspace/gexfoundry_device-rest-go_PR-123/.semver' [2021-06-27T07:15:03.142Z] # -> Force: false [2021-06-27T07:15:03.142Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-123/.semver [Pipeline] } [2021-06-27T07:15:03.154Z] $ docker exec --env ******** --env ******** 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 ssh-agent -k [2021-06-27T07:15:03.256Z] unset SSH_AUTH_SOCK; [2021-06-27T07:15:03.257Z] unset SSH_AGENT_PID; [2021-06-27T07:15:03.257Z] echo Agent pid 60 killed; [2021-06-27T07:15:03.271Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-27T07:15:03.625Z] + git semver [Pipeline] } [2021-06-27T07:15:03.637Z] $ docker stop --time=1 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 [2021-06-27T07:15:04.923Z] $ docker rm -f 8cf9af1d6f361493899d5afe466b2fe50ce73fb293d885df7b8a9e28d9fb65e9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:15:05.289Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-27T07:15:05.670Z] Stashed 1 file(s) [Pipeline] echo [2021-06-27T07:15:05.673Z] [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:15:20.949Z] Still waiting to schedule task [2021-06-27T07:15:20.949Z] ‘prd-centos7-blackbox-4c-2g-214’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:15:20.950Z] ‘prd-centos7-docker-4c-2g-312’ is offline [2021-06-27T07:15:20.950Z] ‘prd-centos7-docker-4c-2g-320’ is offline [2021-06-27T07:15:20.950Z] ‘prd-centos7-docker-4c-2g-321’ is offline [2021-06-27T07:15:20.950Z] ‘prd-centos7-docker-4c-2g-324’ is offline [2021-06-27T07:15:20.950Z] ‘prd-centos7-docker-4c-2g-915’ is offline [2021-06-27T07:15:20.950Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1218’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:15:20.950Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-315’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:15:20.950Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-319’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-27T07:15:20.956Z] Still waiting to schedule task [2021-06-27T07:15:20.956Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-27T07:17:06.274Z] Running on prd-centos7-docker-4c-2g-325 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] ws [2021-06-27T07:17:06.298Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-06-27T07:17:06.426Z] The recommended git tool is: git [2021-06-27T07:17:08.842Z] using credential edgex-jenkins-ssh [2021-06-27T07:17:08.853Z] Cloning the remote Git repository [2021-06-27T07:17:08.871Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:17:08.943Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-06-27T07:17:08.981Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:17:08.981Z] > git --version # timeout=10 [2021-06-27T07:17:08.992Z] > git --version # 'git version 2.24.4' [2021-06-27T07:17:08.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:17:09.013Z] [INFO] Currently running in a labeled security context [2021-06-27T07:17:09.013Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:17:09.013Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh6553386739334611600.key [2021-06-27T07:17:09.028Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:17:09.836Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:17:09.845Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:17:09.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:17:09.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:17:09.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:17:09.867Z] [INFO] Currently running in a labeled security context [2021-06-27T07:17:09.867Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:17:09.868Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh4748254115397580897.key [2021-06-27T07:17:10.279Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 703406679a0bd739babd0126f7438661081b810c [2021-06-27T07:17:10.371Z] Merge succeeded, producing 1e1006ff842a54f53d7845e99973857c4cbc3129 [2021-06-27T07:17:10.371Z] Checking out Revision 1e1006ff842a54f53d7845e99973857c4cbc3129 (PR-123) [2021-06-27T07:17:09.875Z] > 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:17:10.282Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:17:10.289Z] > git checkout -f 703406679a0bd739babd0126f7438661081b810c # timeout=10 [2021-06-27T07:17:10.315Z] > git remote # timeout=10 [2021-06-27T07:17:10.325Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:17:10.330Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:17:10.331Z] [INFO] Currently running in a labeled security context [2021-06-27T07:17:10.331Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-27T07:17:10.331Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/4@tmp/jenkins-gitclient-ssh8611336555275661353.key [2021-06-27T07:17:10.339Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-27T07:17:10.361Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:17:10.370Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:17:10.375Z] > git checkout -f 1e1006ff842a54f53d7845e99973857c4cbc3129 # timeout=10 [2021-06-27T07:17:13.941Z] Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" [2021-06-27T07:17:13.951Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:17:13.941Z] > git rev-list --no-walk 0df52e22b84e248f35bdc836271b82f752d1d6ec # timeout=10 [2021-06-27T07:17:14.972Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:17:15.302Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:17:15.604Z] + sudo service docker restart [2021-06-27T07:17:15.605Z] + true [2021-06-27T07:17:15.605Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:17:33.786Z] provisioning config files... [2021-06-27T07:17:33.804Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config4694651512335543343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:17:34.153Z] ---> docker-login.sh [2021-06-27T07:17:34.153Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:17:34.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:17:34.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:17:34.414Z] Configure a credential helper to remove this warning. See [2021-06-27T07:17:34.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:17:34.414Z] [2021-06-27T07:17:34.414Z] Login Succeeded [2021-06-27T07:17:34.414Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:17:34.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:17:34.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:17:34.415Z] Configure a credential helper to remove this warning. See [2021-06-27T07:17:34.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:17:34.415Z] [2021-06-27T07:17:34.415Z] Login Succeeded [2021-06-27T07:17:34.415Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:17:34.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:17:34.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:17:34.675Z] Configure a credential helper to remove this warning. See [2021-06-27T07:17:34.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:17:34.675Z] [2021-06-27T07:17:34.675Z] Login Succeeded [2021-06-27T07:17:34.675Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:17:34.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:17:34.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:17:34.675Z] Configure a credential helper to remove this warning. See [2021-06-27T07:17:34.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:17:34.675Z] [2021-06-27T07:17:34.675Z] Login Succeeded [2021-06-27T07:17:34.675Z] docker.io [2021-06-27T07:17:34.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:17:35.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:17:35.199Z] Configure a credential helper to remove this warning. See [2021-06-27T07:17:35.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:17:35.199Z] [2021-06-27T07:17:35.199Z] Login Succeeded [2021-06-27T07:17:35.199Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:17:35.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:17:35.384Z] ========================================================= [2021-06-27T07:17:35.384Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-27T07:17:35.384Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:17:35.699Z] + 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:17:35.699Z] Sending build context to Docker daemon 100.4kB [2021-06-27T07:17:35.699Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:17:35.699Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:17:35.699Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-27T07:17:35.699Z] 540db60ca938: Pulling fs layer [2021-06-27T07:17:35.699Z] adcc1eea9eea: Pulling fs layer [2021-06-27T07:17:35.699Z] 4c4ab2625f07: Pulling fs layer [2021-06-27T07:17:35.699Z] 0510c868ecb4: Pulling fs layer [2021-06-27T07:17:35.699Z] afea3b2eda06: Pulling fs layer [2021-06-27T07:17:35.699Z] 7809a108b3ef: Pulling fs layer [2021-06-27T07:17:35.699Z] f706445af74f: Pulling fs layer [2021-06-27T07:17:35.699Z] 0510c868ecb4: Waiting [2021-06-27T07:17:35.699Z] afea3b2eda06: Waiting [2021-06-27T07:17:35.699Z] 7809a108b3ef: Waiting [2021-06-27T07:17:35.699Z] f706445af74f: Waiting [2021-06-27T07:17:35.961Z] 4c4ab2625f07: Verifying Checksum [2021-06-27T07:17:35.961Z] 4c4ab2625f07: Download complete [2021-06-27T07:17:35.961Z] adcc1eea9eea: Download complete [2021-06-27T07:17:35.961Z] afea3b2eda06: Verifying Checksum [2021-06-27T07:17:35.961Z] afea3b2eda06: Download complete [2021-06-27T07:17:35.961Z] 7809a108b3ef: Verifying Checksum [2021-06-27T07:17:35.961Z] 7809a108b3ef: Download complete [2021-06-27T07:17:35.961Z] 540db60ca938: Verifying Checksum [2021-06-27T07:17:35.961Z] 540db60ca938: Download complete [2021-06-27T07:17:36.226Z] 540db60ca938: Pull complete [2021-06-27T07:17:36.487Z] adcc1eea9eea: Pull complete [2021-06-27T07:17:36.487Z] 4c4ab2625f07: Pull complete [2021-06-27T07:17:38.416Z] f706445af74f: Verifying Checksum [2021-06-27T07:17:38.416Z] f706445af74f: Download complete [2021-06-27T07:17:38.416Z] 0510c868ecb4: Verifying Checksum [2021-06-27T07:17:38.416Z] 0510c868ecb4: Download complete [2021-06-27T07:17:41.734Z] 0510c868ecb4: Pull complete [2021-06-27T07:17:41.734Z] afea3b2eda06: Pull complete [2021-06-27T07:17:41.997Z] 7809a108b3ef: Pull complete [2021-06-27T07:17:43.403Z] f706445af74f: Pull complete [2021-06-27T07:17:43.403Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-27T07:17:43.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-27T07:17:43.403Z] ---> b068be0155e3 [2021-06-27T07:17:43.403Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:17:58.329Z] ---> Running in 77d4d0b742af [2021-06-27T07:17:58.329Z] Removing intermediate container 77d4d0b742af [2021-06-27T07:17:58.329Z] ---> 43f4de7a477e [2021-06-27T07:17:58.329Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:17:58.329Z] ---> Running in d9cd8257feab [2021-06-27T07:17:58.329Z] Removing intermediate container d9cd8257feab [2021-06-27T07:17:58.329Z] ---> a6b15cd18779 [2021-06-27T07:17:58.330Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:17:58.330Z] ---> Running in 8b6f4532ec60 [2021-06-27T07:17:58.330Z] Removing intermediate container 8b6f4532ec60 [2021-06-27T07:17:58.330Z] ---> a93c751758c8 [2021-06-27T07:17:58.330Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:17:58.330Z] ---> Running in ba841c0921fd [2021-06-27T07:17:58.904Z] Removing intermediate container ba841c0921fd [2021-06-27T07:17:58.904Z] ---> 9e438f690d92 [2021-06-27T07:17:58.904Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:17:59.169Z] ---> Running in ff4e2074ac60 [2021-06-27T07:17:59.430Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:18:00.374Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:18:00.636Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-27T07:18:00.897Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-27T07:18:00.897Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-27T07:18:00.897Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:18:01.162Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:18:01.162Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-27T07:18:01.162Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:18:01.425Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-27T07:18:01.688Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:18:01.688Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:18:01.688Z] OK: 154 MiB in 49 packages [2021-06-27T07:18:02.266Z] Removing intermediate container ff4e2074ac60 [2021-06-27T07:18:02.266Z] ---> efdda0605360 [2021-06-27T07:18:02.266Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-27T07:18:02.266Z] ---> Running in 5c1f764c4e19 [2021-06-27T07:18:02.266Z] Removing intermediate container 5c1f764c4e19 [2021-06-27T07:18:02.266Z] ---> e3b3f67ba095 [2021-06-27T07:18:02.266Z] Step 9/10 : COPY . . [2021-06-27T07:18:02.530Z] ---> 77310f66171d [2021-06-27T07:18:02.531Z] Step 10/10 : RUN go mod download [2021-06-27T07:18:02.531Z] ---> Running in 2c1880db10b9 [2021-06-27T07:18:17.484Z] Removing intermediate container 2c1880db10b9 [2021-06-27T07:18:17.484Z] ---> 150582125793 [2021-06-27T07:18:17.484Z] Successfully built 150582125793 [2021-06-27T07:18:17.485Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:18:17.794Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:18:17.795Z] . [Pipeline] withDockerContainer [2021-06-27T07:18:17.876Z] prd-centos7-docker-4c-2g-325 does not seem to be running inside a container [2021-06-27T07:18:17.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-27T07:18:18.324Z] $ docker top 09c3d4289223f7b6dd6969d0dbbc06a24fcbc185790657537ecd41066e1470f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:18:18.709Z] + go version [2021-06-27T07:18:18.709Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-27T07:18:18.718Z] $ docker stop --time=1 09c3d4289223f7b6dd6969d0dbbc06a24fcbc185790657537ecd41066e1470f3 [2021-06-27T07:18:19.941Z] $ docker rm -f 09c3d4289223f7b6dd6969d0dbbc06a24fcbc185790657537ecd41066e1470f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:18:20.515Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-27T07:18:20.515Z] . [Pipeline] withDockerContainer [2021-06-27T07:18:20.596Z] prd-centos7-docker-4c-2g-325 does not seem to be running inside a container [2021-06-27T07:18:20.640Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-27T07:18:21.081Z] $ docker top caff5fac38c02c90721f2d9aadaae919b9ad8bcfa7ef3953d3ce0ffa7296d549 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:18:21.478Z] + go mod tidy [Pipeline] sh [2021-06-27T07:18:22.051Z] + make test [2021-06-27T07:18:22.051Z] go mod tidy [2021-06-27T07:18:22.051Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-27T07:18:22.638Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-27T07:18:24.389Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-326 in /w/workspace/gexfoundry_device-rest-go_PR-123 [Pipeline] { [Pipeline] ws [2021-06-27T07:18:24.409Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2021-06-27T07:18:24.617Z] The recommended git tool is: git [2021-06-27T07:18:29.795Z] using credential edgex-jenkins-ssh [2021-06-27T07:18:29.833Z] Cloning the remote Git repository [2021-06-27T07:18:29.863Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:18:29.961Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2021-06-27T07:18:30.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:18:30.032Z] > git --version # timeout=10 [2021-06-27T07:18:30.051Z] > git --version # 'git version 2.17.1' [2021-06-27T07:18:30.052Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:18:30.192Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:18:31.821Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:18:31.843Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-27T07:18:32.532Z] Merging remotes/origin/master commit acb551efcb6a1b4088edd326f55b17ef654f475f into PR head commit 703406679a0bd739babd0126f7438661081b810c [2021-06-27T07:18:32.778Z] Merge succeeded, producing a7b00559475b4fe884a99a0c350b14c86e5101c5 [2021-06-27T07:18:32.778Z] Checking out Revision a7b00559475b4fe884a99a0c350b14c86e5101c5 (PR-123) [2021-06-27T07:18:31.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-27T07:18:31.918Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-27T07:18:31.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:18:31.930Z] > 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:18:32.535Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:18:32.563Z] > git checkout -f 703406679a0bd739babd0126f7438661081b810c # timeout=10 [2021-06-27T07:18:32.635Z] > git remote # timeout=10 [2021-06-27T07:18:32.660Z] > git config --get remote.origin.url # timeout=10 [2021-06-27T07:18:32.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-27T07:18:32.687Z] > git merge acb551efcb6a1b4088edd326f55b17ef654f475f # timeout=10 [2021-06-27T07:18:32.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-27T07:18:32.768Z] > git config core.sparsecheckout # timeout=10 [2021-06-27T07:18:32.780Z] > git checkout -f a7b00559475b4fe884a99a0c350b14c86e5101c5 # timeout=10 [2021-06-27T07:18:37.019Z] Commit message: "Merge commit 'acb551efcb6a1b4088edd326f55b17ef654f475f' into HEAD" [2021-06-27T07:18:37.041Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:18:37.013Z] > git rev-list --no-walk 0df52e22b84e248f35bdc836271b82f752d1d6ec # timeout=10 [2021-06-27T07:18:38.220Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-06-27T07:18:38.346Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-27T07:18:38.346Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-27T07:18:38.346Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [Pipeline] sh [2021-06-27T07:18:38.688Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-27T07:18:39.032Z] + sudo service docker restart [2021-06-27T07:18:39.032Z] + true [2021-06-27T07:18:44.974Z] gofmt -l . [2021-06-27T07:18:44.974Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:18:44.974Z] ./bin/test-go-mod-tidy.sh [2021-06-27T07:18:44.974Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:18:45.245Z] $ docker stop --time=1 caff5fac38c02c90721f2d9aadaae919b9ad8bcfa7ef3953d3ce0ffa7296d549 [2021-06-27T07:18:47.710Z] $ docker rm -f caff5fac38c02c90721f2d9aadaae919b9ad8bcfa7ef3953d3ce0ffa7296d549 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:18:48.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:18:48.402Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-27T07:18:52.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:18:52.757Z] + ls -al . [2021-06-27T07:18:52.757Z] total 112 [2021-06-27T07:18:52.757Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 27 07:18 . [2021-06-27T07:18:52.757Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 27 07:17 .. [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 27 07:17 Attribution.txt [2021-06-27T07:18:52.757Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 27 07:17 bin [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jun 27 07:17 CHANGELOG.md [2021-06-27T07:18:52.757Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 27 07:17 cmd [2021-06-27T07:18:52.757Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 27 07:18 coverage.out [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 27 07:17 Dockerfile [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 27 07:17 Dockerfile.build [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 27 07:17 .dockerignore [2021-06-27T07:18:52.757Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 27 07:17 driver [2021-06-27T07:18:52.757Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 27 07:17 .git [2021-06-27T07:18:52.757Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 27 07:17 .github [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 27 07:17 .gitignore [2021-06-27T07:18:52.757Z] -rw-r--r--. 1 jenkins jenkins 286 Jun 27 07:18 go.mod [2021-06-27T07:18:52.757Z] -rw-r--r--. 1 jenkins jenkins 20777 Jun 27 07:18 go.sum [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 27 07:17 Jenkinsfile [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 27 07:17 LICENSE [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 27 07:17 Makefile [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 27 07:17 README.md [2021-06-27T07:18:52.757Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 27 07:17 snap [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 27 07:15 VERSION [2021-06-27T07:18:52.757Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 27 07:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:18:53.069Z] + 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=1e1006ff842a54f53d7845e99973857c4cbc3129 --label arch=amd64 --label version=0.0.0 . [2021-06-27T07:18:53.069Z] Sending build context to Docker daemon 110.1kB [2021-06-27T07:18:53.069Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:18:53.069Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-27T07:18:53.069Z] ---> 150582125793 [2021-06-27T07:18:53.069Z] Step 3/25 : ARG MAKE='make build' [2021-06-27T07:18:53.069Z] ---> Running in 298c7763fad4 [2021-06-27T07:18:53.069Z] Removing intermediate container 298c7763fad4 [2021-06-27T07:18:53.069Z] ---> 25349a46608d [2021-06-27T07:18:53.069Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:18:53.331Z] ---> Running in b138ffa44809 [2021-06-27T07:18:53.331Z] Removing intermediate container b138ffa44809 [2021-06-27T07:18:53.331Z] ---> 1c5b4d12e1a2 [2021-06-27T07:18:53.331Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:18:53.331Z] ---> Running in 9514b45f6257 [2021-06-27T07:18:53.598Z] Removing intermediate container 9514b45f6257 [2021-06-27T07:18:53.598Z] ---> 4add9a877d48 [2021-06-27T07:18:53.598Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:18:53.598Z] ---> Running in eeaa633d3543 [2021-06-27T07:18:54.181Z] Removing intermediate container eeaa633d3543 [2021-06-27T07:18:54.181Z] ---> 045cdfc28ba4 [2021-06-27T07:18:54.181Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:18:54.181Z] ---> Running in 4533e7c87f9d [2021-06-27T07:18:54.445Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:18:55.386Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:18:55.962Z] OK: 154 MiB in 49 packages [2021-06-27T07:18:56.224Z] Removing intermediate container 4533e7c87f9d [2021-06-27T07:18:56.224Z] ---> 60c6452c1f0a [2021-06-27T07:18:56.224Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-27T07:18:56.224Z] ---> Running in d19d7354cd1a [2021-06-27T07:18:56.484Z] Removing intermediate container d19d7354cd1a [2021-06-27T07:18:56.484Z] ---> 08814f606b2f [2021-06-27T07:18:56.484Z] Step 9/25 : COPY . . [2021-06-27T07:18:56.484Z] ---> 5b90d6a414d9 [2021-06-27T07:18:56.484Z] Step 10/25 : RUN go mod tidy [2021-06-27T07:18:56.484Z] ---> Running in 7706ceb4b71c [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:18:57.437Z] provisioning config files... [2021-06-27T07:18:57.444Z] Removing intermediate container 7706ceb4b71c [2021-06-27T07:18:57.444Z] ---> 6c37c9630ecd [2021-06-27T07:18:57.444Z] Step 11/25 : RUN make update [2021-06-27T07:18:57.444Z] ---> Running in 5a966d487146 [2021-06-27T07:18:57.462Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config2478923733710086155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:18:57.709Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:18:57.873Z] ---> docker-login.sh [2021-06-27T07:18:57.873Z] nexus3.edgexfoundry.org:10001 [2021-06-27T07:18:57.972Z] Removing intermediate container 5a966d487146 [2021-06-27T07:18:57.972Z] ---> 13c09cdea88b [2021-06-27T07:18:57.972Z] Step 12/25 : RUN $MAKE [2021-06-27T07:18:57.972Z] ---> Running in 68c8c39ce7c1 [2021-06-27T07:18:58.240Z] go mod tidy [2021-06-27T07:18:58.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:18:58.506Z] 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:18:59.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:18:59.074Z] Configure a credential helper to remove this warning. See [2021-06-27T07:18:59.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:18:59.074Z] [2021-06-27T07:18:59.074Z] Login Succeeded [2021-06-27T07:18:59.074Z] nexus3.edgexfoundry.org:10002 [2021-06-27T07:18:59.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:18:59.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:18:59.626Z] Configure a credential helper to remove this warning. See [2021-06-27T07:18:59.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:18:59.626Z] [2021-06-27T07:18:59.626Z] Login Succeeded [2021-06-27T07:18:59.626Z] nexus3.edgexfoundry.org:10003 [2021-06-27T07:18:59.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:19:00.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:19:00.176Z] Configure a credential helper to remove this warning. See [2021-06-27T07:19:00.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:19:00.176Z] [2021-06-27T07:19:00.176Z] Login Succeeded [2021-06-27T07:19:00.176Z] nexus3.edgexfoundry.org:10004 [2021-06-27T07:19:00.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:19:00.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:19:00.727Z] Configure a credential helper to remove this warning. See [2021-06-27T07:19:00.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:19:00.727Z] [2021-06-27T07:19:00.727Z] Login Succeeded [2021-06-27T07:19:00.727Z] docker.io [2021-06-27T07:19:01.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-27T07:19:01.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-27T07:19:01.599Z] Configure a credential helper to remove this warning. See [2021-06-27T07:19:01.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-27T07:19:01.599Z] [2021-06-27T07:19:01.599Z] Login Succeeded [2021-06-27T07:19:01.599Z] ---> docker-login.sh ends [Pipeline] } [2021-06-27T07:19:01.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-27T07:19:01.932Z] ========================================================= [2021-06-27T07:19:01.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-27T07:19:01.932Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:19:02.292Z] + 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:19:02.292Z] Sending build context to Docker daemon 100.4kB [2021-06-27T07:19:02.570Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:19:02.570Z] Step 2/10 : FROM ${BASE} [2021-06-27T07:19:02.846Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-27T07:19:02.846Z] 595b0fe564bb: Pulling fs layer [2021-06-27T07:19:02.846Z] 3088b5b3c5c0: Pulling fs layer [2021-06-27T07:19:02.846Z] 5b7225fbf94c: Pulling fs layer [2021-06-27T07:19:02.846Z] ba82ee9f976e: Pulling fs layer [2021-06-27T07:19:02.846Z] 506bd15cee9f: Pulling fs layer [2021-06-27T07:19:02.846Z] 75a0a4a0db45: Pulling fs layer [2021-06-27T07:19:02.846Z] 618dc40b7e24: Pulling fs layer [2021-06-27T07:19:02.846Z] 506bd15cee9f: Waiting [2021-06-27T07:19:02.846Z] 75a0a4a0db45: Waiting [2021-06-27T07:19:02.846Z] 618dc40b7e24: Waiting [2021-06-27T07:19:02.846Z] ba82ee9f976e: Waiting [2021-06-27T07:19:02.846Z] 5b7225fbf94c: Verifying Checksum [2021-06-27T07:19:02.846Z] 5b7225fbf94c: Download complete [2021-06-27T07:19:02.846Z] 3088b5b3c5c0: Verifying Checksum [2021-06-27T07:19:02.846Z] 3088b5b3c5c0: Download complete [2021-06-27T07:19:02.846Z] 506bd15cee9f: Verifying Checksum [2021-06-27T07:19:02.846Z] 506bd15cee9f: Download complete [2021-06-27T07:19:02.846Z] 595b0fe564bb: Download complete [2021-06-27T07:19:02.846Z] 75a0a4a0db45: Download complete [2021-06-27T07:19:03.865Z] 595b0fe564bb: Pull complete [2021-06-27T07:19:04.139Z] 3088b5b3c5c0: Pull complete [2021-06-27T07:19:04.741Z] 618dc40b7e24: Verifying Checksum [2021-06-27T07:19:04.741Z] 618dc40b7e24: Download complete [2021-06-27T07:19:04.741Z] 5b7225fbf94c: Pull complete [2021-06-27T07:19:06.190Z] ba82ee9f976e: Verifying Checksum [2021-06-27T07:19:06.190Z] ba82ee9f976e: Download complete [2021-06-27T07:19:10.840Z] Removing intermediate container 68c8c39ce7c1 [2021-06-27T07:19:10.840Z] ---> fa329310ce23 [2021-06-27T07:19:10.840Z] Step 13/25 : FROM alpine:3.12 [2021-06-27T07:19:10.840Z] 3.12: Pulling from library/alpine [2021-06-27T07:19:10.840Z] 339de151aab4: Pulling fs layer [2021-06-27T07:19:10.840Z] 339de151aab4: Verifying Checksum [2021-06-27T07:19:10.840Z] 339de151aab4: Download complete [2021-06-27T07:19:10.840Z] 339de151aab4: Pull complete [2021-06-27T07:19:10.840Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:19:10.840Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:19:10.840Z] ---> 13621d1b12d4 [2021-06-27T07:19:10.840Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:19:10.840Z] ---> Running in 860af4bfa48f [2021-06-27T07:19:10.840Z] Removing intermediate container 860af4bfa48f [2021-06-27T07:19:10.840Z] ---> 29dd2dce5dfc [2021-06-27T07:19:10.840Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-27T07:19:10.840Z] ---> Running in 380b99094b2a [2021-06-27T07:19:10.840Z] Removing intermediate container 380b99094b2a [2021-06-27T07:19:10.840Z] ---> 899d77d49f7d [2021-06-27T07:19:10.840Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:19:10.840Z] ---> Running in d6fd73ba3c0c [2021-06-27T07:19:11.101Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-27T07:19:11.101Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-27T07:19:11.364Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:19:11.364Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:19:11.364Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:19:11.364Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:19:11.364Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:19:11.364Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:19:11.364Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:19:11.364Z] OK: 8 MiB in 20 packages [2021-06-27T07:19:11.627Z] Removing intermediate container d6fd73ba3c0c [2021-06-27T07:19:11.627Z] ---> dfb125ef2628 [2021-06-27T07:19:11.627Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-27T07:19:11.888Z] ---> 981885cddc5b [2021-06-27T07:19:11.888Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-27T07:19:12.151Z] ---> e8739bec5937 [2021-06-27T07:19:12.151Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-27T07:19:12.151Z] ---> dd79d02fbc18 [2021-06-27T07:19:12.151Z] Step 20/25 : EXPOSE 59986 [2021-06-27T07:19:12.417Z] ---> Running in 4c17a83d7736 [2021-06-27T07:19:12.417Z] Removing intermediate container 4c17a83d7736 [2021-06-27T07:19:12.417Z] ---> 3b340e5a019b [2021-06-27T07:19:12.417Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-27T07:19:12.417Z] ---> Running in 073f668ea214 [2021-06-27T07:19:12.417Z] Removing intermediate container 073f668ea214 [2021-06-27T07:19:12.417Z] ---> 84ca018cbcb9 [2021-06-27T07:19:12.417Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:19:12.417Z] ---> Running in bcfdc8d6714d [2021-06-27T07:19:12.679Z] Removing intermediate container bcfdc8d6714d [2021-06-27T07:19:12.679Z] ---> 36eed4536a5d [2021-06-27T07:19:12.679Z] Step 23/25 : LABEL arch=amd64 [2021-06-27T07:19:12.679Z] ---> Running in 9a6e21837145 [2021-06-27T07:19:12.679Z] Removing intermediate container 9a6e21837145 [2021-06-27T07:19:12.679Z] ---> 77283f6a2ac9 [2021-06-27T07:19:12.679Z] Step 24/25 : LABEL git_sha=1e1006ff842a54f53d7845e99973857c4cbc3129 [2021-06-27T07:19:12.679Z] ---> Running in b0b03b3f14bc [2021-06-27T07:19:12.679Z] Removing intermediate container b0b03b3f14bc [2021-06-27T07:19:12.679Z] ---> 159741574f63 [2021-06-27T07:19:12.679Z] Step 25/25 : LABEL version=0.0.0 [2021-06-27T07:19:12.943Z] ---> Running in dcd471663e0e [2021-06-27T07:19:12.943Z] Removing intermediate container dcd471663e0e [2021-06-27T07:19:12.943Z] ---> 09f9266d6506 [2021-06-27T07:19:12.943Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:19:12.943Z] Successfully built 09f9266d6506 [2021-06-27T07:19:12.943Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:19:13.766Z] ---> job-cost.sh [2021-06-27T07:19:13.766Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-5ews [2021-06-27T07:19:16.380Z] ba82ee9f976e: Pull complete [2021-06-27T07:19:16.976Z] 506bd15cee9f: Pull complete [2021-06-27T07:19:17.250Z] 75a0a4a0db45: Pull complete [2021-06-27T07:19:21.570Z] 618dc40b7e24: Pull complete [2021-06-27T07:19:21.570Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-27T07:19:21.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-27T07:19:21.570Z] ---> a36622ca3599 [2021-06-27T07:19:21.570Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:19:23.009Z] ---> Running in e848461fe4f5 [2021-06-27T07:19:23.286Z] Removing intermediate container e848461fe4f5 [2021-06-27T07:19:23.286Z] ---> 9af763925a8c [2021-06-27T07:19:23.286Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:19:23.585Z] ---> Running in 882d1accb389 [2021-06-27T07:19:23.792Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:19:24.254Z] Removing intermediate container 882d1accb389 [2021-06-27T07:19:24.254Z] ---> 093ba79a1da7 [2021-06-27T07:19:24.254Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:19:24.254Z] ---> Running in 782307b62ef0 [2021-06-27T07:19:24.864Z] Removing intermediate container 782307b62ef0 [2021-06-27T07:19:24.864Z] ---> ff73329a37c7 [2021-06-27T07:19:24.864Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:19:24.864Z] ---> Running in d88a136b0048 [2021-06-27T07:19:27.499Z] Removing intermediate container d88a136b0048 [2021-06-27T07:19:27.499Z] ---> 787c03ad1950 [2021-06-27T07:19:27.499Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:19:27.499Z] ---> Running in c087ae59455b [2021-06-27T07:19:28.932Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:19:29.524Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:19:30.501Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-27T07:19:30.501Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-27T07:19:30.501Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-27T07:19:30.501Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-27T07:19:30.772Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-27T07:19:30.772Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-27T07:19:31.041Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-27T07:19:31.317Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-27T07:19:31.317Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-27T07:19:31.317Z] Executing busybox-1.32.1-r6.trigger [2021-06-27T07:19:31.317Z] OK: 144 MiB in 49 packages [2021-06-27T07:19:32.786Z] Removing intermediate container c087ae59455b [2021-06-27T07:19:32.786Z] ---> 4c0eecf86388 [2021-06-27T07:19:32.786Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-27T07:19:33.059Z] ---> Running in 0a36db75e743 [2021-06-27T07:19:33.333Z] Removing intermediate container 0a36db75e743 [2021-06-27T07:19:33.333Z] ---> 9721d1e30544 [2021-06-27T07:19:33.333Z] Step 9/10 : COPY . . [2021-06-27T07:19:34.309Z] ---> dff12c14b441 [2021-06-27T07:19:34.309Z] Step 10/10 : RUN go mod download [2021-06-27T07:19:34.582Z] ---> Running in a7515728b412 [2021-06-27T07:19:36.078Z] lf-activate-venv(): INFO: Adding /tmp/venv-5ews/bin to PATH [2021-06-27T07:19:36.078Z] INFO: No Stack... [2021-06-27T07:19:36.340Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:19:36.912Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:19:37.213Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2021-06-27T07:19:37.213Z] + cut -d, -f6 [Pipeline] lock [2021-06-27T07:19:37.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] [2021-06-27T07:19:37.256Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] did not exist. Created. [2021-06-27T07:19:37.256Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:19:37.597Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-27T07:19:37.674Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:19:37.693Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-27T07:20:01.400Z] Removing intermediate container a7515728b412 [2021-06-27T07:20:01.400Z] ---> 857b3877eb25 [2021-06-27T07:20:01.400Z] Successfully built 857b3877eb25 [2021-06-27T07:20:01.400Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:20:01.748Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:20:01.749Z] . [Pipeline] withDockerContainer [2021-06-27T07:20:02.014Z] prd-ubuntu18.04-docker-arm64-4c-16g-326 does not seem to be running inside a container [2021-06-27T07:20:02.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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-arm64 cat [2021-06-27T07:20:03.775Z] $ docker top 4bcd762fa02058fd60e19090492708db5637bf3993193db8644d567f6d7badb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:20:04.755Z] + go version [2021-06-27T07:20:04.756Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-27T07:20:04.782Z] $ docker stop --time=1 4bcd762fa02058fd60e19090492708db5637bf3993193db8644d567f6d7badb1 [2021-06-27T07:20:06.637Z] $ docker rm -f 4bcd762fa02058fd60e19090492708db5637bf3993193db8644d567f6d7badb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:20:07.439Z] + docker inspect -f . ci-base-image-arm64 [2021-06-27T07:20:07.439Z] . [Pipeline] withDockerContainer [2021-06-27T07:20:07.700Z] prd-ubuntu18.04-docker-arm64-4c-16g-326 does not seem to be running inside a container [2021-06-27T07:20:07.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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-arm64 cat [2021-06-27T07:20:09.387Z] $ docker top 3bad68d60622dff26e5ad52c94be94b2e5dcc7aac4815aca3930bff668ddea55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:20:10.327Z] + go mod tidy [Pipeline] sh [2021-06-27T07:20:11.596Z] + make test [2021-06-27T07:20:11.597Z] go mod tidy [2021-06-27T07:20:12.196Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-27T07:20:13.187Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-27T07:21:09.802Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-27T07:21:09.802Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements [2021-06-27T07:21:09.802Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-27T07:21:32.034Z] gofmt -l . [2021-06-27T07:21:32.034Z] [ "`gofmt -l .`" = "" ] [2021-06-27T07:21:32.034Z] ./bin/test-go-mod-tidy.sh [2021-06-27T07:21:32.034Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-27T07:21:32.064Z] $ docker stop --time=1 3bad68d60622dff26e5ad52c94be94b2e5dcc7aac4815aca3930bff668ddea55 [2021-06-27T07:21:34.100Z] $ docker rm -f 3bad68d60622dff26e5ad52c94be94b2e5dcc7aac4815aca3930bff668ddea55 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-27T07:21:34.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-27T07:21:35.003Z] Warning: overwriting stash ‘coverage-report’ [2021-06-27T07:21:35.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-27T07:21:35.999Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-27T07:21:36.338Z] + ls -al . [2021-06-27T07:21:36.338Z] total 140 [2021-06-27T07:21:36.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:21 . [2021-06-27T07:21:36.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:18 .. [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 27 07:18 .dockerignore [2021-06-27T07:21:36.338Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 07:18 .git [2021-06-27T07:21:36.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:18 .github [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 27 07:18 .gitignore [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 27 07:18 Attribution.txt [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 27 07:18 CHANGELOG.md [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 27 07:18 Dockerfile [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 27 07:18 Dockerfile.build [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 27 07:18 Jenkinsfile [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 07:18 LICENSE [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 27 07:18 Makefile [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 27 07:18 README.md [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 07:15 VERSION [2021-06-27T07:21:36.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:18 bin [2021-06-27T07:21:36.338Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 07:18 cmd [2021-06-27T07:21:36.338Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 27 07:21 coverage.out [2021-06-27T07:21:36.338Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 07:18 driver [2021-06-27T07:21:36.338Z] -rw-r--r-- 1 jenkins jenkins 286 Jun 27 07:21 go.mod [2021-06-27T07:21:36.338Z] -rw-r--r-- 1 jenkins jenkins 20777 Jun 27 07:20 go.sum [2021-06-27T07:21:36.338Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 07:18 snap [2021-06-27T07:21:36.338Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 27 07:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:21:36.684Z] + 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=a7b00559475b4fe884a99a0c350b14c86e5101c5 --label arch=arm64 --label version=0.0.0 . [2021-06-27T07:21:36.685Z] Sending build context to Docker daemon 110.1kB [2021-06-27T07:21:36.960Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-27T07:21:36.960Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-27T07:21:36.960Z] ---> 857b3877eb25 [2021-06-27T07:21:36.960Z] Step 3/25 : ARG MAKE='make build' [2021-06-27T07:21:37.233Z] ---> Running in 2c84039905af [2021-06-27T07:21:37.829Z] Removing intermediate container 2c84039905af [2021-06-27T07:21:37.829Z] ---> 41bfde5055fc [2021-06-27T07:21:37.829Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-27T07:21:37.829Z] ---> Running in a43aa1cb40c9 [2021-06-27T07:21:38.433Z] Removing intermediate container a43aa1cb40c9 [2021-06-27T07:21:38.433Z] ---> ecd2cd8eab25 [2021-06-27T07:21:38.433Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-27T07:21:38.433Z] ---> Running in 6e43a98fd286 [2021-06-27T07:21:39.030Z] Removing intermediate container 6e43a98fd286 [2021-06-27T07:21:39.030Z] ---> e8f8f12949f8 [2021-06-27T07:21:39.030Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-27T07:21:39.319Z] ---> Running in e24d6ab640b0 [2021-06-27T07:21:41.306Z] Removing intermediate container e24d6ab640b0 [2021-06-27T07:21:41.306Z] ---> e91e335ab0cb [2021-06-27T07:21:41.306Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-27T07:21:41.592Z] ---> Running in 6bfafd558431 [2021-06-27T07:21:42.571Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:21:43.557Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:21:44.549Z] OK: 144 MiB in 49 packages [2021-06-27T07:21:45.527Z] Removing intermediate container 6bfafd558431 [2021-06-27T07:21:45.527Z] ---> f4558a93e331 [2021-06-27T07:21:45.527Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-27T07:21:45.527Z] ---> Running in b8805a7e0d61 [2021-06-27T07:21:46.124Z] Removing intermediate container b8805a7e0d61 [2021-06-27T07:21:46.124Z] ---> bfa04b59a43a [2021-06-27T07:21:46.124Z] Step 9/25 : COPY . . [2021-06-27T07:21:47.117Z] ---> 285b980b1f74 [2021-06-27T07:21:47.117Z] Step 10/25 : RUN go mod tidy [2021-06-27T07:21:47.117Z] ---> Running in b12563682e56 [2021-06-27T07:21:49.745Z] Removing intermediate container b12563682e56 [2021-06-27T07:21:49.745Z] ---> 4646ced335f5 [2021-06-27T07:21:49.745Z] Step 11/25 : RUN make update [2021-06-27T07:21:50.019Z] ---> Running in b804b0cd71d6 [2021-06-27T07:21:51.459Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-27T07:21:52.447Z] Removing intermediate container b804b0cd71d6 [2021-06-27T07:21:52.447Z] ---> 510af39766ae [2021-06-27T07:21:52.447Z] Step 12/25 : RUN $MAKE [2021-06-27T07:21:52.447Z] ---> Running in 60b13fa804ca [2021-06-27T07:21:53.433Z] go mod tidy [2021-06-27T07:21:54.037Z] 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:22:33.081Z] Removing intermediate container 60b13fa804ca [2021-06-27T07:22:33.081Z] ---> 31eb30e862f8 [2021-06-27T07:22:33.081Z] Step 13/25 : FROM alpine:3.12 [2021-06-27T07:22:33.081Z] 3.12: Pulling from library/alpine [2021-06-27T07:22:33.081Z] d2f70382dc9a: Pulling fs layer [2021-06-27T07:22:33.081Z] d2f70382dc9a: Verifying Checksum [2021-06-27T07:22:33.081Z] d2f70382dc9a: Download complete [2021-06-27T07:22:33.081Z] d2f70382dc9a: Pull complete [2021-06-27T07:22:33.081Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-27T07:22:33.081Z] Status: Downloaded newer image for alpine:3.12 [2021-06-27T07:22:33.081Z] ---> c4fd0aeabfcf [2021-06-27T07:22:33.081Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-27T07:22:33.081Z] ---> Running in 848fab0b0320 [2021-06-27T07:22:33.081Z] Removing intermediate container 848fab0b0320 [2021-06-27T07:22:33.081Z] ---> 7775a546346d [2021-06-27T07:22:33.081Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-27T07:22:33.081Z] ---> Running in 59991777f946 [2021-06-27T07:22:33.081Z] Removing intermediate container 59991777f946 [2021-06-27T07:22:33.081Z] ---> 25113d402a33 [2021-06-27T07:22:33.081Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-27T07:22:33.081Z] ---> Running in d5d95bc4edb6 [2021-06-27T07:22:33.081Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-27T07:22:33.081Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-27T07:22:33.081Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-27T07:22:33.081Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-27T07:22:33.081Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-27T07:22:33.081Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-27T07:22:33.081Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-27T07:22:33.081Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-27T07:22:33.081Z] Executing busybox-1.31.1-r20.trigger [2021-06-27T07:22:33.081Z] OK: 8 MiB in 20 packages [2021-06-27T07:22:34.526Z] Removing intermediate container d5d95bc4edb6 [2021-06-27T07:22:34.526Z] ---> 769ff6b26e75 [2021-06-27T07:22:34.526Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-27T07:22:35.506Z] ---> 66ca6b487756 [2021-06-27T07:22:35.506Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-27T07:22:36.488Z] ---> 1aec5c389e78 [2021-06-27T07:22:36.488Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-27T07:22:37.088Z] ---> 3ce145b0ca07 [2021-06-27T07:22:37.088Z] Step 20/25 : EXPOSE 59986 [2021-06-27T07:22:37.362Z] ---> Running in 90b8b0cb0f7d [2021-06-27T07:22:37.638Z] Removing intermediate container 90b8b0cb0f7d [2021-06-27T07:22:37.638Z] ---> db41fc89f851 [2021-06-27T07:22:37.638Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-27T07:22:37.913Z] ---> Running in c4997985777f [2021-06-27T07:22:38.514Z] Removing intermediate container c4997985777f [2021-06-27T07:22:38.514Z] ---> d55e708367ba [2021-06-27T07:22:38.514Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-27T07:22:38.514Z] ---> Running in ebe174456073 [2021-06-27T07:22:39.115Z] Removing intermediate container ebe174456073 [2021-06-27T07:22:39.115Z] ---> 4b62c66d604b [2021-06-27T07:22:39.115Z] Step 23/25 : LABEL arch=arm64 [2021-06-27T07:22:39.115Z] ---> Running in 15d8b341ea7c [2021-06-27T07:22:39.714Z] Removing intermediate container 15d8b341ea7c [2021-06-27T07:22:39.714Z] ---> 99dc0d237276 [2021-06-27T07:22:39.714Z] Step 24/25 : LABEL git_sha=a7b00559475b4fe884a99a0c350b14c86e5101c5 [2021-06-27T07:22:39.714Z] ---> Running in 4cfdefd371df [2021-06-27T07:22:40.311Z] Removing intermediate container 4cfdefd371df [2021-06-27T07:22:40.311Z] ---> b967123f2c87 [2021-06-27T07:22:40.311Z] Step 25/25 : LABEL version=0.0.0 [2021-06-27T07:22:40.586Z] ---> Running in 87b51606cf66 [2021-06-27T07:22:40.860Z] Removing intermediate container 87b51606cf66 [2021-06-27T07:22:40.860Z] ---> 7a8f26825f5e [2021-06-27T07:22:40.860Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-27T07:22:40.860Z] Successfully built 7a8f26825f5e [2021-06-27T07:22:41.133Z] 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:22:41.765Z] ---> job-cost.sh [2021-06-27T07:22:41.765Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-399E [2021-06-27T07:23:20.754Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-27T07:24:42.505Z] lf-activate-venv(): INFO: Adding /tmp/venv-399E/bin to PATH [2021-06-27T07:24:42.505Z] INFO: No Stack... [2021-06-27T07:24:42.778Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-27T07:24:43.372Z] INFO: Archiving Costs [Pipeline] sh [2021-06-27T07:24:43.723Z] + + cutcat -d, /w/workspace/device-rest-go/4/archives/cost.csv -f6 [2021-06-27T07:24:43.723Z] [Pipeline] lock [2021-06-27T07:24:43.786Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] [2021-06-27T07:24:43.792Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] did not exist. Created. [2021-06-27T07:24:43.792Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-123-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-27T07:24:44.163Z] /w/workspace/device-rest-go/4@tmp/durable-421a1f58/script.sh: 1: /w/workspace/device-rest-go/4@tmp/durable-421a1f58/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-27T07:24:44.510Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-27T07:24:44.545Z] Warning: overwriting stash ‘stack-cost’ [2021-06-27T07:24:44.698Z] Stashed 1 file(s) [Pipeline] } [2021-06-27T07:24:44.723Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-123-4-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:24:45.604Z] provisioning config files... [2021-06-27T07:24:45.614Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config8042535688346635220tmp [Pipeline] { [Pipeline] sh [2021-06-27T07:24:45.938Z] + set +x [2021-06-27T07:24:45.938Z] + curl -s https://codecov.io/bash [2021-06-27T07:24:45.938Z] + bash -s -- [2021-06-27T07:24:45.938Z] [2021-06-27T07:24:45.938Z] _____ _ [2021-06-27T07:24:45.938Z] / ____| | | [2021-06-27T07:24:45.938Z] | | ___ __| | ___ ___ _____ __ [2021-06-27T07:24:45.938Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-27T07:24:45.938Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-27T07:24:45.938Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-27T07:24:45.938Z] Bash-1.0.3 [2021-06-27T07:24:45.938Z] [2021-06-27T07:24:45.938Z] [2021-06-27T07:24:45.938Z] ==> git version 2.24.4 found [2021-06-27T07:24:45.938Z] ==> 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:24:45.938Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-27T07:24:45.938Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-27T07:24:45.938Z] ==> Jenkins CI detected. [2021-06-27T07:24:45.938Z] project root: . [2021-06-27T07:24:45.938Z] --> token set from env [2021-06-27T07:24:45.938Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-27T07:24:46.201Z] ==> Running gcov in . (disable via -X gcov) [2021-06-27T07:24:46.202Z] ==> Python coveragepy not found [2021-06-27T07:24:46.202Z] ==> Searching for coverage reports in: [2021-06-27T07:24:46.202Z] + . [2021-06-27T07:24:46.202Z] -> Found 1 reports [2021-06-27T07:24:46.202Z] ==> Detecting git/mercurial file structure [2021-06-27T07:24:46.202Z] ==> Reading reports [2021-06-27T07:24:46.202Z] + ./coverage.out bytes=8513 [2021-06-27T07:24:46.202Z] ==> Appending adjustments [2021-06-27T07:24:46.202Z] https://docs.codecov.io/docs/fixing-reports [2021-06-27T07:24:46.202Z] + Found adjustments [2021-06-27T07:24:46.202Z] ==> Gzipping contents [2021-06-27T07:24:46.202Z] 4.0K /tmp/codecov.WYwJDE.gz [2021-06-27T07:24:46.202Z] ==> Uploading reports [2021-06-27T07:24:46.202Z] url: https://codecov.io [2021-06-27T07:24:46.202Z] query: branch=PR-123&commit=3fe616ed3f063443007c61c3d4a74f8e07d62510&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-123%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=123&job=&cmd_args= [2021-06-27T07:24:46.202Z] -> Pinging Codecov [2021-06-27T07:24:46.202Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-123&commit=3fe616ed3f063443007c61c3d4a74f8e07d62510&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-123%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=123&job=&cmd_args= [2021-06-27T07:24:46.463Z] -> Uploading to [2021-06-27T07:24:46.463Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-27/4E5D53B4F1F92C436F7061BF334D961C/3fe616ed3f063443007c61c3d4a74f8e07d62510/a4b2fbab-9dd4-4e68-bd82-24c7401288db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210627T072446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c901db5029a5a791cc9468b1557627f222188623b34c5867f89c7b4dafa844b [2021-06-27T07:24:46.463Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-27T07:24:46.463Z] Dload Upload Total Spent Left Speed [2021-06-27T07:24:47.036Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 4670 --:--:-- --:--:-- --:--:-- 4660 [2021-06-27T07:24:47.036Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/3fe616ed3f063443007c61c3d4a74f8e07d62510 [Pipeline] } [2021-06-27T07:24:47.045Z] 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:24:48.917Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:24:49.497Z] ---> package-listing.sh [2021-06-27T07:24:49.497Z] ++ facter osfamily [2021-06-27T07:24:49.497Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-27T07:24:49.759Z] + OS_FAMILY=redhat [2021-06-27T07:24:49.759Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-123 [2021-06-27T07:24:49.759Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-27T07:24:49.759Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-27T07:24:49.759Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-27T07:24:49.759Z] + PACKAGES=/tmp/packages_start.txt [2021-06-27T07:24:49.759Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-123 ']' [2021-06-27T07:24:49.759Z] + PACKAGES=/tmp/packages_end.txt [2021-06-27T07:24:49.759Z] + case "${OS_FAMILY}" in [2021-06-27T07:24:49.759Z] + sort [2021-06-27T07:24:49.759Z] + rpm -qa [2021-06-27T07:24:50.338Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-27T07:24:50.338Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-27T07:24:50.338Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-27T07:24:50.338Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-123 ']' [2021-06-27T07:24:50.338Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-123/archives/ [2021-06-27T07:24:50.338Z] + 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:24:50.350Z] 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:24:50.651Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:24:51.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:24:51.225Z] [2021-06-27T07:24:51.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-27T07:24:51.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:24:51.550Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-27T07:24:51.550Z] df20fa9351a1: Pulling fs layer [2021-06-27T07:24:51.550Z] 36b3adc4ff6f: Pulling fs layer [2021-06-27T07:24:51.550Z] 8ad3a11d3b57: Pulling fs layer [2021-06-27T07:24:51.550Z] 46f8f816bc3b: Pulling fs layer [2021-06-27T07:24:51.550Z] 93b61091891f: Pulling fs layer [2021-06-27T07:24:51.550Z] 93b9cdb0e59b: Pulling fs layer [2021-06-27T07:24:51.550Z] 5e14af77c1be: Pulling fs layer [2021-06-27T07:24:51.550Z] 01666e4c0597: Pulling fs layer [2021-06-27T07:24:51.550Z] aa168da1d23b: Pulling fs layer [2021-06-27T07:24:51.550Z] 93b61091891f: Waiting [2021-06-27T07:24:51.550Z] 93b9cdb0e59b: Waiting [2021-06-27T07:24:51.550Z] 5e14af77c1be: Waiting [2021-06-27T07:24:51.550Z] 01666e4c0597: Waiting [2021-06-27T07:24:51.550Z] aa168da1d23b: Waiting [2021-06-27T07:24:51.550Z] 46f8f816bc3b: Waiting [2021-06-27T07:24:51.550Z] 36b3adc4ff6f: Verifying Checksum [2021-06-27T07:24:51.550Z] 36b3adc4ff6f: Download complete [2021-06-27T07:24:51.550Z] 46f8f816bc3b: Verifying Checksum [2021-06-27T07:24:51.550Z] 46f8f816bc3b: Download complete [2021-06-27T07:24:51.550Z] df20fa9351a1: Verifying Checksum [2021-06-27T07:24:51.550Z] df20fa9351a1: Download complete [2021-06-27T07:24:51.820Z] 93b9cdb0e59b: Verifying Checksum [2021-06-27T07:24:51.820Z] 93b9cdb0e59b: Download complete [2021-06-27T07:24:51.820Z] 5e14af77c1be: Verifying Checksum [2021-06-27T07:24:51.820Z] 5e14af77c1be: Download complete [2021-06-27T07:24:51.820Z] 01666e4c0597: Verifying Checksum [2021-06-27T07:24:51.820Z] 01666e4c0597: Download complete [2021-06-27T07:24:51.820Z] 93b61091891f: Verifying Checksum [2021-06-27T07:24:51.820Z] 93b61091891f: Download complete [2021-06-27T07:24:51.820Z] df20fa9351a1: Pull complete [2021-06-27T07:24:52.086Z] 36b3adc4ff6f: Pull complete [2021-06-27T07:24:52.086Z] 8ad3a11d3b57: Verifying Checksum [2021-06-27T07:24:52.086Z] 8ad3a11d3b57: Download complete [2021-06-27T07:24:52.667Z] 8ad3a11d3b57: Pull complete [2021-06-27T07:24:52.667Z] 46f8f816bc3b: Pull complete [2021-06-27T07:24:52.934Z] 93b61091891f: Pull complete [2021-06-27T07:24:52.934Z] 93b9cdb0e59b: Pull complete [2021-06-27T07:24:53.194Z] 5e14af77c1be: Pull complete [2021-06-27T07:24:53.194Z] 01666e4c0597: Pull complete [2021-06-27T07:24:53.765Z] aa168da1d23b: Verifying Checksum [2021-06-27T07:24:53.766Z] aa168da1d23b: Download complete [2021-06-27T07:24:58.023Z] aa168da1d23b: Pull complete [2021-06-27T07:24:58.023Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-27T07:24:58.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-27T07:24:58.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-27T07:24:58.096Z] prd-centos7-docker-4c-2g-323 does not seem to be running inside a container [2021-06-27T07:24:58.136Z] $ 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:25:00.079Z] $ docker top a0908f7bf803132d56dba9c1b5b18ed38929958262e91905d10faf757be99e9e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-27T07:25:00.457Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-27T07:25:00.756Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-27T07:25:01.052Z] + ls /var/log/sa-host [2021-06-27T07:25:01.052Z] + sadf -c /var/log/sa-host/sa05 [2021-06-27T07:25:01.052Z] file_magic: OK [2021-06-27T07:25:01.052Z] HZ: Using current value: 100 [2021-06-27T07:25:01.052Z] file_header: OK [2021-06-27T07:25:01.052Z] 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:25:01.052Z] Statistics: [2021-06-27T07:25:01.052Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:25:01.052Z] File successfully converted to sysstat format version 12.2.1 [2021-06-27T07:25:01.052Z] + sadf -c /var/log/sa-host/sa27 [2021-06-27T07:25:01.052Z] file_magic: OK [2021-06-27T07:25:01.052Z] HZ: Using current value: 100 [2021-06-27T07:25:01.052Z] file_header: OK [2021-06-27T07:25:01.052Z] 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:25:01.052Z] Statistics: [2021-06-27T07:25:01.052Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-27T07:25:01.052Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-27T07:25:01.692Z] provisioning config files... [2021-06-27T07:25:01.708Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-123@tmp/config4120953447968041188tmp [Pipeline] { [Pipeline] echo [2021-06-27T07:25:01.734Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:25:02.031Z] ---> create-netrc.sh [Pipeline] } [2021-06-27T07:25:02.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:25:02.510Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-27T07:25:02.521Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:25:02.828Z] ---> sudo-logs.sh [2021-06-27T07:25:02.828Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-27T07:25:02.866Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:25:03.163Z] ---> job-cost.sh [2021-06-27T07:25:03.163Z] lf-activate-venv: SKIPPING [2021-06-27T07:25:03.163Z] DEBUG: total: 0.18000000715255737 [2021-06-27T07:25:03.163Z] INFO: Retrieving Stack Cost... [2021-06-27T07:25:04.551Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-27T07:25:04.812Z] INFO: Archiving Costs [Pipeline] echo [2021-06-27T07:25:04.826Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-27T07:25:05.135Z] ---> logs-deploy.sh [2021-06-27T07:25:05.135Z] lf-activate-venv: SKIPPING [2021-06-27T07:25:05.135Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-123/4 [2021-06-27T07:25:05.135Z] INFO: archiving workspace using pattern(s): [2021-06-27T07:25:06.083Z] Archives upload complete. [2021-06-27T07:25:06.084Z] INFO: archiving logs to Nexus [2021-06-27T07:25:06.659Z] ---> uname -a: [2021-06-27T07:25:06.659Z] Linux prd-centos7-docker-4c-2g-323.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux [2021-06-27T07:25:06.659Z] [2021-06-27T07:25:06.659Z] [2021-06-27T07:25:06.659Z] ---> lscpu: [2021-06-27T07:25:06.659Z] Architecture: x86_64 [2021-06-27T07:25:06.659Z] CPU op-mode(s): 32-bit, 64-bit [2021-06-27T07:25:06.659Z] Byte Order: Little Endian [2021-06-27T07:25:06.659Z] Address sizes: 40 bits physical, 48 bits virtual [2021-06-27T07:25:06.659Z] CPU(s): 2 [2021-06-27T07:25:06.659Z] On-line CPU(s) list: 0,1 [2021-06-27T07:25:06.659Z] Thread(s) per core: 1 [2021-06-27T07:25:06.659Z] Core(s) per socket: 1 [2021-06-27T07:25:06.659Z] Socket(s): 2 [2021-06-27T07:25:06.659Z] NUMA node(s): 1 [2021-06-27T07:25:06.659Z] Vendor ID: AuthenticAMD [2021-06-27T07:25:06.659Z] CPU family: 23 [2021-06-27T07:25:06.659Z] Model: 49 [2021-06-27T07:25:06.659Z] Model name: AMD EPYC-Rome Processor [2021-06-27T07:25:06.659Z] Stepping: 0 [2021-06-27T07:25:06.659Z] CPU MHz: 2800.000 [2021-06-27T07:25:06.659Z] BogoMIPS: 5600.00 [2021-06-27T07:25:06.659Z] Virtualization: AMD-V [2021-06-27T07:25:06.659Z] Hypervisor vendor: KVM [2021-06-27T07:25:06.659Z] Virtualization type: full [2021-06-27T07:25:06.659Z] L1d cache: 64 KiB [2021-06-27T07:25:06.659Z] L1i cache: 64 KiB [2021-06-27T07:25:06.659Z] L2 cache: 1 MiB [2021-06-27T07:25:06.659Z] L3 cache: 32 MiB [2021-06-27T07:25:06.659Z] NUMA node0 CPU(s): 0,1 [2021-06-27T07:25:06.659Z] Vulnerability Itlb multihit: Not affected [2021-06-27T07:25:06.659Z] Vulnerability L1tf: Not affected [2021-06-27T07:25:06.659Z] Vulnerability Mds: Not affected [2021-06-27T07:25:06.659Z] Vulnerability Meltdown: Not affected [2021-06-27T07:25:06.659Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-06-27T07:25:06.659Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-06-27T07:25:06.659Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-06-27T07:25:06.659Z] Vulnerability Srbds: Not affected [2021-06-27T07:25:06.659Z] Vulnerability Tsx async abort: Not affected [2021-06-27T07:25:06.659Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp [2021-06-27T07:25:06.659Z] [2021-06-27T07:25:06.659Z]