Pull request #116 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-rest-go Obtained Jenkinsfile from 7e25169f18394d7dd910a8b69f62ce99669bb3ad+b32159014ae45265b13142f0741b8ad008d9ae08 (8dfae06b28e1f3c938b8cb2d133caf4f97d7525e) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2367318074479788387.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4847558521315673545.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-116/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-116/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4717828570026924670.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-116/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7084963416780536350.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8963574269024037298.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-116/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-116/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh914337924731751297.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-501 in /w/workspace/gexfoundry_device-rest-go_PR-116 [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-116 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-116@tmp/jenkins-gitclient-ssh9210115482602584219.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-116@tmp/jenkins-gitclient-ssh872582296908310947.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 7e25169f18394d7dd910a8b69f62ce99669bb3ad Merge succeeded, producing 7e25169f18394d7dd910a8b69f62ce99669bb3ad Checking out Revision 7e25169f18394d7dd910a8b69f62ce99669bb3ad (PR-116) > git config core.sparsecheckout # timeout=10 > git checkout -f 7e25169f18394d7dd910a8b69f62ce99669bb3ad # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-116@tmp/jenkins-gitclient-ssh4820198657494486322.key > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e25169f18394d7dd910a8b69f62ce99669bb3ad # timeout=10 Commit message: "refactor: bump dependency version and update import path" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-11T08:39:57.805Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-11T08:39:58.017Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-11T08:39:58.150Z] ========================================================= [2021-06-11T08:39:58.150Z] EdgeX Global Pipelines Version Info [2021-06-11T08:39:58.150Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:39:59.632Z] ------------------- [2021-06-11T08:39:59.632Z] stable info: [2021-06-11T08:39:59.632Z] ------------------- [2021-06-11T08:39:59.632Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-11T08:39:59.632Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T08:39:59.632Z] Message: update stable to v1.0.195 [2021-06-11T08:40:00.210Z] ------------------- [2021-06-11T08:40:00.210Z] experimental info: [2021-06-11T08:40:00.210Z] ------------------- [2021-06-11T08:40:00.210Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-11T08:40:00.210Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-11T08:40:00.210Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-11T08:40:00.507Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-11T08:40:00.575Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-11T08:40:00.665Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-11T08:40:00.758Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-11T08:40:00.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-11T08:40:00.891Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-11T08:40:00.952Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-11T08:40:01.017Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-11T08:40:01.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-11T08:40:01.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-11T08:40:01.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-11T08:40:01.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-11T08:40:01.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-11T08:40:01.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-11T08:40:01.559Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-11T08:40:01.619Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-11T08:40:01.682Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T08:40:01.750Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-11T08:40:01.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-11T08:40:01.886Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-11T08:40:01.954Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-11T08:40:02.020Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-11T08:40:02.098Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-11T08:40:02.165Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-11T08:40:02.232Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-11T08:40:02.307Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-11T08:40:02.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo [2021-06-11T08:40:02.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo [2021-06-11T08:40:02.525Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo [2021-06-11T08:40:02.592Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e25169f18394d7dd910a8b69f62ce99669bb3ad [Pipeline] echo [2021-06-11T08:40:02.680Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e25169 [Pipeline] echo [2021-06-11T08:40:02.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T08:40:02.962Z] provisioning config files... [2021-06-11T08:40:02.987Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-116@tmp/config3137800246650852569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:40:03.375Z] ---> docker-login.sh [2021-06-11T08:40:03.375Z] nexus3.edgexfoundry.org:10001 [2021-06-11T08:40:03.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:40:03.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:40:03.909Z] Configure a credential helper to remove this warning. See [2021-06-11T08:40:03.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:40:03.909Z] [2021-06-11T08:40:03.909Z] Login Succeeded [2021-06-11T08:40:03.909Z] nexus3.edgexfoundry.org:10002 [2021-06-11T08:40:03.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:40:03.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:40:03.909Z] Configure a credential helper to remove this warning. See [2021-06-11T08:40:03.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:40:03.909Z] [2021-06-11T08:40:03.909Z] Login Succeeded [2021-06-11T08:40:03.909Z] nexus3.edgexfoundry.org:10003 [2021-06-11T08:40:04.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:40:04.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:40:04.174Z] Configure a credential helper to remove this warning. See [2021-06-11T08:40:04.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:40:04.174Z] [2021-06-11T08:40:04.174Z] Login Succeeded [2021-06-11T08:40:04.174Z] nexus3.edgexfoundry.org:10004 [2021-06-11T08:40:04.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:40:04.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:40:04.436Z] Configure a credential helper to remove this warning. See [2021-06-11T08:40:04.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:40:04.436Z] [2021-06-11T08:40:04.436Z] Login Succeeded [2021-06-11T08:40:04.436Z] docker.io [2021-06-11T08:40:04.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:40:04.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:40:04.698Z] Configure a credential helper to remove this warning. See [2021-06-11T08:40:04.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:40:04.698Z] [2021-06-11T08:40:04.698Z] Login Succeeded [2021-06-11T08:40:04.698Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T08:40:04.723Z] 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-06-11T08:40:05.537Z] + git log --format=format:%s -1 7e25169f18394d7dd910a8b69f62ce99669bb3ad [Pipeline] echo [2021-06-11T08:40:05.610Z] GIT_COMMIT: 7e25169f18394d7dd910a8b69f62ce99669bb3ad, Commit Message: refactor: bump dependency version and update import path [Pipeline] echo [2021-06-11T08:40:05.655Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:40:06.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T08:40:06.815Z] [2021-06-11T08:40:06.815Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:40:07.190Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T08:40:07.190Z] latest: Pulling from edgex-devops/git-semver [2021-06-11T08:40:07.190Z] 31603596830f: Pulling fs layer [2021-06-11T08:40:07.190Z] 54011a49482f: Pulling fs layer [2021-06-11T08:40:07.190Z] a6820b24f6d8: Pulling fs layer [2021-06-11T08:40:07.190Z] f581987b2513: Pulling fs layer [2021-06-11T08:40:07.190Z] f581987b2513: Waiting [2021-06-11T08:40:07.190Z] 54011a49482f: Verifying Checksum [2021-06-11T08:40:07.190Z] 54011a49482f: Download complete [2021-06-11T08:40:07.190Z] 31603596830f: Verifying Checksum [2021-06-11T08:40:07.190Z] 31603596830f: Download complete [2021-06-11T08:40:07.456Z] f581987b2513: Verifying Checksum [2021-06-11T08:40:07.456Z] f581987b2513: Download complete [2021-06-11T08:40:07.456Z] 31603596830f: Pull complete [2021-06-11T08:40:07.456Z] a6820b24f6d8: Verifying Checksum [2021-06-11T08:40:07.456Z] a6820b24f6d8: Download complete [2021-06-11T08:40:07.722Z] 54011a49482f: Pull complete [2021-06-11T08:40:08.308Z] a6820b24f6d8: Pull complete [2021-06-11T08:40:08.571Z] f581987b2513: Pull complete [2021-06-11T08:40:08.571Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-11T08:40:08.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-11T08:40:08.571Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-11T08:40:08.683Z] prd-centos7-docker-4c-2g-501 does not seem to be running inside a container [2021-06-11T08:40:08.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-116 -v /w/workspace/gexfoundry_device-rest-go_PR-116:/w/workspace/gexfoundry_device-rest-go_PR-116:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-116@tmp:/w/workspace/gexfoundry_device-rest-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-11T08:40:10.016Z] $ docker top 35d8281cc783d9f3ad652795dffdfcfde81cce1941bc65bfbc8a163201a993bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-11T08:40:10.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T08:40:10.283Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T08:40:10.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T08:40:10.405Z] $ docker exec 35d8281cc783d9f3ad652795dffdfcfde81cce1941bc65bfbc8a163201a993bc ssh-agent [2021-06-11T08:40:10.527Z] SSH_AUTH_SOCK=/tmp/ssh-CZytoCBEjrIU/agent.15 [2021-06-11T08:40:10.527Z] SSH_AGENT_PID=21 [2021-06-11T08:40:10.535Z] Running ssh-add (command line suppressed) [2021-06-11T08:40:10.641Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-116@tmp/private_key_4109521578971079928.key (/w/workspace/gexfoundry_device-rest-go_PR-116@tmp/private_key_4109521578971079928.key) [2021-06-11T08:40:10.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T08:40:11.039Z] + git tag --points-at HEAD [Pipeline] } [2021-06-11T08:40:11.059Z] $ docker exec --env ******** --env ******** 35d8281cc783d9f3ad652795dffdfcfde81cce1941bc65bfbc8a163201a993bc ssh-agent -k [2021-06-11T08:40:11.172Z] unset SSH_AUTH_SOCK; [2021-06-11T08:40:11.172Z] unset SSH_AGENT_PID; [2021-06-11T08:40:11.173Z] echo Agent pid 21 killed; [2021-06-11T08:40:11.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-11T08:40:11.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-11T08:40:11.284Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-11T08:40:11.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-11T08:40:11.410Z] $ docker exec 35d8281cc783d9f3ad652795dffdfcfde81cce1941bc65bfbc8a163201a993bc ssh-agent [2021-06-11T08:40:11.539Z] SSH_AUTH_SOCK=/tmp/ssh-pFIfxVYre2Vf/agent.54 [2021-06-11T08:40:11.539Z] SSH_AGENT_PID=61 [2021-06-11T08:40:11.545Z] Running ssh-add (command line suppressed) [2021-06-11T08:40:11.657Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-116@tmp/private_key_2528828688613348736.key (/w/workspace/gexfoundry_device-rest-go_PR-116@tmp/private_key_2528828688613348736.key) [2021-06-11T08:40:11.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-11T08:40:12.054Z] + git semver init [2021-06-11T08:40:12.054Z] # -> Open(): unable to determine branch for HEAD [2021-06-11T08:40:12.054Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-116/.git [2021-06-11T08:40:12.054Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-116 [2021-06-11T08:40:12.054Z] # $SEMVER_REMOTE_NAME = origin [2021-06-11T08:40:12.054Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-11T08:40:12.054Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-11T08:40:12.054Z] # $SEMVER_BRANCH = PR-116 [2021-06-11T08:40:12.054Z] # $SEMVER_TEMP = /tmp/semver-149050139 [2021-06-11T08:40:12.054Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-11T08:40:13.015Z] # '/tmp/semver-149050139' -> '/w/workspace/gexfoundry_device-rest-go_PR-116/.semver' [2021-06-11T08:40:13.015Z] # -> Force: false [2021-06-11T08:40:13.015Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-116/.semver [Pipeline] } [2021-06-11T08:40:13.034Z] $ docker exec --env ******** --env ******** 35d8281cc783d9f3ad652795dffdfcfde81cce1941bc65bfbc8a163201a993bc ssh-agent -k [2021-06-11T08:40:13.158Z] unset SSH_AUTH_SOCK; [2021-06-11T08:40:13.159Z] unset SSH_AGENT_PID; [2021-06-11T08:40:13.159Z] echo Agent pid 61 killed; [2021-06-11T08:40:13.172Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-11T08:40:13.636Z] + git semver [Pipeline] } [2021-06-11T08:40:13.669Z] $ docker stop --time=1 35d8281cc783d9f3ad652795dffdfcfde81cce1941bc65bfbc8a163201a993bc [2021-06-11T08:40:15.114Z] $ docker rm -f 35d8281cc783d9f3ad652795dffdfcfde81cce1941bc65bfbc8a163201a993bc [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T08:40:15.578Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-11T08:40:15.910Z] Stashed 1 file(s) [Pipeline] echo [2021-06-11T08:40:15.934Z] [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-06-11T08:40:31.490Z] Still waiting to schedule task [2021-06-11T08:40:31.491Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-501’ [2021-06-11T08:40:31.522Z] Still waiting to schedule task [2021-06-11T08:40:31.522Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-11T08:42:33.223Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-502 in /w/workspace/gexfoundry_device-rest-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-11T08:42:33.281Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-11T08:42:33.568Z] The recommended git tool is: git [2021-06-11T08:42:38.865Z] using credential edgex-jenkins-ssh [2021-06-11T08:42:38.890Z] Cloning the remote Git repository [2021-06-11T08:42:38.933Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-11T08:42:39.046Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-11T08:42:39.271Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-11T08:42:39.271Z] > git --version # timeout=10 [2021-06-11T08:42:39.320Z] > git --version # 'git version 2.17.1' [2021-06-11T08:42:39.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T08:42:39.430Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T08:42:40.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-11T08:42:40.980Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T08:42:41.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-11T08:42:41.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-11T08:42:41.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T08:42:41.052Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-11T08:42:41.631Z] Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 7e25169f18394d7dd910a8b69f62ce99669bb3ad [2021-06-11T08:42:41.819Z] Merge succeeded, producing 7e25169f18394d7dd910a8b69f62ce99669bb3ad [2021-06-11T08:42:41.820Z] Checking out Revision 7e25169f18394d7dd910a8b69f62ce99669bb3ad (PR-116) [2021-06-11T08:42:41.635Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T08:42:41.655Z] > git checkout -f 7e25169f18394d7dd910a8b69f62ce99669bb3ad # timeout=10 [2021-06-11T08:42:41.731Z] > git remote # timeout=10 [2021-06-11T08:42:41.748Z] > git config --get remote.origin.url # timeout=10 [2021-06-11T08:42:41.760Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T08:42:41.771Z] > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 [2021-06-11T08:42:41.795Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-11T08:42:41.813Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T08:42:41.822Z] > git checkout -f 7e25169f18394d7dd910a8b69f62ce99669bb3ad # timeout=10 [2021-06-11T08:42:45.976Z] Commit message: "refactor: bump dependency version and update import path" [2021-06-11T08:42:46.017Z] > git --version # timeout=10 [2021-06-11T08:42:46.030Z] > git --version # 'git version 2.17.1' [2021-06-11T08:42:46.045Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T08:42:47.603Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-11T08:42:48.055Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T08:42:48.424Z] + + sudo servicetrue docker [2021-06-11T08:42:48.424Z] restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T08:43:06.866Z] provisioning config files... [2021-06-11T08:43:06.897Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config990275794192951853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:43:07.342Z] ---> docker-login.sh [2021-06-11T08:43:07.343Z] nexus3.edgexfoundry.org:10001 [2021-06-11T08:43:08.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:08.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:08.604Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:08.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:08.604Z] [2021-06-11T08:43:08.604Z] Login Succeeded [2021-06-11T08:43:08.604Z] nexus3.edgexfoundry.org:10002 [2021-06-11T08:43:08.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:09.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:09.155Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:09.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:09.155Z] [2021-06-11T08:43:09.155Z] Login Succeeded [2021-06-11T08:43:09.156Z] nexus3.edgexfoundry.org:10003 [2021-06-11T08:43:09.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:09.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:09.710Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:09.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:09.710Z] [2021-06-11T08:43:09.710Z] Login Succeeded [2021-06-11T08:43:09.710Z] nexus3.edgexfoundry.org:10004 [2021-06-11T08:43:09.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:10.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:10.260Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:10.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:10.260Z] [2021-06-11T08:43:10.260Z] Login Succeeded [2021-06-11T08:43:10.260Z] docker.io [2021-06-11T08:43:10.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:11.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:11.152Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:11.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:11.152Z] [2021-06-11T08:43:11.152Z] Login Succeeded [2021-06-11T08:43:11.152Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T08:43:11.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T08:43:11.901Z] ========================================================= [2021-06-11T08:43:11.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-11T08:43:11.902Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:43:12.338Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-11T08:43:12.338Z] Sending build context to Docker daemon 92.16kB [2021-06-11T08:43:12.626Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T08:43:12.626Z] Step 2/10 : FROM ${BASE} [2021-06-11T08:43:12.912Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-11T08:43:12.912Z] 595b0fe564bb: Pulling fs layer [2021-06-11T08:43:12.912Z] 3088b5b3c5c0: Pulling fs layer [2021-06-11T08:43:12.912Z] 5b7225fbf94c: Pulling fs layer [2021-06-11T08:43:12.912Z] ba82ee9f976e: Pulling fs layer [2021-06-11T08:43:12.912Z] 506bd15cee9f: Pulling fs layer [2021-06-11T08:43:12.912Z] 75a0a4a0db45: Pulling fs layer [2021-06-11T08:43:12.912Z] 618dc40b7e24: Pulling fs layer [2021-06-11T08:43:12.912Z] ba82ee9f976e: Waiting [2021-06-11T08:43:12.912Z] 506bd15cee9f: Waiting [2021-06-11T08:43:12.912Z] 75a0a4a0db45: Waiting [2021-06-11T08:43:12.912Z] 618dc40b7e24: Waiting [2021-06-11T08:43:12.912Z] 5b7225fbf94c: Download complete [2021-06-11T08:43:12.912Z] 3088b5b3c5c0: Verifying Checksum [2021-06-11T08:43:12.912Z] 3088b5b3c5c0: Download complete [2021-06-11T08:43:12.912Z] 506bd15cee9f: Download complete [2021-06-11T08:43:13.190Z] 75a0a4a0db45: Verifying Checksum [2021-06-11T08:43:13.190Z] 75a0a4a0db45: Download complete [2021-06-11T08:43:13.190Z] 595b0fe564bb: Verifying Checksum [2021-06-11T08:43:13.190Z] 595b0fe564bb: Download complete [2021-06-11T08:43:13.792Z] 595b0fe564bb: Pull complete [2021-06-11T08:43:14.400Z] 3088b5b3c5c0: Pull complete [2021-06-11T08:43:14.680Z] 5b7225fbf94c: Pull complete [2021-06-11T08:43:15.666Z] 618dc40b7e24: Download complete [2021-06-11T08:43:16.650Z] ba82ee9f976e: Download complete [2021-06-11T08:43:20.754Z] Running on prd-centos7-docker-4c-2g-503 in /w/workspace/gexfoundry_device-rest-go_PR-116 [Pipeline] { [Pipeline] ws [2021-06-11T08:43:20.814Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-11T08:43:20.989Z] The recommended git tool is: git [2021-06-11T08:43:23.262Z] using credential edgex-jenkins-ssh [2021-06-11T08:43:23.281Z] Cloning the remote Git repository [2021-06-11T08:43:23.304Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-11T08:43:23.375Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-11T08:43:23.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-11T08:43:23.492Z] > git --version # timeout=10 [2021-06-11T08:43:23.507Z] > git --version # 'git version 2.24.4' [2021-06-11T08:43:23.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T08:43:23.544Z] [INFO] Currently running in a labeled security context [2021-06-11T08:43:23.544Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T08:43:23.544Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh673555864204659819.key [2021-06-11T08:43:23.598Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T08:43:25.000Z] Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 7e25169f18394d7dd910a8b69f62ce99669bb3ad [2021-06-11T08:43:25.088Z] Merge succeeded, producing 7e25169f18394d7dd910a8b69f62ce99669bb3ad [2021-06-11T08:43:25.089Z] Checking out Revision 7e25169f18394d7dd910a8b69f62ce99669bb3ad (PR-116) [2021-06-11T08:43:24.445Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-11T08:43:24.461Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-11T08:43:24.475Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-11T08:43:24.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-11T08:43:24.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T08:43:24.492Z] [INFO] Currently running in a labeled security context [2021-06-11T08:43:24.493Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T08:43:24.493Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2344951672035669627.key [2021-06-11T08:43:24.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-11T08:43:25.006Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T08:43:25.015Z] > git checkout -f 7e25169f18394d7dd910a8b69f62ce99669bb3ad # timeout=10 [2021-06-11T08:43:25.043Z] > git remote # timeout=10 [2021-06-11T08:43:25.050Z] > git config --get remote.origin.url # timeout=10 [2021-06-11T08:43:25.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-11T08:43:25.060Z] [INFO] Currently running in a labeled security context [2021-06-11T08:43:25.060Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-11T08:43:25.060Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6002147571446475498.key [2021-06-11T08:43:25.065Z] > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 [2021-06-11T08:43:25.076Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-11T08:43:25.090Z] > git config core.sparsecheckout # timeout=10 [2021-06-11T08:43:25.100Z] > git checkout -f 7e25169f18394d7dd910a8b69f62ce99669bb3ad # timeout=10 [2021-06-11T08:43:27.009Z] ba82ee9f976e: Pull complete [2021-06-11T08:43:27.616Z] 506bd15cee9f: Pull complete [2021-06-11T08:43:27.890Z] 75a0a4a0db45: Pull complete [2021-06-11T08:43:28.650Z] Commit message: "refactor: bump dependency version and update import path" [2021-06-11T08:43:28.676Z] > git --version # timeout=10 [2021-06-11T08:43:28.692Z] > git --version # 'git version 2.24.4' [2021-06-11T08:43:28.699Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T08:43:30.107Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-11T08:43:30.444Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-11T08:43:30.778Z] + sudo service docker restart [2021-06-11T08:43:30.778Z] + true [2021-06-11T08:43:30.778Z] Redirecting to /bin/systemctl restart docker.service [2021-06-11T08:43:32.226Z] 618dc40b7e24: Pull complete [2021-06-11T08:43:32.226Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-11T08:43:32.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-11T08:43:32.226Z] ---> a36622ca3599 [2021-06-11T08:43:32.226Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T08:43:33.681Z] ---> Running in b8767a2fd1f9 [2021-06-11T08:43:33.955Z] Removing intermediate container b8767a2fd1f9 [2021-06-11T08:43:33.955Z] ---> c936f56f3d05 [2021-06-11T08:43:33.955Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T08:43:34.230Z] ---> Running in c7a69c8d0bdb [2021-06-11T08:43:34.504Z] Removing intermediate container c7a69c8d0bdb [2021-06-11T08:43:34.504Z] ---> f46a8ad7da4e [2021-06-11T08:43:34.504Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-11T08:43:34.777Z] ---> Running in 9d2776ca5eff [2021-06-11T08:43:35.371Z] Removing intermediate container 9d2776ca5eff [2021-06-11T08:43:35.371Z] ---> 90060a507b76 [2021-06-11T08:43:35.371Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T08:43:35.371Z] ---> Running in 88c8550d1833 [2021-06-11T08:43:37.993Z] Removing intermediate container 88c8550d1833 [2021-06-11T08:43:37.994Z] ---> 0f42a569a02d [2021-06-11T08:43:37.994Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T08:43:37.994Z] ---> Running in ff05093de992 [2021-06-11T08:43:39.427Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T08:43:40.027Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T08:43:40.624Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-11T08:43:40.896Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-11T08:43:40.896Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-11T08:43:40.896Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-11T08:43:41.168Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-11T08:43:41.168Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-11T08:43:41.443Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-11T08:43:41.716Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-11T08:43:41.716Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-11T08:43:41.990Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T08:43:41.991Z] OK: 144 MiB in 49 packages [2021-06-11T08:43:43.432Z] Removing intermediate container ff05093de992 [2021-06-11T08:43:43.432Z] ---> b3c5182705af [2021-06-11T08:43:43.432Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-11T08:43:43.432Z] ---> Running in e54c300303d9 [2021-06-11T08:43:44.030Z] Removing intermediate container e54c300303d9 [2021-06-11T08:43:44.030Z] ---> b1d69ba3e8ec [2021-06-11T08:43:44.030Z] Step 9/10 : COPY . . [2021-06-11T08:43:44.632Z] ---> 7007dea591e0 [2021-06-11T08:43:44.632Z] Step 10/10 : RUN go mod download [2021-06-11T08:43:44.904Z] ---> Running in 6db5170fc72c [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T08:43:49.037Z] provisioning config files... [2021-06-11T08:43:49.059Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6158722095911777830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:43:49.483Z] ---> docker-login.sh [2021-06-11T08:43:49.483Z] nexus3.edgexfoundry.org:10001 [2021-06-11T08:43:50.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:50.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:50.057Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:50.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:50.057Z] [2021-06-11T08:43:50.057Z] Login Succeeded [2021-06-11T08:43:50.057Z] nexus3.edgexfoundry.org:10002 [2021-06-11T08:43:50.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:50.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:50.318Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:50.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:50.318Z] [2021-06-11T08:43:50.318Z] Login Succeeded [2021-06-11T08:43:50.318Z] nexus3.edgexfoundry.org:10003 [2021-06-11T08:43:50.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:50.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:50.318Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:50.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:50.318Z] [2021-06-11T08:43:50.318Z] Login Succeeded [2021-06-11T08:43:50.318Z] nexus3.edgexfoundry.org:10004 [2021-06-11T08:43:50.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:50.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:50.581Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:50.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:50.581Z] [2021-06-11T08:43:50.581Z] Login Succeeded [2021-06-11T08:43:50.581Z] docker.io [2021-06-11T08:43:50.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-11T08:43:50.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-11T08:43:50.845Z] Configure a credential helper to remove this warning. See [2021-06-11T08:43:50.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-11T08:43:50.845Z] [2021-06-11T08:43:50.845Z] Login Succeeded [2021-06-11T08:43:50.845Z] ---> docker-login.sh ends [Pipeline] } [2021-06-11T08:43:50.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-11T08:43:51.182Z] ========================================================= [2021-06-11T08:43:51.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-11T08:43:51.182Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:43:51.533Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-11T08:43:51.533Z] Sending build context to Docker daemon 92.16kB [2021-06-11T08:43:51.533Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T08:43:51.533Z] Step 2/10 : FROM ${BASE} [2021-06-11T08:43:51.533Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-11T08:43:51.533Z] 540db60ca938: Pulling fs layer [2021-06-11T08:43:51.533Z] adcc1eea9eea: Pulling fs layer [2021-06-11T08:43:51.533Z] 4c4ab2625f07: Pulling fs layer [2021-06-11T08:43:51.533Z] 0510c868ecb4: Pulling fs layer [2021-06-11T08:43:51.533Z] afea3b2eda06: Pulling fs layer [2021-06-11T08:43:51.533Z] 7809a108b3ef: Pulling fs layer [2021-06-11T08:43:51.533Z] f706445af74f: Pulling fs layer [2021-06-11T08:43:51.533Z] 0510c868ecb4: Waiting [2021-06-11T08:43:51.533Z] afea3b2eda06: Waiting [2021-06-11T08:43:51.533Z] 7809a108b3ef: Waiting [2021-06-11T08:43:51.533Z] f706445af74f: Waiting [2021-06-11T08:43:51.533Z] 4c4ab2625f07: Verifying Checksum [2021-06-11T08:43:51.533Z] 4c4ab2625f07: Download complete [2021-06-11T08:43:51.533Z] adcc1eea9eea: Verifying Checksum [2021-06-11T08:43:51.533Z] adcc1eea9eea: Download complete [2021-06-11T08:43:51.804Z] afea3b2eda06: Verifying Checksum [2021-06-11T08:43:51.804Z] afea3b2eda06: Download complete [2021-06-11T08:43:51.804Z] 7809a108b3ef: Verifying Checksum [2021-06-11T08:43:51.804Z] 7809a108b3ef: Download complete [2021-06-11T08:43:51.804Z] 540db60ca938: Verifying Checksum [2021-06-11T08:43:51.804Z] 540db60ca938: Download complete [2021-06-11T08:43:51.804Z] 540db60ca938: Pull complete [2021-06-11T08:43:52.067Z] adcc1eea9eea: Pull complete [2021-06-11T08:43:52.067Z] 4c4ab2625f07: Pull complete [2021-06-11T08:43:53.014Z] f706445af74f: Verifying Checksum [2021-06-11T08:43:53.014Z] f706445af74f: Download complete [2021-06-11T08:43:53.585Z] 0510c868ecb4: Verifying Checksum [2021-06-11T08:43:53.585Z] 0510c868ecb4: Download complete [2021-06-11T08:43:56.908Z] 0510c868ecb4: Pull complete [2021-06-11T08:43:56.908Z] afea3b2eda06: Pull complete [2021-06-11T08:43:56.908Z] 7809a108b3ef: Pull complete [2021-06-11T08:43:58.306Z] f706445af74f: Pull complete [2021-06-11T08:43:58.306Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-11T08:43:58.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-11T08:43:58.569Z] ---> b068be0155e3 [2021-06-11T08:43:58.569Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T08:44:02.805Z] ---> Running in 471d7327360f [2021-06-11T08:44:03.067Z] Removing intermediate container 471d7327360f [2021-06-11T08:44:03.067Z] ---> 6ea6bc8a3272 [2021-06-11T08:44:03.067Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T08:44:03.067Z] ---> Running in 04510c84bc2b [2021-06-11T08:44:03.067Z] Removing intermediate container 04510c84bc2b [2021-06-11T08:44:03.067Z] ---> 982e2462fabf [2021-06-11T08:44:03.067Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-11T08:44:03.067Z] ---> Running in 64f008c11849 [2021-06-11T08:44:03.336Z] Removing intermediate container 64f008c11849 [2021-06-11T08:44:03.336Z] ---> a47c180198e9 [2021-06-11T08:44:03.336Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T08:44:03.336Z] ---> Running in 728e267e66bf [2021-06-11T08:44:03.923Z] Removing intermediate container 728e267e66bf [2021-06-11T08:44:03.923Z] ---> 388046123f71 [2021-06-11T08:44:03.923Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T08:44:03.923Z] ---> Running in 3c67b2b53052 [2021-06-11T08:44:04.498Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T08:44:05.070Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T08:44:06.016Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-11T08:44:06.280Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-11T08:44:06.280Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-11T08:44:06.280Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-11T08:44:06.546Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-11T08:44:06.546Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-11T08:44:06.546Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-11T08:44:06.808Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-11T08:44:07.070Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-11T08:44:07.070Z] Executing busybox-1.32.1-r6.trigger [2021-06-11T08:44:07.070Z] OK: 154 MiB in 49 packages [2021-06-11T08:44:07.651Z] Removing intermediate container 3c67b2b53052 [2021-06-11T08:44:07.651Z] ---> b0d3f4458966 [2021-06-11T08:44:07.651Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-11T08:44:07.651Z] ---> Running in 05fff38e88c0 [2021-06-11T08:44:07.916Z] Removing intermediate container 05fff38e88c0 [2021-06-11T08:44:07.916Z] ---> a2bfd9d3a8b3 [2021-06-11T08:44:07.916Z] Step 9/10 : COPY . . [2021-06-11T08:44:07.916Z] ---> 73ff5edf84e4 [2021-06-11T08:44:07.916Z] Step 10/10 : RUN go mod download [2021-06-11T08:44:07.916Z] ---> Running in c78f6507d338 [2021-06-11T08:44:11.710Z] Removing intermediate container 6db5170fc72c [2021-06-11T08:44:11.711Z] ---> 21926c059533 [2021-06-11T08:44:11.711Z] Successfully built 21926c059533 [2021-06-11T08:44:11.711Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:44:12.095Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T08:44:12.095Z] . [Pipeline] withDockerContainer [2021-06-11T08:44:12.361Z] prd-ubuntu18.04-docker-arm64-4c-16g-502 does not seem to be running inside a container [2021-06-11T08:44:12.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2021-06-11T08:44:14.076Z] $ docker top 98ffa3a7014a82fe43df0158233d33517b49a5a4a57b0a329a2ce8c8363dec5f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T08:44:15.110Z] + go version [2021-06-11T08:44:15.110Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-11T08:44:15.150Z] $ docker stop --time=1 98ffa3a7014a82fe43df0158233d33517b49a5a4a57b0a329a2ce8c8363dec5f [2021-06-11T08:44:16.985Z] $ docker rm -f 98ffa3a7014a82fe43df0158233d33517b49a5a4a57b0a329a2ce8c8363dec5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:44:18.034Z] + docker inspect -f . ci-base-image-arm64 [2021-06-11T08:44:18.034Z] . [Pipeline] withDockerContainer [2021-06-11T08:44:18.321Z] prd-ubuntu18.04-docker-arm64-4c-16g-502 does not seem to be running inside a container [2021-06-11T08:44:18.406Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2021-06-11T08:44:20.061Z] $ docker top d1abc06bc2b290f9b4b5be52c878d7eb0682eee4e53da4241941a033ccf1a3ab -eo pid,comm [2021-06-11T08:44:20.201Z] Removing intermediate container c78f6507d338 [2021-06-11T08:44:20.201Z] ---> 57e0c8202c50 [2021-06-11T08:44:20.201Z] Successfully built 57e0c8202c50 [2021-06-11T08:44:20.201Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:44:20.854Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T08:44:20.855Z] . [Pipeline] withDockerContainer [2021-06-11T08:44:20.960Z] prd-centos7-docker-4c-2g-503 does not seem to be running inside a container [2021-06-11T08:44:21.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat [2021-06-11T08:44:21.105Z] + go mod tidy [2021-06-11T08:44:21.331Z] $ docker top 64fd24f4c2facdc75ca7f151b8cc4f97c4a7704d6ec362e87e09fa83c20fb31c -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-11T08:44:21.804Z] + go version [2021-06-11T08:44:21.804Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-11T08:44:21.861Z] $ docker stop --time=1 64fd24f4c2facdc75ca7f151b8cc4f97c4a7704d6ec362e87e09fa83c20fb31c [2021-06-11T08:44:22.386Z] + make test [2021-06-11T08:44:22.386Z] go mod tidy [2021-06-11T08:44:22.664Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-11T08:44:23.038Z] $ docker rm -f 64fd24f4c2facdc75ca7f151b8cc4f97c4a7704d6ec362e87e09fa83c20fb31c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:44:23.922Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-11T08:44:23.922Z] . [Pipeline] withDockerContainer [2021-06-11T08:44:24.022Z] prd-centos7-docker-4c-2g-503 does not seem to be running inside a container [2021-06-11T08:44:24.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-x86_64 cat [2021-06-11T08:44:24.105Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-11T08:44:24.429Z] $ docker top 588da54332bedaa0a95f6e083178126ac37689b11c65497d1ce1abcf445082bd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T08:44:24.894Z] + go mod tidy [Pipeline] sh [2021-06-11T08:44:25.477Z] + make test [2021-06-11T08:44:25.477Z] go mod tidy [2021-06-11T08:44:25.477Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-11T08:44:26.060Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-11T08:44:41.314Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-11T08:44:41.585Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 54.0% of statements [2021-06-11T08:44:41.585Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-11T08:44:48.229Z] gofmt -l . [2021-06-11T08:44:48.229Z] [ "`gofmt -l .`" = "" ] [2021-06-11T08:44:48.229Z] ./bin/test-go-mod-tidy.sh [2021-06-11T08:44:48.490Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-11T08:44:49.102Z] $ docker stop --time=1 588da54332bedaa0a95f6e083178126ac37689b11c65497d1ce1abcf445082bd [2021-06-11T08:44:50.707Z] $ docker rm -f 588da54332bedaa0a95f6e083178126ac37689b11c65497d1ce1abcf445082bd [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T08:44:51.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T08:44:51.408Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-11T08:44:54.574Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T08:44:54.901Z] + ls -al . [2021-06-11T08:44:54.901Z] total 104 [2021-06-11T08:44:54.901Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 11 08:44 . [2021-06-11T08:44:54.901Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 11 08:43 .. [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 11 08:43 Attribution.txt [2021-06-11T08:44:54.901Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 11 08:43 bin [2021-06-11T08:44:54.901Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 11 08:43 cmd [2021-06-11T08:44:54.901Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 11 08:44 coverage.out [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 11 08:43 Dockerfile [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 11 08:43 Dockerfile.build [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 11 08:43 .dockerignore [2021-06-11T08:44:54.901Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 11 08:43 driver [2021-06-11T08:44:54.901Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 11 08:43 .git [2021-06-11T08:44:54.901Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 11 08:43 .github [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 11 08:43 .gitignore [2021-06-11T08:44:54.901Z] -rw-r--r--. 1 jenkins jenkins 286 Jun 11 08:44 go.mod [2021-06-11T08:44:54.901Z] -rw-r--r--. 1 jenkins jenkins 20777 Jun 11 08:44 go.sum [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 11 08:43 Jenkinsfile [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 11 08:43 LICENSE [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 11 08:43 Makefile [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 11 08:43 README.md [2021-06-11T08:44:54.901Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 11 08:43 snap [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 11 08:40 VERSION [2021-06-11T08:44:54.901Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 11 08:43 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:44:55.244Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=7e25169f18394d7dd910a8b69f62ce99669bb3ad --label arch=amd64 --label version=0.0.0 . [2021-06-11T08:44:55.245Z] Sending build context to Docker daemon 101.9kB [2021-06-11T08:44:55.245Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T08:44:55.245Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-11T08:44:55.245Z] ---> 57e0c8202c50 [2021-06-11T08:44:55.245Z] Step 3/25 : ARG MAKE='make build' [2021-06-11T08:44:55.245Z] ---> Running in 14e539a18d7a [2021-06-11T08:44:55.245Z] Removing intermediate container 14e539a18d7a [2021-06-11T08:44:55.245Z] ---> ee3e853fb574 [2021-06-11T08:44:55.245Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T08:44:55.245Z] ---> Running in 06cabf1f45c0 [2021-06-11T08:44:55.511Z] Removing intermediate container 06cabf1f45c0 [2021-06-11T08:44:55.511Z] ---> c04ba59f2f82 [2021-06-11T08:44:55.511Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T08:44:55.511Z] ---> Running in 8a2a6b3fff60 [2021-06-11T08:44:55.511Z] Removing intermediate container 8a2a6b3fff60 [2021-06-11T08:44:55.511Z] ---> e0c6760428ff [2021-06-11T08:44:55.511Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T08:44:55.511Z] ---> Running in 1faf7ac65092 [2021-06-11T08:44:56.083Z] Removing intermediate container 1faf7ac65092 [2021-06-11T08:44:56.083Z] ---> 554326a4f5a8 [2021-06-11T08:44:56.083Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T08:44:56.083Z] ---> Running in 7c1dd477a316 [2021-06-11T08:44:56.348Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-11T08:44:56.918Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-11T08:44:57.495Z] OK: 154 MiB in 49 packages [2021-06-11T08:44:57.762Z] Removing intermediate container 7c1dd477a316 [2021-06-11T08:44:57.762Z] ---> 021789a25883 [2021-06-11T08:44:57.762Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-11T08:44:57.762Z] ---> Running in f08314e6fbbe [2021-06-11T08:44:57.762Z] Removing intermediate container f08314e6fbbe [2021-06-11T08:44:57.762Z] ---> 9038ac94fb89 [2021-06-11T08:44:57.762Z] Step 9/25 : COPY . . [2021-06-11T08:44:58.024Z] ---> 15bbdd7bf508 [2021-06-11T08:44:58.024Z] Step 10/25 : RUN go mod tidy [2021-06-11T08:44:58.024Z] ---> Running in 01bb3e6c8549 [2021-06-11T08:44:58.599Z] Removing intermediate container 01bb3e6c8549 [2021-06-11T08:44:58.600Z] ---> 11ca59222baf [2021-06-11T08:44:58.600Z] Step 11/25 : RUN make update [2021-06-11T08:44:58.600Z] ---> Running in 478bbfeed3b8 [2021-06-11T08:44:58.862Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-11T08:44:59.126Z] Removing intermediate container 478bbfeed3b8 [2021-06-11T08:44:59.126Z] ---> 76161a6b8a9d [2021-06-11T08:44:59.126Z] Step 12/25 : RUN $MAKE [2021-06-11T08:44:59.126Z] ---> Running in 6445a7c85d87 [2021-06-11T08:44:59.390Z] go mod tidy [2021-06-11T08:44:59.662Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-11T08:45:12.064Z] Removing intermediate container 6445a7c85d87 [2021-06-11T08:45:12.064Z] ---> b33787a52df8 [2021-06-11T08:45:12.064Z] Step 13/25 : FROM alpine:3.12 [2021-06-11T08:45:12.064Z] 3.12: Pulling from library/alpine [2021-06-11T08:45:12.064Z] 339de151aab4: Pulling fs layer [2021-06-11T08:45:12.064Z] 339de151aab4: Verifying Checksum [2021-06-11T08:45:12.064Z] 339de151aab4: Download complete [2021-06-11T08:45:12.064Z] 339de151aab4: Pull complete [2021-06-11T08:45:12.064Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T08:45:12.064Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T08:45:12.064Z] ---> 13621d1b12d4 [2021-06-11T08:45:12.064Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-11T08:45:12.064Z] ---> Running in b03891a24d66 [2021-06-11T08:45:12.064Z] Removing intermediate container b03891a24d66 [2021-06-11T08:45:12.064Z] ---> 7b32c86fb37d [2021-06-11T08:45:12.064Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-11T08:45:12.064Z] ---> Running in 4d609eb7aae7 [2021-06-11T08:45:12.064Z] Removing intermediate container 4d609eb7aae7 [2021-06-11T08:45:12.064Z] ---> b0125210fdf7 [2021-06-11T08:45:12.064Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-11T08:45:12.064Z] ---> Running in 7e1197a0cfd5 [2021-06-11T08:45:12.324Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-11T08:45:12.596Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-11T08:45:12.596Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-11T08:45:12.596Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-11T08:45:12.596Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-11T08:45:12.596Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-11T08:45:12.596Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-11T08:45:12.596Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-11T08:45:12.596Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T08:45:12.596Z] OK: 8 MiB in 20 packages [2021-06-11T08:45:12.864Z] Removing intermediate container 7e1197a0cfd5 [2021-06-11T08:45:12.864Z] ---> a23f01c20a14 [2021-06-11T08:45:12.864Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-11T08:45:13.437Z] ---> abc96165361e [2021-06-11T08:45:13.437Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-11T08:45:13.437Z] ---> d47c29dcc534 [2021-06-11T08:45:13.437Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-11T08:45:13.698Z] ---> 0315060c2e55 [2021-06-11T08:45:13.698Z] Step 20/25 : EXPOSE 59986 [2021-06-11T08:45:13.698Z] ---> Running in 234780e30e1b [2021-06-11T08:45:13.698Z] Removing intermediate container 234780e30e1b [2021-06-11T08:45:13.698Z] ---> 3429e9a62643 [2021-06-11T08:45:13.698Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-11T08:45:13.698Z] ---> Running in ff8dcd800b7d [2021-06-11T08:45:13.698Z] Removing intermediate container ff8dcd800b7d [2021-06-11T08:45:13.698Z] ---> 1ac970e88061 [2021-06-11T08:45:13.698Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-11T08:45:13.959Z] ---> Running in 7e28546c8c40 [2021-06-11T08:45:13.959Z] Removing intermediate container 7e28546c8c40 [2021-06-11T08:45:13.959Z] ---> 9869f609b8f4 [2021-06-11T08:45:13.959Z] Step 23/25 : LABEL arch=amd64 [2021-06-11T08:45:13.959Z] ---> Running in 9dc131bf444e [2021-06-11T08:45:13.959Z] Removing intermediate container 9dc131bf444e [2021-06-11T08:45:13.959Z] ---> 9afa7759d52b [2021-06-11T08:45:13.959Z] Step 24/25 : LABEL git_sha=7e25169f18394d7dd910a8b69f62ce99669bb3ad [2021-06-11T08:45:13.959Z] ---> Running in 1bc3eea0a24f [2021-06-11T08:45:14.221Z] Removing intermediate container 1bc3eea0a24f [2021-06-11T08:45:14.221Z] ---> 940edfd65a74 [2021-06-11T08:45:14.221Z] Step 25/25 : LABEL version=0.0.0 [2021-06-11T08:45:14.221Z] ---> Running in be1a65b3de21 [2021-06-11T08:45:14.221Z] Removing intermediate container be1a65b3de21 [2021-06-11T08:45:14.221Z] ---> 8849b27b4b8d [2021-06-11T08:45:14.221Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-11T08:45:14.221Z] Successfully built 8849b27b4b8d [2021-06-11T08:45:14.221Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:45:15.419Z] ---> job-cost.sh [2021-06-11T08:45:15.419Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-GAzr [2021-06-11T08:45:20.706Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-11T08:45:20.706Z] ok github.com/edgexfoundry/device-rest-go/driver 0.044s coverage: 54.0% of statements [2021-06-11T08:45:20.706Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-11T08:45:25.468Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T08:45:37.754Z] lf-activate-venv(): INFO: Adding /tmp/venv-GAzr/bin to PATH [2021-06-11T08:45:37.754Z] INFO: No Stack... [2021-06-11T08:45:39.147Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T08:45:39.719Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T08:45:40.054Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-11T08:45:40.054Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T08:45:40.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-116-1-stack-cost] [2021-06-11T08:45:40.125Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-116-1-stack-cost] did not exist. Created. [2021-06-11T08:45:40.125Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-116-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T08:45:40.580Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-11T08:45:40.675Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T08:45:40.697Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-116-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-11T08:45:47.518Z] gofmt -l . [2021-06-11T08:45:47.518Z] [ "`gofmt -l .`" = "" ] [2021-06-11T08:45:47.518Z] ./bin/test-go-mod-tidy.sh [2021-06-11T08:45:47.518Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-11T08:45:47.558Z] $ docker stop --time=1 d1abc06bc2b290f9b4b5be52c878d7eb0682eee4e53da4241941a033ccf1a3ab [2021-06-11T08:45:49.464Z] $ docker rm -f d1abc06bc2b290f9b4b5be52c878d7eb0682eee4e53da4241941a033ccf1a3ab [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-11T08:45:50.368Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-11T08:45:50.431Z] Warning: overwriting stash ‘coverage-report’ [2021-06-11T08:45:50.919Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-11T08:45:51.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-11T08:45:52.082Z] + ls -al . [2021-06-11T08:45:52.082Z] total 132 [2021-06-11T08:45:52.082Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 08:45 . [2021-06-11T08:45:52.082Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 08:42 .. [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 11 08:42 .dockerignore [2021-06-11T08:45:52.082Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 11 08:42 .git [2021-06-11T08:45:52.082Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 08:42 .github [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 11 08:42 .gitignore [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 11 08:42 Attribution.txt [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 11 08:42 Dockerfile [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 11 08:42 Dockerfile.build [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 11 08:42 Jenkinsfile [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 11 08:42 LICENSE [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 11 08:42 Makefile [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 11 08:42 README.md [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 11 08:40 VERSION [2021-06-11T08:45:52.082Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 08:42 bin [2021-06-11T08:45:52.082Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 11 08:42 cmd [2021-06-11T08:45:52.082Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 11 08:45 coverage.out [2021-06-11T08:45:52.082Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 11 08:42 driver [2021-06-11T08:45:52.082Z] -rw-r--r-- 1 jenkins jenkins 286 Jun 11 08:45 go.mod [2021-06-11T08:45:52.082Z] -rw-r--r-- 1 jenkins jenkins 20777 Jun 11 08:44 go.sum [2021-06-11T08:45:52.082Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 11 08:42 snap [2021-06-11T08:45:52.082Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 11 08:42 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:45:52.471Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7e25169f18394d7dd910a8b69f62ce99669bb3ad --label arch=arm64 --label version=0.0.0 . [2021-06-11T08:45:52.471Z] Sending build context to Docker daemon 101.9kB [2021-06-11T08:45:52.744Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-11T08:45:52.744Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-11T08:45:52.744Z] ---> 21926c059533 [2021-06-11T08:45:52.744Z] Step 3/25 : ARG MAKE='make build' [2021-06-11T08:45:53.019Z] ---> Running in 26771498ad6e [2021-06-11T08:45:53.616Z] Removing intermediate container 26771498ad6e [2021-06-11T08:45:53.616Z] ---> aceee7ee4d53 [2021-06-11T08:45:53.616Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-11T08:45:53.616Z] ---> Running in 3ecdedd2735d [2021-06-11T08:45:54.210Z] Removing intermediate container 3ecdedd2735d [2021-06-11T08:45:54.210Z] ---> c0992a406c35 [2021-06-11T08:45:54.210Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-11T08:45:54.210Z] ---> Running in 170a9a707d77 [2021-06-11T08:45:54.820Z] Removing intermediate container 170a9a707d77 [2021-06-11T08:45:54.820Z] ---> a8046cde5e7a [2021-06-11T08:45:54.820Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-11T08:45:54.820Z] ---> Running in c7ad894f273d [2021-06-11T08:45:57.449Z] Removing intermediate container c7ad894f273d [2021-06-11T08:45:57.449Z] ---> e96caab25e89 [2021-06-11T08:45:57.449Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-11T08:45:57.449Z] ---> Running in 23c1eee1653f [2021-06-11T08:45:58.428Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-11T08:45:59.413Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-11T08:46:00.391Z] OK: 144 MiB in 49 packages [2021-06-11T08:46:01.446Z] Removing intermediate container 23c1eee1653f [2021-06-11T08:46:01.446Z] ---> e75323ebfabd [2021-06-11T08:46:01.446Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-11T08:46:01.446Z] ---> Running in 0eaab7c8757e [2021-06-11T08:46:02.045Z] Removing intermediate container 0eaab7c8757e [2021-06-11T08:46:02.045Z] ---> f0d396b4b57c [2021-06-11T08:46:02.045Z] Step 9/25 : COPY . . [2021-06-11T08:46:03.027Z] ---> 50c44d1382b4 [2021-06-11T08:46:03.027Z] Step 10/25 : RUN go mod tidy [2021-06-11T08:46:03.027Z] ---> Running in 30625f63199a [2021-06-11T08:46:05.711Z] Removing intermediate container 30625f63199a [2021-06-11T08:46:05.712Z] ---> 1aae853f150b [2021-06-11T08:46:05.712Z] Step 11/25 : RUN make update [2021-06-11T08:46:05.990Z] ---> Running in a8d13d24934b [2021-06-11T08:46:07.426Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-11T08:46:08.406Z] Removing intermediate container a8d13d24934b [2021-06-11T08:46:08.406Z] ---> 213c5d5fc51e [2021-06-11T08:46:08.406Z] Step 12/25 : RUN $MAKE [2021-06-11T08:46:08.406Z] ---> Running in d6a879633bca [2021-06-11T08:46:09.852Z] go mod tidy [2021-06-11T08:46:10.131Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-11T08:46:49.200Z] Removing intermediate container d6a879633bca [2021-06-11T08:46:49.200Z] ---> de982c7f9ee9 [2021-06-11T08:46:49.200Z] Step 13/25 : FROM alpine:3.12 [2021-06-11T08:46:49.200Z] 3.12: Pulling from library/alpine [2021-06-11T08:46:49.200Z] d2f70382dc9a: Pulling fs layer [2021-06-11T08:46:49.200Z] d2f70382dc9a: Verifying Checksum [2021-06-11T08:46:49.200Z] d2f70382dc9a: Download complete [2021-06-11T08:46:49.200Z] d2f70382dc9a: Pull complete [2021-06-11T08:46:49.200Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-06-11T08:46:49.200Z] Status: Downloaded newer image for alpine:3.12 [2021-06-11T08:46:49.200Z] ---> 9852663dfa18 [2021-06-11T08:46:49.200Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-11T08:46:49.200Z] ---> Running in 0856b356ea5b [2021-06-11T08:46:49.200Z] Removing intermediate container 0856b356ea5b [2021-06-11T08:46:49.200Z] ---> 00b350e796aa [2021-06-11T08:46:49.200Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-11T08:46:49.200Z] ---> Running in 9e44e91800ef [2021-06-11T08:46:49.200Z] Removing intermediate container 9e44e91800ef [2021-06-11T08:46:49.200Z] ---> 4bce4bba5a49 [2021-06-11T08:46:49.200Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-11T08:46:49.200Z] ---> Running in 9b08ca993323 [2021-06-11T08:46:49.200Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-11T08:46:49.200Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-11T08:46:49.200Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-11T08:46:49.200Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-11T08:46:49.200Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-11T08:46:49.200Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-11T08:46:49.200Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-11T08:46:49.200Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-11T08:46:49.200Z] Executing busybox-1.31.1-r20.trigger [2021-06-11T08:46:49.200Z] OK: 8 MiB in 20 packages [2021-06-11T08:46:50.185Z] Removing intermediate container 9b08ca993323 [2021-06-11T08:46:50.185Z] ---> 8eb3700e5c54 [2021-06-11T08:46:50.185Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-11T08:46:51.624Z] ---> f8d0d0715fd4 [2021-06-11T08:46:51.624Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-11T08:46:52.226Z] ---> 25bbc3f0cb08 [2021-06-11T08:46:52.226Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-11T08:46:53.205Z] ---> ade98df4391a [2021-06-11T08:46:53.205Z] Step 20/25 : EXPOSE 59986 [2021-06-11T08:46:53.205Z] ---> Running in 27e91005c8d6 [2021-06-11T08:46:53.803Z] Removing intermediate container 27e91005c8d6 [2021-06-11T08:46:53.803Z] ---> ea5dbee2ebb5 [2021-06-11T08:46:53.803Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-11T08:46:53.803Z] ---> Running in bd8d2a764166 [2021-06-11T08:46:54.399Z] Removing intermediate container bd8d2a764166 [2021-06-11T08:46:54.399Z] ---> 4d95ca9a66f0 [2021-06-11T08:46:54.399Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-11T08:46:54.399Z] ---> Running in 2f703a44d9bd [2021-06-11T08:46:55.002Z] Removing intermediate container 2f703a44d9bd [2021-06-11T08:46:55.002Z] ---> 76fb204ff35b [2021-06-11T08:46:55.002Z] Step 23/25 : LABEL arch=arm64 [2021-06-11T08:46:55.279Z] ---> Running in b9233124f8f6 [2021-06-11T08:46:55.555Z] Removing intermediate container b9233124f8f6 [2021-06-11T08:46:55.555Z] ---> f8e373843612 [2021-06-11T08:46:55.555Z] Step 24/25 : LABEL git_sha=7e25169f18394d7dd910a8b69f62ce99669bb3ad [2021-06-11T08:46:55.830Z] ---> Running in 8efd4763f852 [2021-06-11T08:46:56.429Z] Removing intermediate container 8efd4763f852 [2021-06-11T08:46:56.429Z] ---> fc3711b313f1 [2021-06-11T08:46:56.429Z] Step 25/25 : LABEL version=0.0.0 [2021-06-11T08:46:56.429Z] ---> Running in 21d9f0b543e6 [2021-06-11T08:46:57.025Z] Removing intermediate container 21d9f0b543e6 [2021-06-11T08:46:57.025Z] ---> 418e5858f109 [2021-06-11T08:46:57.025Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-11T08:46:57.025Z] Successfully built 418e5858f109 [2021-06-11T08:46:57.025Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:46:57.860Z] ---> job-cost.sh [2021-06-11T08:46:57.860Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-zHwV [2021-06-11T08:47:36.842Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-11T08:49:13.651Z] lf-activate-venv(): INFO: Adding /tmp/venv-zHwV/bin to PATH [2021-06-11T08:49:13.651Z] INFO: No Stack... [2021-06-11T08:49:13.651Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-11T08:49:13.651Z] INFO: Archiving Costs [Pipeline] sh [2021-06-11T08:49:14.057Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-11T08:49:14.057Z] + cut -d, -f6 [Pipeline] lock [2021-06-11T08:49:14.162Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-116-1-stack-cost] [2021-06-11T08:49:14.170Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-116-1-stack-cost] did not exist. Created. [2021-06-11T08:49:14.170Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-116-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-11T08:49:14.655Z] /w/workspace/device-rest-go/1@tmp/durable-cbf92c13/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-cbf92c13/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-11T08:49:15.083Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-11T08:49:15.150Z] Warning: overwriting stash ‘stack-cost’ [2021-06-11T08:49:15.306Z] Stashed 1 file(s) [Pipeline] } [2021-06-11T08:49:15.331Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-116-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-11T08:49:16.587Z] provisioning config files... [2021-06-11T08:49:16.611Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-116@tmp/config2252521020172908303tmp [Pipeline] { [Pipeline] sh [2021-06-11T08:49:17.052Z] + set +x [2021-06-11T08:49:17.052Z] + bash -s -- [2021-06-11T08:49:17.052Z] + curl -s https://codecov.io/bash [2021-06-11T08:49:17.052Z] [2021-06-11T08:49:17.052Z] _____ _ [2021-06-11T08:49:17.052Z] / ____| | | [2021-06-11T08:49:17.052Z] | | ___ __| | ___ ___ _____ __ [2021-06-11T08:49:17.052Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-11T08:49:17.052Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-11T08:49:17.052Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-11T08:49:17.052Z] Bash-1.0.3 [2021-06-11T08:49:17.052Z] [2021-06-11T08:49:17.052Z] [2021-06-11T08:49:17.052Z] ==> git version 2.24.4 found [2021-06-11T08:49:17.052Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-11T08:49:17.052Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-11T08:49:17.052Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-11T08:49:17.052Z] ==> Jenkins CI detected. [2021-06-11T08:49:17.052Z] project root: . [2021-06-11T08:49:17.052Z] --> token set from env [2021-06-11T08:49:17.052Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-11T08:49:17.052Z] ==> Running gcov in . (disable via -X gcov) [2021-06-11T08:49:17.052Z] ==> Python coveragepy not found [2021-06-11T08:49:17.052Z] ==> Searching for coverage reports in: [2021-06-11T08:49:17.052Z] + . [2021-06-11T08:49:17.052Z] -> Found 1 reports [2021-06-11T08:49:17.052Z] ==> Detecting git/mercurial file structure [2021-06-11T08:49:17.328Z] ==> Reading reports [2021-06-11T08:49:17.328Z] + ./coverage.out bytes=8513 [2021-06-11T08:49:17.328Z] ==> Appending adjustments [2021-06-11T08:49:17.328Z] https://docs.codecov.io/docs/fixing-reports [2021-06-11T08:49:17.328Z] + Found adjustments [2021-06-11T08:49:17.328Z] ==> Gzipping contents [2021-06-11T08:49:17.328Z] 4.0K /tmp/codecov.qKmGC5.gz [2021-06-11T08:49:17.328Z] ==> Uploading reports [2021-06-11T08:49:17.328Z] url: https://codecov.io [2021-06-11T08:49:17.328Z] query: branch=PR-116&commit=7e25169f18394d7dd910a8b69f62ce99669bb3ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-116%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-11T08:49:17.328Z] -> Pinging Codecov [2021-06-11T08:49:17.328Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-116&commit=7e25169f18394d7dd910a8b69f62ce99669bb3ad&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-116%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=116&job=&cmd_args= [2021-06-11T08:49:17.609Z] -> Uploading to [2021-06-11T08:49:17.609Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-11/4E5D53B4F1F92C436F7061BF334D961C/7e25169f18394d7dd910a8b69f62ce99669bb3ad/85b4cca8-8eb7-4412-af69-59cb1be9660f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210611%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210611T084917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e43d47ef06191780a91d3160b7946f2dc2145ad6aba1f0b1dab3c79ba02d1528 [2021-06-11T08:49:17.609Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-11T08:49:17.609Z] Dload Upload Total Spent Left Speed [2021-06-11T08:49:18.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1618 0 0 100 1618 0 3593 --:--:-- --:--:-- --:--:-- 3595 [2021-06-11T08:49:18.202Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7e25169f18394d7dd910a8b69f62ce99669bb3ad [Pipeline] } [2021-06-11T08:49:18.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:49:21.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:49:21.895Z] ---> package-listing.sh [2021-06-11T08:49:21.895Z] ++ facter osfamily [2021-06-11T08:49:21.895Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-11T08:49:22.231Z] + OS_FAMILY=redhat [2021-06-11T08:49:22.231Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-116 [2021-06-11T08:49:22.231Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-11T08:49:22.231Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-11T08:49:22.231Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-11T08:49:22.231Z] + PACKAGES=/tmp/packages_start.txt [2021-06-11T08:49:22.231Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-116 ']' [2021-06-11T08:49:22.231Z] + PACKAGES=/tmp/packages_end.txt [2021-06-11T08:49:22.231Z] + case "${OS_FAMILY}" in [2021-06-11T08:49:22.231Z] + rpm -qa [2021-06-11T08:49:22.231Z] + sort [2021-06-11T08:49:22.833Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-11T08:49:22.833Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-11T08:49:22.833Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-11T08:49:22.833Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-116 ']' [2021-06-11T08:49:22.833Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-116/archives/ [2021-06-11T08:49:22.833Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-116/archives/ [Pipeline] echo [2021-06-11T08:49:22.878Z] 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-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-11T08:49:23.223Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:49:23.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T08:49:23.842Z] [2021-06-11T08:49:23.842Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-11T08:49:24.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T08:49:24.235Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-11T08:49:24.235Z] df20fa9351a1: Pulling fs layer [2021-06-11T08:49:24.235Z] 36b3adc4ff6f: Pulling fs layer [2021-06-11T08:49:24.235Z] 8ad3a11d3b57: Pulling fs layer [2021-06-11T08:49:24.235Z] 46f8f816bc3b: Pulling fs layer [2021-06-11T08:49:24.235Z] 93b61091891f: Pulling fs layer [2021-06-11T08:49:24.235Z] 93b9cdb0e59b: Pulling fs layer [2021-06-11T08:49:24.235Z] 5e14af77c1be: Pulling fs layer [2021-06-11T08:49:24.235Z] 01666e4c0597: Pulling fs layer [2021-06-11T08:49:24.235Z] aa168da1d23b: Pulling fs layer [2021-06-11T08:49:24.235Z] 93b61091891f: Waiting [2021-06-11T08:49:24.235Z] 93b9cdb0e59b: Waiting [2021-06-11T08:49:24.235Z] 5e14af77c1be: Waiting [2021-06-11T08:49:24.235Z] 01666e4c0597: Waiting [2021-06-11T08:49:24.235Z] aa168da1d23b: Waiting [2021-06-11T08:49:24.235Z] 46f8f816bc3b: Waiting [2021-06-11T08:49:24.235Z] 36b3adc4ff6f: Verifying Checksum [2021-06-11T08:49:24.235Z] 36b3adc4ff6f: Download complete [2021-06-11T08:49:24.235Z] 46f8f816bc3b: Verifying Checksum [2021-06-11T08:49:24.235Z] 46f8f816bc3b: Download complete [2021-06-11T08:49:24.235Z] df20fa9351a1: Verifying Checksum [2021-06-11T08:49:24.235Z] df20fa9351a1: Download complete [2021-06-11T08:49:24.527Z] 93b9cdb0e59b: Verifying Checksum [2021-06-11T08:49:24.528Z] 93b9cdb0e59b: Download complete [2021-06-11T08:49:24.528Z] 5e14af77c1be: Verifying Checksum [2021-06-11T08:49:24.528Z] 5e14af77c1be: Download complete [2021-06-11T08:49:24.528Z] 01666e4c0597: Verifying Checksum [2021-06-11T08:49:24.528Z] 01666e4c0597: Download complete [2021-06-11T08:49:24.528Z] 93b61091891f: Verifying Checksum [2021-06-11T08:49:24.528Z] 93b61091891f: Download complete [2021-06-11T08:49:24.528Z] df20fa9351a1: Pull complete [2021-06-11T08:49:24.798Z] 8ad3a11d3b57: Verifying Checksum [2021-06-11T08:49:24.798Z] 8ad3a11d3b57: Download complete [2021-06-11T08:49:24.798Z] 36b3adc4ff6f: Pull complete [2021-06-11T08:49:25.401Z] 8ad3a11d3b57: Pull complete [2021-06-11T08:49:25.401Z] 46f8f816bc3b: Pull complete [2021-06-11T08:49:25.698Z] 93b61091891f: Pull complete [2021-06-11T08:49:26.032Z] 93b9cdb0e59b: Pull complete [2021-06-11T08:49:26.032Z] 5e14af77c1be: Pull complete [2021-06-11T08:49:26.032Z] 01666e4c0597: Pull complete [2021-06-11T08:49:28.041Z] aa168da1d23b: Verifying Checksum [2021-06-11T08:49:28.041Z] aa168da1d23b: Download complete [2021-06-11T08:49:32.403Z] aa168da1d23b: Pull complete [2021-06-11T08:49:32.403Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-11T08:49:32.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-11T08:49:32.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-11T08:49:32.589Z] prd-centos7-docker-4c-2g-501 does not seem to be running inside a container [2021-06-11T08:49:32.739Z] $ 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-116/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-116 -v /w/workspace/gexfoundry_device-rest-go_PR-116:/w/workspace/gexfoundry_device-rest-go_PR-116:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-116@tmp:/w/workspace/gexfoundry_device-rest-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-11T08:49:35.738Z] $ docker top 984ea35748f478a61285f6bac22f91986aac1d1c5e5ed7f866e23de92db8bd4d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-11T08:49:36.252Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-11T08:49:36.626Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-11T08:49:37.001Z] + ls /var/log/sa-host [2021-06-11T08:49:37.002Z] + sadf -c /var/log/sa-host/sa05 [2021-06-11T08:49:37.002Z] file_magic: OK [2021-06-11T08:49:37.002Z] HZ: Using current value: 100 [2021-06-11T08:49:37.002Z] file_header: OK [2021-06-11T08:49:37.002Z] 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-06-11T08:49:37.002Z] Statistics: [2021-06-11T08:49:37.002Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T08:49:37.002Z] File successfully converted to sysstat format version 12.2.1 [2021-06-11T08:49:37.002Z] + sadf -c /var/log/sa-host/sa11 [2021-06-11T08:49:37.002Z] file_magic: OK [2021-06-11T08:49:37.002Z] HZ: Using current value: 100 [2021-06-11T08:49:37.002Z] file_header: OK [2021-06-11T08:49:37.002Z] 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-06-11T08:49:37.002Z] Statistics: [2021-06-11T08:49:37.002Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-11T08:49:37.002Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-11T08:49:37.692Z] provisioning config files... [2021-06-11T08:49:37.707Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-116@tmp/config8633353554929587993tmp [Pipeline] { [Pipeline] echo [2021-06-11T08:49:37.770Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:49:38.120Z] ---> create-netrc.sh [Pipeline] } [2021-06-11T08:49:38.146Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:49:38.651Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-11T08:49:38.692Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:49:39.054Z] ---> sudo-logs.sh [2021-06-11T08:49:39.054Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-11T08:49:39.148Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:49:39.573Z] ---> job-cost.sh [2021-06-11T08:49:39.573Z] lf-activate-venv: SKIPPING [2021-06-11T08:49:39.573Z] DEBUG: total: 0.18000000715255737 [2021-06-11T08:49:39.573Z] INFO: Retrieving Stack Cost... [2021-06-11T08:49:41.106Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-11T08:49:41.394Z] INFO: Archiving Costs [Pipeline] echo [2021-06-11T08:49:41.491Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-11T08:49:41.940Z] ---> logs-deploy.sh [2021-06-11T08:49:41.940Z] lf-activate-venv: SKIPPING [2021-06-11T08:49:41.940Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-116/1 [2021-06-11T08:49:41.940Z] INFO: archiving workspace using pattern(s): [2021-06-11T08:49:42.937Z] Archives upload complete. [2021-06-11T08:49:42.937Z] INFO: archiving logs to Nexus