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 54df0161275584c6547609caa88c8f031246ac76+ab80832e8fa331645ec332aa024eb9f07585cb40 (c8955b51676b5c58a0c9f9b843fe2b9734fee9a3) 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-ssh8966375007433582248.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh363587423983777661.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh5968941864600077873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh7233723742101608763.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-ssh7147375022387508963.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13362 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-ssh1606329043312205143.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-ssh7803850837508438671.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 54df0161275584c6547609caa88c8f031246ac76 Merge succeeded, producing 54df0161275584c6547609caa88c8f031246ac76 Checking out Revision 54df0161275584c6547609caa88c8f031246ac76 (PR-140) > git config core.sparsecheckout # timeout=10 > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # 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-ssh3863453593628934055.key > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # 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-29T00:41:09.641Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-29T00:41:09.686Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-29T00:41:09.703Z] ========================================================= [2021-10-29T00:41:09.703Z] EdgeX Global Pipelines Version Info [2021-10-29T00:41:09.703Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 [2021-10-29T00:41:10.827Z] ------------------- [2021-10-29T00:41:10.827Z] stable info: [2021-10-29T00:41:10.827Z] ------------------- [2021-10-29T00:41:10.827Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-29T00:41:10.827Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-29T00:41:10.827Z] Message: update stable to v1.0.210 [2021-10-29T00:41:11.409Z] ------------------- [2021-10-29T00:41:11.409Z] experimental info: [2021-10-29T00:41:11.409Z] ------------------- [2021-10-29T00:41:11.409Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-29T00:41:11.409Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-29T00:41:11.409Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-29T00:41:11.477Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-29T00:41:11.486Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-29T00:41:11.496Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-29T00:41:11.508Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-29T00:41:11.519Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-29T00:41:11.531Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-29T00:41:11.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-29T00:41:11.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-29T00:41:11.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-29T00:41:11.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-29T00:41:11.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-29T00:41:11.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-29T00:41:11.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-29T00:41:11.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-29T00:41:11.623Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T00:41:11.633Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T00:41:11.644Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T00:41:11.656Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T00:41:11.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-29T00:41:11.677Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-29T00:41:11.687Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-29T00:41:11.699Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-29T00:41:11.713Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-29T00:41:11.724Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-29T00:41:11.738Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-29T00:41:11.749Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-29T00:41:11.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-140 [Pipeline] echo [2021-10-29T00:41:11.796Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-140 [Pipeline] echo [2021-10-29T00:41:11.806Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-140 [Pipeline] echo [2021-10-29T00:41:11.817Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54df0161275584c6547609caa88c8f031246ac76 [Pipeline] echo [2021-10-29T00:41:11.828Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54df016 [Pipeline] echo [2021-10-29T00:41:11.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:41:11.878Z] provisioning config files... [2021-10-29T00:41:11.893Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config6007389312395281654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:41:12.241Z] ---> docker-login.sh [2021-10-29T00:41:12.241Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:41:12.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:12.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:12.505Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:12.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:12.505Z] [2021-10-29T00:41:12.505Z] Login Succeeded [2021-10-29T00:41:12.505Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:41:12.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:12.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:12.505Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:12.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:12.505Z] [2021-10-29T00:41:12.505Z] Login Succeeded [2021-10-29T00:41:12.505Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:41:12.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:12.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:12.765Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:12.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:12.765Z] [2021-10-29T00:41:12.765Z] Login Succeeded [2021-10-29T00:41:12.765Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:41:12.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:12.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:12.765Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:12.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:12.765Z] [2021-10-29T00:41:12.765Z] Login Succeeded [2021-10-29T00:41:12.765Z] docker.io [2021-10-29T00:41:12.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:13.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:13.335Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:13.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:13.335Z] [2021-10-29T00:41:13.335Z] Login Succeeded [2021-10-29T00:41:13.335Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:41:13.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-29T00:41:13.849Z] + git log --format=format:%s -1 54df0161275584c6547609caa88c8f031246ac76 [Pipeline] echo [2021-10-29T00:41:13.891Z] GIT_COMMIT: 54df0161275584c6547609caa88c8f031246ac76, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo [2021-10-29T00:41:13.900Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:41:14.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:41:14.340Z] [2021-10-29T00:41:14.340Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:41:14.645Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:41:14.645Z] latest: Pulling from edgex-devops/git-semver [2021-10-29T00:41:14.645Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T00:41:14.645Z] 3e5f54012d9b: Pulling fs layer [2021-10-29T00:41:14.645Z] 4c7163046ea9: Pulling fs layer [2021-10-29T00:41:14.645Z] 0c2d73faf560: Pulling fs layer [2021-10-29T00:41:14.645Z] 0c2d73faf560: Waiting [2021-10-29T00:41:14.645Z] 3e5f54012d9b: Verifying Checksum [2021-10-29T00:41:14.645Z] 3e5f54012d9b: Download complete [2021-10-29T00:41:14.645Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T00:41:14.645Z] a0d0a0d46f8b: Download complete [2021-10-29T00:41:14.645Z] 4c7163046ea9: Verifying Checksum [2021-10-29T00:41:14.645Z] 4c7163046ea9: Download complete [2021-10-29T00:41:14.645Z] 0c2d73faf560: Verifying Checksum [2021-10-29T00:41:14.645Z] 0c2d73faf560: Download complete [2021-10-29T00:41:14.907Z] a0d0a0d46f8b: Pull complete [2021-10-29T00:41:14.907Z] 3e5f54012d9b: Pull complete [2021-10-29T00:41:15.177Z] 4c7163046ea9: Pull complete [2021-10-29T00:41:15.443Z] 0c2d73faf560: Pull complete [2021-10-29T00:41:15.443Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-29T00:41:15.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:41:15.443Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-29T00:41:15.510Z] prd-centos7-docker-4c-2g-13362 does not seem to be running inside a container [2021-10-29T00:41:15.421Z] $ 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-29T00:41:15.993Z] $ docker top 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-29T00:41:16.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T00:41:16.178Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T00:41:16.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T00:41:16.186Z] $ docker exec 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 ssh-agent [2021-10-29T00:41:16.371Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlPHoIe/agent.15 [2021-10-29T00:41:16.371Z] SSH_AGENT_PID=21 [2021-10-29T00:41:16.377Z] Running ssh-add (command line suppressed) [2021-10-29T00:41:16.392Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7228450195184757842.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7228450195184757842.key) [2021-10-29T00:41:16.476Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T00:41:16.773Z] + git tag --points-at HEAD [Pipeline] } [2021-10-29T00:41:16.741Z] $ docker exec --env ******** --env ******** 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 ssh-agent -k [2021-10-29T00:41:16.837Z] unset SSH_AUTH_SOCK; [2021-10-29T00:41:16.839Z] unset SSH_AGENT_PID; [2021-10-29T00:41:16.839Z] echo Agent pid 21 killed; [2021-10-29T00:41:16.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-29T00:41:16.912Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T00:41:16.912Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T00:41:17.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T00:41:16.992Z] $ docker exec 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 ssh-agent [2021-10-29T00:41:17.108Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgjgiLj/agent.56 [2021-10-29T00:41:17.108Z] SSH_AGENT_PID=63 [2021-10-29T00:41:17.113Z] Running ssh-add (command line suppressed) [2021-10-29T00:41:17.195Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_346267057756722301.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_346267057756722301.key) [2021-10-29T00:41:17.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T00:41:17.527Z] + git semver init [2021-10-29T00:41:17.527Z] # -> Open(): unable to determine branch for HEAD [2021-10-29T00:41:17.527Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.git [2021-10-29T00:41:17.527Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-140 [2021-10-29T00:41:17.527Z] # $SEMVER_REMOTE_NAME = origin [2021-10-29T00:41:17.527Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-29T00:41:17.527Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-29T00:41:17.527Z] # $SEMVER_BRANCH = PR-140 [2021-10-29T00:41:17.527Z] # $SEMVER_TEMP = /tmp/semver-503617577 [2021-10-29T00:41:17.527Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-29T00:41:18.484Z] # '/tmp/semver-503617577' -> '/w/workspace/gexfoundry_device-rest-go_PR-140/.semver' [2021-10-29T00:41:18.484Z] # -> Force: false [2021-10-29T00:41:18.484Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.semver [Pipeline] } [2021-10-29T00:41:18.499Z] $ docker exec --env ******** --env ******** 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 ssh-agent -k [2021-10-29T00:41:18.596Z] unset SSH_AUTH_SOCK; [2021-10-29T00:41:18.596Z] unset SSH_AGENT_PID; [2021-10-29T00:41:18.596Z] echo Agent pid 63 killed; [2021-10-29T00:41:18.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-29T00:41:18.915Z] + git semver [Pipeline] } [2021-10-29T00:41:18.930Z] $ docker stop --time=1 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 [2021-10-29T00:41:20.198Z] $ docker rm -f 2914694812ec36b44b525c401c92c7f8f651fe6aac5f15910d3db8c190eec707 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-29T00:41:20.543Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-29T00:41:20.784Z] Stashed 1 file(s) [Pipeline] echo [2021-10-29T00:41:20.786Z] [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-29T00:41:35.930Z] Still waiting to schedule task [2021-10-29T00:41:35.930Z] ‘prd-centos7-docker-4c-2g-13363’ is offline [2021-10-29T00:41:35.930Z] ‘prd-centos7-docker-4c-2g-13364’ is offline [2021-10-29T00:41:35.933Z] Still waiting to schedule task [2021-10-29T00:41:35.934Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13358’ [2021-10-29T00:42:32.206Z] Running on prd-centos7-docker-4c-2g-13365 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws [2021-10-29T00:42:32.216Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-10-29T00:42:32.308Z] The recommended git tool is: git [2021-10-29T00:42:34.392Z] using credential edgex-jenkins-ssh [2021-10-29T00:42:34.404Z] Cloning the remote Git repository [2021-10-29T00:42:33.930Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-29T00:42:33.988Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-10-29T00:42:34.015Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-29T00:42:34.015Z] > git --version # timeout=10 [2021-10-29T00:42:34.023Z] > git --version # 'git version 2.24.4' [2021-10-29T00:42:34.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:42:34.049Z] [INFO] Currently running in a labeled security context [2021-10-29T00:42:34.050Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:42:34.050Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh3772222485202281267.key [2021-10-29T00:42:34.076Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:42:34.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-29T00:42:35.010Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:42:35.022Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-29T00:42:35.033Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-29T00:42:35.034Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:42:35.035Z] [INFO] Currently running in a labeled security context [2021-10-29T00:42:35.035Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:42:35.035Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh4332337483485745668.key [2021-10-29T00:42:35.045Z] > 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-29T00:42:36.019Z] Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 54df0161275584c6547609caa88c8f031246ac76 [2021-10-29T00:42:36.120Z] Merge succeeded, producing 54df0161275584c6547609caa88c8f031246ac76 [2021-10-29T00:42:36.120Z] Checking out Revision 54df0161275584c6547609caa88c8f031246ac76 (PR-140) [2021-10-29T00:42:35.531Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:42:35.544Z] > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 [2021-10-29T00:42:35.576Z] > git remote # timeout=10 [2021-10-29T00:42:35.585Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T00:42:35.591Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:42:35.592Z] [INFO] Currently running in a labeled security context [2021-10-29T00:42:35.592Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:42:35.592Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh843398845014951671.key [2021-10-29T00:42:35.605Z] > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [2021-10-29T00:42:35.617Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T00:42:35.627Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:42:35.644Z] > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 [2021-10-29T00:42:39.481Z] 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-29T00:42:39.793Z] provisioning config files... [2021-10-29T00:42:39.808Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1516756734893900160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:42:40.194Z] ---> docker-login.sh [2021-10-29T00:42:40.194Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:42:40.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:42:40.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:42:40.194Z] Configure a credential helper to remove this warning. See [2021-10-29T00:42:40.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:42:40.194Z] [2021-10-29T00:42:40.194Z] Login Succeeded [2021-10-29T00:42:40.194Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:42:40.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:42:40.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:42:40.466Z] Configure a credential helper to remove this warning. See [2021-10-29T00:42:40.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:42:40.466Z] [2021-10-29T00:42:40.466Z] Login Succeeded [2021-10-29T00:42:40.466Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:42:40.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:42:40.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:42:40.466Z] Configure a credential helper to remove this warning. See [2021-10-29T00:42:40.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:42:40.466Z] [2021-10-29T00:42:40.466Z] Login Succeeded [2021-10-29T00:42:40.466Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:42:40.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:42:40.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:42:40.731Z] Configure a credential helper to remove this warning. See [2021-10-29T00:42:40.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:42:40.731Z] [2021-10-29T00:42:40.731Z] Login Succeeded [2021-10-29T00:42:40.731Z] docker.io [2021-10-29T00:42:40.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:42:41.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:42:41.001Z] Configure a credential helper to remove this warning. See [2021-10-29T00:42:41.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:42:41.001Z] [2021-10-29T00:42:41.001Z] Login Succeeded [2021-10-29T00:42:41.001Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:42:41.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T00:42:41.176Z] ========================================================= [2021-10-29T00:42:41.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-29T00:42:41.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:42:41.495Z] + 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-29T00:42:41.495Z] Sending build context to Docker daemon 119.3kB [2021-10-29T00:42:41.495Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T00:42:41.495Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T00:42:41.495Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-29T00:42:41.495Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T00:42:41.495Z] 31adcdaf11c8: Pulling fs layer [2021-10-29T00:42:41.495Z] b8b176561691: Pulling fs layer [2021-10-29T00:42:41.495Z] 4527c011a84f: Pulling fs layer [2021-10-29T00:42:41.495Z] 5d74067f8e1e: Pulling fs layer [2021-10-29T00:42:41.495Z] e0aca202a116: Pulling fs layer [2021-10-29T00:42:41.495Z] 3a43be97a3b4: Pulling fs layer [2021-10-29T00:42:41.495Z] 34cad66bf833: Pulling fs layer [2021-10-29T00:42:41.495Z] b4e3c513aaa6: Pulling fs layer [2021-10-29T00:42:41.495Z] e0aca202a116: Waiting [2021-10-29T00:42:41.495Z] 3a43be97a3b4: Waiting [2021-10-29T00:42:41.495Z] 34cad66bf833: Waiting [2021-10-29T00:42:41.495Z] b4e3c513aaa6: Waiting [2021-10-29T00:42:41.495Z] 4527c011a84f: Waiting [2021-10-29T00:42:41.495Z] 5d74067f8e1e: Waiting [2021-10-29T00:42:41.495Z] b8b176561691: Verifying Checksum [2021-10-29T00:42:41.495Z] b8b176561691: Download complete [2021-10-29T00:42:41.495Z] 31adcdaf11c8: Verifying Checksum [2021-10-29T00:42:41.495Z] 31adcdaf11c8: Download complete [2021-10-29T00:42:41.495Z] 5d74067f8e1e: Verifying Checksum [2021-10-29T00:42:41.495Z] 5d74067f8e1e: Download complete [2021-10-29T00:42:41.495Z] e0aca202a116: Verifying Checksum [2021-10-29T00:42:41.495Z] e0aca202a116: Download complete [2021-10-29T00:42:41.764Z] a0d0a0d46f8b: Download complete [2021-10-29T00:42:41.764Z] 3a43be97a3b4: Verifying Checksum [2021-10-29T00:42:41.764Z] 3a43be97a3b4: Download complete [2021-10-29T00:42:41.764Z] a0d0a0d46f8b: Pull complete [2021-10-29T00:42:41.764Z] 34cad66bf833: Verifying Checksum [2021-10-29T00:42:41.764Z] 34cad66bf833: Download complete [2021-10-29T00:42:42.030Z] 31adcdaf11c8: Pull complete [2021-10-29T00:42:42.335Z] b8b176561691: Pull complete [2021-10-29T00:42:42.601Z] b4e3c513aaa6: Verifying Checksum [2021-10-29T00:42:42.601Z] b4e3c513aaa6: Download complete [2021-10-29T00:42:42.601Z] 4527c011a84f: Verifying Checksum [2021-10-29T00:42:42.601Z] 4527c011a84f: Download complete [2021-10-29T00:42:46.808Z] 4527c011a84f: Pull complete [2021-10-29T00:42:46.808Z] 5d74067f8e1e: Pull complete [2021-10-29T00:42:46.808Z] e0aca202a116: Pull complete [2021-10-29T00:42:46.808Z] 3a43be97a3b4: Pull complete [2021-10-29T00:42:46.808Z] 34cad66bf833: Pull complete [2021-10-29T00:42:48.764Z] b4e3c513aaa6: Pull complete [2021-10-29T00:42:49.025Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-29T00:42:49.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-29T00:42:49.025Z] ---> 9f6097aaca64 [2021-10-29T00:42:49.025Z] Step 3/11 : ARG MAKE='make build' [2021-10-29T00:42:51.585Z] ---> Running in 3c9e559a881b [2021-10-29T00:42:51.852Z] Removing intermediate container 3c9e559a881b [2021-10-29T00:42:51.852Z] ---> 9b6e2f3c4909 [2021-10-29T00:42:51.852Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T00:42:51.852Z] ---> Running in 2895c3152708 [2021-10-29T00:42:51.852Z] Removing intermediate container 2895c3152708 [2021-10-29T00:42:51.852Z] ---> 73284a32ef5e [2021-10-29T00:42:51.852Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T00:42:51.852Z] ---> Running in eb6d2e2a2580 [2021-10-29T00:42:52.121Z] Removing intermediate container eb6d2e2a2580 [2021-10-29T00:42:52.121Z] ---> 2e82130f4b6a [2021-10-29T00:42:52.121Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T00:42:52.121Z] ---> Running in ad2d5a57af13 [2021-10-29T00:42:52.697Z] Removing intermediate container ad2d5a57af13 [2021-10-29T00:42:52.697Z] ---> 7387bae3dc00 [2021-10-29T00:42:52.697Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T00:42:52.697Z] ---> Running in 95c713597895 [2021-10-29T00:42:52.959Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-29T00:42:53.905Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-29T00:42:54.173Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T00:42:54.436Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T00:42:54.436Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T00:42:54.436Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T00:42:54.696Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T00:42:54.696Z] OK: 224 MiB in 56 packages [2021-10-29T00:42:54.961Z] Removing intermediate container 95c713597895 [2021-10-29T00:42:54.961Z] ---> e802d721509b [2021-10-29T00:42:54.961Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-29T00:42:54.961Z] ---> Running in ddcb68c5bec3 [2021-10-29T00:42:55.224Z] Removing intermediate container ddcb68c5bec3 [2021-10-29T00:42:55.224Z] ---> a9a27b71e0af [2021-10-29T00:42:55.224Z] Step 9/11 : COPY . . [2021-10-29T00:42:55.224Z] ---> 213e415e8e01 [2021-10-29T00:42:55.224Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T00:42:55.224Z] ---> Running in f8b9f980a1d9 [2021-10-29T00:43:34.048Z] Removing intermediate container f8b9f980a1d9 [2021-10-29T00:43:34.048Z] ---> aeee8c9121c7 [2021-10-29T00:43:34.048Z] Step 11/11 : RUN $MAKE [2021-10-29T00:43:34.048Z] ---> Running in 286d9e562a2b [2021-10-29T00:43:34.048Z] noop [2021-10-29T00:43:34.048Z] Removing intermediate container 286d9e562a2b [2021-10-29T00:43:34.048Z] ---> f5a61350b43c [2021-10-29T00:43:34.048Z] Successfully built f5a61350b43c [2021-10-29T00:43:34.048Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:43:34.347Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T00:43:34.347Z] . [Pipeline] withDockerContainer [2021-10-29T00:43:34.410Z] prd-centos7-docker-4c-2g-13365 does not seem to be running inside a container [2021-10-29T00:43:34.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-29T00:43:34.808Z] $ docker top 58894381208b1088dfaa92daca53d20752ae88320c395436435fccb0442191d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:43:35.181Z] + go version [2021-10-29T00:43:35.181Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-29T00:43:35.190Z] $ docker stop --time=1 58894381208b1088dfaa92daca53d20752ae88320c395436435fccb0442191d5 [2021-10-29T00:43:36.364Z] $ docker rm -f 58894381208b1088dfaa92daca53d20752ae88320c395436435fccb0442191d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:43:36.829Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T00:43:36.829Z] . [Pipeline] withDockerContainer [2021-10-29T00:43:36.894Z] prd-centos7-docker-4c-2g-13365 does not seem to be running inside a container [2021-10-29T00:43:36.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-29T00:43:37.298Z] $ docker top 795dcb723b1e0dc6e2de9441ba991898fd40c23d856d773580b2dd501294dcd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T00:43:37.686Z] + make test [2021-10-29T00:43:37.686Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-29T00:43:37.952Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-29T00:43:56.176Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-29T00:43:56.176Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements [2021-10-29T00:43:56.176Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T00:44:01.511Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T00:44:01.511Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T00:44:01.511Z] ./bin/test-attribution-txt.sh [2021-10-29T00:44:01.511Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-10-29T00:44:01.511Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-10-29T00:44:01.511Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2021-10-29T00:44:01.522Z] $ docker stop --time=1 795dcb723b1e0dc6e2de9441ba991898fd40c23d856d773580b2dd501294dcd5 [2021-10-29T00:44:03.132Z] $ docker rm -f 795dcb723b1e0dc6e2de9441ba991898fd40c23d856d773580b2dd501294dcd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:44:03.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:44:03.886Z] [2021-10-29T00:44:03.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:44:04.189Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:44:04.189Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T00:44:04.189Z] b4d181a07f80: Pulling fs layer [2021-10-29T00:44:04.189Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T00:44:04.189Z] ed53099fbce6: Pulling fs layer [2021-10-29T00:44:04.189Z] dc539afda2c1: Pulling fs layer [2021-10-29T00:44:04.189Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T00:44:04.189Z] 9065ff56babe: Pulling fs layer [2021-10-29T00:44:04.189Z] d287ab97295c: Pulling fs layer [2021-10-29T00:44:04.189Z] dc539afda2c1: Waiting [2021-10-29T00:44:04.189Z] 77bc0d833cb6: Waiting [2021-10-29T00:44:04.189Z] 9065ff56babe: Waiting [2021-10-29T00:44:04.189Z] d287ab97295c: Waiting [2021-10-29T00:44:04.189Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T00:44:04.189Z] a1111a8f2ec3: Download complete [2021-10-29T00:44:04.466Z] dc539afda2c1: Verifying Checksum [2021-10-29T00:44:04.466Z] dc539afda2c1: Download complete [2021-10-29T00:44:04.466Z] ed53099fbce6: Verifying Checksum [2021-10-29T00:44:04.466Z] ed53099fbce6: Download complete [2021-10-29T00:44:04.466Z] 9065ff56babe: Verifying Checksum [2021-10-29T00:44:04.466Z] 9065ff56babe: Download complete [2021-10-29T00:44:04.466Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T00:44:04.466Z] 77bc0d833cb6: Download complete [2021-10-29T00:44:04.466Z] b4d181a07f80: Verifying Checksum [2021-10-29T00:44:04.466Z] b4d181a07f80: Download complete [2021-10-29T00:44:05.062Z] d287ab97295c: Verifying Checksum [2021-10-29T00:44:05.062Z] d287ab97295c: Download complete [2021-10-29T00:44:06.010Z] b4d181a07f80: Pull complete [2021-10-29T00:44:06.010Z] a1111a8f2ec3: Pull complete [2021-10-29T00:44:06.589Z] ed53099fbce6: Pull complete [2021-10-29T00:44:06.589Z] dc539afda2c1: Pull complete [2021-10-29T00:44:06.858Z] 77bc0d833cb6: Pull complete [2021-10-29T00:44:06.858Z] 9065ff56babe: Pull complete [2021-10-29T00:44:12.198Z] d287ab97295c: Pull complete [2021-10-29T00:44:12.198Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T00:44:12.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:44:12.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T00:44:12.269Z] prd-centos7-docker-4c-2g-13365 does not seem to be running inside a container [2021-10-29T00:44:12.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-29T00:44:15.524Z] $ docker top b2379be37292ad447df5136b302ef3c6bd5445d1126b31b2699d5b23156196b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:44:15.964Z] ---> job-cost.sh [2021-10-29T00:44:15.964Z] lf-activate-venv: SKIPPING [2021-10-29T00:44:15.964Z] INFO: No Stack... [2021-10-29T00:44:16.227Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T00:44:16.487Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T00:44:16.790Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-10-29T00:44:16.791Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T00:44:16.817Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [2021-10-29T00:44:16.822Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] did not exist. Created. [2021-10-29T00:44:16.822Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T00:44:17.129Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-29T00:44:17.283Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T00:44:17.293Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T00:44:17.312Z] $ docker stop --time=1 b2379be37292ad447df5136b302ef3c6bd5445d1126b31b2699d5b23156196b3 [2021-10-29T00:44:18.448Z] $ docker rm -f b2379be37292ad447df5136b302ef3c6bd5445d1126b31b2699d5b23156196b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T00:44:18.656Z] Failed in branch amd64 [2021-10-29T00:45:02.111Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13368 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws [2021-10-29T00:45:02.123Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-10-29T00:45:02.324Z] The recommended git tool is: git [2021-10-29T00:45:08.416Z] using credential edgex-jenkins-ssh [2021-10-29T00:45:08.435Z] Cloning the remote Git repository [2021-10-29T00:45:08.506Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-29T00:45:08.649Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-10-29T00:45:08.755Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-29T00:45:08.756Z] > git --version # timeout=10 [2021-10-29T00:45:08.777Z] > git --version # 'git version 2.17.1' [2021-10-29T00:45:08.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:45:08.873Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:45:10.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-29T00:45:10.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:45:10.531Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-29T00:45:10.565Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-29T00:45:10.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:45:10.580Z] > 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-29T00:45:11.231Z] Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 54df0161275584c6547609caa88c8f031246ac76 [2021-10-29T00:45:11.472Z] Merge succeeded, producing 54df0161275584c6547609caa88c8f031246ac76 [2021-10-29T00:45:11.472Z] Checking out Revision 54df0161275584c6547609caa88c8f031246ac76 (PR-140) [2021-10-29T00:45:11.255Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:45:11.275Z] > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 [2021-10-29T00:45:11.370Z] > git remote # timeout=10 [2021-10-29T00:45:11.397Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T00:45:11.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:45:11.426Z] > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [2021-10-29T00:45:11.455Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T00:45:11.480Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:45:11.495Z] > git checkout -f 54df0161275584c6547609caa88c8f031246ac76 # timeout=10 [2021-10-29T00:45:15.850Z] 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-29T00:45:16.720Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-29T00:45:16.721Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-29T00:45:16.721Z] Dload Upload Total Spent Left Speed [2021-10-29T00:45:16.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2021-10-29T00:45:17.167Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-29T00:45:17.510Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2021-10-29T00:45:17.510Z] [2021-10-29T00:45:17.510Z] { [2021-10-29T00:45:17.510Z] "registry-mirrors": [ [2021-10-29T00:45:17.510Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-29T00:45:17.510Z] ], [2021-10-29T00:45:17.510Z] "bip": "10.250.0.254/24", [2021-10-29T00:45:17.510Z] "hosts": [ [2021-10-29T00:45:17.510Z] "tcp://0.0.0.0:5555", [2021-10-29T00:45:17.510Z] "unix:///var/run/docker.sock" [2021-10-29T00:45:17.510Z] ], [2021-10-29T00:45:17.510Z] "mtu": 1458, [2021-10-29T00:45:17.510Z] "selinux-enabled": true, [2021-10-29T00:45:17.510Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-29T00:45:17.510Z] } [Pipeline] sh [2021-10-29T00:45:17.873Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-29T00:45:18.221Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:45:36.672Z] provisioning config files... [2021-10-29T00:45:36.700Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2194359549073027541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:45:37.068Z] ---> docker-login.sh [2021-10-29T00:45:37.068Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:45:38.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:38.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:38.326Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:38.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:38.326Z] [2021-10-29T00:45:38.326Z] Login Succeeded [2021-10-29T00:45:38.326Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:45:38.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:38.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:38.926Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:38.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:38.926Z] [2021-10-29T00:45:38.926Z] Login Succeeded [2021-10-29T00:45:38.926Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:45:39.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:39.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:39.532Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:39.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:39.532Z] [2021-10-29T00:45:39.532Z] Login Succeeded [2021-10-29T00:45:39.532Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:45:40.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:40.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:40.132Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:40.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:40.132Z] [2021-10-29T00:45:40.132Z] Login Succeeded [2021-10-29T00:45:40.132Z] docker.io [2021-10-29T00:45:40.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:45:41.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:45:41.006Z] Configure a credential helper to remove this warning. See [2021-10-29T00:45:41.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:45:41.006Z] [2021-10-29T00:45:41.006Z] Login Succeeded [2021-10-29T00:45:41.006Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:45:41.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T00:45:41.538Z] ========================================================= [2021-10-29T00:45:41.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-29T00:45:41.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:45:41.981Z] + 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-29T00:45:41.981Z] Sending build context to Docker daemon 119.3kB [2021-10-29T00:45:42.586Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T00:45:42.586Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T00:45:42.586Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-29T00:45:42.586Z] 552d1f2373af: Pulling fs layer [2021-10-29T00:45:42.586Z] ea3f2d53f512: Pulling fs layer [2021-10-29T00:45:42.586Z] 9e70ebbbe112: Pulling fs layer [2021-10-29T00:45:42.586Z] 7a9cfe048b4a: Pulling fs layer [2021-10-29T00:45:42.586Z] 72dc09318566: Pulling fs layer [2021-10-29T00:45:42.586Z] f4f7b4309257: Pulling fs layer [2021-10-29T00:45:42.586Z] 0ac9a79272e3: Pulling fs layer [2021-10-29T00:45:42.586Z] 7a9cfe048b4a: Waiting [2021-10-29T00:45:42.586Z] b78e95d17946: Pulling fs layer [2021-10-29T00:45:42.586Z] f4f7b4309257: Waiting [2021-10-29T00:45:42.586Z] 0ac9a79272e3: Waiting [2021-10-29T00:45:42.586Z] b78e95d17946: Waiting [2021-10-29T00:45:42.586Z] 72dc09318566: Waiting [2021-10-29T00:45:42.586Z] 9e70ebbbe112: Verifying Checksum [2021-10-29T00:45:42.586Z] 9e70ebbbe112: Download complete [2021-10-29T00:45:42.586Z] ea3f2d53f512: Verifying Checksum [2021-10-29T00:45:42.586Z] ea3f2d53f512: Download complete [2021-10-29T00:45:42.586Z] 72dc09318566: Verifying Checksum [2021-10-29T00:45:42.586Z] 72dc09318566: Download complete [2021-10-29T00:45:42.586Z] f4f7b4309257: Download complete [2021-10-29T00:45:42.586Z] 552d1f2373af: Verifying Checksum [2021-10-29T00:45:42.586Z] 0ac9a79272e3: Verifying Checksum [2021-10-29T00:45:42.586Z] 0ac9a79272e3: Download complete [2021-10-29T00:45:43.599Z] 552d1f2373af: Pull complete [2021-10-29T00:45:44.219Z] ea3f2d53f512: Pull complete [2021-10-29T00:45:44.821Z] 9e70ebbbe112: Pull complete [2021-10-29T00:45:44.821Z] b78e95d17946: Verifying Checksum [2021-10-29T00:45:44.821Z] b78e95d17946: Download complete [2021-10-29T00:45:45.099Z] 7a9cfe048b4a: Verifying Checksum [2021-10-29T00:45:45.099Z] 7a9cfe048b4a: Download complete [2021-10-29T00:45:55.257Z] 7a9cfe048b4a: Pull complete [2021-10-29T00:45:55.532Z] 72dc09318566: Pull complete [2021-10-29T00:45:55.813Z] f4f7b4309257: Pull complete [2021-10-29T00:45:56.410Z] 0ac9a79272e3: Pull complete [2021-10-29T00:46:03.172Z] b78e95d17946: Pull complete [2021-10-29T00:46:03.172Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-29T00:46:03.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-29T00:46:03.172Z] ---> 8b459fc5aaf0 [2021-10-29T00:46:03.172Z] Step 3/11 : ARG MAKE='make build' [2021-10-29T00:46:04.634Z] ---> Running in cb2b4f909c7a [2021-10-29T00:46:05.232Z] Removing intermediate container cb2b4f909c7a [2021-10-29T00:46:05.232Z] ---> 7ad4dd423c04 [2021-10-29T00:46:05.232Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T00:46:05.232Z] ---> Running in 289f7982047a [2021-10-29T00:46:05.829Z] Removing intermediate container 289f7982047a [2021-10-29T00:46:05.829Z] ---> e24d2b92c948 [2021-10-29T00:46:05.829Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T00:46:05.829Z] ---> Running in 38504909310f [2021-10-29T00:46:06.428Z] Removing intermediate container 38504909310f [2021-10-29T00:46:06.428Z] ---> eb6fced6241c [2021-10-29T00:46:06.428Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T00:46:06.428Z] ---> Running in 39e0fa4b6fe9 [2021-10-29T00:46:09.071Z] Removing intermediate container 39e0fa4b6fe9 [2021-10-29T00:46:09.071Z] ---> ddd8fd18d4c7 [2021-10-29T00:46:09.071Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T00:46:09.071Z] ---> Running in c78da7823228 [2021-10-29T00:46:10.064Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-29T00:46:11.041Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-29T00:46:12.015Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T00:46:12.015Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T00:46:12.015Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T00:46:12.288Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T00:46:12.288Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T00:46:12.288Z] OK: 223 MiB in 56 packages [2021-10-29T00:46:13.733Z] Removing intermediate container c78da7823228 [2021-10-29T00:46:13.733Z] ---> 88bbaa11d74f [2021-10-29T00:46:13.733Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-29T00:46:13.733Z] ---> Running in cf183c61ce3a [2021-10-29T00:46:14.015Z] Removing intermediate container cf183c61ce3a [2021-10-29T00:46:14.015Z] ---> a7dd691f6b1d [2021-10-29T00:46:14.015Z] Step 9/11 : COPY . . [2021-10-29T00:46:14.612Z] ---> 0e2341a9add3 [2021-10-29T00:46:14.612Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T00:46:14.885Z] ---> Running in 85bb2af47a91 [2021-10-29T00:47:36.682Z] Removing intermediate container 85bb2af47a91 [2021-10-29T00:47:36.682Z] ---> 3d6867ed5409 [2021-10-29T00:47:36.682Z] Step 11/11 : RUN $MAKE [2021-10-29T00:47:36.682Z] ---> Running in 0384aa3399c6 [2021-10-29T00:47:36.682Z] noop [2021-10-29T00:47:36.682Z] Removing intermediate container 0384aa3399c6 [2021-10-29T00:47:36.682Z] ---> fb9a8c2975f5 [2021-10-29T00:47:36.682Z] Successfully built fb9a8c2975f5 [2021-10-29T00:47:36.682Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:47:37.026Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T00:47:37.026Z] . [Pipeline] withDockerContainer [2021-10-29T00:47:37.314Z] prd-ubuntu18.04-docker-arm64-4c-16g-13368 does not seem to be running inside a container [2021-10-29T00:47:37.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-29T00:47:38.979Z] $ docker top f6b9911aa403f48f979407ee9213dbf0fbc99a08004dd32476cdb4a663e3e32b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:47:40.008Z] + go version [2021-10-29T00:47:40.008Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-29T00:47:40.023Z] $ docker stop --time=1 f6b9911aa403f48f979407ee9213dbf0fbc99a08004dd32476cdb4a663e3e32b [2021-10-29T00:47:41.839Z] $ docker rm -f f6b9911aa403f48f979407ee9213dbf0fbc99a08004dd32476cdb4a663e3e32b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:47:42.609Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T00:47:42.609Z] . [Pipeline] withDockerContainer [2021-10-29T00:47:42.886Z] prd-ubuntu18.04-docker-arm64-4c-16g-13368 does not seem to be running inside a container [2021-10-29T00:47:42.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-29T00:47:44.695Z] $ docker top bef62d27ac4226a9360e86c22fd98d0197b8c07293edede24ed9540ea020a5a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T00:47:45.684Z] + make test [2021-10-29T00:47:45.684Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-29T00:47:47.148Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-10-29T00:48:55.250Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-10-29T00:48:55.250Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 53.8% of statements [2021-10-29T00:48:55.250Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T00:49:22.132Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T00:49:22.132Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T00:49:22.132Z] ./bin/test-attribution-txt.sh [2021-10-29T00:49:22.132Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-10-29T00:49:22.132Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-10-29T00:49:22.408Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2021-10-29T00:49:22.430Z] $ docker stop --time=1 bef62d27ac4226a9360e86c22fd98d0197b8c07293edede24ed9540ea020a5a0 [2021-10-29T00:49:24.449Z] $ docker rm -f bef62d27ac4226a9360e86c22fd98d0197b8c07293edede24ed9540ea020a5a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:49:25.665Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:49:25.939Z] [2021-10-29T00:49:25.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:49:26.289Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:49:26.561Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-29T00:49:26.561Z] 448f6bf000e3: Pulling fs layer [2021-10-29T00:49:26.561Z] f757da607395: Pulling fs layer [2021-10-29T00:49:26.561Z] 05883995daec: Pulling fs layer [2021-10-29T00:49:26.561Z] 8603b9c90790: Pulling fs layer [2021-10-29T00:49:26.561Z] 1560dd03e051: Pulling fs layer [2021-10-29T00:49:26.561Z] 27f5ce0e4adf: Pulling fs layer [2021-10-29T00:49:26.561Z] c2d8d7efcc4b: Pulling fs layer [2021-10-29T00:49:26.561Z] 8603b9c90790: Waiting [2021-10-29T00:49:26.561Z] 1560dd03e051: Waiting [2021-10-29T00:49:26.561Z] 27f5ce0e4adf: Waiting [2021-10-29T00:49:26.561Z] c2d8d7efcc4b: Waiting [2021-10-29T00:49:26.561Z] f757da607395: Verifying Checksum [2021-10-29T00:49:26.561Z] f757da607395: Download complete [2021-10-29T00:49:26.561Z] 8603b9c90790: Download complete [2021-10-29T00:49:26.837Z] 1560dd03e051: Verifying Checksum [2021-10-29T00:49:26.837Z] 1560dd03e051: Download complete [2021-10-29T00:49:26.837Z] 27f5ce0e4adf: Verifying Checksum [2021-10-29T00:49:26.838Z] 27f5ce0e4adf: Download complete [2021-10-29T00:49:26.838Z] 05883995daec: Verifying Checksum [2021-10-29T00:49:26.838Z] 05883995daec: Download complete [2021-10-29T00:49:27.113Z] 448f6bf000e3: Download complete [2021-10-29T00:49:29.739Z] c2d8d7efcc4b: Verifying Checksum [2021-10-29T00:49:29.739Z] c2d8d7efcc4b: Download complete [2021-10-29T00:49:30.725Z] 448f6bf000e3: Pull complete [2021-10-29T00:49:31.321Z] f757da607395: Pull complete [2021-10-29T00:49:32.754Z] 05883995daec: Pull complete [2021-10-29T00:49:33.028Z] 8603b9c90790: Pull complete [2021-10-29T00:49:34.473Z] 1560dd03e051: Pull complete [2021-10-29T00:49:34.473Z] 27f5ce0e4adf: Pull complete [2021-10-29T00:49:49.579Z] c2d8d7efcc4b: Pull complete [2021-10-29T00:49:49.579Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-29T00:49:49.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:49:49.579Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-29T00:49:49.842Z] prd-ubuntu18.04-docker-arm64-4c-16g-13368 does not seem to be running inside a container [2021-10-29T00:49:49.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-29T00:49:52.958Z] $ docker top ecdbb789fc3bae3a4ea7f7774cbbefe7efa6e4636dc65928806ca9ddec6a085e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:53.961Z] ---> job-cost.sh [2021-10-29T00:49:53.961Z] lf-activate-venv: SKIPPING [2021-10-29T00:49:53.961Z] INFO: No Stack... [2021-10-29T00:49:54.235Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-29T00:49:54.508Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T00:49:55.432Z] + cut -d, -f6 [2021-10-29T00:49:55.432Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2021-10-29T00:49:55.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [2021-10-29T00:49:55.495Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] did not exist. Created. [2021-10-29T00:49:55.495Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T00:49:56.168Z] /w/workspace/device-rest-go/2@tmp/durable-3c61d035/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-3c61d035/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-29T00:49:56.840Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-29T00:49:56.864Z] Warning: overwriting stash ‘stack-cost’ [2021-10-29T00:49:57.390Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T00:49:57.402Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T00:49:57.407Z] $ docker stop --time=1 ecdbb789fc3bae3a4ea7f7774cbbefe7efa6e4636dc65928806ca9ddec6a085e [2021-10-29T00:49:59.060Z] $ docker rm -f ecdbb789fc3bae3a4ea7f7774cbbefe7efa6e4636dc65928806ca9ddec6a085e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T00:49:59.513Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-29T00:50:00.799Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-140/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:01.102Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:01.662Z] ---> package-listing.sh [2021-10-29T00:50:01.662Z] ++ facter osfamily [2021-10-29T00:50:01.662Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-29T00:50:01.927Z] + OS_FAMILY=redhat [2021-10-29T00:50:01.927Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-140 [2021-10-29T00:50:01.927Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-29T00:50:01.927Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-29T00:50:01.927Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-29T00:50:01.927Z] + PACKAGES=/tmp/packages_start.txt [2021-10-29T00:50:01.927Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' [2021-10-29T00:50:01.927Z] + PACKAGES=/tmp/packages_end.txt [2021-10-29T00:50:01.927Z] + case "${OS_FAMILY}" in [2021-10-29T00:50:01.927Z] + sort [2021-10-29T00:50:01.927Z] + rpm -qa [2021-10-29T00:50:02.494Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-29T00:50:02.494Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-29T00:50:02.494Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-29T00:50:02.494Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' [2021-10-29T00:50:02.494Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ [2021-10-29T00:50:02.495Z] + 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-29T00:50:02.504Z] 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-29T00:50:02.788Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:50:03.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:50:03.356Z] [2021-10-29T00:50:03.356Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:50:03.652Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:50:03.652Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T00:50:03.652Z] b4d181a07f80: Pulling fs layer [2021-10-29T00:50:03.652Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T00:50:03.652Z] ed53099fbce6: Pulling fs layer [2021-10-29T00:50:03.652Z] dc539afda2c1: Pulling fs layer [2021-10-29T00:50:03.652Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T00:50:03.652Z] 9065ff56babe: Pulling fs layer [2021-10-29T00:50:03.652Z] d287ab97295c: Pulling fs layer [2021-10-29T00:50:03.652Z] 9065ff56babe: Waiting [2021-10-29T00:50:03.652Z] dc539afda2c1: Waiting [2021-10-29T00:50:03.652Z] 77bc0d833cb6: Waiting [2021-10-29T00:50:03.652Z] d287ab97295c: Waiting [2021-10-29T00:50:03.652Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T00:50:03.652Z] a1111a8f2ec3: Download complete [2021-10-29T00:50:03.652Z] dc539afda2c1: Verifying Checksum [2021-10-29T00:50:03.652Z] dc539afda2c1: Download complete [2021-10-29T00:50:03.913Z] ed53099fbce6: Verifying Checksum [2021-10-29T00:50:03.913Z] ed53099fbce6: Download complete [2021-10-29T00:50:03.913Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T00:50:03.913Z] 77bc0d833cb6: Download complete [2021-10-29T00:50:03.913Z] 9065ff56babe: Verifying Checksum [2021-10-29T00:50:03.913Z] 9065ff56babe: Download complete [2021-10-29T00:50:03.913Z] b4d181a07f80: Verifying Checksum [2021-10-29T00:50:03.913Z] b4d181a07f80: Download complete [2021-10-29T00:50:04.869Z] d287ab97295c: Verifying Checksum [2021-10-29T00:50:04.869Z] d287ab97295c: Download complete [2021-10-29T00:50:05.451Z] b4d181a07f80: Pull complete [2021-10-29T00:50:05.451Z] a1111a8f2ec3: Pull complete [2021-10-29T00:50:06.394Z] ed53099fbce6: Pull complete [2021-10-29T00:50:06.394Z] dc539afda2c1: Pull complete [2021-10-29T00:50:06.656Z] 77bc0d833cb6: Pull complete [2021-10-29T00:50:06.656Z] 9065ff56babe: Pull complete [2021-10-29T00:50:12.179Z] d287ab97295c: Pull complete [2021-10-29T00:50:12.179Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T00:50:12.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:50:12.179Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T00:50:12.249Z] prd-centos7-docker-4c-2g-13362 does not seem to be running inside a container [2021-10-29T00:50:12.290Z] $ 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-29T00:50:14.672Z] $ docker top f4f9bf890d929135750f23d2fb16dd63ced92bbe8f969aa935b166aef530458e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:50:15.029Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-29T00:50:15.322Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-29T00:50:15.615Z] + ls /var/log/sa-host [2021-10-29T00:50:15.615Z] + sadf -c /var/log/sa-host/sa29 [2021-10-29T00:50:15.615Z] file_magic: OK [2021-10-29T00:50:15.615Z] HZ: Using current value: 100 [2021-10-29T00:50:15.615Z] file_header: OK [2021-10-29T00:50:15.615Z] 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-29T00:50:15.615Z] Statistics: [2021-10-29T00:50:15.615Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T00:50:15.615Z] File successfully converted to sysstat format version 12.0.3 [2021-10-29T00:50:15.615Z] + sadf -c /var/log/sa-host/sa30 [2021-10-29T00:50:15.615Z] file_magic: OK [2021-10-29T00:50:15.615Z] HZ: Using current value: 100 [2021-10-29T00:50:15.615Z] file_header: OK [2021-10-29T00:50:15.615Z] 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-29T00:50:15.615Z] Statistics: [2021-10-29T00:50:15.615Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T00:50:15.615Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:50:15.694Z] provisioning config files... [2021-10-29T00:50:15.705Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config4775514752379274328tmp [Pipeline] { [Pipeline] echo [2021-10-29T00:50:15.722Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:16.015Z] ---> create-netrc.sh [Pipeline] } [2021-10-29T00:50:16.023Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:16.339Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-29T00:50:16.349Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:16.638Z] ---> sudo-logs.sh [2021-10-29T00:50:16.638Z] Archiving 'sudo' log.. [2021-10-29T00:50:16.638Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13362.novalocal: Name or service not known [2021-10-29T00:50:16.638Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13362.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-29T00:50:16.680Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:16.970Z] ---> job-cost.sh [2021-10-29T00:50:16.970Z] lf-activate-venv: SKIPPING [2021-10-29T00:50:16.970Z] DEBUG: total: 0.10999999940395355 [2021-10-29T00:50:16.970Z] INFO: Retrieving Stack Cost... [2021-10-29T00:50:18.365Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T00:50:18.366Z] INFO: Archiving Costs [Pipeline] echo [2021-10-29T00:50:18.379Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:50:18.666Z] ---> logs-deploy.sh [2021-10-29T00:50:18.666Z] lf-activate-venv: SKIPPING [2021-10-29T00:50:18.666Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-140/2 [2021-10-29T00:50:18.666Z] INFO: archiving workspace using pattern(s): [2021-10-29T00:50:19.242Z] Archives upload complete. [2021-10-29T00:50:19.504Z] INFO: archiving logs to Nexus