Pull request #117 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3e73dda424b055716126243b9f497034329a8f4e+b32159014ae45265b13142f0741b8ad008d9ae08 (c8d17057a96bd8996f84bb2a0d8a84e6a5ae3e1c) 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-ssh199346905225695774.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-ssh6935226805586585276.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-117/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-117/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8311034467319107038.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-117/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3901815852192400589.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-ssh2577888808968916032.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-117/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-117/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1582846744041000316.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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-772 in /w/workspace/gexfoundry_device-rest-go_PR-117 [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-117 # 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-117@tmp/jenkins-gitclient-ssh752426796672073562.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 3e73dda424b055716126243b9f497034329a8f4e Merge succeeded, producing 3e73dda424b055716126243b9f497034329a8f4e Checking out Revision 3e73dda424b055716126243b9f497034329a8f4e (PR-117) > 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-117@tmp/jenkins-gitclient-ssh1584104495732337907.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # 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-117@tmp/jenkins-gitclient-ssh2013443570922868427.key > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" 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-14T05:45:55.720Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-14T05:45:55.926Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-14T05:45:56.084Z] ========================================================= [2021-06-14T05:45:56.084Z] EdgeX Global Pipelines Version Info [2021-06-14T05:45:56.084Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:45:57.532Z] ------------------- [2021-06-14T05:45:57.532Z] stable info: [2021-06-14T05:45:57.532Z] ------------------- [2021-06-14T05:45:57.532Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-14T05:45:57.532Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-14T05:45:57.532Z] Message: update stable to v1.0.195 [2021-06-14T05:45:58.114Z] ------------------- [2021-06-14T05:45:58.114Z] experimental info: [2021-06-14T05:45:58.114Z] ------------------- [2021-06-14T05:45:58.114Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-14T05:45:58.114Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-14T05:45:58.114Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-14T05:45:58.426Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-14T05:45:58.489Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-14T05:45:58.547Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-14T05:45:58.606Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-14T05:45:58.666Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-14T05:45:58.732Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-14T05:45:58.801Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-14T05:45:58.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-14T05:45:59.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-14T05:45:59.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-14T05:45:59.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-14T05:45:59.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-14T05:45:59.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-14T05:45:59.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-14T05:45:59.448Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-14T05:45:59.512Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-14T05:45:59.581Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T05:45:59.640Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-14T05:45:59.704Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-14T05:45:59.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-14T05:45:59.835Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-14T05:45:59.902Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-14T05:45:59.959Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-14T05:46:00.016Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-14T05:46:00.077Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-14T05:46:00.135Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-14T05:46:00.205Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo [2021-06-14T05:46:00.270Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo [2021-06-14T05:46:00.336Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo [2021-06-14T05:46:00.411Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e73dda424b055716126243b9f497034329a8f4e [Pipeline] echo [2021-06-14T05:46:00.488Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e73dda [Pipeline] echo [2021-06-14T05:46:00.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T05:46:00.729Z] provisioning config files... [2021-06-14T05:46:00.745Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-117@tmp/config258717107710485922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:46:01.122Z] ---> docker-login.sh [2021-06-14T05:46:01.122Z] nexus3.edgexfoundry.org:10001 [2021-06-14T05:46:01.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:46:01.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:46:01.394Z] Configure a credential helper to remove this warning. See [2021-06-14T05:46:01.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:46:01.394Z] [2021-06-14T05:46:01.394Z] Login Succeeded [2021-06-14T05:46:01.394Z] nexus3.edgexfoundry.org:10002 [2021-06-14T05:46:01.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:46:01.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:46:01.394Z] Configure a credential helper to remove this warning. See [2021-06-14T05:46:01.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:46:01.394Z] [2021-06-14T05:46:01.394Z] Login Succeeded [2021-06-14T05:46:01.394Z] nexus3.edgexfoundry.org:10003 [2021-06-14T05:46:01.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:46:01.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:46:01.664Z] Configure a credential helper to remove this warning. See [2021-06-14T05:46:01.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:46:01.664Z] [2021-06-14T05:46:01.664Z] Login Succeeded [2021-06-14T05:46:01.664Z] nexus3.edgexfoundry.org:10004 [2021-06-14T05:46:01.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:46:01.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:46:01.930Z] Configure a credential helper to remove this warning. See [2021-06-14T05:46:01.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:46:01.930Z] [2021-06-14T05:46:01.930Z] Login Succeeded [2021-06-14T05:46:01.930Z] docker.io [2021-06-14T05:46:01.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:46:02.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:46:02.196Z] Configure a credential helper to remove this warning. See [2021-06-14T05:46:02.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:46:02.196Z] [2021-06-14T05:46:02.196Z] Login Succeeded [2021-06-14T05:46:02.196Z] ---> docker-login.sh ends [Pipeline] } [2021-06-14T05:46:02.219Z] 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-14T05:46:03.153Z] + git log --format=format:%s -1 3e73dda424b055716126243b9f497034329a8f4e [Pipeline] echo [2021-06-14T05:46:03.218Z] GIT_COMMIT: 3e73dda424b055716126243b9f497034329a8f4e, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-06-14T05:46:03.269Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:46:03.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T05:46:03.945Z] [2021-06-14T05:46:03.945Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:46:04.328Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T05:46:04.328Z] latest: Pulling from edgex-devops/git-semver [2021-06-14T05:46:04.328Z] 31603596830f: Pulling fs layer [2021-06-14T05:46:04.328Z] 54011a49482f: Pulling fs layer [2021-06-14T05:46:04.328Z] a6820b24f6d8: Pulling fs layer [2021-06-14T05:46:04.328Z] f581987b2513: Pulling fs layer [2021-06-14T05:46:04.328Z] f581987b2513: Waiting [2021-06-14T05:46:04.328Z] 54011a49482f: Verifying Checksum [2021-06-14T05:46:04.328Z] 54011a49482f: Download complete [2021-06-14T05:46:04.605Z] 31603596830f: Verifying Checksum [2021-06-14T05:46:04.605Z] 31603596830f: Download complete [2021-06-14T05:46:04.605Z] f581987b2513: Verifying Checksum [2021-06-14T05:46:04.605Z] f581987b2513: Download complete [2021-06-14T05:46:04.605Z] a6820b24f6d8: Verifying Checksum [2021-06-14T05:46:04.605Z] a6820b24f6d8: Download complete [2021-06-14T05:46:04.605Z] 31603596830f: Pull complete [2021-06-14T05:46:04.868Z] 54011a49482f: Pull complete [2021-06-14T05:46:05.457Z] a6820b24f6d8: Pull complete [2021-06-14T05:46:05.722Z] f581987b2513: Pull complete [2021-06-14T05:46:05.722Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-14T05:46:05.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-14T05:46:05.722Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-14T05:46:05.849Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2021-06-14T05:46:05.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-117 -v /w/workspace/gexfoundry_device-rest-go_PR-117:/w/workspace/gexfoundry_device-rest-go_PR-117:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-117@tmp:/w/workspace/gexfoundry_device-rest-go_PR-117@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-14T05:46:06.856Z] $ docker top 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-14T05:46:07.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-14T05:46:07.082Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-14T05:46:07.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-14T05:46:07.226Z] $ docker exec 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 ssh-agent [2021-06-14T05:46:07.348Z] SSH_AUTH_SOCK=/tmp/ssh-GOY4sHvxglU3/agent.13 [2021-06-14T05:46:07.348Z] SSH_AGENT_PID=19 [2021-06-14T05:46:07.357Z] Running ssh-add (command line suppressed) [2021-06-14T05:46:07.462Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-117@tmp/private_key_626450930391241614.key (/w/workspace/gexfoundry_device-rest-go_PR-117@tmp/private_key_626450930391241614.key) [2021-06-14T05:46:07.483Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-14T05:46:07.845Z] + git tag --points-at HEAD [Pipeline] } [2021-06-14T05:46:07.879Z] $ docker exec --env ******** --env ******** 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 ssh-agent -k [2021-06-14T05:46:07.980Z] unset SSH_AUTH_SOCK; [2021-06-14T05:46:07.981Z] unset SSH_AGENT_PID; [2021-06-14T05:46:07.981Z] echo Agent pid 19 killed; [2021-06-14T05:46:08.002Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-14T05:46:08.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-14T05:46:08.196Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-14T05:46:08.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-14T05:46:08.347Z] $ docker exec 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 ssh-agent [2021-06-14T05:46:08.482Z] SSH_AUTH_SOCK=/tmp/ssh-8vMEoBChZNQw/agent.52 [2021-06-14T05:46:08.482Z] SSH_AGENT_PID=59 [2021-06-14T05:46:08.488Z] Running ssh-add (command line suppressed) [2021-06-14T05:46:08.596Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-117@tmp/private_key_1849874059521102134.key (/w/workspace/gexfoundry_device-rest-go_PR-117@tmp/private_key_1849874059521102134.key) [2021-06-14T05:46:08.612Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-14T05:46:08.956Z] + git semver init [2021-06-14T05:46:08.956Z] # -> Open(): unable to determine branch for HEAD [2021-06-14T05:46:08.956Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-117/.git [2021-06-14T05:46:08.956Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-117 [2021-06-14T05:46:08.956Z] # $SEMVER_REMOTE_NAME = origin [2021-06-14T05:46:08.956Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-14T05:46:08.956Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-14T05:46:08.956Z] # $SEMVER_BRANCH = PR-117 [2021-06-14T05:46:08.956Z] # $SEMVER_TEMP = /tmp/semver-089234267 [2021-06-14T05:46:08.956Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-14T05:46:09.915Z] # '/tmp/semver-089234267' -> '/w/workspace/gexfoundry_device-rest-go_PR-117/.semver' [2021-06-14T05:46:09.915Z] # -> Force: false [2021-06-14T05:46:09.915Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-117/.semver [Pipeline] } [2021-06-14T05:46:09.939Z] $ docker exec --env ******** --env ******** 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 ssh-agent -k [2021-06-14T05:46:10.053Z] unset SSH_AUTH_SOCK; [2021-06-14T05:46:10.054Z] unset SSH_AGENT_PID; [2021-06-14T05:46:10.054Z] echo Agent pid 59 killed; [2021-06-14T05:46:10.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-14T05:46:10.541Z] + git semver [Pipeline] } [2021-06-14T05:46:10.595Z] $ docker stop --time=1 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 [2021-06-14T05:46:11.887Z] $ docker rm -f 3945dc82c1283dd68cf8ff3ba33d0f4f0d182502e0ea6aae94d713b93ec3f0a0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-14T05:46:12.336Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-14T05:46:12.749Z] Stashed 1 file(s) [Pipeline] echo [2021-06-14T05:46:12.798Z] [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-14T05:46:28.588Z] Still waiting to schedule task [2021-06-14T05:46:28.588Z] ‘prd-centos7-blackbox-4c-2g-591’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-14T05:46:28.589Z] ‘prd-centos7-docker-4c-2g-762’ is offline [2021-06-14T05:46:28.589Z] ‘prd-centos7-docker-4c-2g-764’ is offline [2021-06-14T05:46:28.589Z] ‘prd-centos7-docker-4c-2g-765’ is offline [2021-06-14T05:46:28.589Z] ‘prd-centos7-docker-4c-2g-776’ is offline [2021-06-14T05:46:28.627Z] Still waiting to schedule task [2021-06-14T05:46:28.628Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-14T05:48:27.742Z] Running on prd-centos7-docker-4c-2g-783 in /w/workspace/gexfoundry_device-rest-go_PR-117 [Pipeline] { [Pipeline] ws [2021-06-14T05:48:27.813Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-14T05:48:27.986Z] The recommended git tool is: git [2021-06-14T05:48:30.476Z] using credential edgex-jenkins-ssh [2021-06-14T05:48:30.490Z] Cloning the remote Git repository [2021-06-14T05:48:30.511Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-14T05:48:30.578Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-14T05:48:30.625Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-14T05:48:30.625Z] > git --version # timeout=10 [2021-06-14T05:48:30.636Z] > git --version # 'git version 2.24.4' [2021-06-14T05:48:30.637Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:48:30.661Z] [INFO] Currently running in a labeled security context [2021-06-14T05:48:30.661Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T05:48:30.661Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3017043319650699195.key [2021-06-14T05:48:30.676Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T05:48:32.252Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-14T05:48:32.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T05:48:32.276Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-14T05:48:32.290Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-14T05:48:32.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:48:32.292Z] [INFO] Currently running in a labeled security context [2021-06-14T05:48:32.292Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T05:48:32.292Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh8808677633512777485.key [2021-06-14T05:48:32.302Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-14T05:48:32.681Z] Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 3e73dda424b055716126243b9f497034329a8f4e [2021-06-14T05:48:32.772Z] Merge succeeded, producing 3e73dda424b055716126243b9f497034329a8f4e [2021-06-14T05:48:32.773Z] Checking out Revision 3e73dda424b055716126243b9f497034329a8f4e (PR-117) [2021-06-14T05:48:32.688Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T05:48:32.700Z] > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 [2021-06-14T05:48:32.729Z] > git remote # timeout=10 [2021-06-14T05:48:32.737Z] > git config --get remote.origin.url # timeout=10 [2021-06-14T05:48:32.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:48:32.743Z] [INFO] Currently running in a labeled security context [2021-06-14T05:48:32.743Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-14T05:48:32.743Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5990844039922510451.key [2021-06-14T05:48:32.750Z] > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 [2021-06-14T05:48:32.757Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-14T05:48:32.773Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T05:48:32.779Z] > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 [2021-06-14T05:48:36.421Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-14T05:48:36.485Z] > git --version # timeout=10 [2021-06-14T05:48:36.488Z] > git --version # 'git version 2.24.4' [2021-06-14T05:48:36.496Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-14T05:48:37.570Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-14T05:48:37.971Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-14T05:48:38.326Z] + sudo service docker restart [2021-06-14T05:48:38.326Z] + true [2021-06-14T05:48:38.326Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T05:48:56.774Z] provisioning config files... [2021-06-14T05:48:56.804Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config646065016191169815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:48:57.217Z] ---> docker-login.sh [2021-06-14T05:48:57.217Z] nexus3.edgexfoundry.org:10001 [2021-06-14T05:48:57.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:57.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:57.848Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:57.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:57.848Z] [2021-06-14T05:48:57.848Z] Login Succeeded [2021-06-14T05:48:57.848Z] nexus3.edgexfoundry.org:10002 [2021-06-14T05:48:57.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:58.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:58.162Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:58.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:58.162Z] [2021-06-14T05:48:58.162Z] Login Succeeded [2021-06-14T05:48:58.162Z] nexus3.edgexfoundry.org:10003 [2021-06-14T05:48:58.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:58.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:58.162Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:58.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:58.162Z] [2021-06-14T05:48:58.162Z] Login Succeeded [2021-06-14T05:48:58.162Z] nexus3.edgexfoundry.org:10004 [2021-06-14T05:48:58.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:58.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:58.162Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:58.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:58.162Z] [2021-06-14T05:48:58.162Z] Login Succeeded [2021-06-14T05:48:58.162Z] docker.io [2021-06-14T05:48:58.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:48:58.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:48:58.704Z] Configure a credential helper to remove this warning. See [2021-06-14T05:48:58.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:48:58.704Z] [2021-06-14T05:48:58.704Z] Login Succeeded [2021-06-14T05:48:58.704Z] ---> docker-login.sh ends [Pipeline] } [2021-06-14T05:48:58.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-14T05:48:59.077Z] ========================================================= [2021-06-14T05:48:59.077Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-14T05:48:59.077Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:48:59.479Z] + 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-14T05:48:59.479Z] Sending build context to Docker daemon 92.16kB [2021-06-14T05:48:59.479Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-14T05:48:59.479Z] Step 2/10 : FROM ${BASE} [2021-06-14T05:48:59.479Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-14T05:48:59.479Z] 540db60ca938: Pulling fs layer [2021-06-14T05:48:59.479Z] adcc1eea9eea: Pulling fs layer [2021-06-14T05:48:59.479Z] 4c4ab2625f07: Pulling fs layer [2021-06-14T05:48:59.479Z] 0510c868ecb4: Pulling fs layer [2021-06-14T05:48:59.479Z] afea3b2eda06: Pulling fs layer [2021-06-14T05:48:59.479Z] 7809a108b3ef: Pulling fs layer [2021-06-14T05:48:59.479Z] f706445af74f: Pulling fs layer [2021-06-14T05:48:59.479Z] 0510c868ecb4: Waiting [2021-06-14T05:48:59.479Z] afea3b2eda06: Waiting [2021-06-14T05:48:59.479Z] 7809a108b3ef: Waiting [2021-06-14T05:48:59.479Z] f706445af74f: Waiting [2021-06-14T05:48:59.479Z] 4c4ab2625f07: Verifying Checksum [2021-06-14T05:48:59.479Z] 4c4ab2625f07: Download complete [2021-06-14T05:48:59.479Z] adcc1eea9eea: Verifying Checksum [2021-06-14T05:48:59.479Z] adcc1eea9eea: Download complete [2021-06-14T05:48:59.479Z] afea3b2eda06: Verifying Checksum [2021-06-14T05:48:59.479Z] afea3b2eda06: Download complete [2021-06-14T05:48:59.479Z] 7809a108b3ef: Verifying Checksum [2021-06-14T05:48:59.479Z] 7809a108b3ef: Download complete [2021-06-14T05:48:59.743Z] 540db60ca938: Verifying Checksum [2021-06-14T05:48:59.743Z] 540db60ca938: Download complete [2021-06-14T05:48:59.743Z] 540db60ca938: Pull complete [2021-06-14T05:49:00.007Z] adcc1eea9eea: Pull complete [2021-06-14T05:49:00.007Z] 4c4ab2625f07: Pull complete [2021-06-14T05:49:01.942Z] f706445af74f: Verifying Checksum [2021-06-14T05:49:01.942Z] f706445af74f: Download complete [2021-06-14T05:49:02.536Z] 0510c868ecb4: Verifying Checksum [2021-06-14T05:49:02.536Z] 0510c868ecb4: Download complete [2021-06-14T05:49:05.885Z] 0510c868ecb4: Pull complete [2021-06-14T05:49:05.885Z] afea3b2eda06: Pull complete [2021-06-14T05:49:05.885Z] 7809a108b3ef: Pull complete [2021-06-14T05:49:07.290Z] f706445af74f: Pull complete [2021-06-14T05:49:07.290Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-14T05:49:07.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-14T05:49:07.290Z] ---> b068be0155e3 [2021-06-14T05:49:07.290Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-14T05:49:12.592Z] ---> Running in 5f991152162b [2021-06-14T05:49:12.592Z] Removing intermediate container 5f991152162b [2021-06-14T05:49:12.592Z] ---> 3840b4fc5681 [2021-06-14T05:49:12.592Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-14T05:49:12.592Z] ---> Running in 93b65a4b2009 [2021-06-14T05:49:12.592Z] Removing intermediate container 93b65a4b2009 [2021-06-14T05:49:12.592Z] ---> f4c5244453fb [2021-06-14T05:49:12.592Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-14T05:49:12.592Z] ---> Running in a8bc3b845f77 [2021-06-14T05:49:12.592Z] Removing intermediate container a8bc3b845f77 [2021-06-14T05:49:12.592Z] ---> f4cc0486a2b8 [2021-06-14T05:49:12.592Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-14T05:49:12.862Z] ---> Running in 97707172de99 [2021-06-14T05:49:13.439Z] Removing intermediate container 97707172de99 [2021-06-14T05:49:13.439Z] ---> e1a02a9cda89 [2021-06-14T05:49:13.439Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-14T05:49:13.439Z] ---> Running in d8a75951cf68 [2021-06-14T05:49:13.703Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-14T05:49:14.646Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-14T05:49:14.916Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-14T05:49:14.916Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-14T05:49:15.185Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-14T05:49:15.185Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-14T05:49:15.185Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-14T05:49:15.447Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-14T05:49:15.447Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-14T05:49:15.714Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-14T05:49:15.976Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-14T05:49:15.976Z] Executing busybox-1.32.1-r6.trigger [2021-06-14T05:49:15.976Z] OK: 154 MiB in 49 packages [2021-06-14T05:49:16.560Z] Removing intermediate container d8a75951cf68 [2021-06-14T05:49:16.560Z] ---> e26d8f305c27 [2021-06-14T05:49:16.560Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-14T05:49:16.560Z] ---> Running in fb8581d2be53 [2021-06-14T05:49:16.560Z] Removing intermediate container fb8581d2be53 [2021-06-14T05:49:16.560Z] ---> a9397aa59269 [2021-06-14T05:49:16.560Z] Step 9/10 : COPY . . [2021-06-14T05:49:16.835Z] ---> 48a40c63deb3 [2021-06-14T05:49:16.835Z] Step 10/10 : RUN go mod download [2021-06-14T05:49:16.835Z] ---> Running in f32242cee39c [2021-06-14T05:49:29.112Z] Removing intermediate container f32242cee39c [2021-06-14T05:49:29.112Z] ---> b1bdc6fd1316 [2021-06-14T05:49:29.112Z] Successfully built b1bdc6fd1316 [2021-06-14T05:49:29.112Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:49:29.464Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-14T05:49:29.464Z] . [Pipeline] withDockerContainer [2021-06-14T05:49:29.565Z] prd-centos7-docker-4c-2g-783 does not seem to be running inside a container [2021-06-14T05:49:29.624Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-14T05:49:29.959Z] $ docker top 4be2df19c9e5f526a49abb3a465979be62c0d50b9c8af5a4451da9f4456eabdb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T05:49:30.407Z] + go version [2021-06-14T05:49:30.407Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-14T05:49:30.441Z] $ docker stop --time=1 4be2df19c9e5f526a49abb3a465979be62c0d50b9c8af5a4451da9f4456eabdb [2021-06-14T05:49:31.617Z] $ docker rm -f 4be2df19c9e5f526a49abb3a465979be62c0d50b9c8af5a4451da9f4456eabdb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:49:32.480Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-14T05:49:32.480Z] . [Pipeline] withDockerContainer [2021-06-14T05:49:32.592Z] prd-centos7-docker-4c-2g-783 does not seem to be running inside a container [2021-06-14T05:49:32.633Z] $ 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 ******** ci-base-image-x86_64 cat [2021-06-14T05:49:33.002Z] $ docker top fccc94959e3d4137845aadfacf0fa4be0af4ac8fdd773abda2387104973b5f97 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T05:49:33.461Z] + go mod tidy [2021-06-14T05:49:33.732Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-14T05:49:33.732Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-14T05:49:33.732Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-06-14T05:49:33.732Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-14T05:49:33.732Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-14T05:49:33.732Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-14T05:49:33.996Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-14T05:49:33.996Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-14T05:49:33.996Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-14T05:49:33.996Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports [2021-06-14T05:49:33.996Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } [2021-06-14T05:49:34.036Z] $ docker stop --time=1 fccc94959e3d4137845aadfacf0fa4be0af4ac8fdd773abda2387104973b5f97 [2021-06-14T05:49:35.275Z] $ docker rm -f fccc94959e3d4137845aadfacf0fa4be0af4ac8fdd773abda2387104973b5f97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:49:36.844Z] ---> job-cost.sh [2021-06-14T05:49:36.844Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Bslz [2021-06-14T05:49:45.017Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-14T05:50:00.025Z] lf-activate-venv(): INFO: Adding /tmp/venv-Bslz/bin to PATH [2021-06-14T05:50:00.025Z] INFO: No Stack... [2021-06-14T05:50:00.025Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-14T05:50:00.025Z] INFO: Archiving Costs [Pipeline] sh [2021-06-14T05:50:00.354Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-14T05:50:00.354Z] + cut -d, -f6 [Pipeline] lock [2021-06-14T05:50:00.412Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [2021-06-14T05:50:00.422Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] did not exist. Created. [2021-06-14T05:50:00.422Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-14T05:50:00.855Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-14T05:50:01.191Z] Stashed 1 file(s) [Pipeline] } [2021-06-14T05:50:01.214Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-14T05:50:01.892Z] Failed in branch amd64 [2021-06-14T05:50:08.295Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-793 in /w/workspace/gexfoundry_device-rest-go_PR-117 [Pipeline] { [Pipeline] ws [2021-06-14T05:50:08.352Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-14T05:50:08.669Z] The recommended git tool is: git [2021-06-14T05:50:13.815Z] using credential edgex-jenkins-ssh [2021-06-14T05:50:13.834Z] Cloning the remote Git repository [2021-06-14T05:50:13.913Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-14T05:50:14.066Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-14T05:50:14.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-14T05:50:14.176Z] > git --version # timeout=10 [2021-06-14T05:50:14.196Z] > git --version # 'git version 2.17.1' [2021-06-14T05:50:14.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:50:14.297Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T05:50:18.501Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-14T05:50:18.521Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-14T05:50:18.543Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-14T05:50:18.578Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-14T05:50:18.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:50:18.592Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-14T05:50:19.041Z] Merging remotes/origin/master commit b32159014ae45265b13142f0741b8ad008d9ae08 into PR head commit 3e73dda424b055716126243b9f497034329a8f4e [2021-06-14T05:50:19.240Z] Merge succeeded, producing 3e73dda424b055716126243b9f497034329a8f4e [2021-06-14T05:50:19.240Z] Checking out Revision 3e73dda424b055716126243b9f497034329a8f4e (PR-117) [2021-06-14T05:50:19.076Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T05:50:19.089Z] > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 [2021-06-14T05:50:19.168Z] > git remote # timeout=10 [2021-06-14T05:50:19.186Z] > git config --get remote.origin.url # timeout=10 [2021-06-14T05:50:19.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-14T05:50:19.209Z] > git merge b32159014ae45265b13142f0741b8ad008d9ae08 # timeout=10 [2021-06-14T05:50:19.233Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-14T05:50:19.260Z] > git config core.sparsecheckout # timeout=10 [2021-06-14T05:50:19.272Z] > git checkout -f 3e73dda424b055716126243b9f497034329a8f4e # timeout=10 [2021-06-14T05:50:23.807Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-06-14T05:50:23.878Z] > git --version # timeout=10 [2021-06-14T05:50:23.892Z] > git --version # 'git version 2.17.1' [2021-06-14T05:50:23.913Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-14T05:50:25.655Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-14T05:50:26.086Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-14T05:50:26.457Z] + sudo service docker restart [2021-06-14T05:50:26.457Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T05:50:44.869Z] provisioning config files... [2021-06-14T05:50:44.897Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4839782163158546124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:50:45.332Z] ---> docker-login.sh [2021-06-14T05:50:45.333Z] nexus3.edgexfoundry.org:10001 [2021-06-14T05:50:45.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:50:46.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:50:46.536Z] Configure a credential helper to remove this warning. See [2021-06-14T05:50:46.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:50:46.536Z] [2021-06-14T05:50:46.536Z] Login Succeeded [2021-06-14T05:50:46.536Z] nexus3.edgexfoundry.org:10002 [2021-06-14T05:50:46.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:50:47.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:50:47.109Z] Configure a credential helper to remove this warning. See [2021-06-14T05:50:47.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:50:47.109Z] [2021-06-14T05:50:47.109Z] Login Succeeded [2021-06-14T05:50:47.109Z] nexus3.edgexfoundry.org:10003 [2021-06-14T05:50:47.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:50:47.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:50:47.671Z] Configure a credential helper to remove this warning. See [2021-06-14T05:50:47.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:50:47.671Z] [2021-06-14T05:50:47.671Z] Login Succeeded [2021-06-14T05:50:47.671Z] nexus3.edgexfoundry.org:10004 [2021-06-14T05:50:47.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:50:48.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:50:48.236Z] Configure a credential helper to remove this warning. See [2021-06-14T05:50:48.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:50:48.236Z] [2021-06-14T05:50:48.236Z] Login Succeeded [2021-06-14T05:50:48.236Z] docker.io [2021-06-14T05:50:48.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-14T05:50:48.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-14T05:50:48.789Z] Configure a credential helper to remove this warning. See [2021-06-14T05:50:48.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-14T05:50:48.789Z] [2021-06-14T05:50:48.789Z] Login Succeeded [2021-06-14T05:50:48.789Z] ---> docker-login.sh ends [Pipeline] } [2021-06-14T05:50:48.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-14T05:50:49.600Z] ========================================================= [2021-06-14T05:50:49.600Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-14T05:50:49.600Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:50:50.015Z] + 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-14T05:50:50.015Z] Sending build context to Docker daemon 92.16kB [2021-06-14T05:50:50.618Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-14T05:50:50.618Z] Step 2/10 : FROM ${BASE} [2021-06-14T05:50:50.618Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-14T05:50:50.618Z] 595b0fe564bb: Pulling fs layer [2021-06-14T05:50:50.618Z] 3088b5b3c5c0: Pulling fs layer [2021-06-14T05:50:50.618Z] 5b7225fbf94c: Pulling fs layer [2021-06-14T05:50:50.618Z] ba82ee9f976e: Pulling fs layer [2021-06-14T05:50:50.618Z] 506bd15cee9f: Pulling fs layer [2021-06-14T05:50:50.618Z] 75a0a4a0db45: Pulling fs layer [2021-06-14T05:50:50.618Z] 618dc40b7e24: Pulling fs layer [2021-06-14T05:50:50.618Z] ba82ee9f976e: Waiting [2021-06-14T05:50:50.618Z] 75a0a4a0db45: Waiting [2021-06-14T05:50:50.618Z] 506bd15cee9f: Waiting [2021-06-14T05:50:50.618Z] 618dc40b7e24: Waiting [2021-06-14T05:50:50.894Z] 5b7225fbf94c: Verifying Checksum [2021-06-14T05:50:50.894Z] 5b7225fbf94c: Download complete [2021-06-14T05:50:50.894Z] 3088b5b3c5c0: Verifying Checksum [2021-06-14T05:50:50.894Z] 3088b5b3c5c0: Download complete [2021-06-14T05:50:50.894Z] 506bd15cee9f: Verifying Checksum [2021-06-14T05:50:50.894Z] 506bd15cee9f: Download complete [2021-06-14T05:50:50.894Z] 75a0a4a0db45: Verifying Checksum [2021-06-14T05:50:50.894Z] 75a0a4a0db45: Download complete [2021-06-14T05:50:50.894Z] 595b0fe564bb: Verifying Checksum [2021-06-14T05:50:50.894Z] 595b0fe564bb: Download complete [2021-06-14T05:50:51.878Z] 595b0fe564bb: Pull complete [2021-06-14T05:50:52.163Z] 3088b5b3c5c0: Pull complete [2021-06-14T05:50:52.438Z] 5b7225fbf94c: Pull complete [2021-06-14T05:50:54.419Z] 618dc40b7e24: Download complete [2021-06-14T05:50:57.815Z] ba82ee9f976e: Verifying Checksum [2021-06-14T05:50:57.815Z] ba82ee9f976e: Download complete [2021-06-14T05:51:07.996Z] ba82ee9f976e: Pull complete [2021-06-14T05:51:07.996Z] 506bd15cee9f: Pull complete [2021-06-14T05:51:07.996Z] 75a0a4a0db45: Pull complete [2021-06-14T05:51:11.408Z] 618dc40b7e24: Pull complete [2021-06-14T05:51:11.408Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-14T05:51:11.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-14T05:51:11.408Z] ---> a36622ca3599 [2021-06-14T05:51:11.408Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-14T05:51:14.053Z] ---> Running in 3059f1d73f47 [2021-06-14T05:51:14.053Z] Removing intermediate container 3059f1d73f47 [2021-06-14T05:51:14.053Z] ---> debcfdd48c44 [2021-06-14T05:51:14.053Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-14T05:51:14.331Z] ---> Running in 4f96cf010992 [2021-06-14T05:51:14.934Z] Removing intermediate container 4f96cf010992 [2021-06-14T05:51:14.934Z] ---> 7c32d6d5923d [2021-06-14T05:51:14.934Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-14T05:51:14.934Z] ---> Running in 53f276f5fefd [2021-06-14T05:51:15.529Z] Removing intermediate container 53f276f5fefd [2021-06-14T05:51:15.529Z] ---> 325dd35e9e52 [2021-06-14T05:51:15.529Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-14T05:51:15.529Z] ---> Running in a159289fbdb1 [2021-06-14T05:51:18.181Z] Removing intermediate container a159289fbdb1 [2021-06-14T05:51:18.181Z] ---> e35895b74278 [2021-06-14T05:51:18.181Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-14T05:51:18.181Z] ---> Running in db1eb90b75c0 [2021-06-14T05:51:19.628Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-14T05:51:20.221Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-14T05:51:21.202Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-14T05:51:21.202Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-14T05:51:21.202Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-14T05:51:21.477Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-14T05:51:21.477Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-14T05:51:21.833Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-14T05:51:21.833Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-14T05:51:22.107Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-14T05:51:22.107Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-14T05:51:22.384Z] Executing busybox-1.32.1-r6.trigger [2021-06-14T05:51:22.384Z] OK: 144 MiB in 49 packages [2021-06-14T05:51:23.825Z] Removing intermediate container db1eb90b75c0 [2021-06-14T05:51:23.825Z] ---> 9739519bfd59 [2021-06-14T05:51:23.825Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-14T05:51:23.825Z] ---> Running in dbfc851bfa7e [2021-06-14T05:51:24.426Z] Removing intermediate container dbfc851bfa7e [2021-06-14T05:51:24.426Z] ---> 6e6383a6678f [2021-06-14T05:51:24.426Z] Step 9/10 : COPY . . [2021-06-14T05:51:25.028Z] ---> 539a02392e19 [2021-06-14T05:51:25.028Z] Step 10/10 : RUN go mod download [2021-06-14T05:51:25.305Z] ---> Running in 7b9d3a8780e0 [2021-06-14T05:51:52.117Z] Removing intermediate container 7b9d3a8780e0 [2021-06-14T05:51:52.117Z] ---> 9f718e7746cf [2021-06-14T05:51:52.117Z] Successfully built 9f718e7746cf [2021-06-14T05:51:52.117Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:51:52.521Z] + docker inspect -f . ci-base-image-arm64 [2021-06-14T05:51:52.521Z] . [Pipeline] withDockerContainer [2021-06-14T05:51:52.833Z] prd-ubuntu18.04-docker-arm64-4c-16g-793 does not seem to be running inside a container [2021-06-14T05:51:52.931Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-14T05:51:54.505Z] $ docker top ee30a13b0919ba4d66e30c73e3121e2e9535f4631140fa42fda6c3415e8c2f73 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T05:51:55.516Z] + go version [2021-06-14T05:51:55.516Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-14T05:51:55.559Z] $ docker stop --time=1 ee30a13b0919ba4d66e30c73e3121e2e9535f4631140fa42fda6c3415e8c2f73 [2021-06-14T05:51:57.381Z] $ docker rm -f ee30a13b0919ba4d66e30c73e3121e2e9535f4631140fa42fda6c3415e8c2f73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:51:58.389Z] + docker inspect -f . ci-base-image-arm64 [2021-06-14T05:51:58.389Z] . [Pipeline] withDockerContainer [2021-06-14T05:51:58.647Z] prd-ubuntu18.04-docker-arm64-4c-16g-793 does not seem to be running inside a container [2021-06-14T05:51:58.742Z] $ 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 ******** ci-base-image-arm64 cat [2021-06-14T05:52:00.399Z] $ docker top 5f178d21d7d2b5f0e368dadacfbcc8cc5e4b78d590aaacc6da0c3201c780768c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T05:52:01.455Z] + go mod tidy [2021-06-14T05:52:02.058Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-14T05:52:02.058Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-14T05:52:02.058Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-14T05:52:02.058Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-14T05:52:02.353Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.149 [2021-06-14T05:52:02.626Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-14T05:52:02.626Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-14T05:52:02.626Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-14T05:52:02.626Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-14T05:52:02.626Z] go: finding module for package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2 [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/common [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/requests [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-14T05:52:02.626Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/http [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-sdk-go/v2/internal/clients imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/dtos/responses [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-rest-go/driver imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/service imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application tested by [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/device-sdk-go/v2/internal/application.test imports [2021-06-14T05:52:02.627Z] github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks: module github.com/edgexfoundry/go-mod-core-contracts/v2@latest found (v2.0.0-dev.100), but does not contain package github.com/edgexfoundry/go-mod-core-contracts/v2/v2/clients/interfaces/mocks [Pipeline] } [2021-06-14T05:52:02.695Z] $ docker stop --time=1 5f178d21d7d2b5f0e368dadacfbcc8cc5e4b78d590aaacc6da0c3201c780768c [2021-06-14T05:52:04.649Z] $ docker rm -f 5f178d21d7d2b5f0e368dadacfbcc8cc5e4b78d590aaacc6da0c3201c780768c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:52:06.081Z] ---> job-cost.sh [2021-06-14T05:52:06.081Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uGeH [2021-06-14T05:52:53.044Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-14T05:54:29.809Z] lf-activate-venv(): INFO: Adding /tmp/venv-uGeH/bin to PATH [2021-06-14T05:54:29.809Z] INFO: No Stack... [2021-06-14T05:54:29.809Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-14T05:54:29.809Z] INFO: Archiving Costs [Pipeline] sh [2021-06-14T05:54:30.172Z] + cat+ cut -d, -f6 [2021-06-14T05:54:30.172Z] /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-06-14T05:54:30.265Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [2021-06-14T05:54:30.271Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] did not exist. Created. [2021-06-14T05:54:30.271Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-14T05:54:30.735Z] /w/workspace/device-rest-go/1@tmp/durable-7df3cf8e/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-7df3cf8e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-14T05:54:31.110Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-14T05:54:31.151Z] Warning: overwriting stash ‘stack-cost’ [2021-06-14T05:54:31.926Z] Stashed 1 file(s) [Pipeline] } [2021-06-14T05:54:31.948Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-14T05:54:32.582Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:54:35.494Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:54:36.122Z] ---> package-listing.sh [2021-06-14T05:54:36.122Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-14T05:54:36.122Z] ++ facter osfamily [2021-06-14T05:54:36.396Z] + OS_FAMILY=redhat [2021-06-14T05:54:36.396Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-117 [2021-06-14T05:54:36.396Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-14T05:54:36.396Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-14T05:54:36.396Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-14T05:54:36.396Z] + PACKAGES=/tmp/packages_start.txt [2021-06-14T05:54:36.396Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-117 ']' [2021-06-14T05:54:36.396Z] + PACKAGES=/tmp/packages_end.txt [2021-06-14T05:54:36.396Z] + case "${OS_FAMILY}" in [2021-06-14T05:54:36.396Z] + sort [2021-06-14T05:54:36.396Z] + rpm -qa [2021-06-14T05:54:37.017Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-14T05:54:37.017Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-14T05:54:37.017Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-14T05:54:37.017Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-117 ']' [2021-06-14T05:54:37.017Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-117/archives/ [2021-06-14T05:54:37.017Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-117/archives/ [Pipeline] echo [2021-06-14T05:54:37.064Z] 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-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-14T05:54:37.384Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:54:38.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T05:54:38.001Z] [2021-06-14T05:54:38.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-14T05:54:38.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T05:54:38.394Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-14T05:54:38.394Z] df20fa9351a1: Pulling fs layer [2021-06-14T05:54:38.394Z] 36b3adc4ff6f: Pulling fs layer [2021-06-14T05:54:38.394Z] 8ad3a11d3b57: Pulling fs layer [2021-06-14T05:54:38.394Z] 46f8f816bc3b: Pulling fs layer [2021-06-14T05:54:38.394Z] 93b61091891f: Pulling fs layer [2021-06-14T05:54:38.394Z] 93b9cdb0e59b: Pulling fs layer [2021-06-14T05:54:38.394Z] 5e14af77c1be: Pulling fs layer [2021-06-14T05:54:38.394Z] 01666e4c0597: Pulling fs layer [2021-06-14T05:54:38.394Z] aa168da1d23b: Pulling fs layer [2021-06-14T05:54:38.394Z] 93b61091891f: Waiting [2021-06-14T05:54:38.394Z] 93b9cdb0e59b: Waiting [2021-06-14T05:54:38.394Z] 5e14af77c1be: Waiting [2021-06-14T05:54:38.394Z] 01666e4c0597: Waiting [2021-06-14T05:54:38.394Z] aa168da1d23b: Waiting [2021-06-14T05:54:38.394Z] 46f8f816bc3b: Waiting [2021-06-14T05:54:38.394Z] 36b3adc4ff6f: Verifying Checksum [2021-06-14T05:54:38.394Z] 36b3adc4ff6f: Download complete [2021-06-14T05:54:38.394Z] 46f8f816bc3b: Verifying Checksum [2021-06-14T05:54:38.394Z] 46f8f816bc3b: Download complete [2021-06-14T05:54:38.665Z] df20fa9351a1: Verifying Checksum [2021-06-14T05:54:38.665Z] df20fa9351a1: Download complete [2021-06-14T05:54:38.665Z] 93b9cdb0e59b: Verifying Checksum [2021-06-14T05:54:38.665Z] 93b9cdb0e59b: Download complete [2021-06-14T05:54:38.665Z] 5e14af77c1be: Verifying Checksum [2021-06-14T05:54:38.665Z] 5e14af77c1be: Download complete [2021-06-14T05:54:38.665Z] 93b61091891f: Verifying Checksum [2021-06-14T05:54:38.665Z] 93b61091891f: Download complete [2021-06-14T05:54:38.665Z] 01666e4c0597: Verifying Checksum [2021-06-14T05:54:38.665Z] 01666e4c0597: Download complete [2021-06-14T05:54:38.665Z] df20fa9351a1: Pull complete [2021-06-14T05:54:38.937Z] 36b3adc4ff6f: Pull complete [2021-06-14T05:54:38.937Z] 8ad3a11d3b57: Verifying Checksum [2021-06-14T05:54:38.937Z] 8ad3a11d3b57: Download complete [2021-06-14T05:54:39.528Z] 8ad3a11d3b57: Pull complete [2021-06-14T05:54:39.528Z] 46f8f816bc3b: Pull complete [2021-06-14T05:54:39.791Z] 93b61091891f: Pull complete [2021-06-14T05:54:40.051Z] 93b9cdb0e59b: Pull complete [2021-06-14T05:54:40.051Z] 5e14af77c1be: Pull complete [2021-06-14T05:54:40.312Z] 01666e4c0597: Pull complete [2021-06-14T05:54:41.704Z] aa168da1d23b: Verifying Checksum [2021-06-14T05:54:41.704Z] aa168da1d23b: Download complete [2021-06-14T05:54:45.948Z] aa168da1d23b: Pull complete [2021-06-14T05:54:46.209Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-14T05:54:46.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-14T05:54:46.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-14T05:54:46.332Z] prd-centos7-docker-4c-2g-772 does not seem to be running inside a container [2021-06-14T05:54:46.368Z] $ 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-117/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-117 -v /w/workspace/gexfoundry_device-rest-go_PR-117:/w/workspace/gexfoundry_device-rest-go_PR-117:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-117@tmp:/w/workspace/gexfoundry_device-rest-go_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-14T05:54:50.088Z] $ docker top 8b7ccfaa33dbfcf715fd5f0433b55cf98497281da7bff0d5736c8340525ffeed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-14T05:54:50.565Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-14T05:54:50.889Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-14T05:54:51.223Z] + ls /var/log/sa-host [2021-06-14T05:54:51.223Z] + sadf -c /var/log/sa-host/sa05 [2021-06-14T05:54:51.223Z] file_magic: OK [2021-06-14T05:54:51.223Z] HZ: Using current value: 100 [2021-06-14T05:54:51.223Z] file_header: OK [2021-06-14T05:54:51.223Z] 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-14T05:54:51.223Z] Statistics: [2021-06-14T05:54:51.223Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-14T05:54:51.223Z] File successfully converted to sysstat format version 12.2.1 [2021-06-14T05:54:51.223Z] + sadf -c /var/log/sa-host/sa14 [2021-06-14T05:54:51.223Z] file_magic: OK [2021-06-14T05:54:51.223Z] HZ: Using current value: 100 [2021-06-14T05:54:51.223Z] file_header: OK [2021-06-14T05:54:51.223Z] 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-14T05:54:51.223Z] Statistics: [2021-06-14T05:54:51.223Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-14T05:54:51.223Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-14T05:54:51.453Z] provisioning config files... [2021-06-14T05:54:51.465Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-117@tmp/config2066853780306977473tmp [Pipeline] { [Pipeline] echo [2021-06-14T05:54:51.535Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:54:51.870Z] ---> create-netrc.sh [Pipeline] } [2021-06-14T05:54:51.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:54:52.334Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-14T05:54:52.367Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:54:52.702Z] ---> sudo-logs.sh [2021-06-14T05:54:52.702Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-14T05:54:52.789Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:54:53.122Z] ---> job-cost.sh [2021-06-14T05:54:53.122Z] lf-activate-venv: SKIPPING [2021-06-14T05:54:53.122Z] DEBUG: total: 0.18000000715255737 [2021-06-14T05:54:53.122Z] INFO: Retrieving Stack Cost... [2021-06-14T05:54:54.513Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-14T05:54:55.086Z] INFO: Archiving Costs [Pipeline] echo [2021-06-14T05:54:55.120Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-14T05:54:55.459Z] ---> logs-deploy.sh [2021-06-14T05:54:55.459Z] lf-activate-venv: SKIPPING [2021-06-14T05:54:55.459Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-117/1 [2021-06-14T05:54:55.459Z] INFO: archiving workspace using pattern(s): [2021-06-14T05:54:56.408Z] Archives upload complete. [2021-06-14T05:54:56.408Z] INFO: archiving logs to Nexus