Pull request #140 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5acad0679af3df08186a3ddc4328c435dfbdfdb8+ab80832e8fa331645ec332aa024eb9f07585cb40 (f3546bdb672aa676c8bccbc155d9e97a49161a64) 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-ssh6513192349811713693.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh4913889065816505756.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3136576836213760282.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh2745845901023551159.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/PR-140/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4215475720611565250.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 USE_ALPINE: true 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13579 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-140 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh412047354716046071.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh4514072425489528442.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 5acad0679af3df08186a3ddc4328c435dfbdfdb8 Merge succeeded, producing 5acad0679af3df08186a3ddc4328c435dfbdfdb8 Checking out Revision 5acad0679af3df08186a3ddc4328c435dfbdfdb8 (PR-140) > git config core.sparsecheckout # timeout=10 > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh4011309772407247844.key > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-31T23:44:15.958Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-31T23:44:15.995Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-31T23:44:16.007Z] ========================================================= [2021-10-31T23:44:16.007Z] EdgeX Global Pipelines Version Info [2021-10-31T23:44:16.007Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 [2021-10-31T23:44:17.149Z] ------------------- [2021-10-31T23:44:17.149Z] stable info: [2021-10-31T23:44:17.149Z] ------------------- [2021-10-31T23:44:17.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-31T23:44:17.149Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-31T23:44:17.149Z] Message: update stable to v1.0.211 [2021-10-31T23:44:17.719Z] ------------------- [2021-10-31T23:44:17.719Z] experimental info: [2021-10-31T23:44:17.719Z] ------------------- [2021-10-31T23:44:17.719Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-31T23:44:17.719Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-31T23:44:17.719Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-31T23:44:17.793Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-31T23:44:17.804Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-31T23:44:17.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-31T23:44:17.829Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-31T23:44:17.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-31T23:44:17.843Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-31T23:44:17.850Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-10-31T23:44:17.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-31T23:44:17.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-31T23:44:17.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-31T23:44:17.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-31T23:44:17.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-31T23:44:17.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-31T23:44:17.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-31T23:44:17.937Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-31T23:44:17.948Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-31T23:44:17.957Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-31T23:44:17.967Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-31T23:44:17.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-31T23:44:17.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-31T23:44:17.995Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-31T23:44:18.005Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-31T23:44:18.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-31T23:44:18.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-31T23:44:18.035Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-31T23:44:18.045Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-31T23:44:18.069Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-140 [Pipeline] echo [2021-10-31T23:44:18.082Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-140 [Pipeline] echo [2021-10-31T23:44:18.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-140 [Pipeline] echo [2021-10-31T23:44:18.099Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] echo [2021-10-31T23:44:18.111Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5acad06 [Pipeline] echo [2021-10-31T23:44:18.121Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-31T23:44:18.161Z] provisioning config files... [2021-10-31T23:44:18.177Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config7278834977565024611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:44:18.482Z] ---> docker-login.sh [2021-10-31T23:44:18.482Z] nexus3.edgexfoundry.org:10001 [2021-10-31T23:44:18.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:44:18.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:44:18.746Z] Configure a credential helper to remove this warning. See [2021-10-31T23:44:18.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:44:18.746Z] [2021-10-31T23:44:18.746Z] Login Succeeded [2021-10-31T23:44:18.746Z] nexus3.edgexfoundry.org:10002 [2021-10-31T23:44:18.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:44:18.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:44:18.746Z] Configure a credential helper to remove this warning. See [2021-10-31T23:44:18.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:44:18.746Z] [2021-10-31T23:44:18.746Z] Login Succeeded [2021-10-31T23:44:18.746Z] nexus3.edgexfoundry.org:10003 [2021-10-31T23:44:19.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:44:19.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:44:19.009Z] Configure a credential helper to remove this warning. See [2021-10-31T23:44:19.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:44:19.009Z] [2021-10-31T23:44:19.009Z] Login Succeeded [2021-10-31T23:44:19.009Z] nexus3.edgexfoundry.org:10004 [2021-10-31T23:44:19.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:44:19.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:44:19.009Z] Configure a credential helper to remove this warning. See [2021-10-31T23:44:19.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:44:19.009Z] [2021-10-31T23:44:19.009Z] Login Succeeded [2021-10-31T23:44:19.009Z] docker.io [2021-10-31T23:44:19.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:44:19.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:44:19.583Z] Configure a credential helper to remove this warning. See [2021-10-31T23:44:19.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:44:19.583Z] [2021-10-31T23:44:19.583Z] Login Succeeded [2021-10-31T23:44:19.583Z] ---> docker-login.sh ends [Pipeline] } [2021-10-31T23:44:19.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-10-31T23:44:20.009Z] + git rev-list -1 --merges 5acad0679af3df08186a3ddc4328c435dfbdfdb8~1..5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] echo [2021-10-31T23:44:20.045Z] -----------> git rev-list -1 --merges 5acad0679af3df08186a3ddc4328c435dfbdfdb8~1..5acad0679af3df08186a3ddc4328c435dfbdfdb8 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [false] [Pipeline] sh [2021-10-31T23:44:20.338Z] + git log --format=format:%s -1 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] echo [2021-10-31T23:44:20.353Z] ========================================================= [2021-10-31T23:44:20.353Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-10-31T23:44:20.353Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-31T23:44:20.689Z] + git log --format=format:%s -1 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] echo [2021-10-31T23:44:20.700Z] [semverPrep] GIT_COMMIT: 5acad0679af3df08186a3ddc4328c435dfbdfdb8, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo [2021-10-31T23:44:20.709Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:44:21.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-31T23:44:21.328Z] [2021-10-31T23:44:21.328Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:44:21.636Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-31T23:44:21.636Z] latest: Pulling from edgex-devops/git-semver [2021-10-31T23:44:21.636Z] a0d0a0d46f8b: Pulling fs layer [2021-10-31T23:44:21.636Z] 3e5f54012d9b: Pulling fs layer [2021-10-31T23:44:21.636Z] 4c7163046ea9: Pulling fs layer [2021-10-31T23:44:21.636Z] 0c2d73faf560: Pulling fs layer [2021-10-31T23:44:21.636Z] 0c2d73faf560: Waiting [2021-10-31T23:44:21.636Z] 3e5f54012d9b: Verifying Checksum [2021-10-31T23:44:21.636Z] 3e5f54012d9b: Download complete [2021-10-31T23:44:21.636Z] a0d0a0d46f8b: Verifying Checksum [2021-10-31T23:44:21.636Z] a0d0a0d46f8b: Download complete [2021-10-31T23:44:21.899Z] 0c2d73faf560: Verifying Checksum [2021-10-31T23:44:21.899Z] 0c2d73faf560: Download complete [2021-10-31T23:44:21.899Z] 4c7163046ea9: Verifying Checksum [2021-10-31T23:44:21.899Z] 4c7163046ea9: Download complete [2021-10-31T23:44:21.899Z] a0d0a0d46f8b: Pull complete [2021-10-31T23:44:21.899Z] 3e5f54012d9b: Pull complete [2021-10-31T23:44:22.168Z] 4c7163046ea9: Pull complete [2021-10-31T23:44:22.430Z] 0c2d73faf560: Pull complete [2021-10-31T23:44:22.430Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-31T23:44:22.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-31T23:44:22.430Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-31T23:44:22.496Z] prd-centos7-docker-4c-2g-13579 does not seem to be running inside a container [2021-10-31T23:44:22.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-31T23:44:22.833Z] $ docker top 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-31T23:44:23.188Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-31T23:44:23.188Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-31T23:44:23.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-31T23:44:23.023Z] $ docker exec 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 ssh-agent [2021-10-31T23:44:23.379Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLnBjba/agent.14 [2021-10-31T23:44:23.379Z] SSH_AGENT_PID=20 [2021-10-31T23:44:23.385Z] Running ssh-add (command line suppressed) [2021-10-31T23:44:23.228Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_4810925641972648490.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_4810925641972648490.key) [2021-10-31T23:44:23.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-31T23:44:23.781Z] + git tag --points-at HEAD [Pipeline] } [2021-10-31T23:44:23.574Z] $ docker exec --env ******** --env ******** 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 ssh-agent -k [2021-10-31T23:44:23.665Z] unset SSH_AUTH_SOCK; [2021-10-31T23:44:23.665Z] unset SSH_AGENT_PID; [2021-10-31T23:44:23.665Z] echo Agent pid 20 killed; [2021-10-31T23:44:23.887Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-31T23:44:23.910Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-31T23:44:23.910Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-31T23:44:24.003Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-31T23:44:23.804Z] $ docker exec 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 ssh-agent [2021-10-31T23:44:24.103Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbcCPja/agent.53 [2021-10-31T23:44:24.103Z] SSH_AGENT_PID=59 [2021-10-31T23:44:24.107Z] Running ssh-add (command line suppressed) [2021-10-31T23:44:24.002Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7032837242145904491.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7032837242145904491.key) [2021-10-31T23:44:24.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-31T23:44:24.485Z] + git semver init [2021-10-31T23:44:24.486Z] # -> Open(): unable to determine branch for HEAD [2021-10-31T23:44:24.486Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.git [2021-10-31T23:44:24.486Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-140 [2021-10-31T23:44:24.486Z] # $SEMVER_REMOTE_NAME = origin [2021-10-31T23:44:24.486Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-31T23:44:24.486Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-31T23:44:24.486Z] # $SEMVER_BRANCH = PR-140 [2021-10-31T23:44:24.486Z] # $SEMVER_TEMP = /tmp/semver-846059119 [2021-10-31T23:44:24.486Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-31T23:44:25.428Z] # '/tmp/semver-846059119' -> '/w/workspace/gexfoundry_device-rest-go_PR-140/.semver' [2021-10-31T23:44:25.428Z] # -> Force: false [2021-10-31T23:44:25.428Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.semver [Pipeline] } [2021-10-31T23:44:25.356Z] $ docker exec --env ******** --env ******** 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 ssh-agent -k [2021-10-31T23:44:25.450Z] unset SSH_AUTH_SOCK; [2021-10-31T23:44:25.450Z] unset SSH_AGENT_PID; [2021-10-31T23:44:25.450Z] echo Agent pid 59 killed; [2021-10-31T23:44:25.533Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-31T23:44:25.839Z] + git semver [Pipeline] } [2021-10-31T23:44:25.804Z] $ docker stop --time=1 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 [2021-10-31T23:44:27.096Z] $ docker rm -f 0e3a2cd1be9452ec44157b1591dd085fe6ef642495db42870a8408af88a31d86 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-31T23:44:27.447Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-31T23:44:27.705Z] Stashed 1 file(s) [Pipeline] echo [2021-10-31T23:44:27.708Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-31T23:44:42.962Z] Still waiting to schedule task [2021-10-31T23:44:42.962Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13579’ [2021-10-31T23:44:42.963Z] Still waiting to schedule task [2021-10-31T23:44:42.964Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-31T23:46:13.082Z] Running on prd-centos7-docker-4c-2g-13583 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws [2021-10-31T23:46:13.093Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-10-31T23:46:13.188Z] The recommended git tool is: git [2021-10-31T23:46:15.124Z] using credential edgex-jenkins-ssh [2021-10-31T23:46:15.135Z] Cloning the remote Git repository [2021-10-31T23:46:14.829Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-31T23:46:14.896Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-10-31T23:46:14.930Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-31T23:46:14.930Z] > git --version # timeout=10 [2021-10-31T23:46:14.941Z] > git --version # 'git version 2.24.4' [2021-10-31T23:46:14.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-31T23:46:14.967Z] [INFO] Currently running in a labeled security context [2021-10-31T23:46:14.967Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-31T23:46:14.967Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh7490654308823825183.key [2021-10-31T23:46:14.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-31T23:46:15.825Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-31T23:46:15.836Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-31T23:46:15.845Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-31T23:46:15.856Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-31T23:46:15.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-31T23:46:15.858Z] [INFO] Currently running in a labeled security context [2021-10-31T23:46:15.858Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-31T23:46:15.858Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh2462621636138683992.key [2021-10-31T23:46:15.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-31T23:46:16.704Z] Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [2021-10-31T23:46:16.792Z] Merge succeeded, producing 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [2021-10-31T23:46:16.793Z] Checking out Revision 5acad0679af3df08186a3ddc4328c435dfbdfdb8 (PR-140) [2021-10-31T23:46:16.455Z] > git config core.sparsecheckout # timeout=10 [2021-10-31T23:46:16.461Z] > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 [2021-10-31T23:46:16.490Z] > git remote # timeout=10 [2021-10-31T23:46:16.501Z] > git config --get remote.origin.url # timeout=10 [2021-10-31T23:46:16.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-31T23:46:16.510Z] [INFO] Currently running in a labeled security context [2021-10-31T23:46:16.510Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-31T23:46:16.510Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh600432911065624656.key [2021-10-31T23:46:16.519Z] > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [2021-10-31T23:46:16.529Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-31T23:46:16.542Z] > git config core.sparsecheckout # timeout=10 [2021-10-31T23:46:16.545Z] > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 [2021-10-31T23:46:20.130Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-31T23:46:20.491Z] provisioning config files... [2021-10-31T23:46:20.512Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config8899140365405917568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:46:20.890Z] ---> docker-login.sh [2021-10-31T23:46:20.890Z] nexus3.edgexfoundry.org:10001 [2021-10-31T23:46:20.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:46:20.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:46:20.890Z] Configure a credential helper to remove this warning. See [2021-10-31T23:46:20.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:46:20.890Z] [2021-10-31T23:46:20.890Z] Login Succeeded [2021-10-31T23:46:20.890Z] nexus3.edgexfoundry.org:10002 [2021-10-31T23:46:21.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:46:21.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:46:21.152Z] Configure a credential helper to remove this warning. See [2021-10-31T23:46:21.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:46:21.152Z] [2021-10-31T23:46:21.152Z] Login Succeeded [2021-10-31T23:46:21.152Z] nexus3.edgexfoundry.org:10003 [2021-10-31T23:46:21.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:46:21.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:46:21.152Z] Configure a credential helper to remove this warning. See [2021-10-31T23:46:21.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:46:21.152Z] [2021-10-31T23:46:21.152Z] Login Succeeded [2021-10-31T23:46:21.152Z] nexus3.edgexfoundry.org:10004 [2021-10-31T23:46:21.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:46:21.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:46:21.412Z] Configure a credential helper to remove this warning. See [2021-10-31T23:46:21.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:46:21.412Z] [2021-10-31T23:46:21.412Z] Login Succeeded [2021-10-31T23:46:21.412Z] docker.io [2021-10-31T23:46:21.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:46:21.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:46:21.672Z] Configure a credential helper to remove this warning. See [2021-10-31T23:46:21.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:46:21.672Z] [2021-10-31T23:46:21.672Z] Login Succeeded [2021-10-31T23:46:21.672Z] ---> docker-login.sh ends [Pipeline] } [2021-10-31T23:46:21.701Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-31T23:46:21.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-10-31T23:46:21.832Z] ========================================================= [2021-10-31T23:46:21.832Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-31T23:46:21.832Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:46:22.147Z] + 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-31T23:46:22.147Z] Sending build context to Docker daemon 119.3kB [2021-10-31T23:46:22.147Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-31T23:46:22.147Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-31T23:46:22.147Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-31T23:46:22.147Z] a0d0a0d46f8b: Pulling fs layer [2021-10-31T23:46:22.147Z] 31adcdaf11c8: Pulling fs layer [2021-10-31T23:46:22.147Z] b8b176561691: Pulling fs layer [2021-10-31T23:46:22.147Z] 4527c011a84f: Pulling fs layer [2021-10-31T23:46:22.147Z] 5d74067f8e1e: Pulling fs layer [2021-10-31T23:46:22.147Z] e0aca202a116: Pulling fs layer [2021-10-31T23:46:22.147Z] 3a43be97a3b4: Pulling fs layer [2021-10-31T23:46:22.147Z] 34cad66bf833: Pulling fs layer [2021-10-31T23:46:22.147Z] b4e3c513aaa6: Pulling fs layer [2021-10-31T23:46:22.147Z] 4527c011a84f: Waiting [2021-10-31T23:46:22.147Z] 5d74067f8e1e: Waiting [2021-10-31T23:46:22.147Z] e0aca202a116: Waiting [2021-10-31T23:46:22.147Z] 3a43be97a3b4: Waiting [2021-10-31T23:46:22.147Z] 34cad66bf833: Waiting [2021-10-31T23:46:22.147Z] b4e3c513aaa6: Waiting [2021-10-31T23:46:22.147Z] b8b176561691: Verifying Checksum [2021-10-31T23:46:22.147Z] b8b176561691: Download complete [2021-10-31T23:46:22.147Z] 31adcdaf11c8: Verifying Checksum [2021-10-31T23:46:22.147Z] 31adcdaf11c8: Download complete [2021-10-31T23:46:22.147Z] 5d74067f8e1e: Verifying Checksum [2021-10-31T23:46:22.147Z] 5d74067f8e1e: Download complete [2021-10-31T23:46:22.147Z] e0aca202a116: Verifying Checksum [2021-10-31T23:46:22.147Z] e0aca202a116: Download complete [2021-10-31T23:46:22.147Z] a0d0a0d46f8b: Verifying Checksum [2021-10-31T23:46:22.147Z] a0d0a0d46f8b: Download complete [2021-10-31T23:46:22.147Z] 3a43be97a3b4: Verifying Checksum [2021-10-31T23:46:22.147Z] 3a43be97a3b4: Download complete [2021-10-31T23:46:22.426Z] 34cad66bf833: Verifying Checksum [2021-10-31T23:46:22.426Z] 34cad66bf833: Download complete [2021-10-31T23:46:22.706Z] a0d0a0d46f8b: Pull complete [2021-10-31T23:46:22.706Z] 4527c011a84f: Verifying Checksum [2021-10-31T23:46:22.706Z] 4527c011a84f: Download complete [2021-10-31T23:46:22.972Z] b4e3c513aaa6: Verifying Checksum [2021-10-31T23:46:22.972Z] b4e3c513aaa6: Download complete [2021-10-31T23:46:22.972Z] 31adcdaf11c8: Pull complete [2021-10-31T23:46:22.972Z] b8b176561691: Pull complete [2021-10-31T23:46:27.231Z] 4527c011a84f: Pull complete [2021-10-31T23:46:27.231Z] 5d74067f8e1e: Pull complete [2021-10-31T23:46:27.231Z] e0aca202a116: Pull complete [2021-10-31T23:46:27.231Z] 3a43be97a3b4: Pull complete [2021-10-31T23:46:27.231Z] 34cad66bf833: Pull complete [2021-10-31T23:46:29.796Z] b4e3c513aaa6: Pull complete [2021-10-31T23:46:29.796Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-31T23:46:29.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-31T23:46:29.796Z] ---> 9f6097aaca64 [2021-10-31T23:46:29.796Z] Step 3/11 : ARG MAKE='make build' [2021-10-31T23:46:33.101Z] ---> Running in 55b978b743ce [2021-10-31T23:46:33.101Z] Removing intermediate container 55b978b743ce [2021-10-31T23:46:33.101Z] ---> 03233135da49 [2021-10-31T23:46:33.101Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-31T23:46:33.244Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13581 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws [2021-10-31T23:46:33.255Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-10-31T23:46:33.362Z] ---> Running in cb232cb50bc8 [2021-10-31T23:46:33.363Z] Removing intermediate container cb232cb50bc8 [2021-10-31T23:46:33.363Z] ---> 17f6f8704a2e [2021-10-31T23:46:33.363Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-31T23:46:33.363Z] ---> Running in c70e86ad6cc7 [2021-10-31T23:46:33.363Z] Removing intermediate container c70e86ad6cc7 [2021-10-31T23:46:33.363Z] ---> bcba5e7d7a4e [2021-10-31T23:46:33.363Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-31T23:46:33.363Z] ---> Running in 4d55f09962cf [2021-10-31T23:46:33.451Z] The recommended git tool is: git [2021-10-31T23:46:33.934Z] Removing intermediate container 4d55f09962cf [2021-10-31T23:46:33.934Z] ---> 337a7ab7734e [2021-10-31T23:46:33.934Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-31T23:46:33.934Z] ---> Running in 5d34f5e2dfb3 [2021-10-31T23:46:34.193Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-31T23:46:35.136Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-31T23:46:35.396Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-31T23:46:35.656Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-31T23:46:35.656Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-31T23:46:35.656Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-31T23:46:35.915Z] Executing busybox-1.33.1-r3.trigger [2021-10-31T23:46:35.915Z] OK: 224 MiB in 56 packages [2021-10-31T23:46:36.175Z] Removing intermediate container 5d34f5e2dfb3 [2021-10-31T23:46:36.175Z] ---> 7888fae4cc5e [2021-10-31T23:46:36.175Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-31T23:46:36.175Z] ---> Running in 4d75bc5bd527 [2021-10-31T23:46:36.175Z] Removing intermediate container 4d75bc5bd527 [2021-10-31T23:46:36.175Z] ---> 2d581c3f3286 [2021-10-31T23:46:36.175Z] Step 9/11 : COPY . . [2021-10-31T23:46:36.438Z] ---> e872dddcdcfa [2021-10-31T23:46:36.438Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-31T23:46:36.438Z] ---> Running in 3cd69ab42af3 [2021-10-31T23:46:38.688Z] using credential edgex-jenkins-ssh [2021-10-31T23:46:38.710Z] Cloning the remote Git repository [2021-10-31T23:46:38.760Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-31T23:46:38.859Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-10-31T23:46:38.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-31T23:46:38.987Z] > git --version # timeout=10 [2021-10-31T23:46:39.019Z] > git --version # 'git version 2.17.1' [2021-10-31T23:46:39.021Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-31T23:46:39.149Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-31T23:46:40.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-31T23:46:40.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-31T23:46:40.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-31T23:46:40.801Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-31T23:46:40.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-31T23:46:40.814Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-31T23:46:41.449Z] Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [2021-10-31T23:46:41.627Z] Merge succeeded, producing 5acad0679af3df08186a3ddc4328c435dfbdfdb8 [2021-10-31T23:46:41.627Z] Checking out Revision 5acad0679af3df08186a3ddc4328c435dfbdfdb8 (PR-140) [2021-10-31T23:46:41.463Z] > git config core.sparsecheckout # timeout=10 [2021-10-31T23:46:41.474Z] > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 [2021-10-31T23:46:41.548Z] > git remote # timeout=10 [2021-10-31T23:46:41.564Z] > git config --get remote.origin.url # timeout=10 [2021-10-31T23:46:41.575Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-31T23:46:41.585Z] > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [2021-10-31T23:46:41.606Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-31T23:46:41.630Z] > git config core.sparsecheckout # timeout=10 [2021-10-31T23:46:41.639Z] > git checkout -f 5acad0679af3df08186a3ddc4328c435dfbdfdb8 # timeout=10 [2021-10-31T23:46:45.788Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-31T23:46:46.568Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-31T23:46:46.569Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-31T23:46:46.569Z] Dload Upload Total Spent Left Speed [2021-10-31T23:46:46.569Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 86941 0 --:--:-- --:--:-- --:--:-- 87585 [Pipeline] sh [2021-10-31T23:46:46.987Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-31T23:46:47.329Z] + sudo tee /etc/docker/daemon.new [2021-10-31T23:46:47.329Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-31T23:46:47.329Z] { [2021-10-31T23:46:47.329Z] "registry-mirrors": [ [2021-10-31T23:46:47.329Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-31T23:46:47.329Z] ], [2021-10-31T23:46:47.329Z] "bip": "10.250.0.254/24", [2021-10-31T23:46:47.329Z] "hosts": [ [2021-10-31T23:46:47.329Z] "tcp://0.0.0.0:5555", [2021-10-31T23:46:47.329Z] "unix:///var/run/docker.sock" [2021-10-31T23:46:47.329Z] ], [2021-10-31T23:46:47.329Z] "mtu": 1458, [2021-10-31T23:46:47.329Z] "selinux-enabled": true, [2021-10-31T23:46:47.329Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-31T23:46:47.329Z] } [Pipeline] sh [2021-10-31T23:46:47.677Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-31T23:46:48.024Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-31T23:47:06.365Z] provisioning config files... [2021-10-31T23:47:06.393Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config2494997650674546020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:47:06.752Z] ---> docker-login.sh [2021-10-31T23:47:06.752Z] nexus3.edgexfoundry.org:10001 [2021-10-31T23:47:07.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:47:08.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:47:08.009Z] Configure a credential helper to remove this warning. See [2021-10-31T23:47:08.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:47:08.009Z] [2021-10-31T23:47:08.009Z] Login Succeeded [2021-10-31T23:47:08.009Z] nexus3.edgexfoundry.org:10002 [2021-10-31T23:47:08.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:47:08.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:47:08.644Z] Configure a credential helper to remove this warning. See [2021-10-31T23:47:08.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:47:08.644Z] [2021-10-31T23:47:08.644Z] Login Succeeded [2021-10-31T23:47:08.644Z] nexus3.edgexfoundry.org:10003 [2021-10-31T23:47:09.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:47:09.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:47:09.269Z] Configure a credential helper to remove this warning. See [2021-10-31T23:47:09.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:47:09.269Z] [2021-10-31T23:47:09.269Z] Login Succeeded [2021-10-31T23:47:09.269Z] nexus3.edgexfoundry.org:10004 [2021-10-31T23:47:09.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:47:09.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:47:09.870Z] Configure a credential helper to remove this warning. See [2021-10-31T23:47:09.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:47:09.870Z] [2021-10-31T23:47:09.870Z] Login Succeeded [2021-10-31T23:47:09.870Z] docker.io [2021-10-31T23:47:10.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-31T23:47:10.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-31T23:47:10.754Z] Configure a credential helper to remove this warning. See [2021-10-31T23:47:10.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-31T23:47:10.754Z] [2021-10-31T23:47:10.754Z] Login Succeeded [2021-10-31T23:47:10.754Z] ---> docker-login.sh ends [Pipeline] } [2021-10-31T23:47:10.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-31T23:47:11.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-10-31T23:47:11.287Z] ========================================================= [2021-10-31T23:47:11.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-31T23:47:11.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:47:11.651Z] + 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-31T23:47:11.651Z] Sending build context to Docker daemon 119.3kB [2021-10-31T23:47:11.926Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-31T23:47:11.926Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-31T23:47:12.205Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-31T23:47:12.205Z] 552d1f2373af: Pulling fs layer [2021-10-31T23:47:12.205Z] ea3f2d53f512: Pulling fs layer [2021-10-31T23:47:12.205Z] 9e70ebbbe112: Pulling fs layer [2021-10-31T23:47:12.205Z] 7a9cfe048b4a: Pulling fs layer [2021-10-31T23:47:12.205Z] 72dc09318566: Pulling fs layer [2021-10-31T23:47:12.205Z] f4f7b4309257: Pulling fs layer [2021-10-31T23:47:12.205Z] 0ac9a79272e3: Pulling fs layer [2021-10-31T23:47:12.205Z] b78e95d17946: Pulling fs layer [2021-10-31T23:47:12.205Z] f4f7b4309257: Waiting [2021-10-31T23:47:12.205Z] 0ac9a79272e3: Waiting [2021-10-31T23:47:12.205Z] b78e95d17946: Waiting [2021-10-31T23:47:12.205Z] 7a9cfe048b4a: Waiting [2021-10-31T23:47:12.205Z] 72dc09318566: Waiting [2021-10-31T23:47:12.205Z] 9e70ebbbe112: Verifying Checksum [2021-10-31T23:47:12.205Z] 9e70ebbbe112: Download complete [2021-10-31T23:47:12.205Z] ea3f2d53f512: Verifying Checksum [2021-10-31T23:47:12.205Z] ea3f2d53f512: Download complete [2021-10-31T23:47:12.205Z] 72dc09318566: Verifying Checksum [2021-10-31T23:47:12.205Z] 72dc09318566: Download complete [2021-10-31T23:47:12.478Z] f4f7b4309257: Download complete [2021-10-31T23:47:12.478Z] 552d1f2373af: Verifying Checksum [2021-10-31T23:47:12.478Z] 552d1f2373af: Download complete [2021-10-31T23:47:13.081Z] 552d1f2373af: Pull complete [2021-10-31T23:47:13.684Z] ea3f2d53f512: Pull complete [2021-10-31T23:47:14.288Z] 9e70ebbbe112: Pull complete [2021-10-31T23:47:14.288Z] b78e95d17946: Verifying Checksum [2021-10-31T23:47:14.288Z] b78e95d17946: Download complete [2021-10-31T23:47:14.888Z] 7a9cfe048b4a: Verifying Checksum [2021-10-31T23:47:14.888Z] 7a9cfe048b4a: Download complete [2021-10-31T23:47:15.185Z] Removing intermediate container 3cd69ab42af3 [2021-10-31T23:47:15.185Z] ---> e4ded2aafefc [2021-10-31T23:47:15.185Z] Step 11/11 : RUN $MAKE [2021-10-31T23:47:15.185Z] ---> Running in 93ea1177a0dc [2021-10-31T23:47:15.185Z] noop [2021-10-31T23:47:15.185Z] Removing intermediate container 93ea1177a0dc [2021-10-31T23:47:15.185Z] ---> 3c14966fe43e [2021-10-31T23:47:15.185Z] Successfully built 3c14966fe43e [2021-10-31T23:47:15.185Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:47:15.480Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-31T23:47:15.480Z] . [Pipeline] withDockerContainer [2021-10-31T23:47:15.539Z] prd-centos7-docker-4c-2g-13583 does not seem to be running inside a container [2021-10-31T23:47:15.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-31T23:47:15.924Z] $ docker top 3d21d1804011dcc2491cce6ab64642117a49adee321dc65d0854740a8969cb86 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-31T23:47:16.276Z] + go version [2021-10-31T23:47:16.276Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-31T23:47:16.284Z] $ docker stop --time=1 3d21d1804011dcc2491cce6ab64642117a49adee321dc65d0854740a8969cb86 [2021-10-31T23:47:17.459Z] $ docker rm -f 3d21d1804011dcc2491cce6ab64642117a49adee321dc65d0854740a8969cb86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:47:17.898Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-31T23:47:17.898Z] . [Pipeline] withDockerContainer [2021-10-31T23:47:17.961Z] prd-centos7-docker-4c-2g-13583 does not seem to be running inside a container [2021-10-31T23:47:17.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-31T23:47:18.336Z] $ docker top fe70c96c3867bf988a103aa720a18571a166a7ad8171b71f7fc9d5354a7cb50f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-31T23:47:18.721Z] + make test [2021-10-31T23:47:18.721Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-31T23:47:18.980Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-31T23:47:25.048Z] 7a9cfe048b4a: Pull complete [2021-10-31T23:47:25.048Z] 72dc09318566: Pull complete [2021-10-31T23:47:25.643Z] f4f7b4309257: Pull complete [2021-10-31T23:47:25.925Z] 0ac9a79272e3: Pull complete [2021-10-31T23:47:31.345Z] b78e95d17946: Pull complete [2021-10-31T23:47:31.621Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-31T23:47:31.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-31T23:47:31.621Z] ---> 8b459fc5aaf0 [2021-10-31T23:47:31.621Z] Step 3/11 : ARG MAKE='make build' [2021-10-31T23:47:33.984Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-31T23:47:34.253Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 53.8% of statements [2021-10-31T23:47:34.253Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-31T23:47:34.254Z] ---> Running in 12d0e4d10eb6 [2021-10-31T23:47:34.254Z] Removing intermediate container 12d0e4d10eb6 [2021-10-31T23:47:34.254Z] ---> 6c05a3a9beda [2021-10-31T23:47:34.254Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-31T23:47:34.254Z] ---> Running in 924c205c5078 [2021-10-31T23:47:34.854Z] Removing intermediate container 924c205c5078 [2021-10-31T23:47:34.854Z] ---> d35a8dd825ca [2021-10-31T23:47:34.854Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-31T23:47:34.854Z] ---> Running in 797613176fee [2021-10-31T23:47:35.461Z] Removing intermediate container 797613176fee [2021-10-31T23:47:35.461Z] ---> 3d81a2052896 [2021-10-31T23:47:35.461Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-31T23:47:35.461Z] ---> Running in 1da64426020e [2021-10-31T23:47:38.100Z] Removing intermediate container 1da64426020e [2021-10-31T23:47:38.100Z] ---> 45ed64981525 [2021-10-31T23:47:38.100Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-31T23:47:38.100Z] ---> Running in fe4817a8b1fd [2021-10-31T23:47:39.083Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-31T23:47:39.677Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-31T23:47:40.657Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-31T23:47:40.657Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-31T23:47:40.657Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-31T23:47:40.861Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-31T23:47:40.861Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-31T23:47:40.861Z] ./bin/test-attribution-txt.sh [2021-10-31T23:47:40.933Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-31T23:47:40.933Z] Executing busybox-1.33.1-r3.trigger [2021-10-31T23:47:40.933Z] OK: 223 MiB in 56 packages [Pipeline] } [2021-10-31T23:47:41.131Z] $ docker stop --time=1 fe70c96c3867bf988a103aa720a18571a166a7ad8171b71f7fc9d5354a7cb50f [2021-10-31T23:47:41.920Z] Removing intermediate container fe4817a8b1fd [2021-10-31T23:47:41.920Z] ---> 48f4f193b4ba [2021-10-31T23:47:41.920Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-31T23:47:42.195Z] ---> Running in 7a4a5ccc842e [2021-10-31T23:47:42.640Z] $ docker rm -f fe70c96c3867bf988a103aa720a18571a166a7ad8171b71f7fc9d5354a7cb50f [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-31T23:47:42.794Z] Removing intermediate container 7a4a5ccc842e [2021-10-31T23:47:42.794Z] ---> 664d849cb465 [2021-10-31T23:47:42.794Z] Step 9/11 : COPY . . [2021-10-31T23:47:43.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-31T23:47:43.173Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-10-31T23:47:43.790Z] ---> 54d012ee05af [2021-10-31T23:47:43.790Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-31T23:47:43.790Z] ---> Running in 29f4bfe3e06a [Pipeline] sh [2021-10-31T23:47:44.545Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-31T23:47:44.835Z] + ls -al . [2021-10-31T23:47:44.835Z] total 144 [2021-10-31T23:47:44.835Z] drwxrwxr-x. 8 jenkins jenkins 4096 Oct 31 23:47 . [2021-10-31T23:47:44.835Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 31 23:46 .. [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 7095 Oct 31 23:46 Attribution.txt [2021-10-31T23:47:44.835Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 31 23:46 bin [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 7459 Oct 31 23:46 CHANGELOG.md [2021-10-31T23:47:44.835Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 31 23:46 cmd [2021-10-31T23:47:44.835Z] -rw-r--r--. 1 jenkins jenkins 8435 Oct 31 23:47 coverage.out [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 1649 Oct 31 23:46 Dockerfile [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 151 Oct 31 23:46 .dockerignore [2021-10-31T23:47:44.835Z] drwxrwxr-x. 2 jenkins jenkins 76 Oct 31 23:46 driver [2021-10-31T23:47:44.835Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 31 23:46 .git [2021-10-31T23:47:44.835Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 31 23:46 .github [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 329 Oct 31 23:46 .gitignore [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 285 Oct 31 23:46 go.mod [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 50386 Oct 31 23:46 go.sum [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 31 23:46 GOVERNANCE.md [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 680 Oct 31 23:46 Jenkinsfile [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 31 23:46 LICENSE [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 1078 Oct 31 23:46 Makefile [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 31 23:46 OWNERS.md [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 7661 Oct 31 23:46 README.md [2021-10-31T23:47:44.835Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 31 23:46 snap [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 31 23:44 VERSION [2021-10-31T23:47:44.835Z] -rw-rw-r--. 1 jenkins jenkins 713 Oct 31 23:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:47:45.126Z] + 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=5acad0679af3df08186a3ddc4328c435dfbdfdb8 --label arch=amd64 --label version=0.0.0 . [2021-10-31T23:47:45.126Z] Sending build context to Docker daemon 128.5kB [2021-10-31T23:47:45.126Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-31T23:47:45.126Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-31T23:47:45.126Z] ---> 3c14966fe43e [2021-10-31T23:47:45.126Z] Step 3/24 : ARG MAKE='make build' [2021-10-31T23:47:45.126Z] ---> Running in 5bd36ffc12dc [2021-10-31T23:47:45.126Z] Removing intermediate container 5bd36ffc12dc [2021-10-31T23:47:45.126Z] ---> e6d89e23a153 [2021-10-31T23:47:45.126Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-31T23:47:45.126Z] ---> Running in 33dc5daa4085 [2021-10-31T23:47:45.429Z] Removing intermediate container 33dc5daa4085 [2021-10-31T23:47:45.429Z] ---> 767353877cab [2021-10-31T23:47:45.429Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-31T23:47:45.429Z] ---> Running in b1cee9f3ac0c [2021-10-31T23:47:45.429Z] Removing intermediate container b1cee9f3ac0c [2021-10-31T23:47:45.429Z] ---> a8643b8c91f5 [2021-10-31T23:47:45.429Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-31T23:47:45.429Z] ---> Running in 5ef943ce4d46 [2021-10-31T23:47:46.156Z] Removing intermediate container 5ef943ce4d46 [2021-10-31T23:47:46.156Z] ---> cfe846a270c0 [2021-10-31T23:47:46.156Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-31T23:47:46.156Z] ---> Running in 837d114f93bc [2021-10-31T23:47:46.156Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-31T23:47:47.098Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-31T23:47:47.359Z] OK: 224 MiB in 56 packages [2021-10-31T23:47:47.620Z] Removing intermediate container 837d114f93bc [2021-10-31T23:47:47.621Z] ---> b7879af28001 [2021-10-31T23:47:47.621Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-31T23:47:47.621Z] ---> Running in 3c60aaa92970 [2021-10-31T23:47:47.881Z] Removing intermediate container 3c60aaa92970 [2021-10-31T23:47:47.881Z] ---> 76211f5b9b23 [2021-10-31T23:47:47.881Z] Step 9/24 : COPY . . [2021-10-31T23:47:47.881Z] ---> a169dbea4194 [2021-10-31T23:47:47.881Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-31T23:47:47.881Z] ---> Running in e6ec333bab57 [2021-10-31T23:47:48.461Z] Removing intermediate container e6ec333bab57 [2021-10-31T23:47:48.461Z] ---> 5f1381116e0c [2021-10-31T23:47:48.461Z] Step 11/24 : RUN $MAKE [2021-10-31T23:47:48.461Z] ---> Running in 77b96f396860 [2021-10-31T23:47:48.724Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-10-31T23:48:01.004Z] Removing intermediate container 77b96f396860 [2021-10-31T23:48:01.004Z] ---> aad492b85d28 [2021-10-31T23:48:01.004Z] Step 12/24 : FROM alpine:3.14 [2021-10-31T23:48:01.004Z] 3.14: Pulling from library/alpine [2021-10-31T23:48:01.004Z] a0d0a0d46f8b: Already exists [2021-10-31T23:48:01.004Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-31T23:48:01.004Z] Status: Downloaded newer image for alpine:3.14 [2021-10-31T23:48:01.004Z] ---> 14119a10abf4 [2021-10-31T23:48:01.004Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-31T23:48:01.004Z] ---> Running in 2fe212ab43d8 [2021-10-31T23:48:01.004Z] Removing intermediate container 2fe212ab43d8 [2021-10-31T23:48:01.004Z] ---> f8ab99a226b4 [2021-10-31T23:48:01.004Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-31T23:48:01.004Z] ---> Running in 67688392616b [2021-10-31T23:48:01.004Z] Removing intermediate container 67688392616b [2021-10-31T23:48:01.004Z] ---> d5b08a74ddf4 [2021-10-31T23:48:01.004Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-31T23:48:01.004Z] ---> Running in 4a07ba17f378 [2021-10-31T23:48:01.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-31T23:48:01.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-31T23:48:01.264Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-31T23:48:01.521Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-31T23:48:01.521Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-31T23:48:01.521Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-31T23:48:01.521Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-31T23:48:01.521Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-31T23:48:01.521Z] Executing busybox-1.33.1-r3.trigger [2021-10-31T23:48:01.521Z] OK: 8 MiB in 20 packages [2021-10-31T23:48:01.792Z] Removing intermediate container 4a07ba17f378 [2021-10-31T23:48:01.792Z] ---> 5385491a4553 [2021-10-31T23:48:01.792Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-31T23:48:02.054Z] ---> 14feff4b2192 [2021-10-31T23:48:02.054Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-31T23:48:02.315Z] ---> e9b421505921 [2021-10-31T23:48:02.315Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-31T23:48:02.315Z] ---> 86394c9cd05f [2021-10-31T23:48:02.315Z] Step 19/24 : EXPOSE 59986 [2021-10-31T23:48:02.315Z] ---> Running in 1c9082c512ec [2021-10-31T23:48:02.315Z] Removing intermediate container 1c9082c512ec [2021-10-31T23:48:02.315Z] ---> 55febb2704d2 [2021-10-31T23:48:02.315Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-31T23:48:02.575Z] ---> Running in c2e32f3c1b44 [2021-10-31T23:48:02.575Z] Removing intermediate container c2e32f3c1b44 [2021-10-31T23:48:02.575Z] ---> 769ccb297f0d [2021-10-31T23:48:02.575Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-31T23:48:02.575Z] ---> Running in 1319823826d9 [2021-10-31T23:48:02.575Z] Removing intermediate container 1319823826d9 [2021-10-31T23:48:02.576Z] ---> c9878e5e7d8c [2021-10-31T23:48:02.576Z] Step 22/24 : LABEL arch=amd64 [2021-10-31T23:48:02.576Z] ---> Running in ff8a4c9f59db [2021-10-31T23:48:02.836Z] Removing intermediate container ff8a4c9f59db [2021-10-31T23:48:02.836Z] ---> 0a2caa8a98ad [2021-10-31T23:48:02.836Z] Step 23/24 : LABEL git_sha=5acad0679af3df08186a3ddc4328c435dfbdfdb8 [2021-10-31T23:48:02.836Z] ---> Running in 0d834a98bef3 [2021-10-31T23:48:02.836Z] Removing intermediate container 0d834a98bef3 [2021-10-31T23:48:02.836Z] ---> 4558120b9859 [2021-10-31T23:48:02.836Z] Step 24/24 : LABEL version=0.0.0 [2021-10-31T23:48:02.837Z] ---> Running in 01d7a9694a93 [2021-10-31T23:48:02.837Z] Removing intermediate container 01d7a9694a93 [2021-10-31T23:48:02.837Z] ---> f0d7f5b1dccf [2021-10-31T23:48:02.837Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-31T23:48:02.837Z] Successfully built f0d7f5b1dccf [2021-10-31T23:48:02.837Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:48:03.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-31T23:48:03.411Z] [2021-10-31T23:48:03.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:48:03.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-31T23:48:03.716Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-31T23:48:03.716Z] b4d181a07f80: Pulling fs layer [2021-10-31T23:48:03.716Z] a1111a8f2ec3: Pulling fs layer [2021-10-31T23:48:03.716Z] ed53099fbce6: Pulling fs layer [2021-10-31T23:48:03.716Z] dc539afda2c1: Pulling fs layer [2021-10-31T23:48:03.716Z] 77bc0d833cb6: Pulling fs layer [2021-10-31T23:48:03.716Z] 9065ff56babe: Pulling fs layer [2021-10-31T23:48:03.716Z] d287ab97295c: Pulling fs layer [2021-10-31T23:48:03.716Z] 77bc0d833cb6: Waiting [2021-10-31T23:48:03.716Z] 9065ff56babe: Waiting [2021-10-31T23:48:03.716Z] d287ab97295c: Waiting [2021-10-31T23:48:03.716Z] dc539afda2c1: Waiting [2021-10-31T23:48:03.716Z] a1111a8f2ec3: Verifying Checksum [2021-10-31T23:48:03.716Z] a1111a8f2ec3: Download complete [2021-10-31T23:48:03.716Z] dc539afda2c1: Verifying Checksum [2021-10-31T23:48:03.716Z] dc539afda2c1: Download complete [2021-10-31T23:48:03.716Z] ed53099fbce6: Verifying Checksum [2021-10-31T23:48:03.716Z] ed53099fbce6: Download complete [2021-10-31T23:48:03.716Z] 9065ff56babe: Verifying Checksum [2021-10-31T23:48:03.716Z] 9065ff56babe: Download complete [2021-10-31T23:48:04.004Z] 77bc0d833cb6: Verifying Checksum [2021-10-31T23:48:04.004Z] 77bc0d833cb6: Download complete [2021-10-31T23:48:04.004Z] b4d181a07f80: Verifying Checksum [2021-10-31T23:48:04.004Z] b4d181a07f80: Download complete [2021-10-31T23:48:04.581Z] d287ab97295c: Verifying Checksum [2021-10-31T23:48:04.581Z] d287ab97295c: Download complete [2021-10-31T23:48:05.535Z] b4d181a07f80: Pull complete [2021-10-31T23:48:05.535Z] a1111a8f2ec3: Pull complete [2021-10-31T23:48:06.485Z] ed53099fbce6: Pull complete [2021-10-31T23:48:06.485Z] dc539afda2c1: Pull complete [2021-10-31T23:48:06.756Z] 77bc0d833cb6: Pull complete [2021-10-31T23:48:06.756Z] 9065ff56babe: Pull complete [2021-10-31T23:48:12.092Z] d287ab97295c: Pull complete [2021-10-31T23:48:12.092Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-31T23:48:12.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-31T23:48:12.092Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-31T23:48:12.159Z] prd-centos7-docker-4c-2g-13583 does not seem to be running inside a container [2021-10-31T23:48:12.197Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-31T23:48:14.511Z] $ docker top 8aed10e0d544091120c2dd14bd7f023c3b06131903f9033b757b3e54d19612a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:48:14.978Z] ---> job-cost.sh [2021-10-31T23:48:14.978Z] lf-activate-venv: SKIPPING [2021-10-31T23:48:14.978Z] INFO: No Stack... [2021-10-31T23:48:15.238Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-31T23:48:15.499Z] INFO: Archiving Costs [Pipeline] sh [2021-10-31T23:48:15.791Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-10-31T23:48:15.791Z] + cut -d, -f6 [Pipeline] lock [2021-10-31T23:48:15.816Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [2021-10-31T23:48:15.824Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] did not exist. Created. [2021-10-31T23:48:15.824Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-31T23:48:16.128Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-31T23:48:16.156Z] Stashed 1 file(s) [Pipeline] } [2021-10-31T23:48:16.162Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-31T23:48:16.173Z] $ docker stop --time=1 8aed10e0d544091120c2dd14bd7f023c3b06131903f9033b757b3e54d19612a2 [2021-10-31T23:48:17.311Z] $ docker rm -f 8aed10e0d544091120c2dd14bd7f023c3b06131903f9033b757b3e54d19612a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-31T23:49:05.592Z] Removing intermediate container 29f4bfe3e06a [2021-10-31T23:49:05.592Z] ---> 1c243f6271f7 [2021-10-31T23:49:05.592Z] Step 11/11 : RUN $MAKE [2021-10-31T23:49:05.592Z] ---> Running in 55babfaa638a [2021-10-31T23:49:05.592Z] noop [2021-10-31T23:49:05.592Z] Removing intermediate container 55babfaa638a [2021-10-31T23:49:05.592Z] ---> 69e754bbd99f [2021-10-31T23:49:05.592Z] Successfully built 69e754bbd99f [2021-10-31T23:49:05.592Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:49:05.931Z] + docker inspect -f . ci-base-image-arm64 [2021-10-31T23:49:05.931Z] . [Pipeline] withDockerContainer [2021-10-31T23:49:06.171Z] prd-ubuntu18.04-docker-arm64-4c-16g-13581 does not seem to be running inside a container [2021-10-31T23:49:06.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-31T23:49:07.849Z] $ docker top 67d747dd786ac56df8f99aef79e6832dfe44a4af82543b8bb8b5d54be3f3dd55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-31T23:49:08.817Z] + go version [2021-10-31T23:49:08.818Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-31T23:49:08.838Z] $ docker stop --time=1 67d747dd786ac56df8f99aef79e6832dfe44a4af82543b8bb8b5d54be3f3dd55 [2021-10-31T23:49:10.640Z] $ docker rm -f 67d747dd786ac56df8f99aef79e6832dfe44a4af82543b8bb8b5d54be3f3dd55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:49:11.387Z] + docker inspect -f . ci-base-image-arm64 [2021-10-31T23:49:11.387Z] . [Pipeline] withDockerContainer [2021-10-31T23:49:11.669Z] prd-ubuntu18.04-docker-arm64-4c-16g-13581 does not seem to be running inside a container [2021-10-31T23:49:11.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-31T23:49:13.306Z] $ docker top d158b9c17cd71667af01e9a775a858a235532e627e26723ed4ef46f3be295d7a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-31T23:49:14.302Z] + make test [2021-10-31T23:49:14.302Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-31T23:49:15.747Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-31T23:50:12.341Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-31T23:50:12.341Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 53.8% of statements [2021-10-31T23:50:12.341Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-31T23:50:39.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-31T23:50:39.128Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-31T23:50:39.128Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-31T23:50:39.145Z] $ docker stop --time=1 d158b9c17cd71667af01e9a775a858a235532e627e26723ed4ef46f3be295d7a [2021-10-31T23:50:40.933Z] $ docker rm -f d158b9c17cd71667af01e9a775a858a235532e627e26723ed4ef46f3be295d7a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-31T23:50:41.794Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-31T23:50:41.821Z] Warning: overwriting stash ‘coverage-report’ [2021-10-31T23:50:42.316Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-31T23:50:42.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-31T23:50:43.110Z] + ls -al . [2021-10-31T23:50:43.110Z] total 172 [2021-10-31T23:50:43.110Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 23:50 . [2021-10-31T23:50:43.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 23:46 .. [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 31 23:46 .dockerignore [2021-10-31T23:50:43.110Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 23:46 .git [2021-10-31T23:50:43.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 23:46 .github [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 31 23:46 .gitignore [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 7095 Oct 31 23:46 Attribution.txt [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 7459 Oct 31 23:46 CHANGELOG.md [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 1649 Oct 31 23:46 Dockerfile [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 23:46 GOVERNANCE.md [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 31 23:46 Jenkinsfile [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 23:46 LICENSE [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 1078 Oct 31 23:46 Makefile [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 31 23:46 OWNERS.md [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 7661 Oct 31 23:46 README.md [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 23:44 VERSION [2021-10-31T23:50:43.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 23:46 bin [2021-10-31T23:50:43.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 23:46 cmd [2021-10-31T23:50:43.110Z] -rw-r--r-- 1 jenkins jenkins 8435 Oct 31 23:50 coverage.out [2021-10-31T23:50:43.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 23:46 driver [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 285 Oct 31 23:46 go.mod [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 50386 Oct 31 23:46 go.sum [2021-10-31T23:50:43.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 23:46 snap [2021-10-31T23:50:43.110Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 31 23:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:50:43.443Z] + 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=5acad0679af3df08186a3ddc4328c435dfbdfdb8 --label arch=arm64 --label version=0.0.0 . [2021-10-31T23:50:43.443Z] Sending build context to Docker daemon 128.5kB [2021-10-31T23:50:43.713Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-31T23:50:43.713Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-31T23:50:43.713Z] ---> 69e754bbd99f [2021-10-31T23:50:43.713Z] Step 3/24 : ARG MAKE='make build' [2021-10-31T23:50:43.984Z] ---> Running in 695e8b941870 [2021-10-31T23:50:44.255Z] Removing intermediate container 695e8b941870 [2021-10-31T23:50:44.255Z] ---> 11c786db1eed [2021-10-31T23:50:44.255Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-31T23:50:44.527Z] ---> Running in df5361c32f6c [2021-10-31T23:50:44.798Z] Removing intermediate container df5361c32f6c [2021-10-31T23:50:44.798Z] ---> 0eff068b9412 [2021-10-31T23:50:44.798Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-10-31T23:50:45.069Z] ---> Running in de93a03311c0 [2021-10-31T23:50:45.344Z] Removing intermediate container de93a03311c0 [2021-10-31T23:50:45.344Z] ---> 7be0c1b33abd [2021-10-31T23:50:45.344Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-31T23:50:45.344Z] ---> Running in 6531cb89ce1c [2021-10-31T23:50:47.320Z] Removing intermediate container 6531cb89ce1c [2021-10-31T23:50:47.320Z] ---> 79b5afe3a4d8 [2021-10-31T23:50:47.320Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-31T23:50:47.320Z] ---> Running in e6ff588c36f1 [2021-10-31T23:50:48.755Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-31T23:50:49.729Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-31T23:50:50.325Z] OK: 223 MiB in 56 packages [2021-10-31T23:50:51.315Z] Removing intermediate container e6ff588c36f1 [2021-10-31T23:50:51.315Z] ---> 891ecadd5dc5 [2021-10-31T23:50:51.315Z] Step 8/24 : WORKDIR /device-rest-go [2021-10-31T23:50:51.315Z] ---> Running in 7b6894f2673a [2021-10-31T23:50:51.918Z] Removing intermediate container 7b6894f2673a [2021-10-31T23:50:51.918Z] ---> 5a1051056f24 [2021-10-31T23:50:51.918Z] Step 9/24 : COPY . . [2021-10-31T23:50:52.919Z] ---> 2bb2da6d4090 [2021-10-31T23:50:52.919Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-31T23:50:52.919Z] ---> Running in 72c0b4c5f54c [2021-10-31T23:50:55.563Z] Removing intermediate container 72c0b4c5f54c [2021-10-31T23:50:55.563Z] ---> bf0b895c5174 [2021-10-31T23:50:55.563Z] Step 11/24 : RUN $MAKE [2021-10-31T23:50:55.563Z] ---> Running in 978e4872ed1a [2021-10-31T23:50:57.001Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-10-31T23:51:44.034Z] Removing intermediate container 978e4872ed1a [2021-10-31T23:51:44.034Z] ---> e12a0452f641 [2021-10-31T23:51:44.034Z] Step 12/24 : FROM alpine:3.14 [2021-10-31T23:51:44.034Z] 3.14: Pulling from library/alpine [2021-10-31T23:51:44.034Z] 552d1f2373af: Already exists [2021-10-31T23:51:44.034Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-31T23:51:44.034Z] Status: Downloaded newer image for alpine:3.14 [2021-10-31T23:51:44.034Z] ---> bb3de5531c18 [2021-10-31T23:51:44.034Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-10-31T23:51:44.034Z] ---> Running in db6e0c308ad9 [2021-10-31T23:51:44.034Z] Removing intermediate container db6e0c308ad9 [2021-10-31T23:51:44.034Z] ---> 239b7ad93ddf [2021-10-31T23:51:44.034Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-10-31T23:51:44.034Z] ---> Running in 793b33202849 [2021-10-31T23:51:44.034Z] Removing intermediate container 793b33202849 [2021-10-31T23:51:44.034Z] ---> f1860ff07494 [2021-10-31T23:51:44.034Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-31T23:51:44.034Z] ---> Running in 7e4e64d1283b [2021-10-31T23:51:44.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-31T23:51:44.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-31T23:51:44.034Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-31T23:51:44.035Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-31T23:51:44.035Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-31T23:51:44.035Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-31T23:51:44.035Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-31T23:51:44.035Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-31T23:51:44.035Z] Executing busybox-1.33.1-r3.trigger [2021-10-31T23:51:44.035Z] OK: 8 MiB in 20 packages [2021-10-31T23:51:44.035Z] Removing intermediate container 7e4e64d1283b [2021-10-31T23:51:44.035Z] ---> b1285d54bfba [2021-10-31T23:51:44.035Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-10-31T23:51:44.035Z] ---> 0d7fbd2c1bbd [2021-10-31T23:51:44.035Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-10-31T23:51:44.634Z] ---> 6f5990733aed [2021-10-31T23:51:44.634Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-10-31T23:51:45.620Z] ---> f68383f1858e [2021-10-31T23:51:45.620Z] Step 19/24 : EXPOSE 59986 [2021-10-31T23:51:45.620Z] ---> Running in 80c0bedc5844 [2021-10-31T23:51:46.221Z] Removing intermediate container 80c0bedc5844 [2021-10-31T23:51:46.221Z] ---> b253b0704baf [2021-10-31T23:51:46.221Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-10-31T23:51:46.221Z] ---> Running in 0785b7033b46 [2021-10-31T23:51:46.823Z] Removing intermediate container 0785b7033b46 [2021-10-31T23:51:46.823Z] ---> bdfea3a18d8a [2021-10-31T23:51:46.823Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-10-31T23:51:46.824Z] ---> Running in 85d7a1bd99c5 [2021-10-31T23:51:47.424Z] Removing intermediate container 85d7a1bd99c5 [2021-10-31T23:51:47.424Z] ---> b5ec297764fd [2021-10-31T23:51:47.424Z] Step 22/24 : LABEL arch=arm64 [2021-10-31T23:51:47.424Z] ---> Running in c11403ea9477 [2021-10-31T23:51:48.020Z] Removing intermediate container c11403ea9477 [2021-10-31T23:51:48.020Z] ---> 26a531fd0afb [2021-10-31T23:51:48.020Z] Step 23/24 : LABEL git_sha=5acad0679af3df08186a3ddc4328c435dfbdfdb8 [2021-10-31T23:51:48.020Z] ---> Running in 985fc59967c6 [2021-10-31T23:51:48.622Z] Removing intermediate container 985fc59967c6 [2021-10-31T23:51:48.622Z] ---> f132ffef2206 [2021-10-31T23:51:48.622Z] Step 24/24 : LABEL version=0.0.0 [2021-10-31T23:51:48.622Z] ---> Running in b9ce65e7b424 [2021-10-31T23:51:49.221Z] Removing intermediate container b9ce65e7b424 [2021-10-31T23:51:49.221Z] ---> 259989944e23 [2021-10-31T23:51:49.221Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-31T23:51:49.221Z] Successfully built 259989944e23 [2021-10-31T23:51:49.221Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:51:49.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-31T23:51:50.061Z] [2021-10-31T23:51:50.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:51:50.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-31T23:51:50.700Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-31T23:51:50.700Z] 448f6bf000e3: Pulling fs layer [2021-10-31T23:51:50.700Z] f757da607395: Pulling fs layer [2021-10-31T23:51:50.700Z] 05883995daec: Pulling fs layer [2021-10-31T23:51:50.700Z] 8603b9c90790: Pulling fs layer [2021-10-31T23:51:50.700Z] 1560dd03e051: Pulling fs layer [2021-10-31T23:51:50.700Z] 27f5ce0e4adf: Pulling fs layer [2021-10-31T23:51:50.700Z] c2d8d7efcc4b: Pulling fs layer [2021-10-31T23:51:50.700Z] 1560dd03e051: Waiting [2021-10-31T23:51:50.700Z] 27f5ce0e4adf: Waiting [2021-10-31T23:51:50.700Z] f757da607395: Verifying Checksum [2021-10-31T23:51:50.700Z] f757da607395: Download complete [2021-10-31T23:51:50.976Z] 8603b9c90790: Verifying Checksum [2021-10-31T23:51:50.976Z] 8603b9c90790: Download complete [2021-10-31T23:51:50.976Z] 1560dd03e051: Verifying Checksum [2021-10-31T23:51:50.976Z] 1560dd03e051: Download complete [2021-10-31T23:51:50.976Z] 27f5ce0e4adf: Verifying Checksum [2021-10-31T23:51:50.976Z] 27f5ce0e4adf: Download complete [2021-10-31T23:51:50.976Z] 05883995daec: Verifying Checksum [2021-10-31T23:51:50.976Z] 05883995daec: Download complete [2021-10-31T23:51:51.250Z] 448f6bf000e3: Verifying Checksum [2021-10-31T23:51:51.250Z] 448f6bf000e3: Download complete [2021-10-31T23:51:53.879Z] c2d8d7efcc4b: Verifying Checksum [2021-10-31T23:51:53.879Z] c2d8d7efcc4b: Download complete [2021-10-31T23:51:55.322Z] 448f6bf000e3: Pull complete [2021-10-31T23:51:55.920Z] f757da607395: Pull complete [2021-10-31T23:51:57.376Z] 05883995daec: Pull complete [2021-10-31T23:51:57.976Z] 8603b9c90790: Pull complete [2021-10-31T23:51:58.962Z] 1560dd03e051: Pull complete [2021-10-31T23:51:59.238Z] 27f5ce0e4adf: Pull complete [2021-10-31T23:52:14.364Z] c2d8d7efcc4b: Pull complete [2021-10-31T23:52:14.364Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-31T23:52:14.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-31T23:52:14.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-31T23:52:14.633Z] prd-ubuntu18.04-docker-arm64-4c-16g-13581 does not seem to be running inside a container [2021-10-31T23:52:14.721Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-31T23:52:18.082Z] $ docker top d8b2a00c9d7a4d81fb233f4fed3b136a28109dd01e3962a6015b5786eb197c65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:52:19.128Z] ---> job-cost.sh [2021-10-31T23:52:19.128Z] lf-activate-venv: SKIPPING [2021-10-31T23:52:19.128Z] INFO: No Stack... [2021-10-31T23:52:19.405Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-31T23:52:20.002Z] INFO: Archiving Costs [Pipeline] sh [2021-10-31T23:52:20.674Z] + cut -d, -f6 [2021-10-31T23:52:20.674Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock [2021-10-31T23:52:20.753Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [2021-10-31T23:52:20.760Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] did not exist. Created. [2021-10-31T23:52:20.760Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-31T23:52:21.444Z] /w/workspace/device-rest-go/3@tmp/durable-9f6bece8/script.sh: 1: /w/workspace/device-rest-go/3@tmp/durable-9f6bece8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-31T23:52:22.127Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-31T23:52:22.149Z] Warning: overwriting stash ‘stack-cost’ [2021-10-31T23:52:22.203Z] Stashed 1 file(s) [Pipeline] } [2021-10-31T23:52:22.212Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-31T23:52:22.224Z] $ docker stop --time=1 d8b2a00c9d7a4d81fb233f4fed3b136a28109dd01e3962a6015b5786eb197c65 [2021-10-31T23:52:23.903Z] $ docker rm -f d8b2a00c9d7a4d81fb233f4fed3b136a28109dd01e3962a6015b5786eb197c65 [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-31T23:52:24.568Z] provisioning config files... [2021-10-31T23:52:24.576Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config5649120783753687739tmp [Pipeline] { [Pipeline] sh [2021-10-31T23:52:24.883Z] + set +x [2021-10-31T23:52:24.883Z] + curl -s https://codecov.io/bash [2021-10-31T23:52:24.883Z] + bash -s -- [2021-10-31T23:52:24.883Z] [2021-10-31T23:52:24.883Z] _____ _ [2021-10-31T23:52:24.883Z] / ____| | | [2021-10-31T23:52:24.883Z] | | ___ __| | ___ ___ _____ __ [2021-10-31T23:52:24.883Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-31T23:52:24.883Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-31T23:52:24.883Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-31T23:52:24.883Z] Bash-1.0.6 [2021-10-31T23:52:24.883Z] [2021-10-31T23:52:24.883Z] [2021-10-31T23:52:24.883Z] ==> git version 2.24.4 found [2021-10-31T23:52:24.883Z] ==> 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-31T23:52:24.883Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-31T23:52:24.883Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-31T23:52:24.883Z] ==> Jenkins CI detected. [2021-10-31T23:52:24.883Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-140 [2021-10-31T23:52:24.883Z] project root: . [2021-10-31T23:52:24.883Z] --> token set from env [2021-10-31T23:52:24.883Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-31T23:52:24.883Z] ==> Running gcov in . (disable via -X gcov) [2021-10-31T23:52:24.883Z] ==> Python coveragepy not found [2021-10-31T23:52:24.883Z] ==> Searching for coverage reports in: [2021-10-31T23:52:24.883Z] + . [2021-10-31T23:52:24.883Z] -> Found 1 reports [2021-10-31T23:52:24.883Z] ==> Detecting git/mercurial file structure [2021-10-31T23:52:24.883Z] ==> Reading reports [2021-10-31T23:52:24.883Z] + ./coverage.out bytes=8435 [2021-10-31T23:52:25.145Z] ==> Appending adjustments [2021-10-31T23:52:25.145Z] https://docs.codecov.io/docs/fixing-reports [2021-10-31T23:52:25.145Z] + Found adjustments [2021-10-31T23:52:25.145Z] ==> Gzipping contents [2021-10-31T23:52:25.145Z] 4.0K /tmp/codecov.uNL3VX.gz [2021-10-31T23:52:25.145Z] ==> Uploading reports [2021-10-31T23:52:25.145Z] url: https://codecov.io [2021-10-31T23:52:25.145Z] query: branch=PR-140&commit=5acad0679af3df08186a3ddc4328c435dfbdfdb8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-140%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=140&job=&cmd_args= [2021-10-31T23:52:25.145Z] -> Pinging Codecov [2021-10-31T23:52:25.145Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-140&commit=5acad0679af3df08186a3ddc4328c435dfbdfdb8&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-140%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=140&job=&cmd_args= [2021-10-31T23:52:25.406Z] -> Uploading to [2021-10-31T23:52:25.407Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-31/4E5D53B4F1F92C436F7061BF334D961C/5acad0679af3df08186a3ddc4328c435dfbdfdb8/eb2cbfed-1e60-4f45-90ea-34d2471417fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211031T235225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6c7eaa16b561300a52f786e272b65aad402706058c106b9a757d85070d4d21f [2021-10-31T23:52:25.407Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-31T23:52:25.407Z] Dload Upload Total Spent Left Speed [2021-10-31T23:52:25.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 5037 --:--:-- --:--:-- --:--:-- 5046 [2021-10-31T23:52:25.976Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5acad0679af3df08186a3ddc4328c435dfbdfdb8 [Pipeline] } [2021-10-31T23:52:25.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-31T23:52:27.286Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-140/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:52:27.592Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:52:28.157Z] ---> package-listing.sh [2021-10-31T23:52:28.157Z] ++ facter osfamily [2021-10-31T23:52:28.157Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-31T23:52:28.420Z] + OS_FAMILY=redhat [2021-10-31T23:52:28.420Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-140 [2021-10-31T23:52:28.420Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-31T23:52:28.420Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-31T23:52:28.420Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-31T23:52:28.420Z] + PACKAGES=/tmp/packages_start.txt [2021-10-31T23:52:28.420Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' [2021-10-31T23:52:28.420Z] + PACKAGES=/tmp/packages_end.txt [2021-10-31T23:52:28.420Z] + case "${OS_FAMILY}" in [2021-10-31T23:52:28.420Z] + sort [2021-10-31T23:52:28.420Z] + rpm -qa [2021-10-31T23:52:29.000Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-31T23:52:29.000Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-31T23:52:29.000Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-31T23:52:29.000Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' [2021-10-31T23:52:29.000Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ [2021-10-31T23:52:29.000Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ [Pipeline] echo [2021-10-31T23:52:29.012Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-31T23:52:29.296Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:52:29.854Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-31T23:52:29.855Z] [2021-10-31T23:52:29.855Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-31T23:52:30.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-31T23:52:30.160Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-31T23:52:30.160Z] b4d181a07f80: Pulling fs layer [2021-10-31T23:52:30.160Z] a1111a8f2ec3: Pulling fs layer [2021-10-31T23:52:30.160Z] ed53099fbce6: Pulling fs layer [2021-10-31T23:52:30.160Z] dc539afda2c1: Pulling fs layer [2021-10-31T23:52:30.160Z] 77bc0d833cb6: Pulling fs layer [2021-10-31T23:52:30.160Z] 9065ff56babe: Pulling fs layer [2021-10-31T23:52:30.160Z] d287ab97295c: Pulling fs layer [2021-10-31T23:52:30.160Z] 77bc0d833cb6: Waiting [2021-10-31T23:52:30.160Z] 9065ff56babe: Waiting [2021-10-31T23:52:30.160Z] d287ab97295c: Waiting [2021-10-31T23:52:30.160Z] dc539afda2c1: Waiting [2021-10-31T23:52:30.160Z] a1111a8f2ec3: Verifying Checksum [2021-10-31T23:52:30.160Z] a1111a8f2ec3: Download complete [2021-10-31T23:52:30.160Z] dc539afda2c1: Verifying Checksum [2021-10-31T23:52:30.160Z] dc539afda2c1: Download complete [2021-10-31T23:52:30.428Z] ed53099fbce6: Verifying Checksum [2021-10-31T23:52:30.428Z] ed53099fbce6: Download complete [2021-10-31T23:52:30.428Z] 9065ff56babe: Verifying Checksum [2021-10-31T23:52:30.428Z] 9065ff56babe: Download complete [2021-10-31T23:52:30.428Z] 77bc0d833cb6: Verifying Checksum [2021-10-31T23:52:30.428Z] 77bc0d833cb6: Download complete [2021-10-31T23:52:30.428Z] b4d181a07f80: Verifying Checksum [2021-10-31T23:52:30.428Z] b4d181a07f80: Download complete [2021-10-31T23:52:30.998Z] d287ab97295c: Verifying Checksum [2021-10-31T23:52:30.998Z] d287ab97295c: Download complete [2021-10-31T23:52:31.979Z] b4d181a07f80: Pull complete [2021-10-31T23:52:32.240Z] a1111a8f2ec3: Pull complete [2021-10-31T23:52:32.503Z] ed53099fbce6: Pull complete [2021-10-31T23:52:32.764Z] dc539afda2c1: Pull complete [2021-10-31T23:52:33.032Z] 77bc0d833cb6: Pull complete [2021-10-31T23:52:33.032Z] 9065ff56babe: Pull complete [2021-10-31T23:52:38.352Z] d287ab97295c: Pull complete [2021-10-31T23:52:38.352Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-31T23:52:38.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-31T23:52:38.352Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-31T23:52:38.430Z] prd-centos7-docker-4c-2g-13579 does not seem to be running inside a container [2021-10-31T23:52:38.464Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-31T23:52:41.720Z] $ docker top 23daa542e362820067208701af05bc174f8e261795d63be567416bf4431d90e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-31T23:52:42.089Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-31T23:52:42.386Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-31T23:52:42.680Z] + ls /var/log/sa-host [2021-10-31T23:52:42.680Z] + sadf -c /var/log/sa-host/sa30 [2021-10-31T23:52:42.680Z] file_magic: OK [2021-10-31T23:52:42.680Z] HZ: Using current value: 100 [2021-10-31T23:52:42.680Z] file_header: OK [2021-10-31T23:52:42.680Z] 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-31T23:52:42.680Z] Statistics: [2021-10-31T23:52:42.680Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-31T23:52:42.680Z] File successfully converted to sysstat format version 12.0.3 [2021-10-31T23:52:42.680Z] + sadf -c /var/log/sa-host/sa31 [2021-10-31T23:52:42.680Z] file_magic: OK [2021-10-31T23:52:42.680Z] HZ: Using current value: 100 [2021-10-31T23:52:42.680Z] file_header: OK [2021-10-31T23:52:42.680Z] 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-31T23:52:42.680Z] Statistics: [2021-10-31T23:52:42.680Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-31T23:52:42.680Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-31T23:52:42.929Z] provisioning config files... [2021-10-31T23:52:42.938Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config3864852703245742976tmp [Pipeline] { [Pipeline] echo [2021-10-31T23:52:42.948Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:52:43.240Z] ---> create-netrc.sh [Pipeline] } [2021-10-31T23:52:43.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:52:43.572Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-31T23:52:43.582Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:52:43.868Z] ---> sudo-logs.sh [2021-10-31T23:52:43.868Z] Archiving 'sudo' log.. [2021-10-31T23:52:43.868Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13579.novalocal: Name or service not known [2021-10-31T23:52:43.868Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13579.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-31T23:52:43.888Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:52:44.172Z] ---> job-cost.sh [2021-10-31T23:52:44.172Z] lf-activate-venv: SKIPPING [2021-10-31T23:52:44.172Z] DEBUG: total: 0.10999999940395355 [2021-10-31T23:52:44.172Z] INFO: Retrieving Stack Cost... [2021-10-31T23:52:44.433Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-31T23:52:44.693Z] INFO: Archiving Costs [Pipeline] echo [2021-10-31T23:52:44.702Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-31T23:52:45.000Z] ---> logs-deploy.sh [2021-10-31T23:52:45.000Z] lf-activate-venv: SKIPPING [2021-10-31T23:52:45.000Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-140/3 [2021-10-31T23:52:45.000Z] INFO: archiving workspace using pattern(s): [2021-10-31T23:52:45.575Z] Archives upload complete. [2021-10-31T23:52:45.836Z] INFO: archiving logs to Nexus