Pull request #103 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9+69c81efe40b40196065d751e2d1c999af0ecde18 (9ab233dae0ff334ed4755b09da255f35b5a46451) 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-ssh2148163207192249278.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh6112630663182541268.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 9d0281235b943b7ad605f650702698f9078b2862 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-103/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-103/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5594160400836533246.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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-ssh2293995053506293791.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-103/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-103/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh531518838797908640.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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-15190 in /w/workspace/gexfoundry_device-rest-go_PR-103 [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-103 # 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-103@tmp/jenkins-gitclient-ssh238439303020877118.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-103@tmp/jenkins-gitclient-ssh1203613251422125982.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 69c81efe40b40196065d751e2d1c999af0ecde18 into PR head commit 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 Merge succeeded, producing 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 Checking out Revision 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 (PR-103) > git config core.sparsecheckout # timeout=10 > git checkout -f 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 # 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-103@tmp/jenkins-gitclient-ssh4813698832759737165.key > git merge 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 # timeout=10 Commit message: "refactor: Update to assign and uses new Port Assignments" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-20T00:23:09.295Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-20T00:23:09.394Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-20T00:23:09.422Z] ========================================================= [2021-05-20T00:23:09.422Z] EdgeX Global Pipelines Version Info [2021-05-20T00:23:09.422Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5ac0fe109051cb12c53017cf506c3b147f16f06e # timeout=10 [2021-05-20T00:23:10.856Z] ------------------- [2021-05-20T00:23:10.856Z] stable info: [2021-05-20T00:23:10.856Z] ------------------- [2021-05-20T00:23:10.856Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-20T00:23:10.856Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T00:23:10.856Z] Message: update stable to v1.0.192 [2021-05-20T00:23:11.430Z] ------------------- [2021-05-20T00:23:11.430Z] experimental info: [2021-05-20T00:23:11.430Z] ------------------- [2021-05-20T00:23:11.430Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-20T00:23:11.430Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-20T00:23:11.430Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-20T00:23:11.558Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-20T00:23:11.582Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-20T00:23:11.605Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-20T00:23:11.629Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-20T00:23:11.654Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-20T00:23:11.677Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-20T00:23:11.701Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-20T00:23:11.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-20T00:23:11.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-20T00:23:11.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-20T00:23:11.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-20T00:23:11.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-20T00:23:11.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-20T00:23:11.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-20T00:23:11.930Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T00:23:11.954Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-20T00:23:11.979Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T00:23:12.004Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-20T00:23:12.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-20T00:23:12.055Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-20T00:23:12.080Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-20T00:23:12.130Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-20T00:23:12.153Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-20T00:23:12.176Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-20T00:23:12.199Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-20T00:23:12.223Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-20T00:23:12.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo [2021-05-20T00:23:12.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo [2021-05-20T00:23:12.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo [2021-05-20T00:23:12.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [Pipeline] echo [2021-05-20T00:23:12.344Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f1c2cc [Pipeline] echo [2021-05-20T00:23:12.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T00:23:12.446Z] provisioning config files... [2021-05-20T00:23:12.463Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-103@tmp/config1432012509227982357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:23:12.790Z] ---> docker-login.sh [2021-05-20T00:23:12.790Z] nexus3.edgexfoundry.org:10001 [2021-05-20T00:23:13.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:23:13.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:23:13.316Z] Configure a credential helper to remove this warning. See [2021-05-20T00:23:13.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:23:13.316Z] [2021-05-20T00:23:13.316Z] Login Succeeded [2021-05-20T00:23:13.316Z] nexus3.edgexfoundry.org:10002 [2021-05-20T00:23:13.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:23:13.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:23:13.316Z] Configure a credential helper to remove this warning. See [2021-05-20T00:23:13.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:23:13.316Z] [2021-05-20T00:23:13.316Z] Login Succeeded [2021-05-20T00:23:13.316Z] nexus3.edgexfoundry.org:10003 [2021-05-20T00:23:13.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:23:13.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:23:13.576Z] Configure a credential helper to remove this warning. See [2021-05-20T00:23:13.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:23:13.576Z] [2021-05-20T00:23:13.576Z] Login Succeeded [2021-05-20T00:23:13.576Z] nexus3.edgexfoundry.org:10004 [2021-05-20T00:23:13.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:23:13.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:23:13.576Z] Configure a credential helper to remove this warning. See [2021-05-20T00:23:13.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:23:13.576Z] [2021-05-20T00:23:13.576Z] Login Succeeded [2021-05-20T00:23:13.576Z] docker.io [2021-05-20T00:23:13.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:23:14.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:23:14.106Z] Configure a credential helper to remove this warning. See [2021-05-20T00:23:14.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:23:14.106Z] [2021-05-20T00:23:14.106Z] Login Succeeded [2021-05-20T00:23:14.106Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T00:23:14.115Z] 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-05-20T00:23:14.615Z] + git log --format=format:%s -1 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [Pipeline] echo [2021-05-20T00:23:14.655Z] GIT_COMMIT: 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9, Commit Message: refactor: Update to assign and uses new Port Assignments [Pipeline] echo [2021-05-20T00:23:14.669Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:23:15.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T00:23:15.269Z] [2021-05-20T00:23:15.269Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:23:15.585Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T00:23:15.856Z] latest: Pulling from edgex-devops/git-semver [2021-05-20T00:23:15.856Z] 31603596830f: Pulling fs layer [2021-05-20T00:23:15.856Z] 54011a49482f: Pulling fs layer [2021-05-20T00:23:15.856Z] a6820b24f6d8: Pulling fs layer [2021-05-20T00:23:15.856Z] f581987b2513: Pulling fs layer [2021-05-20T00:23:15.856Z] f581987b2513: Waiting [2021-05-20T00:23:15.856Z] 54011a49482f: Verifying Checksum [2021-05-20T00:23:15.856Z] 54011a49482f: Download complete [2021-05-20T00:23:15.856Z] 31603596830f: Verifying Checksum [2021-05-20T00:23:15.856Z] 31603596830f: Download complete [2021-05-20T00:23:16.125Z] f581987b2513: Verifying Checksum [2021-05-20T00:23:16.125Z] f581987b2513: Download complete [2021-05-20T00:23:16.125Z] a6820b24f6d8: Verifying Checksum [2021-05-20T00:23:16.125Z] a6820b24f6d8: Download complete [2021-05-20T00:23:16.125Z] 31603596830f: Pull complete [2021-05-20T00:23:16.387Z] 54011a49482f: Pull complete [2021-05-20T00:23:17.794Z] a6820b24f6d8: Pull complete [2021-05-20T00:23:17.794Z] f581987b2513: Pull complete [2021-05-20T00:23:17.794Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-20T00:23:17.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-20T00:23:17.794Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-20T00:23:17.875Z] prd-centos7-docker-4c-2g-15190 does not seem to be running inside a container [2021-05-20T00:23:17.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-103 -v /w/workspace/gexfoundry_device-rest-go_PR-103:/w/workspace/gexfoundry_device-rest-go_PR-103:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-103@tmp:/w/workspace/gexfoundry_device-rest-go_PR-103@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-20T00:23:21.607Z] $ docker top 37043805ee106fc4c6d9f6b663b24eecc8eefd61008fbfedcfaf62fd47db0105 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-20T00:23:21.733Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T00:23:21.734Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T00:23:21.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T00:23:21.843Z] $ docker exec 37043805ee106fc4c6d9f6b663b24eecc8eefd61008fbfedcfaf62fd47db0105 ssh-agent [2021-05-20T00:23:21.950Z] SSH_AUTH_SOCK=/tmp/ssh-3VDinn3f1bbm/agent.14 [2021-05-20T00:23:21.950Z] SSH_AGENT_PID=20 [2021-05-20T00:23:21.958Z] Running ssh-add (command line suppressed) [2021-05-20T00:23:22.049Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-103@tmp/private_key_2362287569323670720.key (/w/workspace/gexfoundry_device-rest-go_PR-103@tmp/private_key_2362287569323670720.key) [2021-05-20T00:23:22.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T00:23:22.364Z] + git tag --points-at HEAD [Pipeline] } [2021-05-20T00:23:22.379Z] $ docker exec --env ******** --env ******** 37043805ee106fc4c6d9f6b663b24eecc8eefd61008fbfedcfaf62fd47db0105 ssh-agent -k [2021-05-20T00:23:22.474Z] unset SSH_AUTH_SOCK; [2021-05-20T00:23:22.475Z] unset SSH_AGENT_PID; [2021-05-20T00:23:22.475Z] echo Agent pid 20 killed; [2021-05-20T00:23:22.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-20T00:23:22.528Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-20T00:23:22.528Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-20T00:23:22.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-20T00:23:22.640Z] $ docker exec 37043805ee106fc4c6d9f6b663b24eecc8eefd61008fbfedcfaf62fd47db0105 ssh-agent [2021-05-20T00:23:22.736Z] SSH_AUTH_SOCK=/tmp/ssh-F5c6C5xfBgc8/agent.53 [2021-05-20T00:23:22.736Z] SSH_AGENT_PID=60 [2021-05-20T00:23:22.742Z] Running ssh-add (command line suppressed) [2021-05-20T00:23:22.826Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-103@tmp/private_key_4781120563880808031.key (/w/workspace/gexfoundry_device-rest-go_PR-103@tmp/private_key_4781120563880808031.key) [2021-05-20T00:23:22.841Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-20T00:23:23.144Z] + git semver init [2021-05-20T00:23:23.144Z] # -> Open(): unable to determine branch for HEAD [2021-05-20T00:23:23.144Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-103/.git [2021-05-20T00:23:23.144Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-103 [2021-05-20T00:23:23.144Z] # $SEMVER_REMOTE_NAME = origin [2021-05-20T00:23:23.144Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-20T00:23:23.144Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-20T00:23:23.144Z] # $SEMVER_BRANCH = PR-103 [2021-05-20T00:23:23.144Z] # $SEMVER_TEMP = /tmp/semver-704312285 [2021-05-20T00:23:23.145Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-20T00:23:24.098Z] # '/tmp/semver-704312285' -> '/w/workspace/gexfoundry_device-rest-go_PR-103/.semver' [2021-05-20T00:23:24.098Z] # -> Force: false [2021-05-20T00:23:24.098Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-103/.semver [Pipeline] } [2021-05-20T00:23:24.109Z] $ docker exec --env ******** --env ******** 37043805ee106fc4c6d9f6b663b24eecc8eefd61008fbfedcfaf62fd47db0105 ssh-agent -k [2021-05-20T00:23:24.213Z] unset SSH_AUTH_SOCK; [2021-05-20T00:23:24.214Z] unset SSH_AGENT_PID; [2021-05-20T00:23:24.214Z] echo Agent pid 60 killed; [2021-05-20T00:23:24.224Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-20T00:23:24.560Z] + git semver [Pipeline] } [2021-05-20T00:23:24.573Z] $ docker stop --time=1 37043805ee106fc4c6d9f6b663b24eecc8eefd61008fbfedcfaf62fd47db0105 [2021-05-20T00:23:26.330Z] $ docker rm -f 37043805ee106fc4c6d9f6b663b24eecc8eefd61008fbfedcfaf62fd47db0105 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T00:23:26.695Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-20T00:23:26.972Z] Stashed 1 file(s) [Pipeline] echo [2021-05-20T00:23:26.976Z] [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-05-20T00:23:42.271Z] Still waiting to schedule task [2021-05-20T00:23:42.272Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-20T00:23:42.274Z] Still waiting to schedule task [2021-05-20T00:23:42.275Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-20T00:26:07.018Z] Running on prd-centos7-docker-4c-2g-15192 in /w/workspace/gexfoundry_device-rest-go_PR-103 [Pipeline] { [Pipeline] ws [2021-05-20T00:26:07.037Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-20T00:26:07.140Z] The recommended git tool is: git [2021-05-20T00:26:09.464Z] using credential edgex-jenkins-ssh [2021-05-20T00:26:09.479Z] Cloning the remote Git repository [2021-05-20T00:26:09.504Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T00:26:09.596Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-20T00:26:09.632Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T00:26:09.633Z] > git --version # timeout=10 [2021-05-20T00:26:09.641Z] > git --version # 'git version 2.24.4' [2021-05-20T00:26:09.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T00:26:09.671Z] [INFO] Currently running in a labeled security context [2021-05-20T00:26:09.671Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T00:26:09.672Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh5493803332792434946.key [2021-05-20T00:26:09.686Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T00:26:10.999Z] Merging remotes/origin/master commit 69c81efe40b40196065d751e2d1c999af0ecde18 into PR head commit 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [2021-05-20T00:26:11.085Z] Merge succeeded, producing 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [2021-05-20T00:26:11.086Z] Checking out Revision 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 (PR-103) [2021-05-20T00:26:10.531Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-20T00:26:10.539Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T00:26:10.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-20T00:26:10.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T00:26:10.565Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T00:26:10.566Z] [INFO] Currently running in a labeled security context [2021-05-20T00:26:10.566Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T00:26:10.566Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh3176658695420608024.key [2021-05-20T00:26:10.585Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T00:26:11.008Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T00:26:11.015Z] > git checkout -f 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 # timeout=10 [2021-05-20T00:26:11.045Z] > git remote # timeout=10 [2021-05-20T00:26:11.051Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T00:26:11.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T00:26:11.059Z] [INFO] Currently running in a labeled security context [2021-05-20T00:26:11.059Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-20T00:26:11.060Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh1242450971797875722.key [2021-05-20T00:26:11.066Z] > git merge 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 [2021-05-20T00:26:11.074Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T00:26:11.090Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T00:26:11.108Z] > git checkout -f 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 # timeout=10 [2021-05-20T00:26:14.662Z] Commit message: "refactor: Update to assign and uses new Port Assignments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T00:26:15.877Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-20T00:26:16.200Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T00:26:16.509Z] + sudo service docker restart [2021-05-20T00:26:16.509Z] + true [2021-05-20T00:26:16.509Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T00:26:34.674Z] provisioning config files... [2021-05-20T00:26:34.688Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6042486885619893336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:26:35.052Z] ---> docker-login.sh [2021-05-20T00:26:35.052Z] nexus3.edgexfoundry.org:10001 [2021-05-20T00:26:35.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:26:35.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:26:35.315Z] Configure a credential helper to remove this warning. See [2021-05-20T00:26:35.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:26:35.315Z] [2021-05-20T00:26:35.315Z] Login Succeeded [2021-05-20T00:26:35.315Z] nexus3.edgexfoundry.org:10002 [2021-05-20T00:26:35.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:26:35.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:26:35.582Z] Configure a credential helper to remove this warning. See [2021-05-20T00:26:35.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:26:35.582Z] [2021-05-20T00:26:35.582Z] Login Succeeded [2021-05-20T00:26:35.582Z] nexus3.edgexfoundry.org:10003 [2021-05-20T00:26:35.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:26:35.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:26:35.582Z] Configure a credential helper to remove this warning. See [2021-05-20T00:26:35.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:26:35.582Z] [2021-05-20T00:26:35.582Z] Login Succeeded [2021-05-20T00:26:35.582Z] nexus3.edgexfoundry.org:10004 [2021-05-20T00:26:35.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:26:35.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:26:35.847Z] Configure a credential helper to remove this warning. See [2021-05-20T00:26:35.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:26:35.847Z] [2021-05-20T00:26:35.847Z] Login Succeeded [2021-05-20T00:26:35.847Z] docker.io [2021-05-20T00:26:35.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:26:36.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:26:36.108Z] Configure a credential helper to remove this warning. See [2021-05-20T00:26:36.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:26:36.108Z] [2021-05-20T00:26:36.108Z] Login Succeeded [2021-05-20T00:26:36.108Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T00:26:36.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T00:26:36.280Z] ========================================================= [2021-05-20T00:26:36.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-20T00:26:36.280Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:26:36.596Z] + 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-05-20T00:26:36.596Z] Sending build context to Docker daemon 92.16kB [2021-05-20T00:26:36.596Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T00:26:36.596Z] Step 2/10 : FROM ${BASE} [2021-05-20T00:26:36.596Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-20T00:26:36.596Z] 540db60ca938: Pulling fs layer [2021-05-20T00:26:36.596Z] adcc1eea9eea: Pulling fs layer [2021-05-20T00:26:36.596Z] 4c4ab2625f07: Pulling fs layer [2021-05-20T00:26:36.596Z] 0510c868ecb4: Pulling fs layer [2021-05-20T00:26:36.596Z] afea3b2eda06: Pulling fs layer [2021-05-20T00:26:36.596Z] 7809a108b3ef: Pulling fs layer [2021-05-20T00:26:36.596Z] f706445af74f: Pulling fs layer [2021-05-20T00:26:36.596Z] afea3b2eda06: Waiting [2021-05-20T00:26:36.596Z] 7809a108b3ef: Waiting [2021-05-20T00:26:36.596Z] f706445af74f: Waiting [2021-05-20T00:26:36.596Z] 0510c868ecb4: Waiting [2021-05-20T00:26:36.596Z] 4c4ab2625f07: Verifying Checksum [2021-05-20T00:26:36.596Z] 4c4ab2625f07: Download complete [2021-05-20T00:26:36.596Z] adcc1eea9eea: Verifying Checksum [2021-05-20T00:26:36.596Z] adcc1eea9eea: Download complete [2021-05-20T00:26:36.866Z] afea3b2eda06: Verifying Checksum [2021-05-20T00:26:36.866Z] afea3b2eda06: Download complete [2021-05-20T00:26:36.866Z] 540db60ca938: Verifying Checksum [2021-05-20T00:26:36.866Z] 540db60ca938: Download complete [2021-05-20T00:26:36.866Z] 7809a108b3ef: Verifying Checksum [2021-05-20T00:26:36.866Z] 7809a108b3ef: Download complete [2021-05-20T00:26:36.866Z] 540db60ca938: Pull complete [2021-05-20T00:26:37.136Z] adcc1eea9eea: Pull complete [2021-05-20T00:26:37.136Z] 4c4ab2625f07: Pull complete [2021-05-20T00:26:39.051Z] f706445af74f: Verifying Checksum [2021-05-20T00:26:39.051Z] f706445af74f: Download complete [2021-05-20T00:26:39.310Z] 0510c868ecb4: Verifying Checksum [2021-05-20T00:26:39.310Z] 0510c868ecb4: Download complete [2021-05-20T00:26:42.627Z] 0510c868ecb4: Pull complete [2021-05-20T00:26:42.627Z] afea3b2eda06: Pull complete [2021-05-20T00:26:42.627Z] 7809a108b3ef: Pull complete [2021-05-20T00:26:44.016Z] f706445af74f: Pull complete [2021-05-20T00:26:44.016Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-20T00:26:44.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-20T00:26:44.016Z] ---> b068be0155e3 [2021-05-20T00:26:44.016Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T00:26:45.792Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15191 in /w/workspace/gexfoundry_device-rest-go_PR-103 [Pipeline] { [Pipeline] ws [2021-05-20T00:26:45.810Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-05-20T00:26:46.018Z] The recommended git tool is: git [2021-05-20T00:26:48.225Z] ---> Running in 782a029cb4e1 [2021-05-20T00:26:48.225Z] Removing intermediate container 782a029cb4e1 [2021-05-20T00:26:48.225Z] ---> 7ff5b9f314cd [2021-05-20T00:26:48.225Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T00:26:48.495Z] ---> Running in 2cfbf76bada8 [2021-05-20T00:26:48.496Z] Removing intermediate container 2cfbf76bada8 [2021-05-20T00:26:48.496Z] ---> 89169937a685 [2021-05-20T00:26:48.496Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-20T00:26:48.496Z] ---> Running in 3a4c511f581c [2021-05-20T00:26:48.496Z] Removing intermediate container 3a4c511f581c [2021-05-20T00:26:48.496Z] ---> 8022b410a809 [2021-05-20T00:26:48.496Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T00:26:48.496Z] ---> Running in cb169a210072 [2021-05-20T00:26:49.070Z] Removing intermediate container cb169a210072 [2021-05-20T00:26:49.070Z] ---> 0622789d2449 [2021-05-20T00:26:49.070Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T00:26:49.070Z] ---> Running in 863e088eda9a [2021-05-20T00:26:49.333Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T00:26:50.275Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T00:26:50.851Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-20T00:26:50.851Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-20T00:26:50.851Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-20T00:26:51.112Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-20T00:26:51.112Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T00:26:51.372Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-20T00:26:51.372Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-20T00:26:51.533Z] using credential edgex-jenkins-ssh [2021-05-20T00:26:51.578Z] Cloning the remote Git repository [2021-05-20T00:26:51.632Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-20T00:26:51.632Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-20T00:26:51.893Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T00:26:51.893Z] OK: 154 MiB in 49 packages [2021-05-20T00:26:52.156Z] Removing intermediate container 863e088eda9a [2021-05-20T00:26:52.156Z] ---> ef7f95d959b7 [2021-05-20T00:26:52.156Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-20T00:26:51.638Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T00:26:51.740Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-05-20T00:26:51.834Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T00:26:51.835Z] > git --version # timeout=10 [2021-05-20T00:26:51.866Z] > git --version # 'git version 2.17.1' [2021-05-20T00:26:51.868Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T00:26:51.983Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T00:26:52.417Z] ---> Running in 8b03359d4bfd [2021-05-20T00:26:52.417Z] Removing intermediate container 8b03359d4bfd [2021-05-20T00:26:52.417Z] ---> 7972b22ede54 [2021-05-20T00:26:52.417Z] Step 9/10 : COPY . . [2021-05-20T00:26:52.678Z] ---> 5016825a1f66 [2021-05-20T00:26:52.678Z] Step 10/10 : RUN go mod download [2021-05-20T00:26:52.678Z] ---> Running in 1dcd77fde5a2 [2021-05-20T00:26:54.144Z] Merging remotes/origin/master commit 69c81efe40b40196065d751e2d1c999af0ecde18 into PR head commit 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [2021-05-20T00:26:54.344Z] Merge succeeded, producing 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [2021-05-20T00:26:54.345Z] Checking out Revision 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 (PR-103) [2021-05-20T00:26:53.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-20T00:26:53.517Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-20T00:26:53.547Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-20T00:26:53.589Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-20T00:26:53.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T00:26:53.606Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-20T00:26:54.171Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T00:26:54.193Z] > git checkout -f 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 # timeout=10 [2021-05-20T00:26:54.274Z] > git remote # timeout=10 [2021-05-20T00:26:54.291Z] > git config --get remote.origin.url # timeout=10 [2021-05-20T00:26:54.301Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-20T00:26:54.312Z] > git merge 69c81efe40b40196065d751e2d1c999af0ecde18 # timeout=10 [2021-05-20T00:26:54.334Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-20T00:26:54.357Z] > git config core.sparsecheckout # timeout=10 [2021-05-20T00:26:54.366Z] > git checkout -f 2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 # timeout=10 [2021-05-20T00:26:58.564Z] Commit message: "refactor: Update to assign and uses new Port Assignments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T00:27:00.002Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-20T00:27:00.440Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-20T00:27:00.786Z] + sudo+ service docker restarttrue [2021-05-20T00:27:00.786Z] [2021-05-20T00:27:07.621Z] Removing intermediate container 1dcd77fde5a2 [2021-05-20T00:27:07.622Z] ---> d869fbee9f62 [2021-05-20T00:27:07.622Z] Successfully built d869fbee9f62 [2021-05-20T00:27:07.622Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:27:07.929Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T00:27:07.929Z] . [Pipeline] withDockerContainer [2021-05-20T00:27:08.004Z] prd-centos7-docker-4c-2g-15192 does not seem to be running inside a container [2021-05-20T00:27:08.043Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T00:27:08.444Z] $ docker top 2fad91c1c7df752e76151b07d2798a47dd8c332153d08ff20ce144918df7cb16 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T00:27:08.821Z] + go version [2021-05-20T00:27:08.821Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-20T00:27:08.834Z] $ docker stop --time=1 2fad91c1c7df752e76151b07d2798a47dd8c332153d08ff20ce144918df7cb16 [2021-05-20T00:27:10.019Z] $ docker rm -f 2fad91c1c7df752e76151b07d2798a47dd8c332153d08ff20ce144918df7cb16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:27:10.585Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-20T00:27:10.585Z] . [Pipeline] withDockerContainer [2021-05-20T00:27:10.666Z] prd-centos7-docker-4c-2g-15192 does not seem to be running inside a container [2021-05-20T00:27:10.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-20T00:27:11.116Z] $ docker top 263eff8213e1971a33930761d3367823046ee364de2c36e5ff7fb410795172d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T00:27:11.508Z] + go mod tidy [Pipeline] sh [2021-05-20T00:27:12.064Z] + make test [2021-05-20T00:27:12.064Z] go mod tidy [2021-05-20T00:27:12.064Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-20T00:27:12.647Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T00:27:19.127Z] provisioning config files... [2021-05-20T00:27:19.152Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1132967439852646147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:27:19.531Z] ---> docker-login.sh [2021-05-20T00:27:19.531Z] nexus3.edgexfoundry.org:10001 [2021-05-20T00:27:20.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:27:20.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:27:20.791Z] Configure a credential helper to remove this warning. See [2021-05-20T00:27:20.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:27:20.791Z] [2021-05-20T00:27:20.791Z] Login Succeeded [2021-05-20T00:27:20.791Z] nexus3.edgexfoundry.org:10002 [2021-05-20T00:27:21.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:27:21.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:27:21.341Z] Configure a credential helper to remove this warning. See [2021-05-20T00:27:21.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:27:21.341Z] [2021-05-20T00:27:21.341Z] Login Succeeded [2021-05-20T00:27:21.341Z] nexus3.edgexfoundry.org:10003 [2021-05-20T00:27:21.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:27:21.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:27:21.890Z] Configure a credential helper to remove this warning. See [2021-05-20T00:27:21.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:27:21.890Z] [2021-05-20T00:27:21.890Z] Login Succeeded [2021-05-20T00:27:21.890Z] nexus3.edgexfoundry.org:10004 [2021-05-20T00:27:22.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:27:22.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:27:22.439Z] Configure a credential helper to remove this warning. See [2021-05-20T00:27:22.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:27:22.439Z] [2021-05-20T00:27:22.439Z] Login Succeeded [2021-05-20T00:27:22.439Z] docker.io [2021-05-20T00:27:22.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-20T00:27:23.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-20T00:27:23.313Z] Configure a credential helper to remove this warning. See [2021-05-20T00:27:23.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-20T00:27:23.313Z] [2021-05-20T00:27:23.313Z] Login Succeeded [2021-05-20T00:27:23.313Z] ---> docker-login.sh ends [Pipeline] } [2021-05-20T00:27:23.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-20T00:27:23.654Z] ========================================================= [2021-05-20T00:27:23.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-20T00:27:23.654Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:27:23.993Z] + 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-05-20T00:27:23.993Z] Sending build context to Docker daemon 92.16kB [2021-05-20T00:27:24.268Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T00:27:24.268Z] Step 2/10 : FROM ${BASE} [2021-05-20T00:27:24.543Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-20T00:27:24.543Z] 595b0fe564bb: Pulling fs layer [2021-05-20T00:27:24.543Z] 7186ed65a4f7: Pulling fs layer [2021-05-20T00:27:24.543Z] 316046926c0a: Pulling fs layer [2021-05-20T00:27:24.543Z] 4ebd0625c992: Pulling fs layer [2021-05-20T00:27:24.543Z] 207e8628e3a3: Pulling fs layer [2021-05-20T00:27:24.543Z] c791037a9be2: Pulling fs layer [2021-05-20T00:27:24.543Z] ffd874e62e21: Pulling fs layer [2021-05-20T00:27:24.543Z] c791037a9be2: Waiting [2021-05-20T00:27:24.543Z] ffd874e62e21: Waiting [2021-05-20T00:27:24.543Z] 4ebd0625c992: Waiting [2021-05-20T00:27:24.543Z] 316046926c0a: Download complete [2021-05-20T00:27:24.543Z] 7186ed65a4f7: Verifying Checksum [2021-05-20T00:27:24.543Z] 7186ed65a4f7: Download complete [2021-05-20T00:27:24.543Z] 207e8628e3a3: Download complete [2021-05-20T00:27:24.543Z] 595b0fe564bb: Verifying Checksum [2021-05-20T00:27:24.543Z] c791037a9be2: Download complete [2021-05-20T00:27:24.543Z] 595b0fe564bb: Download complete [2021-05-20T00:27:25.531Z] 595b0fe564bb: Pull complete [2021-05-20T00:27:26.133Z] 7186ed65a4f7: Pull complete [2021-05-20T00:27:26.411Z] 316046926c0a: Pull complete [2021-05-20T00:27:27.011Z] ffd874e62e21: Download complete [2021-05-20T00:27:27.646Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-20T00:27:27.995Z] 4ebd0625c992: Verifying Checksum [2021-05-20T00:27:27.996Z] 4ebd0625c992: Download complete [2021-05-20T00:27:28.224Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 54.0% of statements [2021-05-20T00:27:28.224Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T00:27:34.855Z] gofmt -l . [2021-05-20T00:27:34.855Z] [ "`gofmt -l .`" = "" ] [2021-05-20T00:27:34.855Z] ./bin/test-go-mod-tidy.sh [2021-05-20T00:27:34.855Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T00:27:35.129Z] $ docker stop --time=1 263eff8213e1971a33930761d3367823046ee364de2c36e5ff7fb410795172d8 [2021-05-20T00:27:36.712Z] $ docker rm -f 263eff8213e1971a33930761d3367823046ee364de2c36e5ff7fb410795172d8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T00:27:37.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T00:27:37.322Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-20T00:27:38.154Z] 4ebd0625c992: Pull complete [2021-05-20T00:27:38.154Z] 207e8628e3a3: Pull complete [2021-05-20T00:27:38.430Z] c791037a9be2: Pull complete [Pipeline] sh [2021-05-20T00:27:39.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T00:27:40.271Z] + ls -al . [2021-05-20T00:27:40.272Z] total 104 [2021-05-20T00:27:40.272Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 20 00:27 . [2021-05-20T00:27:40.272Z] drwxrwxr-x. 4 jenkins jenkins 28 May 20 00:26 .. [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 20 00:26 Attribution.txt [2021-05-20T00:27:40.272Z] drwxrwxr-x. 2 jenkins jenkins 64 May 20 00:26 bin [2021-05-20T00:27:40.272Z] drwxrwxr-x. 3 jenkins jenkins 32 May 20 00:26 cmd [2021-05-20T00:27:40.272Z] -rw-r--r--. 1 jenkins jenkins 8513 May 20 00:27 coverage.out [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 20 00:26 Dockerfile [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 20 00:26 Dockerfile.build [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 151 May 20 00:26 .dockerignore [2021-05-20T00:27:40.272Z] drwxrwxr-x. 2 jenkins jenkins 76 May 20 00:26 driver [2021-05-20T00:27:40.272Z] drwxrwxr-x. 8 jenkins jenkins 179 May 20 00:26 .git [2021-05-20T00:27:40.272Z] drwxrwxr-x. 2 jenkins jenkins 103 May 20 00:26 .github [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 336 May 20 00:26 .gitignore [2021-05-20T00:27:40.272Z] -rw-r--r--. 1 jenkins jenkins 285 May 20 00:27 go.mod [2021-05-20T00:27:40.272Z] -rw-r--r--. 1 jenkins jenkins 21177 May 20 00:27 go.sum [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 680 May 20 00:26 Jenkinsfile [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 20 00:26 LICENSE [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 996 May 20 00:26 Makefile [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 20 00:26 README.md [2021-05-20T00:27:40.272Z] drwxrwxr-x. 4 jenkins jenkins 71 May 20 00:26 snap [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 5 May 20 00:23 VERSION [2021-05-20T00:27:40.272Z] -rw-rw-r--. 1 jenkins jenkins 713 May 20 00:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:27:40.583Z] + 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=2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 --label arch=amd64 --label version=0.0.0 . [2021-05-20T00:27:40.583Z] Sending build context to Docker daemon 101.9kB [2021-05-20T00:27:40.583Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T00:27:40.583Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-20T00:27:40.583Z] ---> d869fbee9f62 [2021-05-20T00:27:40.583Z] Step 3/25 : ARG MAKE='make build' [2021-05-20T00:27:40.583Z] ---> Running in ecf4db8d5961 [2021-05-20T00:27:40.583Z] Removing intermediate container ecf4db8d5961 [2021-05-20T00:27:40.583Z] ---> 6573647fac36 [2021-05-20T00:27:40.583Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T00:27:40.583Z] ---> Running in 3bd824e42ff5 [2021-05-20T00:27:40.850Z] Removing intermediate container 3bd824e42ff5 [2021-05-20T00:27:40.850Z] ---> f3be0a5134bd [2021-05-20T00:27:40.850Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T00:27:40.850Z] ---> Running in ef9b0faa2693 [2021-05-20T00:27:40.850Z] Removing intermediate container ef9b0faa2693 [2021-05-20T00:27:40.850Z] ---> 5d5532e75a93 [2021-05-20T00:27:40.850Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T00:27:40.850Z] ---> Running in 88019126eeec [2021-05-20T00:27:41.428Z] Removing intermediate container 88019126eeec [2021-05-20T00:27:41.428Z] ---> 4e4b1f65d28a [2021-05-20T00:27:41.428Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T00:27:41.428Z] ---> Running in 299c9d807319 [2021-05-20T00:27:41.691Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-20T00:27:42.637Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-20T00:27:42.785Z] ffd874e62e21: Pull complete [2021-05-20T00:27:42.785Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-20T00:27:42.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-20T00:27:42.785Z] ---> cfc18b08335c [2021-05-20T00:27:42.785Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T00:27:42.899Z] OK: 154 MiB in 49 packages [2021-05-20T00:27:43.161Z] Removing intermediate container 299c9d807319 [2021-05-20T00:27:43.161Z] ---> b9582b2996e5 [2021-05-20T00:27:43.161Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-20T00:27:43.161Z] ---> Running in 68cb39bdbe5b [2021-05-20T00:27:43.161Z] Removing intermediate container 68cb39bdbe5b [2021-05-20T00:27:43.161Z] ---> d24580c2d962 [2021-05-20T00:27:43.161Z] Step 9/25 : COPY . . [2021-05-20T00:27:43.380Z] ---> Running in 83b7714b455f [2021-05-20T00:27:43.423Z] ---> c6ed29b1d0b3 [2021-05-20T00:27:43.423Z] Step 10/25 : RUN go mod tidy [2021-05-20T00:27:43.423Z] ---> Running in e3854c37a906 [2021-05-20T00:27:43.654Z] Removing intermediate container 83b7714b455f [2021-05-20T00:27:43.654Z] ---> 011b34095252 [2021-05-20T00:27:43.654Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T00:27:43.933Z] ---> Running in e357221597b1 [2021-05-20T00:27:43.996Z] Removing intermediate container e3854c37a906 [2021-05-20T00:27:43.996Z] ---> 1a918a941559 [2021-05-20T00:27:43.996Z] Step 11/25 : RUN make update [2021-05-20T00:27:43.996Z] ---> Running in 13e9ec3f2a38 [2021-05-20T00:27:44.260Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T00:27:44.528Z] Removing intermediate container 13e9ec3f2a38 [2021-05-20T00:27:44.528Z] ---> 282cff450e32 [2021-05-20T00:27:44.528Z] Step 12/25 : RUN $MAKE [2021-05-20T00:27:44.528Z] ---> Running in 7f02cdd65820 [2021-05-20T00:27:44.533Z] Removing intermediate container e357221597b1 [2021-05-20T00:27:44.533Z] ---> 744e097f778a [2021-05-20T00:27:44.533Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-20T00:27:44.533Z] ---> Running in 2bcc65328dfb [2021-05-20T00:27:44.790Z] go mod tidy [2021-05-20T00:27:45.052Z] 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-05-20T00:27:45.172Z] Removing intermediate container 2bcc65328dfb [2021-05-20T00:27:45.172Z] ---> 15b5ca057de3 [2021-05-20T00:27:45.172Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T00:27:45.172Z] ---> Running in b0e1e41ba9e9 [2021-05-20T00:27:47.805Z] Removing intermediate container b0e1e41ba9e9 [2021-05-20T00:27:47.805Z] ---> 0b26292be039 [2021-05-20T00:27:47.805Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T00:27:47.805Z] ---> Running in 873f53de1485 [2021-05-20T00:27:48.797Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T00:27:49.775Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T00:27:50.762Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-20T00:27:50.762Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-20T00:27:50.762Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-20T00:27:50.762Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-20T00:27:51.033Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-20T00:27:51.033Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-20T00:27:51.305Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-20T00:27:51.578Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-20T00:27:51.578Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-20T00:27:51.578Z] Executing busybox-1.32.1-r6.trigger [2021-05-20T00:27:51.578Z] OK: 144 MiB in 49 packages [2021-05-20T00:27:53.024Z] Removing intermediate container 873f53de1485 [2021-05-20T00:27:53.024Z] ---> 8812b41ccf34 [2021-05-20T00:27:53.024Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-20T00:27:53.024Z] ---> Running in c0db2055b1ab [2021-05-20T00:27:53.625Z] Removing intermediate container c0db2055b1ab [2021-05-20T00:27:53.625Z] ---> 8dfc20b30d7d [2021-05-20T00:27:53.625Z] Step 9/10 : COPY . . [2021-05-20T00:27:54.225Z] ---> 1f6051601d45 [2021-05-20T00:27:54.225Z] Step 10/10 : RUN go mod download [2021-05-20T00:27:54.505Z] ---> Running in 9075cb1c994e [2021-05-20T00:27:57.387Z] Removing intermediate container 7f02cdd65820 [2021-05-20T00:27:57.388Z] ---> 7fa4ca8945aa [2021-05-20T00:27:57.388Z] Step 13/25 : FROM alpine:3.12 [2021-05-20T00:27:57.388Z] 3.12: Pulling from library/alpine [2021-05-20T00:27:57.388Z] 339de151aab4: Pulling fs layer [2021-05-20T00:27:57.648Z] 339de151aab4: Verifying Checksum [2021-05-20T00:27:57.648Z] 339de151aab4: Download complete [2021-05-20T00:27:57.648Z] 339de151aab4: Pull complete [2021-05-20T00:27:57.648Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T00:27:57.648Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T00:27:57.648Z] ---> 13621d1b12d4 [2021-05-20T00:27:57.648Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-20T00:27:57.911Z] ---> Running in 24bc5a0fd911 [2021-05-20T00:27:57.911Z] Removing intermediate container 24bc5a0fd911 [2021-05-20T00:27:57.911Z] ---> 2eb53e0bea1b [2021-05-20T00:27:57.911Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-20T00:27:57.911Z] ---> Running in d760c161d4ae [2021-05-20T00:27:57.911Z] Removing intermediate container d760c161d4ae [2021-05-20T00:27:57.911Z] ---> 9c47d32368ea [2021-05-20T00:27:57.911Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T00:27:58.174Z] ---> Running in 34648fbd98e0 [2021-05-20T00:27:58.435Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-20T00:27:58.435Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-20T00:27:58.435Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T00:27:58.435Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T00:27:58.435Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T00:27:58.435Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T00:27:58.435Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T00:27:58.435Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T00:27:58.696Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T00:27:58.696Z] OK: 8 MiB in 20 packages [2021-05-20T00:27:58.957Z] Removing intermediate container 34648fbd98e0 [2021-05-20T00:27:58.957Z] ---> 7dbc6daea35e [2021-05-20T00:27:58.957Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-20T00:27:59.219Z] ---> 4106bd04da75 [2021-05-20T00:27:59.219Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-20T00:27:59.484Z] ---> 384784fe4a45 [2021-05-20T00:27:59.484Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-20T00:27:59.484Z] ---> 38710085c773 [2021-05-20T00:27:59.484Z] Step 20/25 : EXPOSE 59986 [2021-05-20T00:27:59.484Z] ---> Running in e399b9b79bad [2021-05-20T00:27:59.744Z] Removing intermediate container e399b9b79bad [2021-05-20T00:27:59.744Z] ---> 45612986e8da [2021-05-20T00:27:59.744Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-20T00:27:59.744Z] ---> Running in 2178f3de27d8 [2021-05-20T00:27:59.744Z] Removing intermediate container 2178f3de27d8 [2021-05-20T00:27:59.744Z] ---> eb3bce7db3d1 [2021-05-20T00:27:59.744Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T00:27:59.744Z] ---> Running in 762b77ed8ad4 [2021-05-20T00:27:59.744Z] Removing intermediate container 762b77ed8ad4 [2021-05-20T00:27:59.744Z] ---> ca0725eb61a0 [2021-05-20T00:27:59.744Z] Step 23/25 : LABEL arch=amd64 [2021-05-20T00:28:00.006Z] ---> Running in 1e0c02b27ea2 [2021-05-20T00:28:00.006Z] Removing intermediate container 1e0c02b27ea2 [2021-05-20T00:28:00.006Z] ---> f9e521b34610 [2021-05-20T00:28:00.006Z] Step 24/25 : LABEL git_sha=2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [2021-05-20T00:28:00.006Z] ---> Running in 76b0a015bf77 [2021-05-20T00:28:00.006Z] Removing intermediate container 76b0a015bf77 [2021-05-20T00:28:00.006Z] ---> 15f07fc771b8 [2021-05-20T00:28:00.006Z] Step 25/25 : LABEL version=0.0.0 [2021-05-20T00:28:00.006Z] ---> Running in 0344a88601b2 [2021-05-20T00:28:00.269Z] Removing intermediate container 0344a88601b2 [2021-05-20T00:28:00.269Z] ---> e056dd46bfb7 [2021-05-20T00:28:00.269Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T00:28:00.269Z] Successfully built e056dd46bfb7 [2021-05-20T00:28:00.269Z] 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-05-20T00:28:01.197Z] ---> job-cost.sh [2021-05-20T00:28:01.197Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Alkk [2021-05-20T00:28:11.223Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T00:28:21.321Z] Removing intermediate container 9075cb1c994e [2021-05-20T00:28:21.321Z] ---> 1e0f923de705 [2021-05-20T00:28:21.321Z] Successfully built 1e0f923de705 [2021-05-20T00:28:21.321Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:28:21.670Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T00:28:21.670Z] . [Pipeline] withDockerContainer [2021-05-20T00:28:21.900Z] prd-ubuntu18.04-docker-arm64-4c-16g-15191 does not seem to be running inside a container [2021-05-20T00:28:21.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T00:28:23.472Z] lf-activate-venv(): INFO: Adding /tmp/venv-Alkk/bin to PATH [2021-05-20T00:28:23.472Z] INFO: No Stack... [2021-05-20T00:28:23.491Z] $ docker top 7626f38e9a28f0bf27d9d2a6922a22190543b4156398337b1f22b70cf3b0c1e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T00:28:24.048Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T00:28:24.447Z] + go version [2021-05-20T00:28:24.447Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-20T00:28:24.475Z] $ docker stop --time=1 7626f38e9a28f0bf27d9d2a6922a22190543b4156398337b1f22b70cf3b0c1e1 [2021-05-20T00:28:24.627Z] INFO: Archiving Costs [2021-05-20T00:28:26.265Z] $ docker rm -f 7626f38e9a28f0bf27d9d2a6922a22190543b4156398337b1f22b70cf3b0c1e1 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:28:26.809Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-20T00:28:26.809Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T00:28:26.843Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-103-2-stack-cost] [2021-05-20T00:28:26.871Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-103-2-stack-cost] did not exist. Created. [2021-05-20T00:28:26.871Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-103-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T00:28:27.032Z] + docker inspect -f . ci-base-image-arm64 [2021-05-20T00:28:27.032Z] . [Pipeline] withDockerContainer [2021-05-20T00:28:27.191Z] + echo total: 0.05999999865889549 [2021-05-20T00:28:27.294Z] prd-ubuntu18.04-docker-arm64-4c-16g-15191 does not seem to be running inside a container [2021-05-20T00:28:27.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-20T00:28:28.872Z] $ docker top 0518582ec3d731b0b8a0ac6af259b22883baf5cecc8de4809b62b7d8a036906c -eo pid,comm [Pipeline] { [Pipeline] stash [Pipeline] sh [2021-05-20T00:28:29.244Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T00:28:29.281Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-103-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-20T00:28:29.843Z] + go mod tidy [Pipeline] sh [2021-05-20T00:28:31.108Z] + make test [2021-05-20T00:28:31.108Z] go mod tidy [2021-05-20T00:28:31.709Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-20T00:28:32.687Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-20T00:29:29.272Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-20T00:29:29.272Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 54.0% of statements [2021-05-20T00:29:29.272Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-20T00:29:51.478Z] gofmt -l . [2021-05-20T00:29:51.479Z] [ "`gofmt -l .`" = "" ] [2021-05-20T00:29:51.479Z] ./bin/test-go-mod-tidy.sh [2021-05-20T00:29:51.479Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-20T00:29:53.482Z] $ docker stop --time=1 0518582ec3d731b0b8a0ac6af259b22883baf5cecc8de4809b62b7d8a036906c [2021-05-20T00:29:55.536Z] $ docker rm -f 0518582ec3d731b0b8a0ac6af259b22883baf5cecc8de4809b62b7d8a036906c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-20T00:29:56.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-20T00:29:56.454Z] Warning: overwriting stash ‘coverage-report’ [2021-05-20T00:29:56.939Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-20T00:29:57.484Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-20T00:29:57.824Z] + ls -al . [2021-05-20T00:29:57.824Z] total 132 [2021-05-20T00:29:57.824Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 00:29 . [2021-05-20T00:29:57.824Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 00:26 .. [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 151 May 20 00:26 .dockerignore [2021-05-20T00:29:57.824Z] drwxrwxr-x 8 jenkins jenkins 4096 May 20 00:26 .git [2021-05-20T00:29:57.824Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 00:26 .github [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 336 May 20 00:26 .gitignore [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 20 00:26 Attribution.txt [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 20 00:26 Dockerfile [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 20 00:26 Dockerfile.build [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 680 May 20 00:26 Jenkinsfile [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 20 00:26 LICENSE [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 996 May 20 00:26 Makefile [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 20 00:26 README.md [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 5 May 20 00:23 VERSION [2021-05-20T00:29:57.824Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 00:26 bin [2021-05-20T00:29:57.824Z] drwxrwxr-x 3 jenkins jenkins 4096 May 20 00:26 cmd [2021-05-20T00:29:57.824Z] -rw-r--r-- 1 jenkins jenkins 8513 May 20 00:29 coverage.out [2021-05-20T00:29:57.824Z] drwxrwxr-x 2 jenkins jenkins 4096 May 20 00:26 driver [2021-05-20T00:29:57.824Z] -rw-r--r-- 1 jenkins jenkins 285 May 20 00:29 go.mod [2021-05-20T00:29:57.824Z] -rw-r--r-- 1 jenkins jenkins 21177 May 20 00:28 go.sum [2021-05-20T00:29:57.824Z] drwxrwxr-x 4 jenkins jenkins 4096 May 20 00:26 snap [2021-05-20T00:29:57.824Z] -rw-rw-r-- 1 jenkins jenkins 713 May 20 00:26 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:29:58.170Z] + 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=2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 --label arch=arm64 --label version=0.0.0 . [2021-05-20T00:29:58.170Z] Sending build context to Docker daemon 101.9kB [2021-05-20T00:29:58.448Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-20T00:29:58.448Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-20T00:29:58.448Z] ---> 1e0f923de705 [2021-05-20T00:29:58.448Z] Step 3/25 : ARG MAKE='make build' [2021-05-20T00:29:58.722Z] ---> Running in 7fb0f7d64ba9 [2021-05-20T00:29:59.318Z] Removing intermediate container 7fb0f7d64ba9 [2021-05-20T00:29:59.318Z] ---> 3f9dece2861a [2021-05-20T00:29:59.318Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-20T00:29:59.591Z] ---> Running in 69a910e0dcc4 [2021-05-20T00:29:59.865Z] Removing intermediate container 69a910e0dcc4 [2021-05-20T00:29:59.865Z] ---> 39241ea6bad7 [2021-05-20T00:29:59.865Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-20T00:30:00.141Z] ---> Running in 06832b04530c [2021-05-20T00:30:00.741Z] Removing intermediate container 06832b04530c [2021-05-20T00:30:00.741Z] ---> 9608d40f493c [2021-05-20T00:30:00.741Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-20T00:30:00.741Z] ---> Running in 7612aa081b71 [2021-05-20T00:30:03.377Z] Removing intermediate container 7612aa081b71 [2021-05-20T00:30:03.377Z] ---> ac7eaee2d55a [2021-05-20T00:30:03.377Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-20T00:30:03.377Z] ---> Running in c7c2eed619fb [2021-05-20T00:30:04.358Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-20T00:30:05.335Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-20T00:30:06.318Z] OK: 144 MiB in 49 packages [2021-05-20T00:30:07.365Z] Removing intermediate container c7c2eed619fb [2021-05-20T00:30:07.365Z] ---> c0d14a5b5306 [2021-05-20T00:30:07.365Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-20T00:30:07.365Z] ---> Running in cbbe28fbbf60 [2021-05-20T00:30:07.972Z] Removing intermediate container cbbe28fbbf60 [2021-05-20T00:30:07.972Z] ---> 52557d1379a9 [2021-05-20T00:30:07.972Z] Step 9/25 : COPY . . [2021-05-20T00:30:08.978Z] ---> 33909379992f [2021-05-20T00:30:08.978Z] Step 10/25 : RUN go mod tidy [2021-05-20T00:30:08.978Z] ---> Running in 92e00a8c91dc [2021-05-20T00:30:12.229Z] Removing intermediate container 92e00a8c91dc [2021-05-20T00:30:12.229Z] ---> c27d00e90041 [2021-05-20T00:30:12.229Z] Step 11/25 : RUN make update [2021-05-20T00:30:12.229Z] ---> Running in b75f08f2327a [2021-05-20T00:30:13.207Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-20T00:30:14.215Z] Removing intermediate container b75f08f2327a [2021-05-20T00:30:14.215Z] ---> f54863ad6edf [2021-05-20T00:30:14.215Z] Step 12/25 : RUN $MAKE [2021-05-20T00:30:14.215Z] ---> Running in 63f294c1898e [2021-05-20T00:30:15.652Z] go mod tidy [2021-05-20T00:30:15.927Z] 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-05-20T00:30:54.943Z] Removing intermediate container 63f294c1898e [2021-05-20T00:30:54.943Z] ---> fc287ac1dd5f [2021-05-20T00:30:54.943Z] Step 13/25 : FROM alpine:3.12 [2021-05-20T00:30:54.943Z] 3.12: Pulling from library/alpine [2021-05-20T00:30:54.943Z] d2f70382dc9a: Pulling fs layer [2021-05-20T00:30:54.943Z] d2f70382dc9a: Verifying Checksum [2021-05-20T00:30:54.943Z] d2f70382dc9a: Download complete [2021-05-20T00:30:54.943Z] d2f70382dc9a: Pull complete [2021-05-20T00:30:54.943Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-20T00:30:54.943Z] Status: Downloaded newer image for alpine:3.12 [2021-05-20T00:30:54.943Z] ---> 9852663dfa18 [2021-05-20T00:30:54.943Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-20T00:30:54.943Z] ---> Running in 858e07ef2fbb [2021-05-20T00:30:54.943Z] Removing intermediate container 858e07ef2fbb [2021-05-20T00:30:54.943Z] ---> ffdae0453e0a [2021-05-20T00:30:54.943Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-20T00:30:54.943Z] ---> Running in 6f7c63d7e7c6 [2021-05-20T00:30:54.943Z] Removing intermediate container 6f7c63d7e7c6 [2021-05-20T00:30:54.943Z] ---> 017c4c97a341 [2021-05-20T00:30:54.944Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-20T00:30:54.944Z] ---> Running in f2099aeb7caf [2021-05-20T00:30:54.944Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-20T00:30:54.944Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-20T00:30:55.542Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-20T00:30:55.542Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-20T00:30:55.542Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-20T00:30:55.542Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-20T00:30:55.542Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-20T00:30:55.542Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-20T00:30:55.542Z] Executing busybox-1.31.1-r20.trigger [2021-05-20T00:30:55.542Z] OK: 8 MiB in 20 packages [2021-05-20T00:30:56.979Z] Removing intermediate container f2099aeb7caf [2021-05-20T00:30:56.979Z] ---> 160e77dea18d [2021-05-20T00:30:56.979Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-20T00:30:57.960Z] ---> 29519b45df80 [2021-05-20T00:30:57.960Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-20T00:30:58.936Z] ---> 21980950a711 [2021-05-20T00:30:58.936Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-20T00:30:59.531Z] ---> 53777b78eb65 [2021-05-20T00:30:59.531Z] Step 20/25 : EXPOSE 59986 [2021-05-20T00:30:59.805Z] ---> Running in 717190b498b2 [2021-05-20T00:31:00.076Z] Removing intermediate container 717190b498b2 [2021-05-20T00:31:00.076Z] ---> 4c50e732d4dc [2021-05-20T00:31:00.076Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-20T00:31:00.349Z] ---> Running in da44fa7181c4 [2021-05-20T00:31:00.942Z] Removing intermediate container da44fa7181c4 [2021-05-20T00:31:00.942Z] ---> c7af97b38d8a [2021-05-20T00:31:00.942Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-20T00:31:00.942Z] ---> Running in 696cd4d91824 [2021-05-20T00:31:01.540Z] Removing intermediate container 696cd4d91824 [2021-05-20T00:31:01.540Z] ---> 6d794f211a85 [2021-05-20T00:31:01.540Z] Step 23/25 : LABEL arch=arm64 [2021-05-20T00:31:01.540Z] ---> Running in 7c8ad5c72038 [2021-05-20T00:31:02.140Z] Removing intermediate container 7c8ad5c72038 [2021-05-20T00:31:02.140Z] ---> f370b2f83e94 [2021-05-20T00:31:02.140Z] Step 24/25 : LABEL git_sha=2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [2021-05-20T00:31:02.140Z] ---> Running in 9d5fdc12e6cb [2021-05-20T00:31:02.731Z] Removing intermediate container 9d5fdc12e6cb [2021-05-20T00:31:02.731Z] ---> 73425d90754b [2021-05-20T00:31:02.731Z] Step 25/25 : LABEL version=0.0.0 [2021-05-20T00:31:03.003Z] ---> Running in f1108ef02dc0 [2021-05-20T00:31:03.277Z] Removing intermediate container f1108ef02dc0 [2021-05-20T00:31:03.277Z] ---> ef7aec19f6f2 [2021-05-20T00:31:03.277Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-20T00:31:03.549Z] Successfully built ef7aec19f6f2 [2021-05-20T00:31:03.549Z] 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-05-20T00:31:04.196Z] ---> job-cost.sh [2021-05-20T00:31:04.197Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-WI7d [2021-05-20T00:31:43.154Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-20T00:33:04.875Z] lf-activate-venv(): INFO: Adding /tmp/venv-WI7d/bin to PATH [2021-05-20T00:33:04.876Z] INFO: No Stack... [2021-05-20T00:33:04.876Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-20T00:33:04.876Z] INFO: Archiving Costs [Pipeline] sh [2021-05-20T00:33:05.213Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-05-20T00:33:05.213Z] + cut -d, -f6 [Pipeline] lock [2021-05-20T00:33:05.275Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-103-2-stack-cost] [2021-05-20T00:33:05.283Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-103-2-stack-cost] did not exist. Created. [2021-05-20T00:33:05.283Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-103-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-20T00:33:05.648Z] /w/workspace/device-rest-go/2@tmp/durable-cb834cde/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-cb834cde/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-20T00:33:06.019Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-20T00:33:06.050Z] Warning: overwriting stash ‘stack-cost’ [2021-05-20T00:33:06.197Z] Stashed 1 file(s) [Pipeline] } [2021-05-20T00:33:06.211Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-103-2-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-05-20T00:33:07.028Z] provisioning config files... [2021-05-20T00:33:07.037Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-103@tmp/config2638895677513379281tmp [Pipeline] { [Pipeline] sh [2021-05-20T00:33:07.356Z] + set +x [2021-05-20T00:33:07.356Z] + bash -s -- [2021-05-20T00:33:07.356Z] + curl -s https://codecov.io/bash [2021-05-20T00:33:07.356Z] [2021-05-20T00:33:07.356Z] _____ _ [2021-05-20T00:33:07.356Z] / ____| | | [2021-05-20T00:33:07.356Z] | | ___ __| | ___ ___ _____ __ [2021-05-20T00:33:07.356Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-20T00:33:07.356Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-20T00:33:07.356Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-20T00:33:07.356Z] Bash-1.0.2 [2021-05-20T00:33:07.356Z] [2021-05-20T00:33:07.356Z] [2021-05-20T00:33:07.356Z] ==> git version 2.24.4 found [2021-05-20T00:33:07.356Z] ==> 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-05-20T00:33:07.356Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-20T00:33:07.356Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-20T00:33:07.356Z] ==> Jenkins CI detected. [2021-05-20T00:33:07.356Z] project root: . [2021-05-20T00:33:07.356Z] --> token set from env [2021-05-20T00:33:07.619Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-20T00:33:07.619Z] ==> Running gcov in . (disable via -X gcov) [2021-05-20T00:33:07.619Z] ==> Python coveragepy not found [2021-05-20T00:33:07.619Z] ==> Searching for coverage reports in: [2021-05-20T00:33:07.619Z] + . [2021-05-20T00:33:07.619Z] -> Found 1 reports [2021-05-20T00:33:07.619Z] ==> Detecting git/mercurial file structure [2021-05-20T00:33:07.619Z] ==> Reading reports [2021-05-20T00:33:07.619Z] + ./coverage.out bytes=8513 [2021-05-20T00:33:07.619Z] ==> Appending adjustments [2021-05-20T00:33:07.619Z] https://docs.codecov.io/docs/fixing-reports [2021-05-20T00:33:07.619Z] + Found adjustments [2021-05-20T00:33:07.619Z] ==> Gzipping contents [2021-05-20T00:33:07.619Z] 4.0K /tmp/codecov.aN6eEr.gz [2021-05-20T00:33:07.619Z] ==> Uploading reports [2021-05-20T00:33:07.619Z] url: https://codecov.io [2021-05-20T00:33:07.619Z] query: branch=PR-103&commit=2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-103%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=103&job=&cmd_args= [2021-05-20T00:33:07.619Z] -> Pinging Codecov [2021-05-20T00:33:07.619Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-103&commit=2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-103%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=103&job=&cmd_args= [2021-05-20T00:33:07.884Z] -> Uploading to [2021-05-20T00:33:07.884Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-20/4E5D53B4F1F92C436F7061BF334D961C/2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9/86e59e16-1e91-4bdb-abb0-75107f4bb321.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210520%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210520T003307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b17e7c6dc5166c1361ea42b532e51bb0d045618b55efdfd2ed7500f6d43a2d4b [2021-05-20T00:33:07.884Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-20T00:33:07.884Z] Dload Upload Total Spent Left Speed [2021-05-20T00:33:08.457Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3280 --:--:-- --:--:-- --:--:-- 3287 [2021-05-20T00:33:08.457Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2f1c2cc1db3c0b8d2a729c06e74d68b7cf7f8cb9 [Pipeline] } [2021-05-20T00:33:08.467Z] 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-05-20T00:33:10.132Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:33:10.712Z] ---> package-listing.sh [2021-05-20T00:33:10.712Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-20T00:33:10.712Z] ++ facter osfamily [2021-05-20T00:33:10.979Z] + OS_FAMILY=redhat [2021-05-20T00:33:10.979Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-103 [2021-05-20T00:33:10.979Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-20T00:33:10.979Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-20T00:33:10.979Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-20T00:33:10.979Z] + PACKAGES=/tmp/packages_start.txt [2021-05-20T00:33:10.979Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-103 ']' [2021-05-20T00:33:10.979Z] + PACKAGES=/tmp/packages_end.txt [2021-05-20T00:33:10.979Z] + case "${OS_FAMILY}" in [2021-05-20T00:33:10.979Z] + sort [2021-05-20T00:33:10.979Z] + rpm -qa [2021-05-20T00:33:11.557Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-20T00:33:11.558Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-20T00:33:11.558Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-20T00:33:11.558Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-103 ']' [2021-05-20T00:33:11.558Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-103/archives/ [2021-05-20T00:33:11.558Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-103/archives/ [Pipeline] echo [2021-05-20T00:33:11.572Z] 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-20T00:33:11.861Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:33:12.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T00:33:12.426Z] [2021-05-20T00:33:12.426Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-20T00:33:12.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T00:33:12.746Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-20T00:33:12.746Z] df20fa9351a1: Pulling fs layer [2021-05-20T00:33:12.746Z] 36b3adc4ff6f: Pulling fs layer [2021-05-20T00:33:12.746Z] 8ad3a11d3b57: Pulling fs layer [2021-05-20T00:33:12.746Z] 46f8f816bc3b: Pulling fs layer [2021-05-20T00:33:12.746Z] 93b61091891f: Pulling fs layer [2021-05-20T00:33:12.746Z] 93b9cdb0e59b: Pulling fs layer [2021-05-20T00:33:12.746Z] 5e14af77c1be: Pulling fs layer [2021-05-20T00:33:12.746Z] 01666e4c0597: Pulling fs layer [2021-05-20T00:33:12.746Z] aa168da1d23b: Pulling fs layer [2021-05-20T00:33:12.746Z] 46f8f816bc3b: Waiting [2021-05-20T00:33:12.746Z] 93b61091891f: Waiting [2021-05-20T00:33:12.746Z] 93b9cdb0e59b: Waiting [2021-05-20T00:33:12.746Z] aa168da1d23b: Waiting [2021-05-20T00:33:12.746Z] 5e14af77c1be: Waiting [2021-05-20T00:33:12.746Z] 01666e4c0597: Waiting [2021-05-20T00:33:13.014Z] 36b3adc4ff6f: Verifying Checksum [2021-05-20T00:33:13.014Z] 36b3adc4ff6f: Download complete [2021-05-20T00:33:13.014Z] 46f8f816bc3b: Verifying Checksum [2021-05-20T00:33:13.014Z] 46f8f816bc3b: Download complete [2021-05-20T00:33:13.014Z] df20fa9351a1: Verifying Checksum [2021-05-20T00:33:13.014Z] df20fa9351a1: Download complete [2021-05-20T00:33:13.014Z] 93b9cdb0e59b: Verifying Checksum [2021-05-20T00:33:13.014Z] 93b9cdb0e59b: Download complete [2021-05-20T00:33:13.014Z] 5e14af77c1be: Verifying Checksum [2021-05-20T00:33:13.014Z] 5e14af77c1be: Download complete [2021-05-20T00:33:13.014Z] 93b61091891f: Verifying Checksum [2021-05-20T00:33:13.014Z] 93b61091891f: Download complete [2021-05-20T00:33:13.014Z] 01666e4c0597: Verifying Checksum [2021-05-20T00:33:13.014Z] 01666e4c0597: Download complete [2021-05-20T00:33:13.014Z] df20fa9351a1: Pull complete [2021-05-20T00:33:13.277Z] 8ad3a11d3b57: Verifying Checksum [2021-05-20T00:33:13.277Z] 8ad3a11d3b57: Download complete [2021-05-20T00:33:13.277Z] 36b3adc4ff6f: Pull complete [2021-05-20T00:33:13.881Z] 8ad3a11d3b57: Pull complete [2021-05-20T00:33:14.147Z] 46f8f816bc3b: Pull complete [2021-05-20T00:33:14.409Z] 93b61091891f: Pull complete [2021-05-20T00:33:14.672Z] 93b9cdb0e59b: Pull complete [2021-05-20T00:33:14.672Z] 5e14af77c1be: Pull complete [2021-05-20T00:33:14.933Z] 01666e4c0597: Pull complete [2021-05-20T00:33:15.510Z] aa168da1d23b: Verifying Checksum [2021-05-20T00:33:15.510Z] aa168da1d23b: Download complete [2021-05-20T00:33:19.782Z] aa168da1d23b: Pull complete [2021-05-20T00:33:19.782Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-20T00:33:19.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-20T00:33:19.782Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-20T00:33:19.860Z] prd-centos7-docker-4c-2g-15190 does not seem to be running inside a container [2021-05-20T00:33:19.905Z] $ 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-103/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-103 -v /w/workspace/gexfoundry_device-rest-go_PR-103:/w/workspace/gexfoundry_device-rest-go_PR-103:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-103@tmp:/w/workspace/gexfoundry_device-rest-go_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-20T00:33:30.581Z] $ docker top 21a4283f0d7200b2ddc0b7c0ffc5a869126bae8c731a229e788e33bf75406d63 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-20T00:33:30.953Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-20T00:33:31.253Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-20T00:33:31.549Z] + ls /var/log/sa-host [2021-05-20T00:33:31.549Z] + sadf -c /var/log/sa-host/sa05 [2021-05-20T00:33:31.549Z] file_magic: OK [2021-05-20T00:33:31.549Z] HZ: Using current value: 100 [2021-05-20T00:33:31.549Z] file_header: OK [2021-05-20T00:33:31.549Z] 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-05-20T00:33:31.549Z] Statistics: [2021-05-20T00:33:31.549Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T00:33:31.549Z] File successfully converted to sysstat format version 12.2.1 [2021-05-20T00:33:31.549Z] + sadf -c /var/log/sa-host/sa20 [2021-05-20T00:33:31.549Z] file_magic: OK [2021-05-20T00:33:31.549Z] HZ: Using current value: 100 [2021-05-20T00:33:31.549Z] file_header: OK [2021-05-20T00:33:31.549Z] 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-05-20T00:33:31.549Z] Statistics: [2021-05-20T00:33:31.549Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-20T00:33:31.549Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-20T00:33:31.839Z] provisioning config files... [2021-05-20T00:33:31.856Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-103@tmp/config9103175854274221662tmp [Pipeline] { [Pipeline] echo [2021-05-20T00:33:31.878Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:33:32.174Z] ---> create-netrc.sh [Pipeline] } [2021-05-20T00:33:32.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-20T00:33:32.235Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:33:32.534Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-20T00:33:32.546Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:33:32.861Z] ---> sudo-logs.sh [2021-05-20T00:33:32.861Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-20T00:33:32.895Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:33:33.189Z] ---> job-cost.sh [2021-05-20T00:33:33.189Z] lf-activate-venv: SKIPPING [2021-05-20T00:33:33.189Z] DEBUG: total: 0.18000000715255737 [2021-05-20T00:33:33.189Z] INFO: Retrieving Stack Cost... [2021-05-20T00:33:34.576Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-20T00:33:34.838Z] INFO: Archiving Costs [Pipeline] echo [2021-05-20T00:33:34.852Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-20T00:33:35.152Z] ---> logs-deploy.sh [2021-05-20T00:33:35.152Z] lf-activate-venv: SKIPPING [2021-05-20T00:33:35.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-103/2 [2021-05-20T00:33:35.152Z] INFO: archiving workspace using pattern(s): [2021-05-20T00:33:36.098Z] Archives upload complete. [2021-05-20T00:33:36.098Z] INFO: archiving logs to Nexus [2021-05-20T00:33:36.670Z] ---> uname -a: [2021-05-20T00:33:36.670Z] Linux prd-centos7-docker-4c-2g-15190.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-05-20T00:33:36.670Z] [2021-05-20T00:33:36.670Z] [2021-05-20T00:33:36.670Z] ---> lscpu: [2021-05-20T00:33:36.670Z] Architecture: x86_64 [2021-05-20T00:33:36.670Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-20T00:33:36.670Z] Byte Order: Little Endian [2021-05-20T00:33:36.670Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-20T00:33:36.670Z] CPU(s): 2 [2021-05-20T00:33:36.670Z] On-line CPU(s) list: 0,1 [2021-05-20T00:33:36.670Z] Thread(s) per core: 1 [2021-05-20T00:33:36.670Z] Core(s) per socket: 1 [2021-05-20T00:33:36.670Z] Socket(s): 2 [2021-05-20T00:33:36.670Z] NUMA node(s): 1 [2021-05-20T00:33:36.670Z] Vendor ID: AuthenticAMD [2021-05-20T00:33:36.670Z] CPU family: 23 [2021-05-20T00:33:36.670Z] Model: 49 [2021-05-20T00:33:36.670Z] Model name: AMD EPYC-Rome Processor [2021-05-20T00:33:36.670Z] Stepping: 0 [2021-05-20T00:33:36.670Z] CPU MHz: 2800.000 [2021-05-20T00:33:36.670Z] BogoMIPS: 5600.00 [2021-05-20T00:33:36.670Z] Virtualization: AMD-V [2021-05-20T00:33:36.670Z] Hypervisor vendor: KVM [2021-05-20T00:33:36.670Z] Virtualization type: full [2021-05-20T00:33:36.670Z] L1d cache: 64 KiB [2021-05-20T00:33:36.670Z] L1i cache: 64 KiB [2021-05-20T00:33:36.670Z] L2 cache: 1 MiB [2021-05-20T00:33:36.670Z] L3 cache: 32 MiB [2021-05-20T00:33:36.670Z] NUMA node0 CPU(s): 0,1 [2021-05-20T00:33:36.670Z] Vulnerability Itlb multihit: Not affected [2021-05-20T00:33:36.670Z] Vulnerability L1tf: Not affected [2021-05-20T00:33:36.670Z] Vulnerability Mds: Not affected [2021-05-20T00:33:36.670Z] Vulnerability Meltdown: Not affected [2021-05-20T00:33:36.670Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-20T00:33:36.670Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-20T00:33:36.670Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-20T00:33:36.670Z] Vulnerability Srbds: Not affected [2021-05-20T00:33:36.670Z] Vulnerability Tsx async abort: Not affected [2021-05-20T00:33:36.670Z] 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-05-20T00:33:36.670Z] [2021-05-20T00:33:36.670Z] [2021-05-20T00:33:36.670Z] ---> nproc: [2021-05-20T00:33:36.670Z] 2 [2021-05-20T00:33:36.670Z] [2021-05-20T00:33:36.670Z] [2021-05-20T00:33:36.670Z] ---> df -h: [2021-05-20T00:33:36.670Z] Filesystem Size Used Available Use% Mounted on [2021-05-20T00:33:36.670Z] overlay 40.0G 7.6G 32.4G 19% / [2021-05-20T00:33:36.670Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-20T00:33:36.670Z] tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup [2021-05-20T00:33:36.670Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /facter-os [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/resolv.conf [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hostname [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /etc/hosts [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/auth.log [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-103 [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /run/cloud-init/result.json [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /w/workspace/gexfoundry_device-rest-go_PR-103@tmp [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/sa-host [2021-05-20T00:33:36.670Z] /dev/vda1 40.0G 7.6G 32.4G 19% /var/log/secure [2021-05-20T00:33:36.670Z] [2021-05-20T00:33:36.670Z] [2021-05-20T00:33:36.670Z] ---> free -m: [2021-05-20T00:33:36.670Z] total used free shared buff/cache available [2021-05-20T00:33:36.671Z] Mem: 7821 979 4733 0 2108 6664 [2021-05-20T00:33:36.671Z] Swap: 1023 0 1023 [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] ---> ip addr: [2021-05-20T00:33:36.671Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-20T00:33:36.671Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-20T00:33:36.671Z] inet 127.0.0.1/8 scope host lo [2021-05-20T00:33:36.671Z] valid_lft forever preferred_lft forever [2021-05-20T00:33:36.671Z] inet6 ::1/128 scope host [2021-05-20T00:33:36.671Z] valid_lft forever preferred_lft forever [2021-05-20T00:33:36.671Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-20T00:33:36.671Z] link/ether fa:16:3e:54:d9:ff brd ff:ff:ff:ff:ff:ff [2021-05-20T00:33:36.671Z] inet 10.30.122.85/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-20T00:33:36.671Z] valid_lft 85729sec preferred_lft 85729sec [2021-05-20T00:33:36.671Z] inet6 fe80::f816:3eff:fe54:d9ff/64 scope link [2021-05-20T00:33:36.671Z] valid_lft forever preferred_lft forever [2021-05-20T00:33:36.671Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-20T00:33:36.671Z] link/ether 02:42:58:85:49:90 brd ff:ff:ff:ff:ff:ff [2021-05-20T00:33:36.671Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-20T00:33:36.671Z] valid_lft forever preferred_lft forever [2021-05-20T00:33:36.671Z] inet6 fe80::42:58ff:fe85:4990/64 scope link [2021-05-20T00:33:36.671Z] valid_lft forever preferred_lft forever [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] ---> sar -b -r -n DEV: [2021-05-20T00:33:36.671Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/20/21 _x86_64_ (2 CPU) [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] 00:22:14 LINUX RESTART (2 CPU) [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] 00:23:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2021-05-20T00:33:36.671Z] 00:24:01 53.04 3.78 49.26 0.00 2674.48 4101.76 0.00 [2021-05-20T00:33:36.671Z] 00:25:01 1.68 0.00 1.68 0.00 0.00 32.62 0.00 [2021-05-20T00:33:36.671Z] 00:26:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 [2021-05-20T00:33:36.671Z] 00:27:01 0.22 0.00 0.22 0.00 0.00 3.28 0.00 [2021-05-20T00:33:36.671Z] 00:28:01 0.35 0.00 0.35 0.00 0.00 4.73 0.00 [2021-05-20T00:33:36.671Z] 00:29:01 0.27 0.00 0.27 0.00 0.00 3.10 0.00 [2021-05-20T00:33:36.671Z] 00:30:01 0.13 0.00 0.13 0.00 0.00 2.28 0.00 [2021-05-20T00:33:36.671Z] 00:31:01 0.27 0.00 0.27 0.00 0.00 3.35 0.00 [2021-05-20T00:33:36.671Z] 00:32:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 [2021-05-20T00:33:36.671Z] 00:33:01 0.23 0.00 0.23 0.00 0.00 3.20 0.00 [2021-05-20T00:33:36.671Z] Average: 5.59 0.37 5.22 0.00 263.52 410.01 0.00 [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] 00:23:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-05-20T00:33:36.671Z] 00:24:01 5442836 0 811980 10.14 2620 1751504 1291184 14.26 586580 1579988 0 [2021-05-20T00:33:36.671Z] 00:25:01 5454616 0 800136 9.99 2620 1751568 1196976 13.22 576820 1579968 24 [2021-05-20T00:33:36.671Z] 00:26:01 5454880 0 799928 9.99 2620 1751512 1196976 13.22 577132 1579768 8 [2021-05-20T00:33:36.671Z] 00:27:01 5451672 0 803128 10.03 2620 1751520 1197264 13.22 579800 1579768 8 [2021-05-20T00:33:36.671Z] 00:28:01 5450868 0 803928 10.04 2620 1751524 1197072 13.22 577604 1583600 16 [2021-05-20T00:33:36.671Z] 00:29:01 5449492 0 805304 10.06 2620 1751524 1197036 13.22 578516 1583600 12 [2021-05-20T00:33:36.671Z] 00:30:01 5449024 0 805764 10.06 2620 1751532 1196976 13.22 579072 1583616 16 [2021-05-20T00:33:36.671Z] 00:31:01 5440244 0 814540 10.17 2620 1751536 1196976 13.22 587816 1583616 8 [2021-05-20T00:33:36.671Z] 00:32:01 5439852 0 814928 10.18 2620 1751540 1196976 13.22 590012 1581792 8 [2021-05-20T00:33:36.671Z] 00:33:01 5438440 0 816336 10.19 2620 1751544 1197216 13.22 591340 1581792 12 [2021-05-20T00:33:36.671Z] Average: 5447192 0 807597 10.08 2620 1751530 1206465 13.32 582469 1581751 11 [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] 00:23:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-05-20T00:33:36.671Z] 00:24:01 eth0 251.38 211.74 755.56 47.55 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:24:01 docker0 44.78 31.40 4.05 135.28 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:25:01 eth0 0.10 0.07 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:26:01 eth0 1.17 0.02 0.11 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:27:01 eth0 1.00 0.52 0.54 0.39 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:28:01 eth0 0.25 0.15 0.09 0.04 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:29:01 eth0 0.23 0.20 0.10 0.04 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:30:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:31:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:32:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:33:01 eth0 1.10 0.55 0.39 0.25 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] 00:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] Average: eth0 25.19 21.04 74.57 4.76 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] Average: docker0 4.41 3.09 0.40 13.33 0.00 0.00 0.00 0.00 [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] ---> sar -P ALL: [2021-05-20T00:33:36.671Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 05/20/21 _x86_64_ (2 CPU) [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] 00:22:14 LINUX RESTART (2 CPU) [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] 00:23:02 CPU %user %nice %system %iowait %steal %idle [2021-05-20T00:33:36.671Z] 00:24:01 all 5.97 0.00 2.14 4.62 0.05 87.22 [2021-05-20T00:33:36.671Z] 00:24:01 0 5.47 0.00 2.16 3.04 0.05 89.28 [2021-05-20T00:33:36.671Z] 00:24:01 1 6.46 0.00 2.12 6.20 0.05 85.17 [2021-05-20T00:33:36.671Z] 00:25:01 all 0.17 0.00 0.03 0.00 0.02 99.79 [2021-05-20T00:33:36.671Z] 00:25:01 0 0.28 0.00 0.02 0.00 0.00 99.70 [2021-05-20T00:33:36.671Z] 00:25:01 1 0.05 0.00 0.03 0.00 0.03 99.88 [2021-05-20T00:33:36.671Z] 00:26:01 all 0.13 0.00 0.03 0.00 0.03 99.82 [2021-05-20T00:33:36.671Z] 00:26:01 0 0.22 0.00 0.02 0.00 0.03 99.73 [2021-05-20T00:33:36.671Z] 00:26:01 1 0.03 0.00 0.03 0.00 0.03 99.90 [2021-05-20T00:33:36.671Z] 00:27:01 all 0.15 0.00 0.03 0.01 0.03 99.78 [2021-05-20T00:33:36.671Z] 00:27:01 0 0.23 0.00 0.03 0.02 0.00 99.72 [2021-05-20T00:33:36.671Z] 00:27:01 1 0.07 0.00 0.03 0.00 0.05 99.85 [2021-05-20T00:33:36.671Z] 00:28:01 all 0.13 0.00 0.03 0.00 0.03 99.81 [2021-05-20T00:33:36.671Z] 00:28:01 0 0.12 0.00 0.03 0.00 0.02 99.83 [2021-05-20T00:33:36.671Z] 00:28:01 1 0.15 0.00 0.03 0.00 0.03 99.78 [2021-05-20T00:33:36.671Z] 00:29:01 all 0.03 0.00 0.02 0.00 0.03 99.92 [2021-05-20T00:33:36.671Z] 00:29:01 0 0.02 0.00 0.02 0.00 0.02 99.95 [2021-05-20T00:33:36.671Z] 00:29:01 1 0.03 0.00 0.02 0.00 0.05 99.90 [2021-05-20T00:33:36.671Z] 00:30:01 all 0.12 0.00 0.03 0.00 0.03 99.83 [2021-05-20T00:33:36.671Z] 00:30:01 0 0.05 0.00 0.03 0.00 0.02 99.90 [2021-05-20T00:33:36.671Z] 00:30:01 1 0.18 0.00 0.02 0.00 0.03 99.77 [2021-05-20T00:33:36.671Z] 00:31:01 all 0.08 0.00 0.03 0.00 0.02 99.88 [2021-05-20T00:33:36.671Z] 00:31:01 0 0.02 0.00 0.03 0.00 0.02 99.93 [2021-05-20T00:33:36.671Z] 00:31:01 1 0.13 0.00 0.02 0.00 0.02 99.83 [2021-05-20T00:33:36.671Z] 00:32:01 all 0.08 0.00 0.03 0.00 0.03 99.87 [2021-05-20T00:33:36.671Z] 00:32:01 0 0.03 0.00 0.03 0.00 0.03 99.90 [2021-05-20T00:33:36.671Z] 00:32:01 1 0.12 0.00 0.02 0.00 0.03 99.83 [2021-05-20T00:33:36.671Z] 00:33:01 all 0.13 0.00 0.03 0.00 0.03 99.82 [2021-05-20T00:33:36.671Z] 00:33:01 0 0.03 0.00 0.02 0.00 0.02 99.93 [2021-05-20T00:33:36.671Z] 00:33:01 1 0.22 0.00 0.03 0.00 0.03 99.72 [2021-05-20T00:33:36.671Z] Average: all 0.68 0.00 0.23 0.45 0.03 98.61 [2021-05-20T00:33:36.671Z] Average: 0 0.63 0.00 0.23 0.30 0.02 98.82 [2021-05-20T00:33:36.671Z] Average: 1 0.73 0.00 0.23 0.60 0.04 98.41 [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z] [2021-05-20T00:33:36.671Z]