Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2b56409ff7876491f1b0abf22052cd5d8a556b9 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-ssh5952655063219445043.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 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-ssh3854929202080316157.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 b96307f5267f6fa8c29f8dc04d3d152726fc6340 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh623569230499384761.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b96307f5267f6fa8c29f8dc04d3d152726fc6340 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b96307f5267f6fa8c29f8dc04d3d152726fc6340 # timeout=10 Commit message: "Merge pull request #356 from ernestojeda/disable-go-proxy" > 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-ssh8953654864293347542.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7405086192276525692.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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-2260 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh124961542961584910.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c2b56409ff7876491f1b0abf22052cd5d8a556b9 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 Commit message: "Merge pull request #138 from ernestojeda/changes-for-lts-builds" > git rev-list --no-walk 8988443161b762d02568202c1b71a3f56b05d0c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-07T02:40:44.578Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-07T02:40:44.673Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-07T02:40:44.700Z] ========================================================= [2021-10-07T02:40:44.700Z] EdgeX Global Pipelines Version Info [2021-10-07T02:40:44.700Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:40:45.927Z] ------------------- [2021-10-07T02:40:45.928Z] stable info: [2021-10-07T02:40:45.928Z] ------------------- [2021-10-07T02:40:45.928Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-07T02:40:45.928Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T02:40:45.928Z] Message: update stable to v1.0.207 [2021-10-07T02:40:46.517Z] ------------------- [2021-10-07T02:40:46.517Z] experimental info: [2021-10-07T02:40:46.517Z] ------------------- [2021-10-07T02:40:46.517Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-07T02:40:46.517Z] Commit SHA: b96307f5267f6fa8c29f8dc04d3d152726fc6340 [2021-10-07T02:40:46.517Z] Message: update experimental to v1.0.207 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-07T02:40:46.871Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-07T02:40:46.895Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-07T02:40:46.918Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-07T02:40:46.941Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-07T02:40:46.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-07T02:40:46.987Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-07T02:40:47.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-07T02:40:47.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-07T02:40:47.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-07T02:40:47.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-07T02:40:47.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-07T02:40:47.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-07T02:40:47.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-07T02:40:47.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-07T02:40:47.211Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-07T02:40:47.233Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-07T02:40:47.256Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T02:40:47.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-07T02:40:47.302Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-07T02:40:47.324Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-07T02:40:47.348Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-07T02:40:47.372Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-07T02:40:47.395Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-07T02:40:47.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-07T02:40:47.440Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-07T02:40:47.463Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-07T02:40:47.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-07T02:40:47.508Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-07T02:40:47.530Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-07T02:40:47.553Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] echo [2021-10-07T02:40:47.576Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2b5640 [Pipeline] echo [2021-10-07T02:40:47.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:40:47.670Z] provisioning config files... [2021-10-07T02:40:47.690Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4266503740021331131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:40:48.042Z] ---> docker-login.sh [2021-10-07T02:40:48.042Z] nexus3.edgexfoundry.org:10001 [2021-10-07T02:40:48.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:40:49.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:40:49.001Z] Configure a credential helper to remove this warning. See [2021-10-07T02:40:49.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:40:49.001Z] [2021-10-07T02:40:49.001Z] Login Succeeded [2021-10-07T02:40:49.001Z] nexus3.edgexfoundry.org:10002 [2021-10-07T02:40:49.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:40:49.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:40:49.001Z] Configure a credential helper to remove this warning. See [2021-10-07T02:40:49.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:40:49.001Z] [2021-10-07T02:40:49.001Z] Login Succeeded [2021-10-07T02:40:49.001Z] nexus3.edgexfoundry.org:10003 [2021-10-07T02:40:49.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:40:49.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:40:49.272Z] Configure a credential helper to remove this warning. See [2021-10-07T02:40:49.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:40:49.272Z] [2021-10-07T02:40:49.272Z] Login Succeeded [2021-10-07T02:40:49.272Z] nexus3.edgexfoundry.org:10004 [2021-10-07T02:40:49.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:40:49.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:40:49.272Z] Configure a credential helper to remove this warning. See [2021-10-07T02:40:49.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:40:49.272Z] [2021-10-07T02:40:49.272Z] Login Succeeded [2021-10-07T02:40:49.272Z] docker.io [2021-10-07T02:40:49.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:40:50.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:40:50.640Z] Configure a credential helper to remove this warning. See [2021-10-07T02:40:50.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:40:50.640Z] [2021-10-07T02:40:50.640Z] Login Succeeded [2021-10-07T02:40:50.640Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T02:40:50.655Z] 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-10-07T02:40:51.343Z] + git log --format=format:%s -1 c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] echo [2021-10-07T02:40:51.608Z] GIT_COMMIT: c2b56409ff7876491f1b0abf22052cd5d8a556b9, Commit Message: Merge pull request #138 from ernestojeda/changes-for-lts-builds [Pipeline] echo [2021-10-07T02:40:51.624Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:40:52.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T02:40:52.213Z] [2021-10-07T02:40:52.213Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:40:52.538Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T02:40:52.538Z] latest: Pulling from edgex-devops/git-semver [2021-10-07T02:40:52.538Z] 31603596830f: Pulling fs layer [2021-10-07T02:40:52.538Z] 04fac38145f0: Pulling fs layer [2021-10-07T02:40:52.538Z] 701f6daf10bf: Pulling fs layer [2021-10-07T02:40:52.538Z] 24f72da36158: Pulling fs layer [2021-10-07T02:40:52.538Z] 24f72da36158: Waiting [2021-10-07T02:40:52.538Z] 04fac38145f0: Verifying Checksum [2021-10-07T02:40:52.539Z] 04fac38145f0: Download complete [2021-10-07T02:40:52.806Z] 31603596830f: Verifying Checksum [2021-10-07T02:40:52.806Z] 31603596830f: Download complete [2021-10-07T02:40:52.806Z] 24f72da36158: Verifying Checksum [2021-10-07T02:40:52.806Z] 24f72da36158: Download complete [2021-10-07T02:40:52.806Z] 701f6daf10bf: Verifying Checksum [2021-10-07T02:40:52.806Z] 701f6daf10bf: Download complete [2021-10-07T02:40:53.084Z] 31603596830f: Pull complete [2021-10-07T02:40:53.084Z] 04fac38145f0: Pull complete [2021-10-07T02:40:54.044Z] 701f6daf10bf: Pull complete [2021-10-07T02:40:54.044Z] 24f72da36158: Pull complete [2021-10-07T02:40:54.044Z] Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 [2021-10-07T02:40:54.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-07T02:40:54.044Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-07T02:40:54.398Z] prd-centos7-docker-4c-2g-2260 does not seem to be running inside a container [2021-10-07T02:40:54.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-07T02:40:55.461Z] $ docker top 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-07T02:40:55.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T02:40:55.583Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T02:40:55.731Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T02:40:55.733Z] $ docker exec 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 ssh-agent [2021-10-07T02:40:55.853Z] SSH_AUTH_SOCK=/tmp/ssh-1L7y71vMG1WQ/agent.14 [2021-10-07T02:40:55.853Z] SSH_AGENT_PID=21 [2021-10-07T02:40:55.864Z] Running ssh-add (command line suppressed) [2021-10-07T02:40:55.969Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4176906676769015194.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4176906676769015194.key) [2021-10-07T02:40:56.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T02:40:56.536Z] + git tag --points-at HEAD [Pipeline] } [2021-10-07T02:40:56.563Z] $ docker exec --env ******** --env ******** 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 ssh-agent -k [2021-10-07T02:40:56.652Z] unset SSH_AUTH_SOCK; [2021-10-07T02:40:56.653Z] unset SSH_AGENT_PID; [2021-10-07T02:40:56.653Z] echo Agent pid 21 killed; [2021-10-07T02:40:56.669Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-07T02:40:56.706Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-07T02:40:56.706Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-07T02:40:56.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-07T02:40:56.816Z] $ docker exec 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 ssh-agent [2021-10-07T02:40:56.918Z] SSH_AUTH_SOCK=/tmp/ssh-oIXUhBHCok3r/agent.54 [2021-10-07T02:40:56.918Z] SSH_AGENT_PID=61 [2021-10-07T02:40:56.926Z] Running ssh-add (command line suppressed) [2021-10-07T02:40:57.024Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4444583846106902837.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4444583846106902837.key) [2021-10-07T02:40:57.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-07T02:40:57.377Z] + git semver init [2021-10-07T02:40:57.377Z] # -> Open(): unable to determine branch for HEAD [2021-10-07T02:40:57.377Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2021-10-07T02:40:57.377Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2021-10-07T02:40:57.377Z] # $SEMVER_REMOTE_NAME = origin [2021-10-07T02:40:57.377Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-07T02:40:57.377Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-07T02:40:57.377Z] # $SEMVER_BRANCH = main [2021-10-07T02:40:57.377Z] # $SEMVER_TEMP = /tmp/semver-518275501 [2021-10-07T02:40:57.377Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-07T02:40:58.579Z] # '/tmp/semver-518275501' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2021-10-07T02:40:58.579Z] # -> Force: false [2021-10-07T02:40:58.579Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2021-10-07T02:40:58.798Z] $ docker exec --env ******** --env ******** 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 ssh-agent -k [2021-10-07T02:40:58.901Z] unset SSH_AUTH_SOCK; [2021-10-07T02:40:58.902Z] unset SSH_AGENT_PID; [2021-10-07T02:40:58.903Z] echo Agent pid 61 killed; [2021-10-07T02:40:58.915Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-07T02:40:59.283Z] + git semver [Pipeline] } [2021-10-07T02:40:59.510Z] $ docker stop --time=1 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 [2021-10-07T02:41:00.799Z] $ docker rm -f 369926e191424d7d5d3e3bedbda99bc29a4a7065ac8235455f5d6a04cc689650 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T02:41:01.182Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-07T02:41:01.549Z] Stashed 1 file(s) [Pipeline] echo [2021-10-07T02:41:01.552Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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-10-07T02:41:17.076Z] Still waiting to schedule task [2021-10-07T02:41:17.077Z] ‘prd-centos7-docker-4c-2g-2263’ is offline [2021-10-07T02:41:17.077Z] ‘prd-centos7-docker-4c-2g-285’ is offline [2021-10-07T02:41:17.077Z] ‘prd-centos7-docker-4c-2g-336’ is offline [2021-10-07T02:41:17.079Z] Still waiting to schedule task [2021-10-07T02:41:17.079Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2250’ [2021-10-07T02:44:30.825Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2265 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-07T02:44:30.843Z] Running in /w/workspace/device-rest-go/10 [Pipeline] { [Pipeline] checkout [2021-10-07T02:44:31.164Z] The recommended git tool is: git [2021-10-07T02:44:39.809Z] using credential edgex-jenkins-ssh [2021-10-07T02:44:39.839Z] Cloning the remote Git repository [2021-10-07T02:44:39.919Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-07T02:44:40.058Z] > git init /w/workspace/device-rest-go/10 # timeout=10 [2021-10-07T02:44:40.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-07T02:44:40.180Z] > git --version # timeout=10 [2021-10-07T02:44:40.204Z] > git --version # 'git version 2.17.1' [2021-10-07T02:44:40.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T02:44:40.313Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T02:44:46.362Z] Avoid second fetch [2021-10-07T02:44:46.363Z] Checking out Revision c2b56409ff7876491f1b0abf22052cd5d8a556b9 (main) [2021-10-07T02:44:46.324Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-07T02:44:46.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T02:44:46.408Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T02:44:46.425Z] > git checkout -f c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 [2021-10-07T02:44:51.631Z] Commit message: "Merge pull request #138 from ernestojeda/changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:44:51.984Z] provisioning config files... [2021-10-07T02:44:52.030Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config2555649003001973766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:44:52.782Z] ---> docker-login.sh [2021-10-07T02:44:52.782Z] nexus3.edgexfoundry.org:10001 [2021-10-07T02:44:54.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:44:55.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:44:55.480Z] Configure a credential helper to remove this warning. See [2021-10-07T02:44:55.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:44:55.480Z] [2021-10-07T02:44:55.480Z] Login Succeeded [2021-10-07T02:44:55.480Z] nexus3.edgexfoundry.org:10002 [2021-10-07T02:44:56.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:44:56.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:44:56.114Z] Configure a credential helper to remove this warning. See [2021-10-07T02:44:56.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:44:56.114Z] [2021-10-07T02:44:56.114Z] Login Succeeded [2021-10-07T02:44:56.114Z] nexus3.edgexfoundry.org:10003 [2021-10-07T02:44:56.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:44:56.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:44:56.746Z] Configure a credential helper to remove this warning. See [2021-10-07T02:44:56.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:44:56.746Z] [2021-10-07T02:44:56.746Z] Login Succeeded [2021-10-07T02:44:56.746Z] nexus3.edgexfoundry.org:10004 [2021-10-07T02:44:57.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:44:57.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:44:57.402Z] Configure a credential helper to remove this warning. See [2021-10-07T02:44:57.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:44:57.402Z] [2021-10-07T02:44:57.402Z] Login Succeeded [2021-10-07T02:44:57.402Z] docker.io [2021-10-07T02:44:58.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:44:58.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:44:58.376Z] Configure a credential helper to remove this warning. See [2021-10-07T02:44:58.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:44:58.376Z] [2021-10-07T02:44:58.376Z] Login Succeeded [2021-10-07T02:44:58.376Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T02:44:58.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-07T02:44:59.130Z] ========================================================= [2021-10-07T02:44:59.130Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-07T02:44:59.130Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:44:59.613Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-07T02:44:59.613Z] Sending build context to Docker daemon 118.8kB [2021-10-07T02:45:00.251Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T02:45:00.251Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-07T02:45:00.251Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-07T02:45:00.251Z] bbf911997326: Pulling fs layer [2021-10-07T02:45:00.251Z] 58ec367f63d7: Pulling fs layer [2021-10-07T02:45:00.251Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-07T02:45:00.251Z] fc5181fea5dc: Pulling fs layer [2021-10-07T02:45:00.251Z] 9c418107303f: Pulling fs layer [2021-10-07T02:45:00.251Z] 284eca6f2348: Pulling fs layer [2021-10-07T02:45:00.251Z] 842844d905b1: Pulling fs layer [2021-10-07T02:45:00.251Z] 901a3a57568e: Pulling fs layer [2021-10-07T02:45:00.251Z] 9c418107303f: Waiting [2021-10-07T02:45:00.251Z] 842844d905b1: Waiting [2021-10-07T02:45:00.251Z] 901a3a57568e: Waiting [2021-10-07T02:45:00.251Z] 284eca6f2348: Waiting [2021-10-07T02:45:00.251Z] fc5181fea5dc: Waiting [2021-10-07T02:45:00.555Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-07T02:45:00.555Z] 1b4a6ffa7d45: Download complete [2021-10-07T02:45:00.555Z] 58ec367f63d7: Download complete [2021-10-07T02:45:00.555Z] 9c418107303f: Verifying Checksum [2021-10-07T02:45:00.556Z] 9c418107303f: Download complete [2021-10-07T02:45:00.556Z] 284eca6f2348: Verifying Checksum [2021-10-07T02:45:00.556Z] 284eca6f2348: Download complete [2021-10-07T02:45:00.556Z] 842844d905b1: Download complete [2021-10-07T02:45:00.849Z] bbf911997326: Verifying Checksum [2021-10-07T02:45:00.849Z] bbf911997326: Download complete [2021-10-07T02:45:01.778Z] bbf911997326: Pull complete [2021-10-07T02:45:02.417Z] 58ec367f63d7: Pull complete [2021-10-07T02:45:02.706Z] 1b4a6ffa7d45: Pull complete [2021-10-07T02:45:06.635Z] 901a3a57568e: Verifying Checksum [2021-10-07T02:45:06.635Z] 901a3a57568e: Download complete [2021-10-07T02:45:07.688Z] fc5181fea5dc: Verifying Checksum [2021-10-07T02:45:07.688Z] fc5181fea5dc: Download complete [2021-10-07T02:45:18.294Z] fc5181fea5dc: Pull complete [2021-10-07T02:45:18.601Z] 9c418107303f: Pull complete [2021-10-07T02:45:18.910Z] 284eca6f2348: Pull complete [2021-10-07T02:45:19.211Z] 842844d905b1: Pull complete [2021-10-07T02:45:26.240Z] 901a3a57568e: Pull complete [2021-10-07T02:45:26.241Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-07T02:45:26.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-07T02:45:26.241Z] ---> 72ade6ffb461 [2021-10-07T02:45:26.241Z] Step 3/11 : ARG MAKE='make build' [2021-10-07T02:45:35.105Z] ---> Running in c901b2a3b4a4 [2021-10-07T02:45:35.105Z] Removing intermediate container c901b2a3b4a4 [2021-10-07T02:45:35.105Z] ---> eb0ba342a2fc [2021-10-07T02:45:35.105Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-07T02:45:35.105Z] ---> Running in a3e7c6d8a4e2 [2021-10-07T02:45:35.801Z] Removing intermediate container a3e7c6d8a4e2 [2021-10-07T02:45:35.801Z] ---> d02e16feec71 [2021-10-07T02:45:35.801Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-07T02:45:35.801Z] ---> Running in a3adca6b88db [2021-10-07T02:45:36.147Z] Removing intermediate container a3adca6b88db [2021-10-07T02:45:36.147Z] ---> ce9a5c76864c [2021-10-07T02:45:36.147Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T02:45:36.450Z] ---> Running in 6e6e986b95b4 [2021-10-07T02:45:40.049Z] Removing intermediate container 6e6e986b95b4 [2021-10-07T02:45:40.049Z] ---> 7744e20b0e52 [2021-10-07T02:45:40.049Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-07T02:45:40.049Z] ---> Running in 13d1655b5b2a [2021-10-07T02:45:41.187Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-07T02:45:42.678Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-07T02:45:44.723Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-07T02:45:45.007Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-07T02:45:45.294Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-07T02:45:47.356Z] Executing busybox-1.32.1-r6.trigger [2021-10-07T02:45:47.356Z] OK: 222 MiB in 55 packages [2021-10-07T02:45:49.423Z] Removing intermediate container 13d1655b5b2a [2021-10-07T02:45:49.423Z] ---> f85c34ffa461 [2021-10-07T02:45:49.423Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-07T02:45:49.423Z] ---> Running in 477aad4743fb [2021-10-07T02:45:50.092Z] Removing intermediate container 477aad4743fb [2021-10-07T02:45:50.092Z] ---> f482b471fa08 [2021-10-07T02:45:50.092Z] Step 9/11 : COPY . . [2021-10-07T02:45:50.743Z] ---> b1b1ddd95df8 [2021-10-07T02:45:50.743Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T02:45:51.040Z] ---> Running in f9b1043fc578 [2021-10-07T02:46:23.720Z] Removing intermediate container f9b1043fc578 [2021-10-07T02:46:23.720Z] ---> 2cc9757cdcc6 [2021-10-07T02:46:23.720Z] Step 11/11 : RUN $MAKE [2021-10-07T02:46:23.720Z] ---> Running in 5846acdc1b5b [2021-10-07T02:46:23.720Z] noop [2021-10-07T02:46:24.790Z] Removing intermediate container 5846acdc1b5b [2021-10-07T02:46:24.790Z] ---> 778e468661e5 [2021-10-07T02:46:24.790Z] Successfully built 778e468661e5 [2021-10-07T02:46:24.790Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:46:25.242Z] + docker inspect -f . ci-base-image-arm64 [2021-10-07T02:46:25.242Z] . [Pipeline] withDockerContainer [2021-10-07T02:46:25.567Z] prd-ubuntu18.04-docker-arm64-4c-16g-2265 does not seem to be running inside a container [2021-10-07T02:46:25.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** ci-base-image-arm64 cat [2021-10-07T02:46:27.405Z] $ docker top 44e01ccf390cbc53c62fc77ff756c7be7700c7bfd2053bb402155b9089d2398f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T02:46:28.373Z] + go version [2021-10-07T02:46:28.373Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-07T02:46:28.410Z] $ docker stop --time=1 44e01ccf390cbc53c62fc77ff756c7be7700c7bfd2053bb402155b9089d2398f [2021-10-07T02:46:30.264Z] $ docker rm -f 44e01ccf390cbc53c62fc77ff756c7be7700c7bfd2053bb402155b9089d2398f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:46:31.193Z] + docker inspect -f . ci-base-image-arm64 [2021-10-07T02:46:31.193Z] . [Pipeline] withDockerContainer [2021-10-07T02:46:31.525Z] prd-ubuntu18.04-docker-arm64-4c-16g-2265 does not seem to be running inside a container [2021-10-07T02:46:31.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** ci-base-image-arm64 cat [2021-10-07T02:46:33.275Z] $ docker top 175e3efeaacbb93521e0835fb3e3670b18c5f60b79b3564ce55f96441398bb89 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-07T02:46:34.294Z] + make test [2021-10-07T02:46:34.294Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-07T02:46:35.788Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-07T02:47:32.777Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-07T02:47:34.255Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 53.8% of statements [2021-10-07T02:47:34.541Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-07T02:48:07.086Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-07T02:48:07.086Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-07T02:48:07.086Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-07T02:48:07.157Z] $ docker stop --time=1 175e3efeaacbb93521e0835fb3e3670b18c5f60b79b3564ce55f96441398bb89 [2021-10-07T02:48:09.162Z] $ docker rm -f 175e3efeaacbb93521e0835fb3e3670b18c5f60b79b3564ce55f96441398bb89 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T02:48:10.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-07T02:48:10.997Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-07T02:48:12.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-07T02:48:12.729Z] + ls -al . [2021-10-07T02:48:12.729Z] total 144 [2021-10-07T02:48:12.729Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 02:48 . [2021-10-07T02:48:12.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 02:44 .. [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 7 02:44 .dockerignore [2021-10-07T02:48:12.729Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 02:44 .git [2021-10-07T02:48:12.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 02:44 .github [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 7 02:44 .gitignore [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 6792 Oct 7 02:44 Attribution.txt [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 7459 Oct 7 02:44 CHANGELOG.md [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 1649 Oct 7 02:44 Dockerfile [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 02:44 GOVERNANCE.md [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 7 02:44 Jenkinsfile [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 02:44 LICENSE [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 1078 Oct 7 02:44 Makefile [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 02:44 OWNERS.md [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 7661 Oct 7 02:44 README.md [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 7 02:41 VERSION [2021-10-07T02:48:12.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 02:44 bin [2021-10-07T02:48:12.729Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 02:44 cmd [2021-10-07T02:48:12.729Z] -rw-r--r-- 1 jenkins jenkins 8435 Oct 7 02:47 coverage.out [2021-10-07T02:48:12.729Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 02:44 driver [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 271 Oct 7 02:44 go.mod [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 20570 Oct 7 02:44 go.sum [2021-10-07T02:48:12.729Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 02:44 snap [2021-10-07T02:48:12.729Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 7 02:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:48:13.171Z] + 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=c2b56409ff7876491f1b0abf22052cd5d8a556b9 --label arch=arm64 --label version=2.0.1-dev.9 . [2021-10-07T02:48:13.171Z] Sending build context to Docker daemon 128kB [2021-10-07T02:48:13.472Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T02:48:13.472Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-07T02:48:13.472Z] ---> 778e468661e5 [2021-10-07T02:48:13.472Z] Step 3/24 : ARG MAKE='make build' [2021-10-07T02:48:13.765Z] ---> Running in 507d4989ecee [2021-10-07T02:48:14.418Z] Removing intermediate container 507d4989ecee [2021-10-07T02:48:14.419Z] ---> b101870bc1ed [2021-10-07T02:48:14.419Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-07T02:48:14.419Z] ---> Running in 37b6b00657bd [2021-10-07T02:48:15.051Z] Removing intermediate container 37b6b00657bd [2021-10-07T02:48:15.051Z] ---> f6aa21756f86 [2021-10-07T02:48:15.051Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-07T02:48:15.337Z] ---> Running in 028e5265ca14 [2021-10-07T02:48:15.971Z] Removing intermediate container 028e5265ca14 [2021-10-07T02:48:15.971Z] ---> f13046166247 [2021-10-07T02:48:15.971Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T02:48:15.971Z] ---> Running in c8e8b86a0881 [2021-10-07T02:48:18.666Z] Removing intermediate container c8e8b86a0881 [2021-10-07T02:48:18.666Z] ---> 23e9c895fb45 [2021-10-07T02:48:18.666Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-07T02:48:18.666Z] ---> Running in a3f21f7d9e53 [2021-10-07T02:48:19.682Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-07T02:48:20.705Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-07T02:48:21.717Z] OK: 222 MiB in 55 packages [2021-10-07T02:48:22.729Z] Removing intermediate container a3f21f7d9e53 [2021-10-07T02:48:22.729Z] ---> 50df58de97b6 [2021-10-07T02:48:22.729Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-07T02:48:23.013Z] ---> Running in 9d8c5d513c18 [2021-10-07T02:48:23.632Z] Removing intermediate container 9d8c5d513c18 [2021-10-07T02:48:23.632Z] ---> e4ee547b309a [2021-10-07T02:48:23.632Z] Step 9/24 : COPY . . [2021-10-07T02:48:24.647Z] ---> 9cd10bed93f4 [2021-10-07T02:48:24.647Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T02:48:24.647Z] ---> Running in 53574793646b [2021-10-07T02:48:27.341Z] Removing intermediate container 53574793646b [2021-10-07T02:48:27.341Z] ---> 23313a6cd564 [2021-10-07T02:48:27.341Z] Step 11/24 : RUN $MAKE [2021-10-07T02:48:27.341Z] ---> Running in f6a5bfb4d891 [2021-10-07T02:48:28.838Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd [2021-10-07T02:49:08.110Z] Removing intermediate container f6a5bfb4d891 [2021-10-07T02:49:08.110Z] ---> ccd8f4acee74 [2021-10-07T02:49:08.110Z] Step 12/24 : FROM alpine:3.14 [2021-10-07T02:49:08.110Z] 3.14: Pulling from library/alpine [2021-10-07T02:49:08.110Z] 552d1f2373af: Pulling fs layer [2021-10-07T02:49:08.110Z] 552d1f2373af: Verifying Checksum [2021-10-07T02:49:08.110Z] 552d1f2373af: Pull complete [2021-10-07T02:49:08.110Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-07T02:49:08.110Z] Status: Downloaded newer image for alpine:3.14 [2021-10-07T02:49:08.110Z] ---> bb3de5531c18 [2021-10-07T02:49:08.110Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-07T02:49:08.110Z] ---> Running in 4c24c8724663 [2021-10-07T02:49:08.400Z] Removing intermediate container 4c24c8724663 [2021-10-07T02:49:08.400Z] ---> 3b1fb9a5c0da [2021-10-07T02:49:08.400Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-07T02:49:08.400Z] ---> Running in e91859122f36 [2021-10-07T02:49:08.686Z] Removing intermediate container e91859122f36 [2021-10-07T02:49:08.686Z] ---> cb41596800a2 [2021-10-07T02:49:08.686Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-07T02:49:08.973Z] ---> Running in b481756f6ed7 [2021-10-07T02:49:10.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-07T02:49:10.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-07T02:49:11.460Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-07T02:49:11.460Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-07T02:49:11.460Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-07T02:49:11.460Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-07T02:49:11.460Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-07T02:49:11.460Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-07T02:49:11.460Z] Executing busybox-1.33.1-r3.trigger [2021-10-07T02:49:11.460Z] OK: 8 MiB in 20 packages [2021-10-07T02:49:12.943Z] Removing intermediate container b481756f6ed7 [2021-10-07T02:49:12.943Z] ---> 04dfe3c5ceaa [2021-10-07T02:49:12.943Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-07T02:49:14.419Z] ---> 53f173ed4df5 [2021-10-07T02:49:14.419Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-07T02:49:15.041Z] ---> e06732ed5399 [2021-10-07T02:49:15.041Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-07T02:49:16.054Z] ---> 0bd5cff2aacd [2021-10-07T02:49:16.054Z] Step 19/24 : EXPOSE 59986 [2021-10-07T02:49:16.054Z] ---> Running in f758ff0097ad [2021-10-07T02:49:16.670Z] Removing intermediate container f758ff0097ad [2021-10-07T02:49:16.670Z] ---> 5ceaf4720623 [2021-10-07T02:49:16.670Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-07T02:49:16.670Z] ---> Running in 0261d9cab8fe [2021-10-07T02:49:17.285Z] Removing intermediate container 0261d9cab8fe [2021-10-07T02:49:17.285Z] ---> 87aed2b8a584 [2021-10-07T02:49:17.285Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-07T02:49:17.285Z] ---> Running in 6587d766d1fe [2021-10-07T02:49:17.903Z] Removing intermediate container 6587d766d1fe [2021-10-07T02:49:17.903Z] ---> 0ee7de3e7fa0 [2021-10-07T02:49:17.903Z] Step 22/24 : LABEL arch=arm64 [2021-10-07T02:49:17.903Z] ---> Running in 9e56d40c602f [2021-10-07T02:49:18.520Z] Removing intermediate container 9e56d40c602f [2021-10-07T02:49:18.520Z] ---> b1b9411c3d97 [2021-10-07T02:49:18.520Z] Step 23/24 : LABEL git_sha=c2b56409ff7876491f1b0abf22052cd5d8a556b9 [2021-10-07T02:49:18.520Z] ---> Running in 05cc3181e561 [2021-10-07T02:49:19.138Z] Removing intermediate container 05cc3181e561 [2021-10-07T02:49:19.138Z] ---> a06133d94219 [2021-10-07T02:49:19.138Z] Step 24/24 : LABEL version=2.0.1-dev.9 [2021-10-07T02:49:19.138Z] ---> Running in 37ae8f000987 [2021-10-07T02:49:19.754Z] Removing intermediate container 37ae8f000987 [2021-10-07T02:49:19.754Z] ---> 5a1fbcc39ace [2021-10-07T02:49:19.754Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-07T02:49:19.754Z] Successfully built 5a1fbcc39ace [2021-10-07T02:49:19.754Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:49:19.967Z] provisioning config files... [2021-10-07T02:49:19.996Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config746666292694679691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:49:20.396Z] ---> docker-login.sh [2021-10-07T02:49:20.396Z] nexus3.edgexfoundry.org:10001 [2021-10-07T02:49:20.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:49:20.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:49:20.967Z] Configure a credential helper to remove this warning. See [2021-10-07T02:49:20.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:49:20.967Z] [2021-10-07T02:49:20.967Z] Login Succeeded [2021-10-07T02:49:20.967Z] nexus3.edgexfoundry.org:10002 [2021-10-07T02:49:21.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:49:21.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:49:21.537Z] Configure a credential helper to remove this warning. See [2021-10-07T02:49:21.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:49:21.537Z] [2021-10-07T02:49:21.537Z] Login Succeeded [2021-10-07T02:49:21.537Z] nexus3.edgexfoundry.org:10003 [2021-10-07T02:49:22.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:49:22.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:49:22.155Z] Configure a credential helper to remove this warning. See [2021-10-07T02:49:22.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:49:22.155Z] [2021-10-07T02:49:22.155Z] Login Succeeded [2021-10-07T02:49:22.155Z] nexus3.edgexfoundry.org:10004 [2021-10-07T02:49:22.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:49:23.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:49:23.056Z] Configure a credential helper to remove this warning. See [2021-10-07T02:49:23.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:49:23.056Z] [2021-10-07T02:49:23.056Z] Login Succeeded [2021-10-07T02:49:23.056Z] docker.io [2021-10-07T02:49:23.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:49:23.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:49:23.955Z] Configure a credential helper to remove this warning. See [2021-10-07T02:49:23.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:49:23.955Z] [2021-10-07T02:49:23.955Z] Login Succeeded [2021-10-07T02:49:23.955Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T02:49:23.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T02:49:24.054Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2021-10-07T02:49:24.054Z] c2b56409ff7876491f1b0abf22052cd5d8a556b9 [2021-10-07T02:49:24.054Z] latest [2021-10-07T02:49:24.054Z] 2.0.1-dev.9 [2021-10-07T02:49:24.054Z] c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [2021-10-07T02:49:24.054Z] main [2021-10-07T02:49:24.054Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:24.463Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:24.836Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9 [2021-10-07T02:49:24.836Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-07T02:49:24.836Z] f2ef5162adac: Preparing [2021-10-07T02:49:24.836Z] e8ccc8d589e2: Preparing [2021-10-07T02:49:24.836Z] 312c1601717d: Preparing [2021-10-07T02:49:24.836Z] f7cbbd181937: Preparing [2021-10-07T02:49:24.836Z] ee420dfed78a: Preparing [2021-10-07T02:49:25.122Z] ee420dfed78a: Layer already exists [2021-10-07T02:49:25.122Z] f2ef5162adac: Pushed [2021-10-07T02:49:25.122Z] e8ccc8d589e2: Pushed [2021-10-07T02:49:25.735Z] f7cbbd181937: Pushed [2021-10-07T02:49:28.413Z] 312c1601717d: Pushed [2021-10-07T02:49:28.413Z] c2b56409ff7876491f1b0abf22052cd5d8a556b9: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:28.826Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:29.236Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-10-07T02:49:29.236Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-07T02:49:29.237Z] f2ef5162adac: Preparing [2021-10-07T02:49:29.237Z] e8ccc8d589e2: Preparing [2021-10-07T02:49:29.237Z] 312c1601717d: Preparing [2021-10-07T02:49:29.237Z] f7cbbd181937: Preparing [2021-10-07T02:49:29.237Z] ee420dfed78a: Preparing [2021-10-07T02:49:29.521Z] f7cbbd181937: Layer already exists [2021-10-07T02:49:29.521Z] f2ef5162adac: Layer already exists [2021-10-07T02:49:29.521Z] e8ccc8d589e2: Layer already exists [2021-10-07T02:49:29.521Z] 312c1601717d: Layer already exists [2021-10-07T02:49:29.521Z] ee420dfed78a: Layer already exists [2021-10-07T02:49:29.521Z] latest: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:29.906Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:30.286Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 [2021-10-07T02:49:30.286Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-07T02:49:30.286Z] f2ef5162adac: Preparing [2021-10-07T02:49:30.286Z] e8ccc8d589e2: Preparing [2021-10-07T02:49:30.286Z] 312c1601717d: Preparing [2021-10-07T02:49:30.286Z] f7cbbd181937: Preparing [2021-10-07T02:49:30.286Z] ee420dfed78a: Preparing [2021-10-07T02:49:30.568Z] f7cbbd181937: Layer already exists [2021-10-07T02:49:30.568Z] 312c1601717d: Layer already exists [2021-10-07T02:49:30.568Z] ee420dfed78a: Layer already exists [2021-10-07T02:49:30.568Z] f2ef5162adac: Layer already exists [2021-10-07T02:49:30.568Z] e8ccc8d589e2: Layer already exists [2021-10-07T02:49:30.568Z] 2.0.1-dev.9: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:30.962Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:31.349Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [2021-10-07T02:49:31.349Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-07T02:49:31.349Z] f2ef5162adac: Preparing [2021-10-07T02:49:31.349Z] e8ccc8d589e2: Preparing [2021-10-07T02:49:31.349Z] 312c1601717d: Preparing [2021-10-07T02:49:31.349Z] f7cbbd181937: Preparing [2021-10-07T02:49:31.349Z] ee420dfed78a: Preparing [2021-10-07T02:49:31.637Z] e8ccc8d589e2: Layer already exists [2021-10-07T02:49:31.637Z] f7cbbd181937: Layer already exists [2021-10-07T02:49:31.637Z] 312c1601717d: Layer already exists [2021-10-07T02:49:31.637Z] ee420dfed78a: Layer already exists [2021-10-07T02:49:31.637Z] f2ef5162adac: Layer already exists [2021-10-07T02:49:31.637Z] c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:32.090Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:32.485Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2021-10-07T02:49:32.485Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2021-10-07T02:49:32.485Z] f2ef5162adac: Preparing [2021-10-07T02:49:32.485Z] e8ccc8d589e2: Preparing [2021-10-07T02:49:32.485Z] 312c1601717d: Preparing [2021-10-07T02:49:32.485Z] f7cbbd181937: Preparing [2021-10-07T02:49:32.485Z] ee420dfed78a: Preparing [2021-10-07T02:49:32.779Z] ee420dfed78a: Layer already exists [2021-10-07T02:49:32.779Z] e8ccc8d589e2: Layer already exists [2021-10-07T02:49:32.779Z] 312c1601717d: Layer already exists [2021-10-07T02:49:32.779Z] f2ef5162adac: Layer already exists [2021-10-07T02:49:32.779Z] f7cbbd181937: Layer already exists [2021-10-07T02:49:32.779Z] main: digest: sha256:464a08322797fc46f40cf5eabce482cc70d63ec8b8f6c2aa982eb9dbc8944f4a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T02:49:32.861Z] ===================================================== [Pipeline] echo [2021-10-07T02:49:32.877Z] taggedImages: [2021-10-07T02:49:32.877Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9 [2021-10-07T02:49:32.877Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2021-10-07T02:49:32.877Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.0.1-dev.9 [2021-10-07T02:49:32.877Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [2021-10-07T02:49:32.877Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:33.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T02:49:33.385Z] [2021-10-07T02:49:33.385Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:49:33.769Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T02:49:34.053Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-07T02:49:34.053Z] 448f6bf000e3: Pulling fs layer [2021-10-07T02:49:34.053Z] f757da607395: Pulling fs layer [2021-10-07T02:49:34.053Z] 05883995daec: Pulling fs layer [2021-10-07T02:49:34.053Z] 8603b9c90790: Pulling fs layer [2021-10-07T02:49:34.053Z] 1560dd03e051: Pulling fs layer [2021-10-07T02:49:34.053Z] 27f5ce0e4adf: Pulling fs layer [2021-10-07T02:49:34.053Z] c2d8d7efcc4b: Pulling fs layer [2021-10-07T02:49:34.053Z] 1560dd03e051: Waiting [2021-10-07T02:49:34.053Z] 27f5ce0e4adf: Waiting [2021-10-07T02:49:34.053Z] c2d8d7efcc4b: Waiting [2021-10-07T02:49:34.053Z] 8603b9c90790: Waiting [2021-10-07T02:49:34.336Z] f757da607395: Verifying Checksum [2021-10-07T02:49:34.336Z] f757da607395: Download complete [2021-10-07T02:49:34.336Z] 8603b9c90790: Download complete [2021-10-07T02:49:34.624Z] 1560dd03e051: Verifying Checksum [2021-10-07T02:49:34.624Z] 1560dd03e051: Download complete [2021-10-07T02:49:34.624Z] 05883995daec: Verifying Checksum [2021-10-07T02:49:34.624Z] 05883995daec: Download complete [2021-10-07T02:49:34.624Z] 27f5ce0e4adf: Verifying Checksum [2021-10-07T02:49:34.624Z] 27f5ce0e4adf: Download complete [2021-10-07T02:49:34.911Z] 448f6bf000e3: Verifying Checksum [2021-10-07T02:49:34.911Z] 448f6bf000e3: Download complete [2021-10-07T02:49:37.593Z] c2d8d7efcc4b: Verifying Checksum [2021-10-07T02:49:37.593Z] c2d8d7efcc4b: Download complete [2021-10-07T02:49:38.239Z] 448f6bf000e3: Pull complete [2021-10-07T02:49:38.862Z] f757da607395: Pull complete [2021-10-07T02:49:40.364Z] 05883995daec: Pull complete [2021-10-07T02:49:40.982Z] 8603b9c90790: Pull complete [2021-10-07T02:49:41.595Z] 1560dd03e051: Pull complete [2021-10-07T02:49:42.225Z] 27f5ce0e4adf: Pull complete [2021-10-07T02:49:57.440Z] c2d8d7efcc4b: Pull complete [2021-10-07T02:49:57.440Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-07T02:49:57.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-07T02:49:57.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-07T02:49:57.728Z] prd-ubuntu18.04-docker-arm64-4c-16g-2265 does not seem to be running inside a container [2021-10-07T02:49:57.902Z] $ 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/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-07T02:50:03.128Z] $ docker top 301a9ddaad56c6ebef6c66e4610ed92d9bab01c8adcb5d96eb768bfb9eecba2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:50:04.145Z] ---> job-cost.sh [2021-10-07T02:50:04.145Z] lf-activate-venv: SKIPPING [2021-10-07T02:50:04.145Z] INFO: No Stack... [2021-10-07T02:50:04.770Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-07T02:50:05.052Z] INFO: Archiving Costs [Pipeline] sh [2021-10-07T02:50:05.785Z] + cat /w/workspace/device-rest-go/10/archives/cost.csv [2021-10-07T02:50:05.785Z] + cut -d, -f6 [Pipeline] lock [2021-10-07T02:50:05.860Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [2021-10-07T02:50:05.899Z] Resource [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] did not exist. Created. [2021-10-07T02:50:05.899Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T02:50:06.616Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-07T02:50:06.702Z] Stashed 1 file(s) [Pipeline] } [2021-10-07T02:50:06.720Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-07T02:50:06.805Z] $ docker stop --time=1 301a9ddaad56c6ebef6c66e4610ed92d9bab01c8adcb5d96eb768bfb9eecba2b [2021-10-07T02:50:08.477Z] $ docker rm -f 301a9ddaad56c6ebef6c66e4610ed92d9bab01c8adcb5d96eb768bfb9eecba2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-07T02:51:54.447Z] Running on prd-centos7-docker-4c-2g-2273 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2021-10-07T02:51:54.469Z] Running in /w/workspace/device-rest-go/10 [Pipeline] { [Pipeline] checkout [2021-10-07T02:51:54.588Z] The recommended git tool is: git [2021-10-07T02:51:57.256Z] using credential edgex-jenkins-ssh [2021-10-07T02:51:57.280Z] Cloning the remote Git repository [2021-10-07T02:51:57.144Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-07T02:51:57.212Z] > git init /w/workspace/device-rest-go/10 # timeout=10 [2021-10-07T02:51:57.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-07T02:51:57.241Z] > git --version # timeout=10 [2021-10-07T02:51:57.246Z] > git --version # 'git version 2.24.4' [2021-10-07T02:51:57.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-07T02:51:57.267Z] [INFO] Currently running in a labeled security context [2021-10-07T02:51:57.268Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-07T02:51:57.268Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/10@tmp/jenkins-gitclient-ssh8505612178819618240.key [2021-10-07T02:51:57.276Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T02:51:58.254Z] Avoid second fetch [2021-10-07T02:51:58.255Z] Checking out Revision c2b56409ff7876491f1b0abf22052cd5d8a556b9 (main) [2021-10-07T02:51:58.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-07T02:51:58.087Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-07T02:51:58.111Z] > git config core.sparsecheckout # timeout=10 [2021-10-07T02:51:58.121Z] > git checkout -f c2b56409ff7876491f1b0abf22052cd5d8a556b9 # timeout=10 [2021-10-07T02:52:01.942Z] Commit message: "Merge pull request #138 from ernestojeda/changes-for-lts-builds" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:52:02.386Z] provisioning config files... [2021-10-07T02:52:02.405Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config7791300493205312221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:52:02.843Z] ---> docker-login.sh [2021-10-07T02:52:02.843Z] nexus3.edgexfoundry.org:10001 [2021-10-07T02:52:02.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:52:02.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:52:02.843Z] Configure a credential helper to remove this warning. See [2021-10-07T02:52:02.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:52:02.843Z] [2021-10-07T02:52:02.843Z] Login Succeeded [2021-10-07T02:52:02.843Z] nexus3.edgexfoundry.org:10002 [2021-10-07T02:52:03.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:52:03.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:52:03.114Z] Configure a credential helper to remove this warning. See [2021-10-07T02:52:03.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:52:03.114Z] [2021-10-07T02:52:03.114Z] Login Succeeded [2021-10-07T02:52:03.114Z] nexus3.edgexfoundry.org:10003 [2021-10-07T02:52:03.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:52:03.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:52:03.381Z] Configure a credential helper to remove this warning. See [2021-10-07T02:52:03.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:52:03.381Z] [2021-10-07T02:52:03.381Z] Login Succeeded [2021-10-07T02:52:03.381Z] nexus3.edgexfoundry.org:10004 [2021-10-07T02:52:03.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:52:03.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:52:03.381Z] Configure a credential helper to remove this warning. See [2021-10-07T02:52:03.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:52:03.381Z] [2021-10-07T02:52:03.381Z] Login Succeeded [2021-10-07T02:52:03.381Z] docker.io [2021-10-07T02:52:03.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:52:03.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:52:03.962Z] Configure a credential helper to remove this warning. See [2021-10-07T02:52:03.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:52:03.962Z] [2021-10-07T02:52:03.962Z] Login Succeeded [2021-10-07T02:52:03.962Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T02:52:04.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-07T02:52:04.212Z] ========================================================= [2021-10-07T02:52:04.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-07T02:52:04.212Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:52:04.564Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-07T02:52:04.565Z] Sending build context to Docker daemon 118.8kB [2021-10-07T02:52:04.565Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T02:52:04.565Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-07T02:52:04.565Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-07T02:52:04.565Z] 4e9f2cdf4387: Pulling fs layer [2021-10-07T02:52:04.565Z] 57d31006c564: Pulling fs layer [2021-10-07T02:52:04.565Z] bd5ccded8296: Pulling fs layer [2021-10-07T02:52:04.565Z] 304dd3a0f381: Pulling fs layer [2021-10-07T02:52:04.565Z] d37cda54a23b: Pulling fs layer [2021-10-07T02:52:04.565Z] bae75c0f2455: Pulling fs layer [2021-10-07T02:52:04.565Z] 806579b3d29a: Pulling fs layer [2021-10-07T02:52:04.565Z] c77eb801bf70: Pulling fs layer [2021-10-07T02:52:04.565Z] 6d0567d44e1a: Pulling fs layer [2021-10-07T02:52:04.565Z] 304dd3a0f381: Waiting [2021-10-07T02:52:04.565Z] d37cda54a23b: Waiting [2021-10-07T02:52:04.565Z] bae75c0f2455: Waiting [2021-10-07T02:52:04.565Z] 806579b3d29a: Waiting [2021-10-07T02:52:04.565Z] c77eb801bf70: Waiting [2021-10-07T02:52:04.565Z] 6d0567d44e1a: Waiting [2021-10-07T02:52:04.565Z] bd5ccded8296: Verifying Checksum [2021-10-07T02:52:04.565Z] bd5ccded8296: Download complete [2021-10-07T02:52:04.835Z] 57d31006c564: Verifying Checksum [2021-10-07T02:52:04.835Z] 57d31006c564: Download complete [2021-10-07T02:52:04.835Z] d37cda54a23b: Verifying Checksum [2021-10-07T02:52:04.835Z] d37cda54a23b: Download complete [2021-10-07T02:52:04.835Z] bae75c0f2455: Verifying Checksum [2021-10-07T02:52:04.835Z] bae75c0f2455: Download complete [2021-10-07T02:52:04.835Z] 806579b3d29a: Verifying Checksum [2021-10-07T02:52:04.835Z] 806579b3d29a: Download complete [2021-10-07T02:52:04.835Z] 4e9f2cdf4387: Download complete [2021-10-07T02:52:05.105Z] 4e9f2cdf4387: Pull complete [2021-10-07T02:52:05.105Z] 57d31006c564: Pull complete [2021-10-07T02:52:05.378Z] bd5ccded8296: Pull complete [2021-10-07T02:52:05.378Z] c77eb801bf70: Verifying Checksum [2021-10-07T02:52:05.378Z] c77eb801bf70: Download complete [2021-10-07T02:52:05.649Z] 304dd3a0f381: Verifying Checksum [2021-10-07T02:52:05.649Z] 304dd3a0f381: Download complete [2021-10-07T02:52:07.094Z] 6d0567d44e1a: Verifying Checksum [2021-10-07T02:52:07.094Z] 6d0567d44e1a: Download complete [2021-10-07T02:52:09.718Z] 304dd3a0f381: Pull complete [2021-10-07T02:52:09.718Z] d37cda54a23b: Pull complete [2021-10-07T02:52:09.718Z] bae75c0f2455: Pull complete [2021-10-07T02:52:09.994Z] 806579b3d29a: Pull complete [2021-10-07T02:52:09.994Z] c77eb801bf70: Pull complete [2021-10-07T02:52:12.174Z] 6d0567d44e1a: Pull complete [2021-10-07T02:52:12.175Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-07T02:52:12.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-07T02:52:12.175Z] ---> e839a31ac9d1 [2021-10-07T02:52:12.175Z] Step 3/11 : ARG MAKE='make build' [2021-10-07T02:52:14.129Z] ---> Running in c1ca00b1e1e3 [2021-10-07T02:52:14.129Z] Removing intermediate container c1ca00b1e1e3 [2021-10-07T02:52:14.129Z] ---> 728f3d6507c8 [2021-10-07T02:52:14.129Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-07T02:52:14.129Z] ---> Running in 0ea824b20ac5 [2021-10-07T02:52:14.129Z] Removing intermediate container 0ea824b20ac5 [2021-10-07T02:52:14.129Z] ---> 1a2155d4d1a9 [2021-10-07T02:52:14.129Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-07T02:52:14.129Z] ---> Running in d9fe29df1b92 [2021-10-07T02:52:14.129Z] Removing intermediate container d9fe29df1b92 [2021-10-07T02:52:14.129Z] ---> 432ee8b932d3 [2021-10-07T02:52:14.129Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T02:52:14.129Z] ---> Running in e1c076cfd08c [2021-10-07T02:52:14.714Z] Removing intermediate container e1c076cfd08c [2021-10-07T02:52:14.714Z] ---> 5b72ce7e7263 [2021-10-07T02:52:14.714Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-07T02:52:14.714Z] ---> Running in 2b1a5e32479d [2021-10-07T02:52:14.981Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-07T02:52:15.940Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-07T02:52:16.205Z] (1/3) Installing openssh-keygen (8.4_p1-r4) [2021-10-07T02:52:16.205Z] (2/3) Installing libedit (20191231.3.1-r1) [2021-10-07T02:52:16.205Z] (3/3) Installing openssh-client (8.4_p1-r4) [2021-10-07T02:52:16.474Z] Executing busybox-1.32.1-r6.trigger [2021-10-07T02:52:16.474Z] OK: 223 MiB in 55 packages [2021-10-07T02:52:16.743Z] Removing intermediate container 2b1a5e32479d [2021-10-07T02:52:16.743Z] ---> 64497c879304 [2021-10-07T02:52:16.743Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-07T02:52:16.743Z] ---> Running in 67e84ce13faa [2021-10-07T02:52:16.743Z] Removing intermediate container 67e84ce13faa [2021-10-07T02:52:16.743Z] ---> 037ed80dddb1 [2021-10-07T02:52:16.743Z] Step 9/11 : COPY . . [2021-10-07T02:52:17.011Z] ---> 9f7710446f19 [2021-10-07T02:52:17.011Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T02:52:17.011Z] ---> Running in 159dd2a2a26b [2021-10-07T02:52:27.116Z] Removing intermediate container 159dd2a2a26b [2021-10-07T02:52:27.116Z] ---> a96ef7882ebd [2021-10-07T02:52:27.116Z] Step 11/11 : RUN $MAKE [2021-10-07T02:52:27.116Z] ---> Running in 5c43e09436ad [2021-10-07T02:52:27.116Z] noop [2021-10-07T02:52:27.116Z] Removing intermediate container 5c43e09436ad [2021-10-07T02:52:27.116Z] ---> 8b4eb7e14fe0 [2021-10-07T02:52:27.116Z] Successfully built 8b4eb7e14fe0 [2021-10-07T02:52:27.116Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:52:27.448Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-07T02:52:27.448Z] . [Pipeline] withDockerContainer [2021-10-07T02:52:27.531Z] prd-centos7-docker-4c-2g-2273 does not seem to be running inside a container [2021-10-07T02:52:27.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** ci-base-image-x86_64 cat [2021-10-07T02:52:27.991Z] $ docker top 775b4cfb2e09f12a28d6949c87bbc9b6816a38dfa1551d5c0c24ec1de9d2d8cc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T02:52:28.393Z] + go version [2021-10-07T02:52:28.393Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-07T02:52:28.407Z] $ docker stop --time=1 775b4cfb2e09f12a28d6949c87bbc9b6816a38dfa1551d5c0c24ec1de9d2d8cc [2021-10-07T02:52:29.593Z] $ docker rm -f 775b4cfb2e09f12a28d6949c87bbc9b6816a38dfa1551d5c0c24ec1de9d2d8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:52:30.203Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-07T02:52:30.203Z] . [Pipeline] withDockerContainer [2021-10-07T02:52:30.287Z] prd-centos7-docker-4c-2g-2273 does not seem to be running inside a container [2021-10-07T02:52:30.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** ci-base-image-x86_64 cat [2021-10-07T02:52:30.687Z] $ docker top f11f58f8afb9c3512274214a22aa803404d90ef571707e80a9862d9de00b4513 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-07T02:52:31.094Z] + make test [2021-10-07T02:52:31.094Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-07T02:52:31.363Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-07T02:52:46.464Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-07T02:52:47.052Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-10-07T02:52:47.321Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-07T02:52:53.980Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-07T02:52:53.980Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-07T02:52:53.980Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-07T02:52:54.577Z] $ docker stop --time=1 f11f58f8afb9c3512274214a22aa803404d90ef571707e80a9862d9de00b4513 [2021-10-07T02:52:56.179Z] $ docker rm -f f11f58f8afb9c3512274214a22aa803404d90ef571707e80a9862d9de00b4513 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-07T02:52:56.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-07T02:52:56.641Z] Warning: overwriting stash ‘coverage-report’ [2021-10-07T02:52:56.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-07T02:52:57.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-07T02:52:57.729Z] + ls -al . [2021-10-07T02:52:57.730Z] total 116 [2021-10-07T02:52:57.730Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 7 02:52 . [2021-10-07T02:52:57.730Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 7 02:51 .. [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 6792 Oct 7 02:51 Attribution.txt [2021-10-07T02:52:57.730Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 7 02:51 bin [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 7 02:51 CHANGELOG.md [2021-10-07T02:52:57.730Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 7 02:51 cmd [2021-10-07T02:52:57.730Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 7 02:52 coverage.out [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 1649 Oct 7 02:51 Dockerfile [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 7 02:51 .dockerignore [2021-10-07T02:52:57.730Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 7 02:51 driver [2021-10-07T02:52:57.730Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 7 02:52 .git [2021-10-07T02:52:57.730Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 7 02:51 .github [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 329 Oct 7 02:51 .gitignore [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 271 Oct 7 02:51 go.mod [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 20570 Oct 7 02:51 go.sum [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 7 02:51 GOVERNANCE.md [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 7 02:51 Jenkinsfile [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 7 02:51 LICENSE [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 1078 Oct 7 02:51 Makefile [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 7 02:51 OWNERS.md [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 7 02:51 README.md [2021-10-07T02:52:57.730Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 7 02:51 snap [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 11 Oct 7 02:41 VERSION [2021-10-07T02:52:57.730Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 7 02:51 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:52:58.070Z] + 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=c2b56409ff7876491f1b0abf22052cd5d8a556b9 --label arch=amd64 --label version=2.0.1-dev.9 . [2021-10-07T02:52:58.070Z] Sending build context to Docker daemon 128kB [2021-10-07T02:52:58.070Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-07T02:52:58.070Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-07T02:52:58.070Z] ---> 8b4eb7e14fe0 [2021-10-07T02:52:58.070Z] Step 3/24 : ARG MAKE='make build' [2021-10-07T02:52:58.070Z] ---> Running in d1b6acd491d1 [2021-10-07T02:52:58.070Z] Removing intermediate container d1b6acd491d1 [2021-10-07T02:52:58.070Z] ---> 636762344748 [2021-10-07T02:52:58.070Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-07T02:52:58.070Z] ---> Running in c851cd594f7e [2021-10-07T02:52:58.340Z] Removing intermediate container c851cd594f7e [2021-10-07T02:52:58.340Z] ---> 8d4b591721de [2021-10-07T02:52:58.340Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-07T02:52:58.340Z] ---> Running in 4abd21c1d734 [2021-10-07T02:52:58.340Z] Removing intermediate container 4abd21c1d734 [2021-10-07T02:52:58.340Z] ---> d1ba83eda98f [2021-10-07T02:52:58.340Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-07T02:52:58.340Z] ---> Running in c9c77d29cac6 [2021-10-07T02:52:58.920Z] Removing intermediate container c9c77d29cac6 [2021-10-07T02:52:58.920Z] ---> da4bac8624bd [2021-10-07T02:52:58.920Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-07T02:52:58.920Z] ---> Running in 759d23d8fcf1 [2021-10-07T02:52:58.920Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-07T02:52:59.882Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-07T02:53:00.153Z] OK: 223 MiB in 55 packages [2021-10-07T02:53:00.425Z] Removing intermediate container 759d23d8fcf1 [2021-10-07T02:53:00.425Z] ---> cbd7e7b9ddfb [2021-10-07T02:53:00.425Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-07T02:53:00.425Z] ---> Running in dceba4e96f23 [2021-10-07T02:53:00.425Z] Removing intermediate container dceba4e96f23 [2021-10-07T02:53:00.425Z] ---> bb8e2ed356d3 [2021-10-07T02:53:00.425Z] Step 9/24 : COPY . . [2021-10-07T02:53:00.897Z] ---> a63301dda7c4 [2021-10-07T02:53:00.897Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-07T02:53:00.897Z] ---> Running in 395ac0eae55c [2021-10-07T02:53:01.166Z] Removing intermediate container 395ac0eae55c [2021-10-07T02:53:01.166Z] ---> 5280af4d45eb [2021-10-07T02:53:01.166Z] Step 11/24 : RUN $MAKE [2021-10-07T02:53:01.166Z] ---> Running in 8ddf9d07c513 [2021-10-07T02:53:01.434Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd [2021-10-07T02:53:14.017Z] Removing intermediate container 8ddf9d07c513 [2021-10-07T02:53:14.017Z] ---> c803ddcd28af [2021-10-07T02:53:14.017Z] Step 12/24 : FROM alpine:3.14 [2021-10-07T02:53:14.017Z] 3.14: Pulling from library/alpine [2021-10-07T02:53:14.017Z] a0d0a0d46f8b: Pulling fs layer [2021-10-07T02:53:14.017Z] a0d0a0d46f8b: Verifying Checksum [2021-10-07T02:53:14.017Z] a0d0a0d46f8b: Download complete [2021-10-07T02:53:14.017Z] a0d0a0d46f8b: Pull complete [2021-10-07T02:53:14.017Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-07T02:53:14.017Z] Status: Downloaded newer image for alpine:3.14 [2021-10-07T02:53:14.017Z] ---> 14119a10abf4 [2021-10-07T02:53:14.017Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-07T02:53:14.017Z] ---> Running in 889ce83c20d1 [2021-10-07T02:53:14.017Z] Removing intermediate container 889ce83c20d1 [2021-10-07T02:53:14.017Z] ---> cf529b06028e [2021-10-07T02:53:14.017Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-07T02:53:14.017Z] ---> Running in 9859c768a1c9 [2021-10-07T02:53:14.017Z] Removing intermediate container 9859c768a1c9 [2021-10-07T02:53:14.017Z] ---> 5b71b1c2d2e6 [2021-10-07T02:53:14.017Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-07T02:53:14.018Z] ---> Running in 36562fe0a6b3 [2021-10-07T02:53:14.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-07T02:53:14.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-07T02:53:14.286Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-07T02:53:14.286Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-07T02:53:14.286Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-07T02:53:14.286Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-07T02:53:14.286Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-07T02:53:14.286Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-07T02:53:14.286Z] Executing busybox-1.33.1-r3.trigger [2021-10-07T02:53:14.286Z] OK: 8 MiB in 20 packages [2021-10-07T02:53:14.556Z] Removing intermediate container 36562fe0a6b3 [2021-10-07T02:53:14.556Z] ---> f0242ca3c408 [2021-10-07T02:53:14.556Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-07T02:53:14.823Z] ---> e50ed536cddb [2021-10-07T02:53:14.823Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-07T02:53:15.089Z] ---> c20c8d160c27 [2021-10-07T02:53:15.089Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-07T02:53:15.089Z] ---> 1166d31e2c11 [2021-10-07T02:53:15.089Z] Step 19/24 : EXPOSE 59986 [2021-10-07T02:53:15.089Z] ---> Running in aa6f3fb952c7 [2021-10-07T02:53:15.368Z] Removing intermediate container aa6f3fb952c7 [2021-10-07T02:53:15.368Z] ---> cedbe706a246 [2021-10-07T02:53:15.368Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-07T02:53:15.368Z] ---> Running in ae17af437a67 [2021-10-07T02:53:15.368Z] Removing intermediate container ae17af437a67 [2021-10-07T02:53:15.368Z] ---> 86ddd7db1128 [2021-10-07T02:53:15.368Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-07T02:53:15.368Z] ---> Running in 32a2a0af3754 [2021-10-07T02:53:15.368Z] Removing intermediate container 32a2a0af3754 [2021-10-07T02:53:15.368Z] ---> ee64b22ab4d0 [2021-10-07T02:53:15.368Z] Step 22/24 : LABEL arch=amd64 [2021-10-07T02:53:15.368Z] ---> Running in d114cc32b77c [2021-10-07T02:53:15.639Z] Removing intermediate container d114cc32b77c [2021-10-07T02:53:15.640Z] ---> 9e15620c1369 [2021-10-07T02:53:15.640Z] Step 23/24 : LABEL git_sha=c2b56409ff7876491f1b0abf22052cd5d8a556b9 [2021-10-07T02:53:15.640Z] ---> Running in 028f0250cc64 [2021-10-07T02:53:15.640Z] Removing intermediate container 028f0250cc64 [2021-10-07T02:53:15.640Z] ---> c199674542cd [2021-10-07T02:53:15.640Z] Step 24/24 : LABEL version=2.0.1-dev.9 [2021-10-07T02:53:15.640Z] ---> Running in 224c947cfcbe [2021-10-07T02:53:15.640Z] Removing intermediate container 224c947cfcbe [2021-10-07T02:53:15.640Z] ---> a72840f90b0e [2021-10-07T02:53:15.640Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-07T02:53:15.640Z] Successfully built a72840f90b0e [2021-10-07T02:53:15.640Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:53:15.854Z] provisioning config files... [2021-10-07T02:53:15.870Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config846389084045527183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:53:16.670Z] ---> docker-login.sh [2021-10-07T02:53:16.670Z] nexus3.edgexfoundry.org:10001 [2021-10-07T02:53:16.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:53:16.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:53:16.670Z] Configure a credential helper to remove this warning. See [2021-10-07T02:53:16.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:53:16.670Z] [2021-10-07T02:53:16.670Z] Login Succeeded [2021-10-07T02:53:16.670Z] nexus3.edgexfoundry.org:10002 [2021-10-07T02:53:16.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:53:16.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:53:16.670Z] Configure a credential helper to remove this warning. See [2021-10-07T02:53:16.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:53:16.670Z] [2021-10-07T02:53:16.670Z] Login Succeeded [2021-10-07T02:53:16.670Z] nexus3.edgexfoundry.org:10003 [2021-10-07T02:53:16.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:53:16.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:53:16.991Z] Configure a credential helper to remove this warning. See [2021-10-07T02:53:16.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:53:16.991Z] [2021-10-07T02:53:16.991Z] Login Succeeded [2021-10-07T02:53:16.991Z] nexus3.edgexfoundry.org:10004 [2021-10-07T02:53:16.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:53:16.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:53:16.991Z] Configure a credential helper to remove this warning. See [2021-10-07T02:53:16.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:53:16.991Z] [2021-10-07T02:53:16.991Z] Login Succeeded [2021-10-07T02:53:16.991Z] docker.io [2021-10-07T02:53:16.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-07T02:53:17.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-07T02:53:17.257Z] Configure a credential helper to remove this warning. See [2021-10-07T02:53:17.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-07T02:53:17.257Z] [2021-10-07T02:53:17.257Z] Login Succeeded [2021-10-07T02:53:17.257Z] ---> docker-login.sh ends [Pipeline] } [2021-10-07T02:53:17.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T02:53:17.340Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2021-10-07T02:53:17.340Z] c2b56409ff7876491f1b0abf22052cd5d8a556b9 [2021-10-07T02:53:17.340Z] latest [2021-10-07T02:53:17.340Z] 2.0.1-dev.9 [2021-10-07T02:53:17.340Z] c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [2021-10-07T02:53:17.340Z] main [2021-10-07T02:53:17.340Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:17.703Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:18.019Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9 [2021-10-07T02:53:18.019Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-07T02:53:18.019Z] ab5541ebe066: Preparing [2021-10-07T02:53:18.019Z] 267d7fd6516c: Preparing [2021-10-07T02:53:18.019Z] f02718c49ff8: Preparing [2021-10-07T02:53:18.019Z] 250f0218d131: Preparing [2021-10-07T02:53:18.019Z] e2eb06d8af82: Preparing [2021-10-07T02:53:18.019Z] e2eb06d8af82: Layer already exists [2021-10-07T02:53:18.287Z] 267d7fd6516c: Pushed [2021-10-07T02:53:18.287Z] ab5541ebe066: Pushed [2021-10-07T02:53:18.287Z] 250f0218d131: Pushed [2021-10-07T02:53:19.245Z] f02718c49ff8: Pushed [2021-10-07T02:53:19.511Z] c2b56409ff7876491f1b0abf22052cd5d8a556b9: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:19.831Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:20.148Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-07T02:53:20.148Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-07T02:53:20.148Z] ab5541ebe066: Preparing [2021-10-07T02:53:20.148Z] 267d7fd6516c: Preparing [2021-10-07T02:53:20.148Z] f02718c49ff8: Preparing [2021-10-07T02:53:20.148Z] 250f0218d131: Preparing [2021-10-07T02:53:20.148Z] e2eb06d8af82: Preparing [2021-10-07T02:53:20.148Z] 250f0218d131: Layer already exists [2021-10-07T02:53:20.148Z] e2eb06d8af82: Layer already exists [2021-10-07T02:53:20.148Z] ab5541ebe066: Layer already exists [2021-10-07T02:53:20.148Z] 267d7fd6516c: Layer already exists [2021-10-07T02:53:20.148Z] f02718c49ff8: Layer already exists [2021-10-07T02:53:20.148Z] latest: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:20.468Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:20.780Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [2021-10-07T02:53:20.780Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-07T02:53:20.780Z] ab5541ebe066: Preparing [2021-10-07T02:53:20.780Z] 267d7fd6516c: Preparing [2021-10-07T02:53:20.780Z] f02718c49ff8: Preparing [2021-10-07T02:53:20.780Z] 250f0218d131: Preparing [2021-10-07T02:53:20.780Z] e2eb06d8af82: Preparing [2021-10-07T02:53:20.780Z] e2eb06d8af82: Layer already exists [2021-10-07T02:53:20.780Z] ab5541ebe066: Layer already exists [2021-10-07T02:53:20.780Z] f02718c49ff8: Layer already exists [2021-10-07T02:53:20.780Z] 267d7fd6516c: Layer already exists [2021-10-07T02:53:20.780Z] 250f0218d131: Layer already exists [2021-10-07T02:53:20.780Z] 2.0.1-dev.9: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:21.104Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:21.425Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [2021-10-07T02:53:21.425Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-07T02:53:21.425Z] ab5541ebe066: Preparing [2021-10-07T02:53:21.425Z] 267d7fd6516c: Preparing [2021-10-07T02:53:21.425Z] f02718c49ff8: Preparing [2021-10-07T02:53:21.425Z] 250f0218d131: Preparing [2021-10-07T02:53:21.425Z] e2eb06d8af82: Preparing [2021-10-07T02:53:21.425Z] 250f0218d131: Layer already exists [2021-10-07T02:53:21.425Z] e2eb06d8af82: Layer already exists [2021-10-07T02:53:21.425Z] 267d7fd6516c: Layer already exists [2021-10-07T02:53:21.425Z] ab5541ebe066: Layer already exists [2021-10-07T02:53:21.425Z] f02718c49ff8: Layer already exists [2021-10-07T02:53:21.425Z] c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:21.753Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:22.091Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2021-10-07T02:53:22.091Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2021-10-07T02:53:22.091Z] ab5541ebe066: Preparing [2021-10-07T02:53:22.091Z] 267d7fd6516c: Preparing [2021-10-07T02:53:22.091Z] f02718c49ff8: Preparing [2021-10-07T02:53:22.091Z] 250f0218d131: Preparing [2021-10-07T02:53:22.091Z] e2eb06d8af82: Preparing [2021-10-07T02:53:22.091Z] f02718c49ff8: Layer already exists [2021-10-07T02:53:22.091Z] e2eb06d8af82: Layer already exists [2021-10-07T02:53:22.091Z] 250f0218d131: Layer already exists [2021-10-07T02:53:22.091Z] ab5541ebe066: Layer already exists [2021-10-07T02:53:22.091Z] 267d7fd6516c: Layer already exists [2021-10-07T02:53:22.091Z] main: digest: sha256:d9138737cdc1034066194c1986f6f5db66619f46a047327f080b566bbe3a2090 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-07T02:53:22.154Z] ===================================================== [Pipeline] echo [2021-10-07T02:53:22.170Z] taggedImages: [2021-10-07T02:53:22.170Z] - nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9 [2021-10-07T02:53:22.170Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2021-10-07T02:53:22.170Z] - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [2021-10-07T02:53:22.170Z] - nexus3.edgexfoundry.org:10004/device-rest:c2b56409ff7876491f1b0abf22052cd5d8a556b9-2.0.1-dev.9 [2021-10-07T02:53:22.170Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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-10-07T02:53:22.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:53:22.774Z] [2021-10-07T02:53:22.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:53:23.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:53:28.458Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T02:53:28.458Z] b4d181a07f80: Pulling fs layer [2021-10-07T02:53:28.458Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T02:53:28.458Z] ed53099fbce6: Pulling fs layer [2021-10-07T02:53:28.458Z] dc539afda2c1: Pulling fs layer [2021-10-07T02:53:28.458Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T02:53:28.458Z] 9065ff56babe: Pulling fs layer [2021-10-07T02:53:28.458Z] d287ab97295c: Pulling fs layer [2021-10-07T02:53:28.458Z] dc539afda2c1: Waiting [2021-10-07T02:53:28.458Z] 77bc0d833cb6: Waiting [2021-10-07T02:53:28.458Z] 9065ff56babe: Waiting [2021-10-07T02:53:28.458Z] d287ab97295c: Waiting [2021-10-07T02:53:28.458Z] a1111a8f2ec3: Verifying Checksum [2021-10-07T02:53:28.458Z] a1111a8f2ec3: Download complete [2021-10-07T02:53:28.458Z] dc539afda2c1: Verifying Checksum [2021-10-07T02:53:28.458Z] dc539afda2c1: Download complete [2021-10-07T02:53:28.458Z] ed53099fbce6: Verifying Checksum [2021-10-07T02:53:28.458Z] ed53099fbce6: Download complete [2021-10-07T02:53:28.458Z] 9065ff56babe: Verifying Checksum [2021-10-07T02:53:28.458Z] 9065ff56babe: Download complete [2021-10-07T02:53:28.458Z] b4d181a07f80: Download complete [2021-10-07T02:53:28.458Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T02:53:28.458Z] 77bc0d833cb6: Download complete [2021-10-07T02:53:29.428Z] d287ab97295c: Verifying Checksum [2021-10-07T02:53:29.429Z] d287ab97295c: Download complete [2021-10-07T02:53:30.018Z] b4d181a07f80: Pull complete [2021-10-07T02:53:30.018Z] a1111a8f2ec3: Pull complete [2021-10-07T02:53:30.610Z] ed53099fbce6: Pull complete [2021-10-07T02:53:30.610Z] dc539afda2c1: Pull complete [2021-10-07T02:53:30.878Z] 77bc0d833cb6: Pull complete [2021-10-07T02:53:30.878Z] 9065ff56babe: Pull complete [2021-10-07T02:53:36.245Z] d287ab97295c: Pull complete [2021-10-07T02:53:36.245Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T02:53:36.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:53:36.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T02:53:36.330Z] prd-centos7-docker-4c-2g-2273 does not seem to be running inside a container [2021-10-07T02:53:36.411Z] $ 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/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-07T02:53:38.745Z] $ docker top 95c43d1e7894f405dd6ca9130cde27a5664ec9ed6794d31cde03db55da1d638b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:53:39.165Z] ---> job-cost.sh [2021-10-07T02:53:39.165Z] lf-activate-venv: SKIPPING [2021-10-07T02:53:39.165Z] INFO: No Stack... [2021-10-07T02:54:01.217Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T02:54:01.217Z] INFO: Archiving Costs [Pipeline] sh [2021-10-07T02:54:01.546Z] + cat /w/workspace/device-rest-go/10/archives/cost.csv [2021-10-07T02:54:01.546Z] + cut -d, -f6 [Pipeline] lock [2021-10-07T02:54:01.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [2021-10-07T02:54:01.601Z] Resource [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] did not exist. Created. [2021-10-07T02:54:01.601Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-07T02:54:01.947Z] /w/workspace/device-rest-go/10@tmp/durable-8c324976/script.sh: 1: /w/workspace/device-rest-go/10@tmp/durable-8c324976/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-07T02:54:02.268Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-07T02:54:02.295Z] Warning: overwriting stash ‘stack-cost’ [2021-10-07T02:54:02.318Z] Stashed 1 file(s) [Pipeline] } [2021-10-07T02:54:02.333Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-10-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-07T02:54:02.358Z] $ docker stop --time=1 95c43d1e7894f405dd6ca9130cde27a5664ec9ed6794d31cde03db55da1d638b [2021-10-07T02:54:03.503Z] $ docker rm -f 95c43d1e7894f405dd6ca9130cde27a5664ec9ed6794d31cde03db55da1d638b [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-10-07T02:54:04.233Z] provisioning config files... [2021-10-07T02:54:04.248Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config875100389032884505tmp [Pipeline] { [Pipeline] sh [2021-10-07T02:54:04.571Z] + set +x [2021-10-07T02:54:04.571Z] + curl -s https://codecov.io/bash [2021-10-07T02:54:04.571Z] + bash -s -- [2021-10-07T02:54:04.571Z] [2021-10-07T02:54:04.571Z] _____ _ [2021-10-07T02:54:04.571Z] / ____| | | [2021-10-07T02:54:04.571Z] | | ___ __| | ___ ___ _____ __ [2021-10-07T02:54:04.571Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-07T02:54:04.571Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-07T02:54:04.571Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-07T02:54:04.571Z] Bash-1.0.6 [2021-10-07T02:54:04.571Z] [2021-10-07T02:54:04.571Z] [2021-10-07T02:54:04.571Z] ==> git version 2.24.4 found [2021-10-07T02:54:04.571Z] ==> 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-10-07T02:54:04.571Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-07T02:54:04.571Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-07T02:54:04.571Z] ==> Jenkins CI detected. [2021-10-07T02:54:04.571Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2021-10-07T02:54:04.571Z] project root: . [2021-10-07T02:54:04.571Z] --> token set from env [2021-10-07T02:54:04.571Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-07T02:54:04.571Z] ==> Running gcov in . (disable via -X gcov) [2021-10-07T02:54:04.571Z] ==> Python coveragepy not found [2021-10-07T02:54:04.571Z] ==> Searching for coverage reports in: [2021-10-07T02:54:04.571Z] + . [2021-10-07T02:54:04.839Z] -> Found 1 reports [2021-10-07T02:54:04.839Z] ==> Detecting git/mercurial file structure [2021-10-07T02:54:04.839Z] ==> Reading reports [2021-10-07T02:54:04.839Z] + ./coverage.out bytes=8435 [2021-10-07T02:54:04.839Z] ==> Appending adjustments [2021-10-07T02:54:04.839Z] https://docs.codecov.io/docs/fixing-reports [2021-10-07T02:54:04.839Z] + Found adjustments [2021-10-07T02:54:04.839Z] ==> Gzipping contents [2021-10-07T02:54:04.839Z] 4.0K /tmp/codecov.chgNvo.gz [2021-10-07T02:54:04.839Z] ==> Uploading reports [2021-10-07T02:54:04.839Z] url: https://codecov.io [2021-10-07T02:54:04.839Z] query: branch=main&commit=c2b56409ff7876491f1b0abf22052cd5d8a556b9&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-07T02:54:04.839Z] -> Pinging Codecov [2021-10-07T02:54:04.839Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=c2b56409ff7876491f1b0abf22052cd5d8a556b9&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-07T02:54:05.110Z] -> Uploading to [2021-10-07T02:54:05.110Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-07/4E5D53B4F1F92C436F7061BF334D961C/c2b56409ff7876491f1b0abf22052cd5d8a556b9/8b0cc3b0-47fe-491b-b430-369151a23aa6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211007T025405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cdfba9eb4f28e8c8575d43cfc0edb8b76d0aa47b233e4ebce0368222076531f6 [2021-10-07T02:54:05.110Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-07T02:54:05.110Z] Dload Upload Total Spent Left Speed [2021-10-07T02:54:05.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 5182 --:--:-- --:--:-- --:--:-- 5181 100 1741 0 0 100 1741 0 5180 --:--:-- --:--:-- --:--:-- 5166 [2021-10-07T02:54:05.692Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c2b56409ff7876491f1b0abf22052cd5d8a556b9 [Pipeline] } [2021-10-07T02:54:05.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-07T02:54:06.061Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-07T02:54:06.080Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:54:06.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-07T02:54:06.399Z] [2021-10-07T02:54:06.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:54:06.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-07T02:54:06.763Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-07T02:54:06.763Z] 188c0c94c7c5: Pulling fs layer [2021-10-07T02:54:06.763Z] 0ef7d3d256c8: Pulling fs layer [2021-10-07T02:54:06.763Z] de9db76c5a1d: Pulling fs layer [2021-10-07T02:54:06.763Z] 0eba1c9be4d2: Pulling fs layer [2021-10-07T02:54:06.763Z] 0d57e429df01: Pulling fs layer [2021-10-07T02:54:06.763Z] 4e4be7b47b0d: Pulling fs layer [2021-10-07T02:54:06.763Z] e1f770b5df2f: Pulling fs layer [2021-10-07T02:54:06.763Z] 85a0685a4137: Pulling fs layer [2021-10-07T02:54:06.763Z] 0d57e429df01: Waiting [2021-10-07T02:54:06.763Z] 0eba1c9be4d2: Waiting [2021-10-07T02:54:06.763Z] 4e4be7b47b0d: Waiting [2021-10-07T02:54:06.763Z] e1f770b5df2f: Waiting [2021-10-07T02:54:06.763Z] 85a0685a4137: Waiting [2021-10-07T02:54:06.763Z] de9db76c5a1d: Download complete [2021-10-07T02:54:06.763Z] 0ef7d3d256c8: Verifying Checksum [2021-10-07T02:54:06.763Z] 0ef7d3d256c8: Download complete [2021-10-07T02:54:06.763Z] 0d57e429df01: Verifying Checksum [2021-10-07T02:54:06.763Z] 0d57e429df01: Download complete [2021-10-07T02:54:06.763Z] 4e4be7b47b0d: Verifying Checksum [2021-10-07T02:54:06.763Z] 4e4be7b47b0d: Download complete [2021-10-07T02:54:06.763Z] 188c0c94c7c5: Verifying Checksum [2021-10-07T02:54:06.763Z] 188c0c94c7c5: Download complete [2021-10-07T02:54:07.034Z] 188c0c94c7c5: Pull complete [2021-10-07T02:54:07.321Z] 0ef7d3d256c8: Pull complete [2021-10-07T02:54:07.321Z] de9db76c5a1d: Pull complete [2021-10-07T02:54:07.907Z] 0eba1c9be4d2: Verifying Checksum [2021-10-07T02:54:07.907Z] 0eba1c9be4d2: Download complete [2021-10-07T02:54:08.171Z] e1f770b5df2f: Verifying Checksum [2021-10-07T02:54:08.171Z] e1f770b5df2f: Download complete [2021-10-07T02:54:09.155Z] 85a0685a4137: Verifying Checksum [2021-10-07T02:54:09.155Z] 85a0685a4137: Download complete [2021-10-07T02:54:12.590Z] 0eba1c9be4d2: Pull complete [2021-10-07T02:54:12.590Z] 0d57e429df01: Pull complete [2021-10-07T02:54:12.590Z] 4e4be7b47b0d: Pull complete [2021-10-07T02:54:13.557Z] e1f770b5df2f: Pull complete [2021-10-07T02:54:17.880Z] 85a0685a4137: Pull complete [2021-10-07T02:54:17.880Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-07T02:54:17.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-07T02:54:17.880Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-07T02:54:17.963Z] prd-centos7-docker-4c-2g-2260 does not seem to be running inside a container [2021-10-07T02:54:18.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-07T02:54:20.580Z] $ docker top 43aa9c54170bcf3c77e5e667916eb32c30887c9a3508845909e7018b451dc3d1 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-07T02:54:20.692Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-07T02:54:21.004Z] + set -o pipefail [2021-10-07T02:54:21.004Z] + snyk monitor '--org=edgex-jenkins' [2021-10-07T02:54:33.340Z] [2021-10-07T02:54:33.340Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main... [2021-10-07T02:54:33.340Z] [2021-10-07T02:54:33.340Z] 'go list -json -deps ./...' command failed with error: go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0: Get "https://proxy.golang.org/github.com/edgexfoundry/device-sdk-go/v2/@v/v2.0.0.mod": dial tcp [2607:f8b0:4020:805::2011]:443: connect: network is unreachable [2021-10-07T02:54:33.340Z] [2021-10-07T02:54:33.340Z] [Pipeline] } [2021-10-07T02:54:33.622Z] $ docker stop --time=1 43aa9c54170bcf3c77e5e667916eb32c30887c9a3508845909e7018b451dc3d1 [2021-10-07T02:54:34.812Z] $ docker rm -f 43aa9c54170bcf3c77e5e667916eb32c30887c9a3508845909e7018b451dc3d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-07T02:54:34.915Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-07T02:54:36.351Z] + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:54:36.679Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:54:37.266Z] ---> package-listing.sh [2021-10-07T02:54:37.266Z] ++ facter osfamily [2021-10-07T02:54:37.266Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-07T02:54:37.533Z] + OS_FAMILY=redhat [2021-10-07T02:54:37.533Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2021-10-07T02:54:37.533Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-07T02:54:37.533Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-07T02:54:37.533Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-07T02:54:37.533Z] + PACKAGES=/tmp/packages_start.txt [2021-10-07T02:54:37.533Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-07T02:54:37.533Z] + PACKAGES=/tmp/packages_end.txt [2021-10-07T02:54:37.533Z] + case "${OS_FAMILY}" in [2021-10-07T02:54:37.533Z] + rpm -qa [2021-10-07T02:54:37.533Z] + sort [2021-10-07T02:54:38.116Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-07T02:54:38.116Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-07T02:54:38.116Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-07T02:54:38.116Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2021-10-07T02:54:38.116Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2021-10-07T02:54:38.116Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2021-10-07T02:54:38.131Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-07T02:54:38.429Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:54:38.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:54:38.749Z] [2021-10-07T02:54:38.749Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-07T02:54:39.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:54:39.078Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-07T02:54:39.078Z] b4d181a07f80: Pulling fs layer [2021-10-07T02:54:39.078Z] a1111a8f2ec3: Pulling fs layer [2021-10-07T02:54:39.078Z] ed53099fbce6: Pulling fs layer [2021-10-07T02:54:39.078Z] dc539afda2c1: Pulling fs layer [2021-10-07T02:54:39.078Z] 77bc0d833cb6: Pulling fs layer [2021-10-07T02:54:39.078Z] 9065ff56babe: Pulling fs layer [2021-10-07T02:54:39.078Z] d287ab97295c: Pulling fs layer [2021-10-07T02:54:39.078Z] dc539afda2c1: Waiting [2021-10-07T02:54:39.078Z] 77bc0d833cb6: Waiting [2021-10-07T02:54:39.078Z] 9065ff56babe: Waiting [2021-10-07T02:54:39.078Z] d287ab97295c: Waiting [2021-10-07T02:54:39.346Z] a1111a8f2ec3: Verifying Checksum [2021-10-07T02:54:39.346Z] a1111a8f2ec3: Download complete [2021-10-07T02:54:39.346Z] dc539afda2c1: Verifying Checksum [2021-10-07T02:54:39.346Z] dc539afda2c1: Download complete [2021-10-07T02:54:39.346Z] ed53099fbce6: Verifying Checksum [2021-10-07T02:54:39.346Z] ed53099fbce6: Download complete [2021-10-07T02:54:39.346Z] 9065ff56babe: Verifying Checksum [2021-10-07T02:54:39.346Z] 9065ff56babe: Download complete [2021-10-07T02:54:39.614Z] 77bc0d833cb6: Verifying Checksum [2021-10-07T02:54:39.614Z] 77bc0d833cb6: Download complete [2021-10-07T02:54:39.614Z] b4d181a07f80: Verifying Checksum [2021-10-07T02:54:39.614Z] b4d181a07f80: Download complete [2021-10-07T02:54:40.586Z] d287ab97295c: Verifying Checksum [2021-10-07T02:54:40.586Z] d287ab97295c: Download complete [2021-10-07T02:54:41.167Z] b4d181a07f80: Pull complete [2021-10-07T02:54:41.167Z] a1111a8f2ec3: Pull complete [2021-10-07T02:54:41.755Z] ed53099fbce6: Pull complete [2021-10-07T02:54:41.755Z] dc539afda2c1: Pull complete [2021-10-07T02:54:42.021Z] 77bc0d833cb6: Pull complete [2021-10-07T02:54:42.022Z] 9065ff56babe: Pull complete [2021-10-07T02:54:47.439Z] d287ab97295c: Pull complete [2021-10-07T02:54:47.439Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-07T02:54:47.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-07T02:54:47.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-07T02:54:47.785Z] prd-centos7-docker-4c-2g-2260 does not seem to be running inside a container [2021-10-07T02:54:47.879Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-07T02:54:50.006Z] $ docker top fee7dc7a44920b57f7a1fcee1852579f6704d0e4957040e5e2b6fc1d34869366 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-07T02:54:50.392Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-07T02:54:50.705Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-07T02:54:51.020Z] + ls /var/log/sa-host [2021-10-07T02:54:51.021Z] + sadf -c /var/log/sa-host/sa07 [2021-10-07T02:54:51.021Z] file_magic: OK [2021-10-07T02:54:51.021Z] HZ: Using current value: 100 [2021-10-07T02:54:51.021Z] file_header: OK [2021-10-07T02:54:51.021Z] 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-10-07T02:54:51.021Z] Statistics: [2021-10-07T02:54:51.021Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T02:54:51.021Z] File successfully converted to sysstat format version 12.0.3 [2021-10-07T02:54:51.021Z] + sadf -c /var/log/sa-host/sa30 [2021-10-07T02:54:51.021Z] file_magic: OK [2021-10-07T02:54:51.021Z] HZ: Using current value: 100 [2021-10-07T02:54:51.021Z] file_header: OK [2021-10-07T02:54:51.021Z] 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-10-07T02:54:51.021Z] Statistics: [2021-10-07T02:54:51.021Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-07T02:54:51.021Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-07T02:54:51.198Z] provisioning config files... [2021-10-07T02:54:51.214Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7624624963241324742tmp [Pipeline] { [Pipeline] echo [2021-10-07T02:54:51.237Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:54:51.551Z] ---> create-netrc.sh [Pipeline] } [2021-10-07T02:54:51.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:54:51.943Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-07T02:54:51.956Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:54:52.276Z] ---> sudo-logs.sh [2021-10-07T02:54:52.276Z] Archiving 'sudo' log.. [2021-10-07T02:54:52.276Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2260.novalocal: Name or service not known [2021-10-07T02:54:52.276Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2260.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-07T02:54:52.322Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:54:52.629Z] ---> job-cost.sh [2021-10-07T02:54:52.629Z] lf-activate-venv: SKIPPING [2021-10-07T02:54:52.629Z] DEBUG: total: 0.05999999865889549 [2021-10-07T02:54:52.629Z] INFO: Retrieving Stack Cost... [2021-10-07T02:54:56.871Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-07T02:54:57.137Z] INFO: Archiving Costs [Pipeline] echo [2021-10-07T02:54:57.155Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-07T02:54:57.479Z] ---> logs-deploy.sh [2021-10-07T02:54:57.479Z] lf-activate-venv: SKIPPING [2021-10-07T02:54:57.479Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/10 [2021-10-07T02:54:57.479Z] INFO: archiving workspace using pattern(s): [2021-10-07T02:54:58.063Z] Archives upload complete. [2021-10-07T02:54:58.333Z] INFO: archiving logs to Nexus