Pull request #128 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of soda480 for edgexfoundry/device-rest-go Obtained Jenkinsfile from ad5ae9a0a2f73944f987c704a3dd6d254d98a666+ac4b371315fba0b9546dc2a95c8393f838fbe7e4 (a274e8ec35cea6ab63da5e43e5e90143638a9c2c) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1502656704944770668.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6176534120907254452.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-128/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-128/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7337094792804057217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7810322695852547830.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-128/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-128/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6616823552123266190.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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_BUILD_IMAGE_TARGET: builder 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-1065 in /w/workspace/gexfoundry_device-rest-go_PR-128 [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-128 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/jenkins-gitclient-ssh8306471718849360390.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/jenkins-gitclient-ssh6585295951210718852.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit ad5ae9a0a2f73944f987c704a3dd6d254d98a666 Merge succeeded, producing ad5ae9a0a2f73944f987c704a3dd6d254d98a666 Checking out Revision ad5ae9a0a2f73944f987c704a3dd6d254d98a666 (PR-128) > git config core.sparsecheckout # timeout=10 > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/jenkins-gitclient-ssh2342372265219972589.key > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 Commit message: "docs: Update build status badge" First time build. Skipping changelog. > git rev-list --no-walk b263c2e12538d2124d0c359fc27e2a2a90b1ec1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-30T16:45:34.477Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-30T16:45:34.567Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-30T16:45:34.598Z] ========================================================= [2021-07-30T16:45:34.598Z] EdgeX Global Pipelines Version Info [2021-07-30T16:45:34.598Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:45:35.860Z] ------------------- [2021-07-30T16:45:35.860Z] stable info: [2021-07-30T16:45:35.860Z] ------------------- [2021-07-30T16:45:35.860Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-30T16:45:35.860Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T16:45:35.860Z] Message: update stable to v1.0.199 [2021-07-30T16:45:36.450Z] ------------------- [2021-07-30T16:45:36.450Z] experimental info: [2021-07-30T16:45:36.450Z] ------------------- [2021-07-30T16:45:36.450Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-30T16:45:36.450Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T16:45:36.450Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-30T16:45:36.589Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-07-30T16:45:36.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-07-30T16:45:36.640Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-30T16:45:36.666Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-30T16:45:36.692Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-30T16:45:36.715Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-30T16:45:36.740Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-30T16:45:36.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-30T16:45:36.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-07-30T16:45:36.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-30T16:45:36.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-30T16:45:36.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-30T16:45:36.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-07-30T16:45:36.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-30T16:45:36.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-30T16:45:36.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T16:45:36.980Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T16:45:37.003Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T16:45:37.028Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T16:45:37.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-30T16:45:37.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-30T16:45:37.097Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-07-30T16:45:37.119Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-07-30T16:45:37.186Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-30T16:45:37.209Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-30T16:45:37.232Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-30T16:45:37.255Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-30T16:45:37.278Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-128 [Pipeline] echo [2021-07-30T16:45:37.302Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-128 [Pipeline] echo [2021-07-30T16:45:37.325Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-128 [Pipeline] echo [2021-07-30T16:45:37.347Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [Pipeline] echo [2021-07-30T16:45:37.369Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad5ae9a [Pipeline] echo [2021-07-30T16:45:37.391Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T16:45:37.466Z] provisioning config files... [2021-07-30T16:45:37.489Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config6422028187689151056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:45:37.827Z] ---> docker-login.sh [2021-07-30T16:45:37.828Z] nexus3.edgexfoundry.org:10001 [2021-07-30T16:45:37.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:45:38.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:45:38.093Z] Configure a credential helper to remove this warning. See [2021-07-30T16:45:38.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:45:38.093Z] [2021-07-30T16:45:38.093Z] Login Succeeded [2021-07-30T16:45:38.093Z] nexus3.edgexfoundry.org:10002 [2021-07-30T16:45:38.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:45:38.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:45:38.365Z] Configure a credential helper to remove this warning. See [2021-07-30T16:45:38.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:45:38.365Z] [2021-07-30T16:45:38.365Z] Login Succeeded [2021-07-30T16:45:38.365Z] nexus3.edgexfoundry.org:10003 [2021-07-30T16:45:38.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:45:38.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:45:38.365Z] Configure a credential helper to remove this warning. See [2021-07-30T16:45:38.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:45:38.365Z] [2021-07-30T16:45:38.365Z] Login Succeeded [2021-07-30T16:45:38.365Z] nexus3.edgexfoundry.org:10004 [2021-07-30T16:45:38.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:45:38.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:45:38.632Z] Configure a credential helper to remove this warning. See [2021-07-30T16:45:38.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:45:38.632Z] [2021-07-30T16:45:38.632Z] Login Succeeded [2021-07-30T16:45:38.632Z] docker.io [2021-07-30T16:45:38.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:45:38.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:45:38.907Z] Configure a credential helper to remove this warning. See [2021-07-30T16:45:38.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:45:38.907Z] [2021-07-30T16:45:38.907Z] Login Succeeded [2021-07-30T16:45:38.907Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T16:45:38.919Z] 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-07-30T16:45:39.449Z] + git log --format=format:%s -1 ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [Pipeline] echo [2021-07-30T16:45:39.510Z] GIT_COMMIT: ad5ae9a0a2f73944f987c704a3dd6d254d98a666, Commit Message: docs: Update build status badge [Pipeline] echo [2021-07-30T16:45:39.524Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:45:40.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T16:45:40.731Z] [2021-07-30T16:45:40.731Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:45:41.064Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T16:45:41.064Z] latest: Pulling from edgex-devops/git-semver [2021-07-30T16:45:41.064Z] 31603596830f: Pulling fs layer [2021-07-30T16:45:41.064Z] b6dc333f4379: Pulling fs layer [2021-07-30T16:45:41.064Z] 3d9ef1400e77: Pulling fs layer [2021-07-30T16:45:41.064Z] fd332fbdc1db: Pulling fs layer [2021-07-30T16:45:41.064Z] fd332fbdc1db: Waiting [2021-07-30T16:45:41.064Z] b6dc333f4379: Verifying Checksum [2021-07-30T16:45:41.064Z] b6dc333f4379: Download complete [2021-07-30T16:45:41.342Z] 31603596830f: Verifying Checksum [2021-07-30T16:45:41.342Z] 31603596830f: Download complete [2021-07-30T16:45:41.613Z] 31603596830f: Pull complete [2021-07-30T16:45:41.613Z] fd332fbdc1db: Verifying Checksum [2021-07-30T16:45:41.613Z] fd332fbdc1db: Download complete [2021-07-30T16:45:41.613Z] b6dc333f4379: Pull complete [2021-07-30T16:45:41.613Z] 3d9ef1400e77: Verifying Checksum [2021-07-30T16:45:41.613Z] 3d9ef1400e77: Download complete [2021-07-30T16:45:42.200Z] 3d9ef1400e77: Pull complete [2021-07-30T16:45:42.467Z] fd332fbdc1db: Pull complete [2021-07-30T16:45:42.467Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-30T16:45:42.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T16:45:42.467Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-30T16:45:42.568Z] prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container [2021-07-30T16:45:42.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-128 -v /w/workspace/gexfoundry_device-rest-go_PR-128:/w/workspace/gexfoundry_device-rest-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-128@tmp:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T16:45:43.470Z] $ docker top 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T16:45:43.627Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T16:45:43.627Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T16:45:43.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T16:45:43.759Z] $ docker exec 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 ssh-agent [2021-07-30T16:45:43.903Z] SSH_AUTH_SOCK=/tmp/ssh-KaUASvgx8OHw/agent.13 [2021-07-30T16:45:43.903Z] SSH_AGENT_PID=19 [2021-07-30T16:45:43.918Z] Running ssh-add (command line suppressed) [2021-07-30T16:45:44.030Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_329896569162277901.key (/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_329896569162277901.key) [2021-07-30T16:45:44.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T16:45:44.382Z] + git tag --points-at HEAD [Pipeline] } [2021-07-30T16:45:44.404Z] $ docker exec --env ******** --env ******** 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 ssh-agent -k [2021-07-30T16:45:44.517Z] unset SSH_AUTH_SOCK; [2021-07-30T16:45:44.518Z] unset SSH_AGENT_PID; [2021-07-30T16:45:44.518Z] echo Agent pid 19 killed; [2021-07-30T16:45:44.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-30T16:45:44.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T16:45:44.585Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T16:45:44.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T16:45:44.712Z] $ docker exec 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 ssh-agent [2021-07-30T16:45:44.870Z] SSH_AUTH_SOCK=/tmp/ssh-PfEO9029E4zr/agent.51 [2021-07-30T16:45:44.870Z] SSH_AGENT_PID=58 [2021-07-30T16:45:44.879Z] Running ssh-add (command line suppressed) [2021-07-30T16:45:44.972Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_5097320849714601979.key (/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/private_key_5097320849714601979.key) [2021-07-30T16:45:44.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T16:45:45.331Z] + git semver init [2021-07-30T16:45:45.331Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T16:45:45.331Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-128/.git [2021-07-30T16:45:45.331Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-128 [2021-07-30T16:45:45.331Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T16:45:45.331Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T16:45:45.331Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T16:45:45.331Z] # $SEMVER_BRANCH = PR-128 [2021-07-30T16:45:45.331Z] # $SEMVER_TEMP = /tmp/semver-018504859 [2021-07-30T16:45:45.331Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-07-30T16:45:46.303Z] # '/tmp/semver-018504859' -> '/w/workspace/gexfoundry_device-rest-go_PR-128/.semver' [2021-07-30T16:45:46.303Z] # -> Force: false [2021-07-30T16:45:46.303Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-128/.semver [Pipeline] } [2021-07-30T16:45:46.319Z] $ docker exec --env ******** --env ******** 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 ssh-agent -k [2021-07-30T16:45:46.442Z] unset SSH_AUTH_SOCK; [2021-07-30T16:45:46.443Z] unset SSH_AGENT_PID; [2021-07-30T16:45:46.443Z] echo Agent pid 58 killed; [2021-07-30T16:45:46.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T16:45:46.814Z] + git semver [Pipeline] } [2021-07-30T16:45:46.834Z] $ docker stop --time=1 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 [2021-07-30T16:45:48.141Z] $ docker rm -f 7b0a75480e05f1e7b8a4375c9568a1d77493c6b8dbde7cd9ba41a3eecdb9aeb0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T16:45:48.550Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-30T16:45:48.892Z] Stashed 1 file(s) [Pipeline] echo [2021-07-30T16:45:48.895Z] [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-07-30T16:46:04.151Z] Still waiting to schedule task [2021-07-30T16:46:04.152Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-30T16:46:04.154Z] Still waiting to schedule task [2021-07-30T16:46:04.154Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-30T16:48:23.810Z] Running on prd-centos7-docker-4c-2g-1068 in /w/workspace/gexfoundry_device-rest-go_PR-128 [Pipeline] { [Pipeline] ws [2021-07-30T16:48:23.830Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-07-30T16:48:23.957Z] The recommended git tool is: git [2021-07-30T16:48:26.691Z] using credential edgex-jenkins-ssh [2021-07-30T16:48:26.715Z] Cloning the remote Git repository [2021-07-30T16:48:25.975Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T16:48:26.048Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-07-30T16:48:26.080Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T16:48:26.081Z] > git --version # timeout=10 [2021-07-30T16:48:26.090Z] > git --version # 'git version 2.24.4' [2021-07-30T16:48:26.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T16:48:26.119Z] [INFO] Currently running in a labeled security context [2021-07-30T16:48:26.120Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T16:48:26.120Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh7194827215836101293.key [2021-07-30T16:48:26.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T16:48:28.514Z] Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [2021-07-30T16:48:27.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T16:48:27.112Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T16:48:27.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T16:48:27.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T16:48:27.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T16:48:27.169Z] [INFO] Currently running in a labeled security context [2021-07-30T16:48:27.169Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T16:48:27.170Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh911652772424297339.key [2021-07-30T16:48:27.187Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-30T16:48:27.747Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T16:48:27.756Z] > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 [2021-07-30T16:48:28.593Z] Merge succeeded, producing ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [2021-07-30T16:48:28.594Z] Checking out Revision ad5ae9a0a2f73944f987c704a3dd6d254d98a666 (PR-128) [2021-07-30T16:48:27.791Z] > git remote # timeout=10 [2021-07-30T16:48:27.796Z] > git config --get remote.origin.url # timeout=10 [2021-07-30T16:48:27.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T16:48:27.801Z] [INFO] Currently running in a labeled security context [2021-07-30T16:48:27.801Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T16:48:27.801Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh2585704920561793777.key [2021-07-30T16:48:27.807Z] > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [2021-07-30T16:48:27.816Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-30T16:48:27.825Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T16:48:27.832Z] > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 [2021-07-30T16:48:32.105Z] Commit message: "docs: Update build status badge" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T16:48:32.460Z] provisioning config files... [2021-07-30T16:48:32.485Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5730714198091315764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:48:32.939Z] ---> docker-login.sh [2021-07-30T16:48:32.939Z] nexus3.edgexfoundry.org:10001 [2021-07-30T16:48:32.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:48:33.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:48:33.211Z] Configure a credential helper to remove this warning. See [2021-07-30T16:48:33.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:48:33.211Z] [2021-07-30T16:48:33.211Z] Login Succeeded [2021-07-30T16:48:33.211Z] nexus3.edgexfoundry.org:10002 [2021-07-30T16:48:33.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:48:33.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:48:33.211Z] Configure a credential helper to remove this warning. See [2021-07-30T16:48:33.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:48:33.211Z] [2021-07-30T16:48:33.211Z] Login Succeeded [2021-07-30T16:48:33.211Z] nexus3.edgexfoundry.org:10003 [2021-07-30T16:48:33.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:48:33.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:48:33.478Z] Configure a credential helper to remove this warning. See [2021-07-30T16:48:33.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:48:33.478Z] [2021-07-30T16:48:33.478Z] Login Succeeded [2021-07-30T16:48:33.478Z] nexus3.edgexfoundry.org:10004 [2021-07-30T16:48:33.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:48:33.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:48:33.478Z] Configure a credential helper to remove this warning. See [2021-07-30T16:48:33.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:48:33.478Z] [2021-07-30T16:48:33.478Z] Login Succeeded [2021-07-30T16:48:33.478Z] docker.io [2021-07-30T16:48:33.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:48:34.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:48:34.011Z] Configure a credential helper to remove this warning. See [2021-07-30T16:48:34.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:48:34.011Z] [2021-07-30T16:48:34.011Z] Login Succeeded [2021-07-30T16:48:34.011Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T16:48:34.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T16:48:34.258Z] ========================================================= [2021-07-30T16:48:34.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-30T16:48:34.258Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:48:34.595Z] + 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-07-30T16:48:34.595Z] Sending build context to Docker daemon 116.2kB [2021-07-30T16:48:34.595Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T16:48:34.595Z] Step 2/10 : FROM ${BASE} [2021-07-30T16:48:34.867Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-30T16:48:34.867Z] 540db60ca938: Pulling fs layer [2021-07-30T16:48:34.867Z] adcc1eea9eea: Pulling fs layer [2021-07-30T16:48:34.867Z] 4c4ab2625f07: Pulling fs layer [2021-07-30T16:48:34.867Z] 0773c198feca: Pulling fs layer [2021-07-30T16:48:34.867Z] 345f892a5656: Pulling fs layer [2021-07-30T16:48:34.867Z] 4796506630df: Pulling fs layer [2021-07-30T16:48:34.867Z] cc55df3e53f1: Pulling fs layer [2021-07-30T16:48:34.867Z] 4d027b6c602c: Pulling fs layer [2021-07-30T16:48:34.867Z] 449e75d2c14e: Pulling fs layer [2021-07-30T16:48:34.867Z] 0773c198feca: Waiting [2021-07-30T16:48:34.867Z] 345f892a5656: Waiting [2021-07-30T16:48:34.867Z] 4796506630df: Waiting [2021-07-30T16:48:34.867Z] cc55df3e53f1: Waiting [2021-07-30T16:48:34.867Z] 4d027b6c602c: Waiting [2021-07-30T16:48:34.867Z] 449e75d2c14e: Waiting [2021-07-30T16:48:34.867Z] 4c4ab2625f07: Verifying Checksum [2021-07-30T16:48:34.867Z] 4c4ab2625f07: Download complete [2021-07-30T16:48:34.867Z] adcc1eea9eea: Verifying Checksum [2021-07-30T16:48:34.867Z] adcc1eea9eea: Download complete [2021-07-30T16:48:34.867Z] 345f892a5656: Verifying Checksum [2021-07-30T16:48:34.867Z] 345f892a5656: Download complete [2021-07-30T16:48:34.867Z] 4796506630df: Verifying Checksum [2021-07-30T16:48:34.867Z] 4796506630df: Download complete [2021-07-30T16:48:34.867Z] cc55df3e53f1: Verifying Checksum [2021-07-30T16:48:34.867Z] cc55df3e53f1: Download complete [2021-07-30T16:48:34.867Z] 540db60ca938: Verifying Checksum [2021-07-30T16:48:34.867Z] 540db60ca938: Download complete [2021-07-30T16:48:35.132Z] 540db60ca938: Pull complete [2021-07-30T16:48:35.132Z] adcc1eea9eea: Pull complete [2021-07-30T16:48:35.401Z] 4c4ab2625f07: Pull complete [2021-07-30T16:48:35.401Z] 4d027b6c602c: Verifying Checksum [2021-07-30T16:48:35.401Z] 4d027b6c602c: Download complete [2021-07-30T16:48:37.979Z] 449e75d2c14e: Verifying Checksum [2021-07-30T16:48:37.979Z] 449e75d2c14e: Download complete [2021-07-30T16:48:39.390Z] 0773c198feca: Verifying Checksum [2021-07-30T16:48:39.390Z] 0773c198feca: Download complete [2021-07-30T16:48:42.762Z] 0773c198feca: Pull complete [2021-07-30T16:48:42.762Z] 345f892a5656: Pull complete [2021-07-30T16:48:42.762Z] 4796506630df: Pull complete [2021-07-30T16:48:42.762Z] cc55df3e53f1: Pull complete [2021-07-30T16:48:42.762Z] 4d027b6c602c: Pull complete [2021-07-30T16:48:42.824Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1067 in /w/workspace/gexfoundry_device-rest-go_PR-128 [Pipeline] { [Pipeline] ws [2021-07-30T16:48:42.842Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-07-30T16:48:43.073Z] The recommended git tool is: git [2021-07-30T16:48:44.196Z] 449e75d2c14e: Pull complete [2021-07-30T16:48:44.196Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-30T16:48:44.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-30T16:48:44.196Z] ---> 0d28375d9b5b [2021-07-30T16:48:44.196Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T16:48:45.835Z] ---> Running in d0cad83a3522 [2021-07-30T16:48:45.835Z] Removing intermediate container d0cad83a3522 [2021-07-30T16:48:45.835Z] ---> 9b2ace6f29ec [2021-07-30T16:48:45.835Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T16:48:45.835Z] ---> Running in 1ce91416e73e [2021-07-30T16:48:46.107Z] Removing intermediate container 1ce91416e73e [2021-07-30T16:48:46.107Z] ---> 4996aaaf2799 [2021-07-30T16:48:46.107Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T16:48:46.107Z] ---> Running in 3534db965617 [2021-07-30T16:48:46.107Z] Removing intermediate container 3534db965617 [2021-07-30T16:48:46.107Z] ---> fcea6e1be525 [2021-07-30T16:48:46.107Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T16:48:46.107Z] ---> Running in 98f42b09876a [2021-07-30T16:48:46.703Z] Removing intermediate container 98f42b09876a [2021-07-30T16:48:46.703Z] ---> 77c11ef21056 [2021-07-30T16:48:46.703Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T16:48:46.703Z] ---> Running in f3043ec683da [2021-07-30T16:48:46.975Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T16:48:47.936Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T16:48:48.204Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-07-30T16:48:48.471Z] (2/9) Installing libsodium (1.0.18-r0) [2021-07-30T16:48:48.471Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-07-30T16:48:48.471Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-07-30T16:48:48.734Z] using credential edgex-jenkins-ssh [2021-07-30T16:48:48.739Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T16:48:48.739Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-07-30T16:48:48.739Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-07-30T16:48:48.776Z] Cloning the remote Git repository [2021-07-30T16:48:49.009Z] (8/9) Installing libzmq (4.3.3-r1) [2021-07-30T16:48:48.838Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T16:48:48.957Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-07-30T16:48:49.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T16:48:49.078Z] > git --version # timeout=10 [2021-07-30T16:48:49.101Z] > git --version # 'git version 2.17.1' [2021-07-30T16:48:49.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T16:48:49.167Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T16:48:49.279Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-07-30T16:48:49.279Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T16:48:49.279Z] OK: 154 MiB in 49 packages [2021-07-30T16:48:49.546Z] Removing intermediate container f3043ec683da [2021-07-30T16:48:49.546Z] ---> 839d3ab4169c [2021-07-30T16:48:49.546Z] Step 8/10 : WORKDIR /device-rest-go [2021-07-30T16:48:49.816Z] ---> Running in 9271a339ccf5 [2021-07-30T16:48:49.816Z] Removing intermediate container 9271a339ccf5 [2021-07-30T16:48:49.816Z] ---> 39cf525c1622 [2021-07-30T16:48:49.816Z] Step 9/10 : COPY . . [2021-07-30T16:48:50.085Z] ---> a89cb54db591 [2021-07-30T16:48:50.085Z] Step 10/10 : RUN go mod download [2021-07-30T16:48:50.085Z] ---> Running in fd2fbc4ad46e [2021-07-30T16:48:51.444Z] Merging remotes/origin/main commit ac4b371315fba0b9546dc2a95c8393f838fbe7e4 into PR head commit ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [2021-07-30T16:48:51.668Z] Merge succeeded, producing ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [2021-07-30T16:48:51.668Z] Checking out Revision ad5ae9a0a2f73944f987c704a3dd6d254d98a666 (PR-128) [2021-07-30T16:48:50.750Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T16:48:50.770Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T16:48:50.796Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-07-30T16:48:50.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-07-30T16:48:50.848Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T16:48:50.863Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/128/head:refs/remotes/origin/PR-128 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-07-30T16:48:51.464Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T16:48:51.480Z] > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 [2021-07-30T16:48:51.570Z] > git remote # timeout=10 [2021-07-30T16:48:51.595Z] > git config --get remote.origin.url # timeout=10 [2021-07-30T16:48:51.619Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T16:48:51.631Z] > git merge ac4b371315fba0b9546dc2a95c8393f838fbe7e4 # timeout=10 [2021-07-30T16:48:51.653Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-07-30T16:48:51.674Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T16:48:51.683Z] > git checkout -f ad5ae9a0a2f73944f987c704a3dd6d254d98a666 # timeout=10 [2021-07-30T16:48:55.930Z] Commit message: "docs: Update build status badge" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T16:48:56.289Z] provisioning config files... [2021-07-30T16:48:56.318Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5851187185100267243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:48:56.914Z] ---> docker-login.sh [2021-07-30T16:48:56.914Z] nexus3.edgexfoundry.org:10001 [2021-07-30T16:48:57.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:48:58.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:48:58.138Z] Configure a credential helper to remove this warning. See [2021-07-30T16:48:58.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:48:58.138Z] [2021-07-30T16:48:58.138Z] Login Succeeded [2021-07-30T16:48:58.138Z] nexus3.edgexfoundry.org:10002 [2021-07-30T16:48:58.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:48:59.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:48:59.021Z] Configure a credential helper to remove this warning. See [2021-07-30T16:48:59.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:48:59.021Z] [2021-07-30T16:48:59.021Z] Login Succeeded [2021-07-30T16:48:59.021Z] nexus3.edgexfoundry.org:10003 [2021-07-30T16:48:59.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:48:59.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:48:59.574Z] Configure a credential helper to remove this warning. See [2021-07-30T16:48:59.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:48:59.574Z] [2021-07-30T16:48:59.574Z] Login Succeeded [2021-07-30T16:48:59.574Z] nexus3.edgexfoundry.org:10004 [2021-07-30T16:48:59.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:49:00.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:49:00.129Z] Configure a credential helper to remove this warning. See [2021-07-30T16:49:00.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:49:00.129Z] [2021-07-30T16:49:00.129Z] Login Succeeded [2021-07-30T16:49:00.129Z] docker.io [2021-07-30T16:49:00.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T16:49:00.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T16:49:00.743Z] Configure a credential helper to remove this warning. See [2021-07-30T16:49:00.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T16:49:00.743Z] [2021-07-30T16:49:00.743Z] Login Succeeded [2021-07-30T16:49:00.743Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T16:49:00.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T16:49:01.404Z] ========================================================= [2021-07-30T16:49:01.404Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-30T16:49:01.404Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:49:01.782Z] + 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-07-30T16:49:01.782Z] Sending build context to Docker daemon 116.2kB [2021-07-30T16:49:02.065Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T16:49:02.065Z] Step 2/10 : FROM ${BASE} [2021-07-30T16:49:02.418Z] Removing intermediate container fd2fbc4ad46e [2021-07-30T16:49:02.418Z] ---> 002aaff8ab09 [2021-07-30T16:49:02.418Z] Successfully built 002aaff8ab09 [2021-07-30T16:49:02.418Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:49:02.662Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-30T16:49:02.663Z] 595b0fe564bb: Pulling fs layer [2021-07-30T16:49:02.663Z] 24495759ef45: Pulling fs layer [2021-07-30T16:49:02.663Z] d148012ef14d: Pulling fs layer [2021-07-30T16:49:02.663Z] cb65c68fc2e2: Pulling fs layer [2021-07-30T16:49:02.663Z] 093eec477d81: Pulling fs layer [2021-07-30T16:49:02.663Z] a6d5b2bbb924: Pulling fs layer [2021-07-30T16:49:02.663Z] 2446dc1eb7d3: Pulling fs layer [2021-07-30T16:49:02.663Z] 596795e73e0f: Pulling fs layer [2021-07-30T16:49:02.663Z] a6d5b2bbb924: Waiting [2021-07-30T16:49:02.663Z] cb65c68fc2e2: Waiting [2021-07-30T16:49:02.663Z] 093eec477d81: Waiting [2021-07-30T16:49:02.663Z] 2446dc1eb7d3: Waiting [2021-07-30T16:49:02.663Z] 596795e73e0f: Waiting [2021-07-30T16:49:02.742Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T16:49:02.742Z] . [Pipeline] withDockerContainer [2021-07-30T16:49:02.832Z] prd-centos7-docker-4c-2g-1068 does not seem to be running inside a container [2021-07-30T16:49:02.897Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T16:49:02.942Z] d148012ef14d: Verifying Checksum [2021-07-30T16:49:02.942Z] d148012ef14d: Download complete [2021-07-30T16:49:02.943Z] 24495759ef45: Verifying Checksum [2021-07-30T16:49:02.943Z] 24495759ef45: Download complete [2021-07-30T16:49:02.943Z] 093eec477d81: Download complete [2021-07-30T16:49:02.943Z] a6d5b2bbb924: Download complete [2021-07-30T16:49:03.220Z] 595b0fe564bb: Verifying Checksum [2021-07-30T16:49:03.220Z] 595b0fe564bb: Download complete [2021-07-30T16:49:03.220Z] 2446dc1eb7d3: Verifying Checksum [2021-07-30T16:49:03.220Z] 2446dc1eb7d3: Download complete [2021-07-30T16:49:03.263Z] $ docker top 607ca56ccf702fb7a66cfc55f9fc39e50efe7180cf1f6b3e676a3f9c6961301b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T16:49:03.674Z] + go version [2021-07-30T16:49:03.674Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-30T16:49:03.690Z] $ docker stop --time=1 607ca56ccf702fb7a66cfc55f9fc39e50efe7180cf1f6b3e676a3f9c6961301b [2021-07-30T16:49:03.823Z] 595b0fe564bb: Pull complete [2021-07-30T16:49:04.427Z] 24495759ef45: Pull complete [2021-07-30T16:49:04.895Z] $ docker rm -f 607ca56ccf702fb7a66cfc55f9fc39e50efe7180cf1f6b3e676a3f9c6961301b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-07-30T16:49:05.043Z] d148012ef14d: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:49:05.436Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T16:49:05.436Z] . [Pipeline] withDockerContainer [2021-07-30T16:49:05.527Z] prd-centos7-docker-4c-2g-1068 does not seem to be running inside a container [2021-07-30T16:49:05.591Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T16:49:05.941Z] $ docker top d839afaf8f6ea71f186459d34aad4339dfb3330e305af001fc332ee33cb67e0a -eo pid,comm [2021-07-30T16:49:06.029Z] 596795e73e0f: Verifying Checksum [2021-07-30T16:49:06.029Z] 596795e73e0f: Download complete [Pipeline] { [Pipeline] sh [2021-07-30T16:49:06.352Z] + go mod tidy [Pipeline] sh [2021-07-30T16:49:06.940Z] + make test [2021-07-30T16:49:06.940Z] go mod tidy [2021-07-30T16:49:06.940Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-07-30T16:49:07.470Z] cb65c68fc2e2: Verifying Checksum [2021-07-30T16:49:07.470Z] cb65c68fc2e2: Download complete [2021-07-30T16:49:07.537Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-07-30T16:49:17.676Z] cb65c68fc2e2: Pull complete [2021-07-30T16:49:17.677Z] 093eec477d81: Pull complete [2021-07-30T16:49:18.282Z] a6d5b2bbb924: Pull complete [2021-07-30T16:49:18.570Z] 2446dc1eb7d3: Pull complete [2021-07-30T16:49:22.610Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-07-30T16:49:22.611Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-07-30T16:49:22.611Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T16:49:22.935Z] 596795e73e0f: Pull complete [2021-07-30T16:49:22.935Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-30T16:49:22.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-30T16:49:22.935Z] ---> d9e956139c92 [2021-07-30T16:49:22.935Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T16:49:25.569Z] ---> Running in 695fc428387a [2021-07-30T16:49:25.842Z] Removing intermediate container 695fc428387a [2021-07-30T16:49:25.842Z] ---> 6e50a7cb9b1c [2021-07-30T16:49:25.842Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T16:49:26.118Z] ---> Running in d97efce5aa2c [2021-07-30T16:49:26.715Z] Removing intermediate container d97efce5aa2c [2021-07-30T16:49:26.715Z] ---> 810484ba9282 [2021-07-30T16:49:26.715Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T16:49:26.715Z] ---> Running in 44e9be299c46 [2021-07-30T16:49:27.316Z] Removing intermediate container 44e9be299c46 [2021-07-30T16:49:27.316Z] ---> cebae15339e1 [2021-07-30T16:49:27.316Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T16:49:27.316Z] ---> Running in dc40ce93460d [2021-07-30T16:49:29.313Z] gofmt -l . [2021-07-30T16:49:29.314Z] [ "`gofmt -l .`" = "" ] [2021-07-30T16:49:29.314Z] ./bin/test-go-mod-tidy.sh [2021-07-30T16:49:29.314Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-30T16:49:29.600Z] $ docker stop --time=1 d839afaf8f6ea71f186459d34aad4339dfb3330e305af001fc332ee33cb67e0a [2021-07-30T16:49:29.945Z] Removing intermediate container dc40ce93460d [2021-07-30T16:49:29.946Z] ---> 12598072fa73 [2021-07-30T16:49:29.946Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T16:49:30.223Z] ---> Running in 2c9b91809d56 [2021-07-30T16:49:31.026Z] $ docker rm -f d839afaf8f6ea71f186459d34aad4339dfb3330e305af001fc332ee33cb67e0a [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T16:49:31.453Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T16:49:31.665Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T16:49:31.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-07-30T16:49:32.655Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T16:49:33.256Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-07-30T16:49:33.256Z] (2/9) Installing libsodium (1.0.18-r0) [2021-07-30T16:49:33.530Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-07-30T16:49:33.530Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-07-30T16:49:33.530Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-07-30T16:49:33.805Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-07-30T16:49:33.805Z] (7/9) Installing openssh-client (8.4_p1-r3) [Pipeline] sh [2021-07-30T16:49:34.337Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T16:49:34.654Z] + ls -al . [2021-07-30T16:49:34.654Z] total 112 [2021-07-30T16:49:34.654Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jul 30 16:49 . [2021-07-30T16:49:34.654Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 16:48 .. [2021-07-30T16:49:34.654Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jul 30 16:48 Attribution.txt [2021-07-30T16:49:34.654Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 30 16:48 bin [2021-07-30T16:49:34.654Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jul 30 16:48 CHANGELOG.md [2021-07-30T16:49:34.654Z] drwxrwxr-x. 3 jenkins jenkins 32 Jul 30 16:48 cmd [2021-07-30T16:49:34.654Z] -rw-r--r--. 1 jenkins jenkins 8513 Jul 30 16:49 coverage.out [2021-07-30T16:49:34.654Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jul 30 16:48 Dockerfile [2021-07-30T16:49:34.654Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jul 30 16:48 Dockerfile.build [2021-07-30T16:49:34.654Z] -rw-rw-r--. 1 jenkins jenkins 151 Jul 30 16:48 .dockerignore [2021-07-30T16:49:34.654Z] drwxrwxr-x. 2 jenkins jenkins 76 Jul 30 16:48 driver [2021-07-30T16:49:34.654Z] drwxrwxr-x. 8 jenkins jenkins 179 Jul 30 16:48 .git [2021-07-30T16:49:34.654Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 30 16:48 .github [2021-07-30T16:49:34.654Z] -rw-rw-r--. 1 jenkins jenkins 336 Jul 30 16:48 .gitignore [2021-07-30T16:49:34.654Z] -rw-r--r--. 1 jenkins jenkins 271 Jul 30 16:49 go.mod [2021-07-30T16:49:34.654Z] -rw-r--r--. 1 jenkins jenkins 20570 Jul 30 16:49 go.sum [2021-07-30T16:49:34.655Z] -rw-rw-r--. 1 jenkins jenkins 680 Jul 30 16:48 Jenkinsfile [2021-07-30T16:49:34.655Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jul 30 16:48 LICENSE [2021-07-30T16:49:34.655Z] -rw-rw-r--. 1 jenkins jenkins 996 Jul 30 16:48 Makefile [2021-07-30T16:49:34.655Z] -rw-rw-r--. 1 jenkins jenkins 7661 Jul 30 16:48 README.md [2021-07-30T16:49:34.655Z] drwxrwxr-x. 4 jenkins jenkins 71 Jul 30 16:48 snap [2021-07-30T16:49:34.655Z] -rw-rw-r--. 1 jenkins jenkins 5 Jul 30 16:45 VERSION [2021-07-30T16:49:34.655Z] -rw-rw-r--. 1 jenkins jenkins 713 Jul 30 16:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:49:34.783Z] (8/9) Installing libzmq (4.3.3-r1) [2021-07-30T16:49:34.783Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-07-30T16:49:34.978Z] + 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=ad5ae9a0a2f73944f987c704a3dd6d254d98a666 --label arch=amd64 --label version=0.0.0 . [2021-07-30T16:49:34.978Z] Sending build context to Docker daemon 126kB [2021-07-30T16:49:34.978Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T16:49:34.978Z] Step 2/25 : FROM ${BASE} AS builder [2021-07-30T16:49:34.978Z] ---> 002aaff8ab09 [2021-07-30T16:49:34.978Z] Step 3/25 : ARG MAKE='make build' [2021-07-30T16:49:34.978Z] ---> Running in 513ccca9e91b [2021-07-30T16:49:34.978Z] Removing intermediate container 513ccca9e91b [2021-07-30T16:49:34.978Z] ---> 6132cf8ed4a2 [2021-07-30T16:49:34.978Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T16:49:34.978Z] ---> Running in e8bf46864806 [2021-07-30T16:49:35.056Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T16:49:35.056Z] OK: 144 MiB in 49 packages [2021-07-30T16:49:35.248Z] Removing intermediate container e8bf46864806 [2021-07-30T16:49:35.248Z] ---> 02d8420c7b4c [2021-07-30T16:49:35.248Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T16:49:35.248Z] ---> Running in 0664f151708f [2021-07-30T16:49:35.248Z] Removing intermediate container 0664f151708f [2021-07-30T16:49:35.248Z] ---> 04dc078d1eba [2021-07-30T16:49:35.248Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T16:49:35.248Z] ---> Running in 1d2916028f03 [2021-07-30T16:49:35.834Z] Removing intermediate container 1d2916028f03 [2021-07-30T16:49:35.834Z] ---> 32b1d55900ed [2021-07-30T16:49:35.834Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T16:49:35.834Z] ---> Running in 749f212f8539 [2021-07-30T16:49:36.101Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T16:49:36.495Z] Removing intermediate container 2c9b91809d56 [2021-07-30T16:49:36.495Z] ---> 020d7c936f4e [2021-07-30T16:49:36.495Z] Step 8/10 : WORKDIR /device-rest-go [2021-07-30T16:49:36.495Z] ---> Running in 6dbebb3cea14 [2021-07-30T16:49:37.070Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T16:49:37.097Z] Removing intermediate container 6dbebb3cea14 [2021-07-30T16:49:37.097Z] ---> c9d7be9879b9 [2021-07-30T16:49:37.097Z] Step 9/10 : COPY . . [2021-07-30T16:49:37.341Z] OK: 154 MiB in 49 packages [2021-07-30T16:49:37.609Z] Removing intermediate container 749f212f8539 [2021-07-30T16:49:37.609Z] ---> 886bd31695b3 [2021-07-30T16:49:37.609Z] Step 8/25 : WORKDIR /device-rest-go [2021-07-30T16:49:37.609Z] ---> Running in 9f80e21c8a72 [2021-07-30T16:49:37.609Z] Removing intermediate container 9f80e21c8a72 [2021-07-30T16:49:37.609Z] ---> 1b7f2cbc0230 [2021-07-30T16:49:37.609Z] Step 9/25 : COPY . . [2021-07-30T16:49:37.875Z] ---> eeb1464131ad [2021-07-30T16:49:37.875Z] Step 10/25 : RUN go mod tidy [2021-07-30T16:49:37.875Z] ---> Running in 7c3a238f4fed [2021-07-30T16:49:38.084Z] ---> 51c4168f291b [2021-07-30T16:49:38.084Z] Step 10/10 : RUN go mod download [2021-07-30T16:49:38.360Z] ---> Running in cb7b09d6c906 [2021-07-30T16:49:38.466Z] Removing intermediate container 7c3a238f4fed [2021-07-30T16:49:38.466Z] ---> fcc90437b767 [2021-07-30T16:49:38.466Z] Step 11/25 : RUN make update [2021-07-30T16:49:38.736Z] ---> Running in e98866bde067 [2021-07-30T16:49:39.002Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-07-30T16:49:39.273Z] Removing intermediate container e98866bde067 [2021-07-30T16:49:39.273Z] ---> a4f9bfc4fe60 [2021-07-30T16:49:39.273Z] Step 12/25 : RUN $MAKE [2021-07-30T16:49:39.273Z] ---> Running in 0b61dd084ae9 [2021-07-30T16:49:39.540Z] go mod tidy [2021-07-30T16:49:39.540Z] 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-07-30T16:49:51.884Z] Removing intermediate container 0b61dd084ae9 [2021-07-30T16:49:51.884Z] ---> 195fd18bb809 [2021-07-30T16:49:51.884Z] Step 13/25 : FROM alpine:3.12 [2021-07-30T16:49:51.884Z] 3.12: Pulling from library/alpine [2021-07-30T16:49:51.884Z] 339de151aab4: Pulling fs layer [2021-07-30T16:49:51.884Z] 339de151aab4: Verifying Checksum [2021-07-30T16:49:51.884Z] 339de151aab4: Download complete [2021-07-30T16:49:51.884Z] 339de151aab4: Pull complete [2021-07-30T16:49:51.884Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-30T16:49:51.884Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T16:49:51.884Z] ---> 13621d1b12d4 [2021-07-30T16:49:51.884Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T16:49:51.884Z] ---> Running in 199419732dc2 [2021-07-30T16:49:51.884Z] Removing intermediate container 199419732dc2 [2021-07-30T16:49:51.884Z] ---> 8646b5501b41 [2021-07-30T16:49:51.884Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-07-30T16:49:51.884Z] ---> Running in 14be2f89939a [2021-07-30T16:49:51.884Z] Removing intermediate container 14be2f89939a [2021-07-30T16:49:51.884Z] ---> fce503cbeadd [2021-07-30T16:49:51.884Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T16:49:51.884Z] ---> Running in 1af0941c9c0f [2021-07-30T16:49:52.157Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-30T16:49:52.157Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-30T16:49:52.157Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T16:49:52.157Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T16:49:52.157Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T16:49:52.157Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T16:49:52.157Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T16:49:52.157Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T16:49:52.157Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T16:49:52.157Z] OK: 8 MiB in 20 packages [2021-07-30T16:49:52.424Z] Removing intermediate container 1af0941c9c0f [2021-07-30T16:49:52.424Z] ---> 6eb2bdf7d733 [2021-07-30T16:49:52.424Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-07-30T16:49:53.007Z] ---> d2818908aec2 [2021-07-30T16:49:53.007Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-07-30T16:49:53.007Z] ---> 6ca64e9142e2 [2021-07-30T16:49:53.007Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-07-30T16:49:53.274Z] ---> eaf6f2468253 [2021-07-30T16:49:53.274Z] Step 20/25 : EXPOSE 59986 [2021-07-30T16:49:53.274Z] ---> Running in a096bdff9b86 [2021-07-30T16:49:53.274Z] Removing intermediate container a096bdff9b86 [2021-07-30T16:49:53.274Z] ---> a89a55369c55 [2021-07-30T16:49:53.274Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-07-30T16:49:53.274Z] ---> Running in 2e627c249c5f [2021-07-30T16:49:53.274Z] Removing intermediate container 2e627c249c5f [2021-07-30T16:49:53.274Z] ---> 8c50d85e708c [2021-07-30T16:49:53.274Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-07-30T16:49:53.544Z] ---> Running in cfd11d365367 [2021-07-30T16:49:53.544Z] Removing intermediate container cfd11d365367 [2021-07-30T16:49:53.544Z] ---> 006b88ee0900 [2021-07-30T16:49:53.544Z] Step 23/25 : LABEL arch=amd64 [2021-07-30T16:49:53.544Z] ---> Running in b6bcd905a8c1 [2021-07-30T16:49:53.544Z] Removing intermediate container b6bcd905a8c1 [2021-07-30T16:49:53.544Z] ---> 030d8b631adf [2021-07-30T16:49:53.544Z] Step 24/25 : LABEL git_sha=ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [2021-07-30T16:49:53.544Z] ---> Running in 5e8da6d0a1e2 [2021-07-30T16:49:53.814Z] Removing intermediate container 5e8da6d0a1e2 [2021-07-30T16:49:53.814Z] ---> f4590c265ea1 [2021-07-30T16:49:53.814Z] Step 25/25 : LABEL version=0.0.0 [2021-07-30T16:49:53.814Z] ---> Running in d52b7364486b [2021-07-30T16:49:53.814Z] Removing intermediate container d52b7364486b [2021-07-30T16:49:53.814Z] ---> a669c18e8cc5 [2021-07-30T16:49:53.814Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-30T16:49:53.814Z] Successfully built a669c18e8cc5 [2021-07-30T16:49:53.814Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:49:54.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:49:54.499Z] [2021-07-30T16:49:54.499Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:49:54.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:49:54.840Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T16:49:54.840Z] b4d181a07f80: Pulling fs layer [2021-07-30T16:49:54.840Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T16:49:54.840Z] ed53099fbce6: Pulling fs layer [2021-07-30T16:49:54.840Z] dc539afda2c1: Pulling fs layer [2021-07-30T16:49:54.840Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T16:49:54.840Z] 9065ff56babe: Pulling fs layer [2021-07-30T16:49:54.840Z] d287ab97295c: Pulling fs layer [2021-07-30T16:49:54.840Z] dc539afda2c1: Waiting [2021-07-30T16:49:54.840Z] 77bc0d833cb6: Waiting [2021-07-30T16:49:54.840Z] 9065ff56babe: Waiting [2021-07-30T16:49:54.840Z] d287ab97295c: Waiting [2021-07-30T16:49:55.106Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T16:49:55.106Z] a1111a8f2ec3: Download complete [2021-07-30T16:49:55.106Z] dc539afda2c1: Verifying Checksum [2021-07-30T16:49:55.106Z] dc539afda2c1: Download complete [2021-07-30T16:49:55.372Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T16:49:55.372Z] 77bc0d833cb6: Download complete [2021-07-30T16:49:55.372Z] 9065ff56babe: Verifying Checksum [2021-07-30T16:49:55.372Z] 9065ff56babe: Download complete [2021-07-30T16:49:55.637Z] ed53099fbce6: Verifying Checksum [2021-07-30T16:49:55.637Z] ed53099fbce6: Download complete [2021-07-30T16:49:56.219Z] b4d181a07f80: Verifying Checksum [2021-07-30T16:49:56.219Z] b4d181a07f80: Download complete [2021-07-30T16:49:57.193Z] b4d181a07f80: Pull complete [2021-07-30T16:49:57.472Z] a1111a8f2ec3: Pull complete [2021-07-30T16:49:58.066Z] ed53099fbce6: Pull complete [2021-07-30T16:49:58.067Z] dc539afda2c1: Pull complete [2021-07-30T16:49:58.344Z] 77bc0d833cb6: Pull complete [2021-07-30T16:49:58.344Z] 9065ff56babe: Pull complete [2021-07-30T16:49:59.749Z] d287ab97295c: Verifying Checksum [2021-07-30T16:49:59.749Z] d287ab97295c: Download complete [2021-07-30T16:50:04.050Z] d287ab97295c: Pull complete [2021-07-30T16:50:04.050Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T16:50:04.050Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:50:04.050Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T16:50:04.146Z] prd-centos7-docker-4c-2g-1068 does not seem to be running inside a container [2021-07-30T16:50:04.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T16:50:06.741Z] $ docker top ebe2ae0e45242c52546814ce16648aebcef0433e88ceb464787cb1fe09f34c7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:50:07.223Z] ---> job-cost.sh [2021-07-30T16:50:07.223Z] lf-activate-venv: SKIPPING [2021-07-30T16:50:07.223Z] INFO: No Stack... [2021-07-30T16:50:09.164Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T16:50:09.431Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T16:50:09.753Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-07-30T16:50:09.753Z] + cut -d, -f6 [Pipeline] lock [2021-07-30T16:50:09.793Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [2021-07-30T16:50:09.806Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] did not exist. Created. [2021-07-30T16:50:09.806Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T16:50:10.151Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-30T16:50:10.202Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T16:50:10.214Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T16:50:10.241Z] $ docker stop --time=1 ebe2ae0e45242c52546814ce16648aebcef0433e88ceb464787cb1fe09f34c7d [2021-07-30T16:50:10.727Z] Removing intermediate container cb7b09d6c906 [2021-07-30T16:50:10.727Z] ---> bbbd87707215 [2021-07-30T16:50:10.727Z] Successfully built bbbd87707215 [2021-07-30T16:50:10.727Z] Successfully tagged ci-base-image-arm64:latest [2021-07-30T16:50:11.403Z] $ docker rm -f ebe2ae0e45242c52546814ce16648aebcef0433e88ceb464787cb1fe09f34c7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] isUnix [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-07-30T16:50:11.857Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T16:50:11.857Z] . [Pipeline] // stage [Pipeline] } [Pipeline] withDockerContainer [2021-07-30T16:50:12.153Z] prd-ubuntu18.04-docker-arm64-4c-16g-1067 does not seem to be running inside a container [2021-07-30T16:50:12.262Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-30T16:50:14.244Z] $ docker top 7d4dac534b895052e37c259a2c53a548994bfef076c6c0f0b9939e9d5db10aca -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T16:50:15.306Z] + go version [2021-07-30T16:50:15.306Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-30T16:50:15.330Z] $ docker stop --time=1 7d4dac534b895052e37c259a2c53a548994bfef076c6c0f0b9939e9d5db10aca [2021-07-30T16:50:17.435Z] $ docker rm -f 7d4dac534b895052e37c259a2c53a548994bfef076c6c0f0b9939e9d5db10aca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:50:18.242Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T16:50:18.242Z] . [Pipeline] withDockerContainer [2021-07-30T16:50:18.517Z] prd-ubuntu18.04-docker-arm64-4c-16g-1067 does not seem to be running inside a container [2021-07-30T16:50:18.598Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-30T16:50:20.287Z] $ docker top cadb214b9010ae0bbf6a2fad188ef5af3cf69cee881a9d1fabfa8175dea22528 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T16:50:21.296Z] + go mod tidy [Pipeline] sh [2021-07-30T16:50:22.574Z] + make test [2021-07-30T16:50:22.574Z] go mod tidy [2021-07-30T16:50:23.176Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-07-30T16:50:24.170Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-07-30T16:51:20.771Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-07-30T16:51:20.771Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-07-30T16:51:20.771Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-07-30T16:51:47.621Z] gofmt -l . [2021-07-30T16:51:47.621Z] [ "`gofmt -l .`" = "" ] [2021-07-30T16:51:47.621Z] ./bin/test-go-mod-tidy.sh [2021-07-30T16:51:47.621Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-07-30T16:51:47.639Z] $ docker stop --time=1 cadb214b9010ae0bbf6a2fad188ef5af3cf69cee881a9d1fabfa8175dea22528 [2021-07-30T16:51:49.499Z] $ docker rm -f cadb214b9010ae0bbf6a2fad188ef5af3cf69cee881a9d1fabfa8175dea22528 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T16:51:50.313Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T16:51:50.345Z] Warning: overwriting stash ‘coverage-report’ [2021-07-30T16:51:50.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-30T16:51:51.433Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T16:51:51.776Z] + ls -al . [2021-07-30T16:51:51.776Z] total 140 [2021-07-30T16:51:51.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 16:51 . [2021-07-30T16:51:51.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 16:48 .. [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 30 16:48 .dockerignore [2021-07-30T16:51:51.776Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 16:48 .git [2021-07-30T16:51:51.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:48 .github [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 336 Jul 30 16:48 .gitignore [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jul 30 16:48 Attribution.txt [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jul 30 16:48 CHANGELOG.md [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jul 30 16:48 Dockerfile [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jul 30 16:48 Dockerfile.build [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 30 16:48 Jenkinsfile [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 30 16:48 LICENSE [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 996 Jul 30 16:48 Makefile [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 7661 Jul 30 16:48 README.md [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 30 16:45 VERSION [2021-07-30T16:51:51.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:48 bin [2021-07-30T16:51:51.776Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 16:48 cmd [2021-07-30T16:51:51.776Z] -rw-r--r-- 1 jenkins jenkins 8513 Jul 30 16:51 coverage.out [2021-07-30T16:51:51.776Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 16:48 driver [2021-07-30T16:51:51.776Z] -rw-r--r-- 1 jenkins jenkins 271 Jul 30 16:51 go.mod [2021-07-30T16:51:51.776Z] -rw-r--r-- 1 jenkins jenkins 20570 Jul 30 16:50 go.sum [2021-07-30T16:51:51.776Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 16:48 snap [2021-07-30T16:51:51.776Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 30 16:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:51:52.119Z] + 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=ad5ae9a0a2f73944f987c704a3dd6d254d98a666 --label arch=arm64 --label version=0.0.0 . [2021-07-30T16:51:52.119Z] Sending build context to Docker daemon 126kB [2021-07-30T16:51:52.392Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T16:51:52.392Z] Step 2/25 : FROM ${BASE} AS builder [2021-07-30T16:51:52.392Z] ---> bbbd87707215 [2021-07-30T16:51:52.392Z] Step 3/25 : ARG MAKE='make build' [2021-07-30T16:51:52.668Z] ---> Running in e80d3212dd5d [2021-07-30T16:51:53.268Z] Removing intermediate container e80d3212dd5d [2021-07-30T16:51:53.268Z] ---> 03704b968004 [2021-07-30T16:51:53.268Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-07-30T16:51:53.268Z] ---> Running in 639e6b09c406 [2021-07-30T16:51:53.866Z] Removing intermediate container 639e6b09c406 [2021-07-30T16:51:53.866Z] ---> f3e4363b35b8 [2021-07-30T16:51:53.866Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-07-30T16:51:53.866Z] ---> Running in 2fa35d66713e [2021-07-30T16:51:54.465Z] Removing intermediate container 2fa35d66713e [2021-07-30T16:51:54.465Z] ---> 0e1f8056668e [2021-07-30T16:51:54.465Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T16:51:54.465Z] ---> Running in b1d6007f83a9 [2021-07-30T16:51:57.093Z] Removing intermediate container b1d6007f83a9 [2021-07-30T16:51:57.093Z] ---> 48b9c1c47138 [2021-07-30T16:51:57.093Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-07-30T16:51:57.093Z] ---> Running in 62ca1a18cea8 [2021-07-30T16:51:58.081Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T16:51:59.056Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T16:52:00.043Z] OK: 144 MiB in 49 packages [2021-07-30T16:52:01.029Z] Removing intermediate container 62ca1a18cea8 [2021-07-30T16:52:01.029Z] ---> c51bd2484091 [2021-07-30T16:52:01.029Z] Step 8/25 : WORKDIR /device-rest-go [2021-07-30T16:52:01.305Z] ---> Running in cff9f805d6e0 [2021-07-30T16:52:02.286Z] Removing intermediate container cff9f805d6e0 [2021-07-30T16:52:02.286Z] ---> bb4782ceb9ad [2021-07-30T16:52:02.286Z] Step 9/25 : COPY . . [2021-07-30T16:52:03.269Z] ---> f5ef0871b728 [2021-07-30T16:52:03.269Z] Step 10/25 : RUN go mod tidy [2021-07-30T16:52:03.269Z] ---> Running in 9fd4e1c4eeb5 [2021-07-30T16:52:06.672Z] Removing intermediate container 9fd4e1c4eeb5 [2021-07-30T16:52:06.672Z] ---> c15c77b657c5 [2021-07-30T16:52:06.672Z] Step 11/25 : RUN make update [2021-07-30T16:52:06.672Z] ---> Running in 29681757ce0a [2021-07-30T16:52:07.652Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-07-30T16:52:09.093Z] Removing intermediate container 29681757ce0a [2021-07-30T16:52:09.093Z] ---> dda5e2ed2afd [2021-07-30T16:52:09.093Z] Step 12/25 : RUN $MAKE [2021-07-30T16:52:09.093Z] ---> Running in fa14eee05d2a [2021-07-30T16:52:10.545Z] go mod tidy [2021-07-30T16:52:10.822Z] 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-07-30T16:52:49.880Z] Removing intermediate container fa14eee05d2a [2021-07-30T16:52:49.880Z] ---> 8f3efec6784b [2021-07-30T16:52:49.880Z] Step 13/25 : FROM alpine:3.12 [2021-07-30T16:52:49.880Z] 3.12: Pulling from library/alpine [2021-07-30T16:52:49.880Z] d2f70382dc9a: Pulling fs layer [2021-07-30T16:52:49.880Z] d2f70382dc9a: Verifying Checksum [2021-07-30T16:52:49.880Z] d2f70382dc9a: Download complete [2021-07-30T16:52:49.880Z] d2f70382dc9a: Pull complete [2021-07-30T16:52:49.880Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-30T16:52:49.880Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T16:52:49.880Z] ---> c4fd0aeabfcf [2021-07-30T16:52:49.880Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-07-30T16:52:50.155Z] ---> Running in deb90800a35c [2021-07-30T16:52:50.757Z] Removing intermediate container deb90800a35c [2021-07-30T16:52:50.757Z] ---> 488c6e70564d [2021-07-30T16:52:50.757Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-07-30T16:52:50.757Z] ---> Running in 500a9fa0007f [2021-07-30T16:52:51.363Z] Removing intermediate container 500a9fa0007f [2021-07-30T16:52:51.363Z] ---> 93bc0e1b366e [2021-07-30T16:52:51.363Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-07-30T16:52:51.363Z] ---> Running in 1ca893428ef7 [2021-07-30T16:52:52.809Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-30T16:52:52.809Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-30T16:52:53.410Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-07-30T16:52:53.410Z] (2/6) Installing libgcc (9.3.0-r2) [2021-07-30T16:52:53.410Z] (3/6) Installing libsodium (1.0.18-r0) [2021-07-30T16:52:53.410Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-07-30T16:52:53.410Z] (5/6) Installing libzmq (4.3.3-r0) [2021-07-30T16:52:53.410Z] (6/6) Installing zeromq (4.3.3-r0) [2021-07-30T16:52:53.410Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T16:52:53.410Z] OK: 8 MiB in 20 packages [2021-07-30T16:52:54.853Z] Removing intermediate container 1ca893428ef7 [2021-07-30T16:52:54.853Z] ---> 33bbba695327 [2021-07-30T16:52:54.853Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-07-30T16:52:56.294Z] ---> aae78817b808 [2021-07-30T16:52:56.294Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-07-30T16:52:57.277Z] ---> 0663e96c6f3f [2021-07-30T16:52:57.277Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-07-30T16:52:57.872Z] ---> 6be8fca39b2e [2021-07-30T16:52:57.872Z] Step 20/25 : EXPOSE 59986 [2021-07-30T16:52:58.145Z] ---> Running in 1d9add6853a5 [2021-07-30T16:52:58.742Z] Removing intermediate container 1d9add6853a5 [2021-07-30T16:52:58.743Z] ---> 08003c044590 [2021-07-30T16:52:58.743Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-07-30T16:52:58.743Z] ---> Running in bd05178d3695 [2021-07-30T16:52:59.336Z] Removing intermediate container bd05178d3695 [2021-07-30T16:52:59.336Z] ---> 9ff4775dfa11 [2021-07-30T16:52:59.336Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-07-30T16:52:59.336Z] ---> Running in d0e25216e5ba [2021-07-30T16:52:59.934Z] Removing intermediate container d0e25216e5ba [2021-07-30T16:52:59.934Z] ---> 55a3f23daf08 [2021-07-30T16:52:59.934Z] Step 23/25 : LABEL arch=arm64 [2021-07-30T16:53:00.209Z] ---> Running in 9e2d80215a5f [2021-07-30T16:53:00.807Z] Removing intermediate container 9e2d80215a5f [2021-07-30T16:53:00.807Z] ---> 997cf7b033dd [2021-07-30T16:53:00.807Z] Step 24/25 : LABEL git_sha=ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [2021-07-30T16:53:00.807Z] ---> Running in 2b2b8b1da5ff [2021-07-30T16:53:01.410Z] Removing intermediate container 2b2b8b1da5ff [2021-07-30T16:53:01.410Z] ---> bc536c9b5cc8 [2021-07-30T16:53:01.410Z] Step 25/25 : LABEL version=0.0.0 [2021-07-30T16:53:01.410Z] ---> Running in 0d997d713223 [2021-07-30T16:53:02.010Z] Removing intermediate container 0d997d713223 [2021-07-30T16:53:02.010Z] ---> f1156b5c607c [2021-07-30T16:53:02.010Z] [Warning] One or more build-args [ARCH] were not consumed [2021-07-30T16:53:02.010Z] Successfully built f1156b5c607c [2021-07-30T16:53:02.010Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:53:02.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T16:53:02.949Z] [2021-07-30T16:53:02.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:53:03.307Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T16:53:03.584Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-30T16:53:03.584Z] 448f6bf000e3: Pulling fs layer [2021-07-30T16:53:03.584Z] f757da607395: Pulling fs layer [2021-07-30T16:53:03.584Z] 05883995daec: Pulling fs layer [2021-07-30T16:53:03.584Z] 8603b9c90790: Pulling fs layer [2021-07-30T16:53:03.584Z] 1560dd03e051: Pulling fs layer [2021-07-30T16:53:03.584Z] 27f5ce0e4adf: Pulling fs layer [2021-07-30T16:53:03.584Z] c2d8d7efcc4b: Pulling fs layer [2021-07-30T16:53:03.584Z] 1560dd03e051: Waiting [2021-07-30T16:53:03.584Z] 27f5ce0e4adf: Waiting [2021-07-30T16:53:03.584Z] c2d8d7efcc4b: Waiting [2021-07-30T16:53:03.584Z] 8603b9c90790: Waiting [2021-07-30T16:53:03.862Z] f757da607395: Verifying Checksum [2021-07-30T16:53:03.862Z] f757da607395: Download complete [2021-07-30T16:53:03.862Z] 8603b9c90790: Download complete [2021-07-30T16:53:04.136Z] 1560dd03e051: Verifying Checksum [2021-07-30T16:53:04.136Z] 1560dd03e051: Download complete [2021-07-30T16:53:04.136Z] 05883995daec: Download complete [2021-07-30T16:53:04.136Z] 27f5ce0e4adf: Download complete [2021-07-30T16:53:05.121Z] 448f6bf000e3: Verifying Checksum [2021-07-30T16:53:05.121Z] 448f6bf000e3: Download complete [2021-07-30T16:53:08.530Z] c2d8d7efcc4b: Verifying Checksum [2021-07-30T16:53:08.530Z] c2d8d7efcc4b: Download complete [2021-07-30T16:53:08.530Z] 448f6bf000e3: Pull complete [2021-07-30T16:53:09.512Z] f757da607395: Pull complete [2021-07-30T16:53:10.949Z] 05883995daec: Pull complete [2021-07-30T16:53:11.223Z] 8603b9c90790: Pull complete [2021-07-30T16:53:12.209Z] 1560dd03e051: Pull complete [2021-07-30T16:53:12.847Z] 27f5ce0e4adf: Pull complete [2021-07-30T16:53:25.270Z] c2d8d7efcc4b: Pull complete [2021-07-30T16:53:25.270Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-30T16:53:25.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T16:53:25.543Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-30T16:53:25.814Z] prd-ubuntu18.04-docker-arm64-4c-16g-1067 does not seem to be running inside a container [2021-07-30T16:53:25.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-30T16:53:29.953Z] $ docker top 1a5c189be1ca1722fdb0cdfa6e887360a2d305e1b54f54b81e9db5c83e45a42a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:53:30.948Z] ---> job-cost.sh [2021-07-30T16:53:30.948Z] lf-activate-venv: SKIPPING [2021-07-30T16:53:30.948Z] INFO: No Stack... [2021-07-30T16:53:31.926Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-30T16:53:32.522Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T16:53:33.186Z] + cut -d, -f6 [2021-07-30T16:53:33.186Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2021-07-30T16:53:33.250Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [2021-07-30T16:53:33.259Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] did not exist. Created. [2021-07-30T16:53:33.259Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T16:53:33.951Z] /w/workspace/device-rest-go/2@tmp/durable-3e5c313d/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-3e5c313d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-30T16:53:34.628Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-30T16:53:34.660Z] Warning: overwriting stash ‘stack-cost’ [2021-07-30T16:53:34.705Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T16:53:34.715Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-128-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T16:53:34.739Z] $ docker stop --time=1 1a5c189be1ca1722fdb0cdfa6e887360a2d305e1b54f54b81e9db5c83e45a42a [2021-07-30T16:53:36.450Z] $ docker rm -f 1a5c189be1ca1722fdb0cdfa6e887360a2d305e1b54f54b81e9db5c83e45a42a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-07-30T16:53:37.304Z] provisioning config files... [2021-07-30T16:53:37.319Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config3514823103167959871tmp [Pipeline] { [Pipeline] sh [2021-07-30T16:53:37.675Z] + set +x [2021-07-30T16:53:37.675Z] + bash -s -- [2021-07-30T16:53:37.675Z] + curl -s https://codecov.io/bash [2021-07-30T16:53:37.675Z] [2021-07-30T16:53:37.675Z] _____ _ [2021-07-30T16:53:37.675Z] / ____| | | [2021-07-30T16:53:37.675Z] | | ___ __| | ___ ___ _____ __ [2021-07-30T16:53:37.675Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-30T16:53:37.675Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-30T16:53:37.675Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-30T16:53:37.675Z] Bash-1.0.6 [2021-07-30T16:53:37.675Z] [2021-07-30T16:53:37.675Z] [2021-07-30T16:53:37.675Z] ==> git version 2.24.4 found [2021-07-30T16:53:37.675Z] ==> 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-07-30T16:53:37.675Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-30T16:53:37.675Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-30T16:53:37.675Z] ==> Jenkins CI detected. [2021-07-30T16:53:37.675Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-128 [2021-07-30T16:53:37.675Z] project root: . [2021-07-30T16:53:37.675Z] --> token set from env [2021-07-30T16:53:37.943Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-30T16:53:37.943Z] ==> Running gcov in . (disable via -X gcov) [2021-07-30T16:53:37.943Z] ==> Python coveragepy not found [2021-07-30T16:53:37.943Z] ==> Searching for coverage reports in: [2021-07-30T16:53:37.943Z] + . [2021-07-30T16:53:37.943Z] -> Found 1 reports [2021-07-30T16:53:37.943Z] ==> Detecting git/mercurial file structure [2021-07-30T16:53:37.943Z] ==> Reading reports [2021-07-30T16:53:37.943Z] + ./coverage.out bytes=8513 [2021-07-30T16:53:37.943Z] ==> Appending adjustments [2021-07-30T16:53:37.943Z] https://docs.codecov.io/docs/fixing-reports [2021-07-30T16:53:37.943Z] + Found adjustments [2021-07-30T16:53:37.943Z] ==> Gzipping contents [2021-07-30T16:53:37.943Z] 4.0K /tmp/codecov.MVD4wf.gz [2021-07-30T16:53:37.943Z] ==> Uploading reports [2021-07-30T16:53:37.943Z] url: https://codecov.io [2021-07-30T16:53:37.943Z] query: branch=PR-128&commit=ad5ae9a0a2f73944f987c704a3dd6d254d98a666&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-128%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=128&job=&cmd_args= [2021-07-30T16:53:37.943Z] -> Pinging Codecov [2021-07-30T16:53:37.943Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-128&commit=ad5ae9a0a2f73944f987c704a3dd6d254d98a666&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-128%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=128&job=&cmd_args= [2021-07-30T16:53:38.526Z] -> Uploading to [2021-07-30T16:53:38.526Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-30/4E5D53B4F1F92C436F7061BF334D961C/ad5ae9a0a2f73944f987c704a3dd6d254d98a666/4751daff-c257-4d05-94ad-6f073cbecfa5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T165338Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=72c9c1de82657304a06eefa1f4a1a0ae6479a305247b19b8892abcc1669d1390 [2021-07-30T16:53:38.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-30T16:53:38.526Z] Dload Upload Total Spent Left Speed [2021-07-30T16:53:38.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1759 0 0 100 1759 0 4990 --:--:-- --:--:-- --:--:-- 4983 [2021-07-30T16:53:38.794Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ad5ae9a0a2f73944f987c704a3dd6d254d98a666 [Pipeline] } [2021-07-30T16:53:38.807Z] 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-07-30T16:53:40.498Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:53:41.127Z] ---> package-listing.sh [2021-07-30T16:53:41.127Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-30T16:53:41.127Z] ++ facter osfamily [2021-07-30T16:53:41.405Z] + OS_FAMILY=redhat [2021-07-30T16:53:41.405Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-128 [2021-07-30T16:53:41.405Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-30T16:53:41.405Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-30T16:53:41.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-30T16:53:41.405Z] + PACKAGES=/tmp/packages_start.txt [2021-07-30T16:53:41.405Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-128 ']' [2021-07-30T16:53:41.405Z] + PACKAGES=/tmp/packages_end.txt [2021-07-30T16:53:41.405Z] + case "${OS_FAMILY}" in [2021-07-30T16:53:41.405Z] + rpm -qa [2021-07-30T16:53:41.405Z] + sort [2021-07-30T16:53:41.989Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-30T16:53:41.989Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-30T16:53:41.989Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-30T16:53:41.989Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-128 ']' [2021-07-30T16:53:41.989Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-128/archives/ [2021-07-30T16:53:41.989Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-128/archives/ [Pipeline] echo [2021-07-30T16:53:42.005Z] 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-128/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-30T16:53:42.310Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:53:42.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:53:42.905Z] [2021-07-30T16:53:42.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T16:53:43.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:53:43.242Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T16:53:43.242Z] b4d181a07f80: Pulling fs layer [2021-07-30T16:53:43.242Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T16:53:43.242Z] ed53099fbce6: Pulling fs layer [2021-07-30T16:53:43.242Z] dc539afda2c1: Pulling fs layer [2021-07-30T16:53:43.242Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T16:53:43.242Z] 9065ff56babe: Pulling fs layer [2021-07-30T16:53:43.242Z] d287ab97295c: Pulling fs layer [2021-07-30T16:53:43.242Z] 77bc0d833cb6: Waiting [2021-07-30T16:53:43.242Z] 9065ff56babe: Waiting [2021-07-30T16:53:43.242Z] d287ab97295c: Waiting [2021-07-30T16:53:43.242Z] dc539afda2c1: Waiting [2021-07-30T16:53:43.508Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T16:53:43.508Z] a1111a8f2ec3: Download complete [2021-07-30T16:53:43.508Z] dc539afda2c1: Download complete [2021-07-30T16:53:43.774Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T16:53:43.774Z] 77bc0d833cb6: Download complete [2021-07-30T16:53:43.774Z] 9065ff56babe: Verifying Checksum [2021-07-30T16:53:43.774Z] 9065ff56babe: Download complete [2021-07-30T16:53:44.040Z] ed53099fbce6: Verifying Checksum [2021-07-30T16:53:44.040Z] ed53099fbce6: Download complete [2021-07-30T16:53:44.620Z] b4d181a07f80: Verifying Checksum [2021-07-30T16:53:44.620Z] b4d181a07f80: Download complete [2021-07-30T16:53:45.592Z] b4d181a07f80: Pull complete [2021-07-30T16:53:45.592Z] a1111a8f2ec3: Pull complete [2021-07-30T16:53:46.175Z] ed53099fbce6: Pull complete [2021-07-30T16:53:46.175Z] dc539afda2c1: Pull complete [2021-07-30T16:53:46.442Z] 77bc0d833cb6: Pull complete [2021-07-30T16:53:46.708Z] 9065ff56babe: Pull complete [2021-07-30T16:53:48.124Z] d287ab97295c: Verifying Checksum [2021-07-30T16:53:48.124Z] d287ab97295c: Download complete [2021-07-30T16:53:52.383Z] d287ab97295c: Pull complete [2021-07-30T16:53:52.383Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T16:53:52.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T16:53:52.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T16:53:52.481Z] prd-centos7-docker-4c-2g-1065 does not seem to be running inside a container [2021-07-30T16:53:52.533Z] $ 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-128/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-128 -v /w/workspace/gexfoundry_device-rest-go_PR-128:/w/workspace/gexfoundry_device-rest-go_PR-128:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-128@tmp:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T16:53:54.906Z] $ docker top e66a160bbc6a2bf100165f5366ad4a9d074bf68910194ea0b2f99119e804b2cb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T16:53:55.314Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-30T16:53:55.641Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-30T16:53:55.951Z] + ls /var/log/sa-host [2021-07-30T16:53:55.951Z] + sadf -c /var/log/sa-host/sa05 [2021-07-30T16:53:55.951Z] file_magic: OK [2021-07-30T16:53:55.951Z] HZ: Using current value: 100 [2021-07-30T16:53:55.951Z] file_header: OK [2021-07-30T16:53:55.951Z] 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-07-30T16:53:55.951Z] Statistics: [2021-07-30T16:53:55.951Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T16:53:55.951Z] File successfully converted to sysstat format version 12.0.3 [2021-07-30T16:53:55.951Z] + sadf -c /var/log/sa-host/sa30 [2021-07-30T16:53:55.951Z] file_magic: OK [2021-07-30T16:53:55.951Z] HZ: Using current value: 100 [2021-07-30T16:53:55.951Z] file_header: OK [2021-07-30T16:53:55.951Z] 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-07-30T16:53:55.951Z] Statistics: [2021-07-30T16:53:55.951Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T16:53:55.951Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T16:53:56.172Z] provisioning config files... [2021-07-30T16:53:56.190Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-128@tmp/config686091000998153555tmp [Pipeline] { [Pipeline] echo [2021-07-30T16:53:56.219Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:53:56.534Z] ---> create-netrc.sh [Pipeline] } [2021-07-30T16:53:56.547Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:53:56.997Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-30T16:53:57.013Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:53:57.328Z] ---> sudo-logs.sh [2021-07-30T16:53:57.329Z] Archiving 'sudo' log.. [2021-07-30T16:53:57.329Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1065.vexxhost.local: Name or service not known [2021-07-30T16:53:57.329Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1065.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-30T16:53:57.366Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:53:57.676Z] ---> job-cost.sh [2021-07-30T16:53:57.676Z] lf-activate-venv: SKIPPING [2021-07-30T16:53:57.676Z] DEBUG: total: 0.18000000715255737 [2021-07-30T16:53:57.676Z] INFO: Retrieving Stack Cost... [2021-07-30T16:53:58.636Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T16:53:58.636Z] INFO: Archiving Costs [Pipeline] echo [2021-07-30T16:53:58.658Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T16:53:58.972Z] ---> logs-deploy.sh [2021-07-30T16:53:58.972Z] lf-activate-venv: SKIPPING [2021-07-30T16:53:58.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-128/2 [2021-07-30T16:53:58.972Z] INFO: archiving workspace using pattern(s): [2021-07-30T16:53:59.557Z] Archives upload complete. [2021-07-30T16:53:59.824Z] INFO: archiving logs to Nexus [2021-07-30T16:54:00.411Z] ---> uname -a: [2021-07-30T16:54:00.411Z] Linux prd-centos7-docker-4c-2g-1065.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 GNU/Linux [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] ---> lscpu: [2021-07-30T16:54:00.411Z] Architecture: x86_64 [2021-07-30T16:54:00.411Z] CPU op-mode(s): 32-bit, 64-bit [2021-07-30T16:54:00.411Z] Byte Order: Little Endian [2021-07-30T16:54:00.411Z] Address sizes: 40 bits physical, 48 bits virtual [2021-07-30T16:54:00.411Z] CPU(s): 2 [2021-07-30T16:54:00.411Z] On-line CPU(s) list: 0,1 [2021-07-30T16:54:00.411Z] Thread(s) per core: 1 [2021-07-30T16:54:00.411Z] Core(s) per socket: 1 [2021-07-30T16:54:00.411Z] Socket(s): 2 [2021-07-30T16:54:00.411Z] NUMA node(s): 1 [2021-07-30T16:54:00.411Z] Vendor ID: AuthenticAMD [2021-07-30T16:54:00.411Z] CPU family: 23 [2021-07-30T16:54:00.411Z] Model: 49 [2021-07-30T16:54:00.411Z] Model name: AMD EPYC-Rome Processor [2021-07-30T16:54:00.411Z] Stepping: 0 [2021-07-30T16:54:00.411Z] CPU MHz: 2799.996 [2021-07-30T16:54:00.411Z] BogoMIPS: 5599.99 [2021-07-30T16:54:00.411Z] Virtualization: AMD-V [2021-07-30T16:54:00.411Z] Hypervisor vendor: KVM [2021-07-30T16:54:00.411Z] Virtualization type: full [2021-07-30T16:54:00.411Z] L1d cache: 32K [2021-07-30T16:54:00.411Z] L1i cache: 32K [2021-07-30T16:54:00.411Z] L2 cache: 512K [2021-07-30T16:54:00.411Z] L3 cache: 16384K [2021-07-30T16:54:00.411Z] NUMA node0 CPU(s): 0,1 [2021-07-30T16:54:00.411Z] 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 perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] ---> nproc: [2021-07-30T16:54:00.411Z] 2 [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] ---> df -h: [2021-07-30T16:54:00.411Z] Filesystem Size Used Avail Use% Mounted on [2021-07-30T16:54:00.411Z] overlay 40G 7.7G 33G 20% / [2021-07-30T16:54:00.411Z] tmpfs 64M 0 64M 0% /dev [2021-07-30T16:54:00.411Z] tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup [2021-07-30T16:54:00.411Z] shm 64M 0 64M 0% /dev/shm [2021-07-30T16:54:00.411Z] /dev/vda1 40G 7.7G 33G 20% /facter-os [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] ---> sar -b -r -n DEV: [2021-07-30T16:54:00.411Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/30/21 _x86_64_ (2 CPU) [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] 16:44:50 LINUX RESTART (2 CPU) [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] 16:46:01 tps rtps wtps bread/s bwrtn/s [2021-07-30T16:54:00.411Z] 16:47:01 0.50 0.00 0.50 0.00 11.99 [2021-07-30T16:54:00.411Z] 16:48:01 0.45 0.02 0.43 0.53 6.31 [2021-07-30T16:54:00.411Z] 16:49:01 0.23 0.00 0.23 0.00 2.83 [2021-07-30T16:54:00.411Z] 16:50:01 0.17 0.00 0.17 0.00 2.05 [2021-07-30T16:54:00.411Z] 16:51:01 0.35 0.00 0.35 0.00 4.63 [2021-07-30T16:54:00.411Z] 16:52:01 0.23 0.00 0.23 0.00 2.86 [2021-07-30T16:54:00.411Z] 16:53:01 0.28 0.00 0.28 0.00 3.48 [2021-07-30T16:54:00.411Z] Average: 0.32 0.00 0.31 0.08 4.88 [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] 16:46:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2021-07-30T16:54:00.411Z] 16:47:01 5462624 0 795808 9.94 2620 1747888 1203856 13.29 578480 1570612 16 [2021-07-30T16:54:00.411Z] 16:48:01 5460732 0 797692 9.96 2620 1747896 1204108 13.29 582224 1568184 8 [2021-07-30T16:54:00.411Z] 16:49:01 5460100 0 798320 9.97 2620 1747900 1204024 13.29 582940 1568184 8 [2021-07-30T16:54:00.411Z] 16:50:01 5461376 0 797036 9.95 2620 1747908 1203856 13.29 581448 1568768 8 [2021-07-30T16:54:00.411Z] 16:51:01 5460828 0 797580 9.96 2620 1747912 1203940 13.29 578756 1571912 8 [2021-07-30T16:54:00.411Z] 16:52:01 5460876 0 797528 9.96 2620 1747916 1203856 13.29 579300 1571916 8 [2021-07-30T16:54:00.411Z] 16:53:01 5448920 0 809480 10.11 2620 1747920 1203904 13.29 590716 1571912 8 [2021-07-30T16:54:00.411Z] Average: 5459351 0 799063 9.98 2620 1747906 1203935 13.29 581981 1570213 9 [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] 16:46:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2021-07-30T16:54:00.411Z] 16:47:01 eth0 0.47 0.08 0.04 0.01 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:48:01 eth0 1.52 0.32 0.37 0.20 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:49:01 eth0 1.13 0.57 0.55 0.37 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:50:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:50:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:51:01 eth0 0.27 0.18 0.09 0.07 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:52:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:52:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:53:01 eth0 0.15 0.15 0.07 0.01 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] 16:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] Average: eth0 0.53 0.21 0.16 0.10 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] ---> sar -P ALL: [2021-07-30T16:54:00.411Z] Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/30/21 _x86_64_ (2 CPU) [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] 16:44:50 LINUX RESTART (2 CPU) [2021-07-30T16:54:00.411Z] [2021-07-30T16:54:00.411Z] 16:46:01 CPU %user %nice %system %iowait %steal %idle [2021-07-30T16:54:00.411Z] 16:47:01 all 0.20 0.00 0.07 0.01 0.02 99.71 [2021-07-30T16:54:00.411Z] 16:47:01 0 0.10 0.00 0.07 0.00 0.02 99.82 [2021-07-30T16:54:00.411Z] 16:47:01 1 0.30 0.00 0.07 0.02 0.02 99.60 [2021-07-30T16:54:00.411Z] 16:48:01 all 0.23 0.00 0.08 0.00 0.03 99.65 [2021-07-30T16:54:00.411Z] 16:48:01 0 0.12 0.00 0.10 0.00 0.05 99.73 [2021-07-30T16:54:00.412Z] 16:48:01 1 0.35 0.00 0.07 0.00 0.02 99.57 [2021-07-30T16:54:00.412Z] 16:49:01 all 0.14 0.00 0.05 0.00 0.01 99.80 [2021-07-30T16:54:00.412Z] 16:49:01 0 0.22 0.00 0.05 0.00 0.02 99.72 [2021-07-30T16:54:00.412Z] 16:49:01 1 0.07 0.00 0.05 0.00 0.00 99.88 [2021-07-30T16:54:00.412Z] 16:50:01 all 0.20 0.00 0.06 0.00 0.02 99.72 [2021-07-30T16:54:00.412Z] 16:50:01 0 0.35 0.00 0.05 0.00 0.00 99.60 [2021-07-30T16:54:00.412Z] 16:50:01 1 0.05 0.00 0.07 0.00 0.03 99.85 [2021-07-30T16:54:00.412Z] 16:51:01 all 0.11 0.00 0.04 0.00 0.04 99.81 [2021-07-30T16:54:00.412Z] 16:51:01 0 0.10 0.00 0.03 0.00 0.03 99.83 [2021-07-30T16:54:00.412Z] 16:51:01 1 0.12 0.00 0.05 0.00 0.05 99.78 [2021-07-30T16:54:00.412Z] 16:52:01 all 0.04 0.00 0.04 0.00 0.02 99.90 [2021-07-30T16:54:00.412Z] 16:52:01 0 0.03 0.00 0.03 0.00 0.02 99.92 [2021-07-30T16:54:00.412Z] 16:52:01 1 0.05 0.00 0.05 0.00 0.02 99.88 [2021-07-30T16:54:00.412Z] 16:53:01 all 0.13 0.00 0.08 0.00 0.03 99.77 [2021-07-30T16:54:00.412Z] 16:53:01 0 0.23 0.00 0.12 0.00 0.03 99.62 [2021-07-30T16:54:00.412Z] 16:53:01 1 0.03 0.00 0.03 0.00 0.02 99.92 [2021-07-30T16:54:00.412Z] Average: all 0.15 0.00 0.06 0.00 0.02 99.76 [2021-07-30T16:54:00.412Z] Average: 0 0.16 0.00 0.06 0.00 0.02 99.75 [2021-07-30T16:54:00.412Z] Average: 1 0.14 0.00 0.05 0.00 0.02 99.78 [2021-07-30T16:54:00.412Z] [2021-07-30T16:54:00.412Z] [2021-07-30T16:54:00.412Z]