Pull request #127 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Obtained Jenkinsfile from 94141d5958bb4fa79fe377131bda593b69762738+c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f (ebf702b39d9a7e479870143f7ed00ddb5dff2e18) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4605563695444684019.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-ssh3026565346599736967.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh150032410380310494.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 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-ssh4855320213606653653.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3395098161311685112.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 ‘prd-centos7-docker-4c-2g-915’ is offline Running on prd-centos7-docker-4c-2g-847 in /w/workspace/gexfoundry_device-rest-go_PR-127 [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-127 # 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-127@tmp/jenkins-gitclient-ssh7003238383461764604.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/jenkins-gitclient-ssh6386983118358819310.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 94141d5958bb4fa79fe377131bda593b69762738 Merge succeeded, producing 94141d5958bb4fa79fe377131bda593b69762738 Checking out Revision 94141d5958bb4fa79fe377131bda593b69762738 (PR-127) > git config core.sparsecheckout # timeout=10 > git checkout -f 94141d5958bb4fa79fe377131bda593b69762738 # 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-127@tmp/jenkins-gitclient-ssh6369883223313023356.key > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 94141d5958bb4fa79fe377131bda593b69762738 # timeout=10 Commit message: "feat(snap): add go-based configure and install hooks" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-30T12:59:41.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-30T12:59:41.670Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-30T12:59:41.703Z] ========================================================= [2021-06-30T12:59:41.703Z] EdgeX Global Pipelines Version Info [2021-06-30T12:59:41.703Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9d07684563d8f4d23885c055d6756f238caffb9a # timeout=10 [2021-06-30T12:59:43.124Z] ------------------- [2021-06-30T12:59:43.124Z] stable info: [2021-06-30T12:59:43.124Z] ------------------- [2021-06-30T12:59:43.124Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-30T12:59:43.124Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T12:59:43.124Z] Message: update stable to v1.0.195 [2021-06-30T12:59:43.715Z] ------------------- [2021-06-30T12:59:43.715Z] experimental info: [2021-06-30T12:59:43.715Z] ------------------- [2021-06-30T12:59:43.715Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-30T12:59:43.715Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-30T12:59:43.715Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-30T12:59:43.847Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-30T12:59:43.873Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-30T12:59:43.899Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-30T12:59:43.924Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-30T12:59:43.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-30T12:59:43.974Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-30T12:59:43.999Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-30T12:59:44.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-30T12:59:44.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-30T12:59:44.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-30T12:59:44.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-30T12:59:44.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-30T12:59:44.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-30T12:59:44.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-30T12:59:44.221Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T12:59:44.250Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-30T12:59:44.279Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T12:59:44.304Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-30T12:59:44.328Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-30T12:59:44.355Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-30T12:59:44.380Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-30T12:59:44.405Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-30T12:59:44.430Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-30T12:59:44.454Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-30T12:59:44.499Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-30T12:59:44.523Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-30T12:59:44.546Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-127 [Pipeline] echo [2021-06-30T12:59:44.569Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-127 [Pipeline] echo [2021-06-30T12:59:44.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-127 [Pipeline] echo [2021-06-30T12:59:44.618Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 94141d5958bb4fa79fe377131bda593b69762738 [Pipeline] echo [2021-06-30T12:59:44.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 94141d5 [Pipeline] echo [2021-06-30T12:59:44.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T12:59:44.750Z] provisioning config files... [2021-06-30T12:59:44.767Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config1547591024324892418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T12:59:45.095Z] ---> docker-login.sh [2021-06-30T12:59:45.095Z] nexus3.edgexfoundry.org:10001 [2021-06-30T12:59:45.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:59:45.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:59:45.357Z] Configure a credential helper to remove this warning. See [2021-06-30T12:59:45.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:59:45.357Z] [2021-06-30T12:59:45.357Z] Login Succeeded [2021-06-30T12:59:45.357Z] nexus3.edgexfoundry.org:10002 [2021-06-30T12:59:45.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:59:45.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:59:45.357Z] Configure a credential helper to remove this warning. See [2021-06-30T12:59:45.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:59:45.357Z] [2021-06-30T12:59:45.357Z] Login Succeeded [2021-06-30T12:59:45.357Z] nexus3.edgexfoundry.org:10003 [2021-06-30T12:59:45.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:59:45.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:59:45.624Z] Configure a credential helper to remove this warning. See [2021-06-30T12:59:45.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:59:45.624Z] [2021-06-30T12:59:45.624Z] Login Succeeded [2021-06-30T12:59:45.624Z] nexus3.edgexfoundry.org:10004 [2021-06-30T12:59:45.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:59:45.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:59:45.624Z] Configure a credential helper to remove this warning. See [2021-06-30T12:59:45.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:59:45.624Z] [2021-06-30T12:59:45.624Z] Login Succeeded [2021-06-30T12:59:45.624Z] docker.io [2021-06-30T12:59:45.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T12:59:46.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T12:59:46.148Z] Configure a credential helper to remove this warning. See [2021-06-30T12:59:46.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T12:59:46.148Z] [2021-06-30T12:59:46.148Z] Login Succeeded [2021-06-30T12:59:46.148Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T12:59:46.157Z] 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-30T12:59:46.695Z] + git log --format=format:%s -1 94141d5958bb4fa79fe377131bda593b69762738 [Pipeline] echo [2021-06-30T12:59:46.735Z] GIT_COMMIT: 94141d5958bb4fa79fe377131bda593b69762738, Commit Message: feat(snap): add go-based configure and install hooks [Pipeline] echo [2021-06-30T12:59:46.750Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:59:47.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T12:59:47.364Z] [2021-06-30T12:59:47.364Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T12:59:47.683Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T12:59:47.683Z] latest: Pulling from edgex-devops/git-semver [2021-06-30T12:59:47.683Z] 31603596830f: Pulling fs layer [2021-06-30T12:59:47.683Z] 54011a49482f: Pulling fs layer [2021-06-30T12:59:47.683Z] a6820b24f6d8: Pulling fs layer [2021-06-30T12:59:47.683Z] f581987b2513: Pulling fs layer [2021-06-30T12:59:47.683Z] f581987b2513: Waiting [2021-06-30T12:59:47.683Z] 54011a49482f: Verifying Checksum [2021-06-30T12:59:47.683Z] 54011a49482f: Download complete [2021-06-30T12:59:47.944Z] 31603596830f: Verifying Checksum [2021-06-30T12:59:47.944Z] 31603596830f: Download complete [2021-06-30T12:59:47.944Z] a6820b24f6d8: Verifying Checksum [2021-06-30T12:59:47.944Z] a6820b24f6d8: Download complete [2021-06-30T12:59:48.211Z] 31603596830f: Pull complete [2021-06-30T12:59:48.211Z] f581987b2513: Verifying Checksum [2021-06-30T12:59:48.211Z] f581987b2513: Download complete [2021-06-30T12:59:48.211Z] 54011a49482f: Pull complete [2021-06-30T12:59:48.797Z] a6820b24f6d8: Pull complete [2021-06-30T12:59:49.063Z] f581987b2513: Pull complete [2021-06-30T12:59:49.063Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-30T12:59:49.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-30T12:59:49.063Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-30T12:59:49.147Z] prd-centos7-docker-4c-2g-847 does not seem to be running inside a container [2021-06-30T12:59:49.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-127 -v /w/workspace/gexfoundry_device-rest-go_PR-127:/w/workspace/gexfoundry_device-rest-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-127@tmp:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-30T12:59:50.163Z] $ docker top 3dcbca0c06ad785617b9ac2605b20fc3fb1621408e3b3bb3e253407272e9f0a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-30T12:59:50.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T12:59:50.294Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T12:59:50.398Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T12:59:50.399Z] $ docker exec 3dcbca0c06ad785617b9ac2605b20fc3fb1621408e3b3bb3e253407272e9f0a4 ssh-agent [2021-06-30T12:59:50.506Z] SSH_AUTH_SOCK=/tmp/ssh-ELbtDYQE8FwO/agent.15 [2021-06-30T12:59:50.506Z] SSH_AGENT_PID=22 [2021-06-30T12:59:50.515Z] Running ssh-add (command line suppressed) [2021-06-30T12:59:50.615Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_1469728314342263666.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_1469728314342263666.key) [2021-06-30T12:59:50.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T12:59:50.941Z] + git tag --points-at HEAD [Pipeline] } [2021-06-30T12:59:50.954Z] $ docker exec --env ******** --env ******** 3dcbca0c06ad785617b9ac2605b20fc3fb1621408e3b3bb3e253407272e9f0a4 ssh-agent -k [2021-06-30T12:59:51.043Z] unset SSH_AUTH_SOCK; [2021-06-30T12:59:51.044Z] unset SSH_AGENT_PID; [2021-06-30T12:59:51.044Z] echo Agent pid 22 killed; [2021-06-30T12:59:51.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-30T12:59:51.101Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-30T12:59:51.101Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-30T12:59:51.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-30T12:59:51.216Z] $ docker exec 3dcbca0c06ad785617b9ac2605b20fc3fb1621408e3b3bb3e253407272e9f0a4 ssh-agent [2021-06-30T12:59:51.334Z] SSH_AUTH_SOCK=/tmp/ssh-ohwyZJxhGzRj/agent.55 [2021-06-30T12:59:51.334Z] SSH_AGENT_PID=61 [2021-06-30T12:59:51.340Z] Running ssh-add (command line suppressed) [2021-06-30T12:59:51.431Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_8257736083434200703.key (/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/private_key_8257736083434200703.key) [2021-06-30T12:59:51.447Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-30T12:59:51.761Z] + git semver init [2021-06-30T12:59:51.761Z] # -> Open(): unable to determine branch for HEAD [2021-06-30T12:59:51.761Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.git [2021-06-30T12:59:51.761Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T12:59:51.761Z] # $SEMVER_REMOTE_NAME = origin [2021-06-30T12:59:51.761Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-30T12:59:51.761Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-30T12:59:51.761Z] # $SEMVER_BRANCH = PR-127 [2021-06-30T12:59:51.761Z] # $SEMVER_TEMP = /tmp/semver-134271907 [2021-06-30T12:59:51.761Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-30T12:59:52.712Z] # '/tmp/semver-134271907' -> '/w/workspace/gexfoundry_device-rest-go_PR-127/.semver' [2021-06-30T12:59:52.713Z] # -> Force: false [2021-06-30T12:59:52.713Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-127/.semver [Pipeline] } [2021-06-30T12:59:52.724Z] $ docker exec --env ******** --env ******** 3dcbca0c06ad785617b9ac2605b20fc3fb1621408e3b3bb3e253407272e9f0a4 ssh-agent -k [2021-06-30T12:59:52.828Z] unset SSH_AUTH_SOCK; [2021-06-30T12:59:52.828Z] unset SSH_AGENT_PID; [2021-06-30T12:59:52.828Z] echo Agent pid 61 killed; [2021-06-30T12:59:52.843Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-30T12:59:53.176Z] + git semver [Pipeline] } [2021-06-30T12:59:53.189Z] $ docker stop --time=1 3dcbca0c06ad785617b9ac2605b20fc3fb1621408e3b3bb3e253407272e9f0a4 [2021-06-30T12:59:54.484Z] $ docker rm -f 3dcbca0c06ad785617b9ac2605b20fc3fb1621408e3b3bb3e253407272e9f0a4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T12:59:54.854Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-30T12:59:55.101Z] Stashed 1 file(s) [Pipeline] echo [2021-06-30T12:59:55.105Z] [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-30T13:00:10.440Z] Still waiting to schedule task [2021-06-30T13:00:10.441Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-30T13:00:10.446Z] Still waiting to schedule task [2021-06-30T13:00:10.447Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-30T13:01:36.149Z] Running on prd-centos7-docker-4c-2g-849 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T13:01:36.171Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-06-30T13:01:36.275Z] The recommended git tool is: git [2021-06-30T13:01:38.739Z] using credential edgex-jenkins-ssh [2021-06-30T13:01:38.761Z] Cloning the remote Git repository [2021-06-30T13:01:38.378Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T13:01:38.450Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-06-30T13:01:38.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T13:01:38.487Z] > git --version # timeout=10 [2021-06-30T13:01:38.497Z] > git --version # 'git version 2.24.4' [2021-06-30T13:01:38.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T13:01:38.519Z] [INFO] Currently running in a labeled security context [2021-06-30T13:01:38.519Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T13:01:38.519Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh7456500036874941373.key [2021-06-30T13:01:38.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T13:01:40.356Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 94141d5958bb4fa79fe377131bda593b69762738 [2021-06-30T13:01:40.439Z] Merge succeeded, producing 94141d5958bb4fa79fe377131bda593b69762738 [2021-06-30T13:01:40.440Z] Checking out Revision 94141d5958bb4fa79fe377131bda593b69762738 (PR-127) [2021-06-30T13:01:39.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T13:01:39.444Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T13:01:39.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T13:01:39.473Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T13:01:39.474Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T13:01:39.475Z] [INFO] Currently running in a labeled security context [2021-06-30T13:01:39.475Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T13:01:39.475Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh5821889097155703454.key [2021-06-30T13:01:39.483Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T13:01:40.093Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T13:01:40.104Z] > git checkout -f 94141d5958bb4fa79fe377131bda593b69762738 # timeout=10 [2021-06-30T13:01:40.138Z] > git remote # timeout=10 [2021-06-30T13:01:40.143Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T13:01:40.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T13:01:40.151Z] [INFO] Currently running in a labeled security context [2021-06-30T13:01:40.152Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-30T13:01:40.152Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/3@tmp/jenkins-gitclient-ssh1561257807239480771.key [2021-06-30T13:01:40.157Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T13:01:40.167Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T13:01:40.178Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T13:01:40.188Z] > git checkout -f 94141d5958bb4fa79fe377131bda593b69762738 # timeout=10 [2021-06-30T13:01:43.814Z] Commit message: "feat(snap): add go-based configure and install hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T13:01:44.921Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-30T13:01:45.256Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T13:01:45.556Z] + sudo service docker restart [2021-06-30T13:01:45.556Z] + true [2021-06-30T13:01:45.556Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T13:02:03.747Z] provisioning config files... [2021-06-30T13:02:03.766Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config4379674877436382834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:02:04.106Z] ---> docker-login.sh [2021-06-30T13:02:04.106Z] nexus3.edgexfoundry.org:10001 [2021-06-30T13:02:04.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:02:04.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:02:04.369Z] Configure a credential helper to remove this warning. See [2021-06-30T13:02:04.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:02:04.369Z] [2021-06-30T13:02:04.369Z] Login Succeeded [2021-06-30T13:02:04.369Z] nexus3.edgexfoundry.org:10002 [2021-06-30T13:02:04.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:02:04.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:02:04.369Z] Configure a credential helper to remove this warning. See [2021-06-30T13:02:04.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:02:04.369Z] [2021-06-30T13:02:04.369Z] Login Succeeded [2021-06-30T13:02:04.369Z] nexus3.edgexfoundry.org:10003 [2021-06-30T13:02:04.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:02:04.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:02:04.633Z] Configure a credential helper to remove this warning. See [2021-06-30T13:02:04.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:02:04.633Z] [2021-06-30T13:02:04.633Z] Login Succeeded [2021-06-30T13:02:04.633Z] nexus3.edgexfoundry.org:10004 [2021-06-30T13:02:04.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:02:04.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:02:04.894Z] Configure a credential helper to remove this warning. See [2021-06-30T13:02:04.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:02:04.894Z] [2021-06-30T13:02:04.894Z] Login Succeeded [2021-06-30T13:02:04.894Z] docker.io [2021-06-30T13:02:04.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:02:05.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:02:05.156Z] Configure a credential helper to remove this warning. See [2021-06-30T13:02:05.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:02:05.156Z] [2021-06-30T13:02:05.156Z] Login Succeeded [2021-06-30T13:02:05.156Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T13:02:05.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T13:02:05.340Z] ========================================================= [2021-06-30T13:02:05.340Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-30T13:02:05.340Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:02:05.660Z] + 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-30T13:02:05.660Z] Sending build context to Docker daemon 115.7kB [2021-06-30T13:02:05.660Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T13:02:05.660Z] Step 2/10 : FROM ${BASE} [2021-06-30T13:02:05.660Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-30T13:02:05.660Z] 540db60ca938: Pulling fs layer [2021-06-30T13:02:05.660Z] adcc1eea9eea: Pulling fs layer [2021-06-30T13:02:05.660Z] 4c4ab2625f07: Pulling fs layer [2021-06-30T13:02:05.660Z] 0510c868ecb4: Pulling fs layer [2021-06-30T13:02:05.660Z] afea3b2eda06: Pulling fs layer [2021-06-30T13:02:05.660Z] 7809a108b3ef: Pulling fs layer [2021-06-30T13:02:05.660Z] f706445af74f: Pulling fs layer [2021-06-30T13:02:05.660Z] 0510c868ecb4: Waiting [2021-06-30T13:02:05.660Z] afea3b2eda06: Waiting [2021-06-30T13:02:05.660Z] 7809a108b3ef: Waiting [2021-06-30T13:02:05.660Z] f706445af74f: Waiting [2021-06-30T13:02:05.921Z] 4c4ab2625f07: Verifying Checksum [2021-06-30T13:02:05.922Z] 4c4ab2625f07: Download complete [2021-06-30T13:02:05.922Z] adcc1eea9eea: Verifying Checksum [2021-06-30T13:02:05.922Z] adcc1eea9eea: Download complete [2021-06-30T13:02:05.922Z] afea3b2eda06: Verifying Checksum [2021-06-30T13:02:05.922Z] afea3b2eda06: Download complete [2021-06-30T13:02:05.922Z] 7809a108b3ef: Verifying Checksum [2021-06-30T13:02:05.922Z] 7809a108b3ef: Download complete [2021-06-30T13:02:05.922Z] 540db60ca938: Verifying Checksum [2021-06-30T13:02:05.922Z] 540db60ca938: Download complete [2021-06-30T13:02:06.183Z] 540db60ca938: Pull complete [2021-06-30T13:02:06.183Z] adcc1eea9eea: Pull complete [2021-06-30T13:02:06.444Z] 4c4ab2625f07: Pull complete [2021-06-30T13:02:07.841Z] f706445af74f: Verifying Checksum [2021-06-30T13:02:07.841Z] f706445af74f: Download complete [2021-06-30T13:02:08.107Z] 0510c868ecb4: Verifying Checksum [2021-06-30T13:02:08.107Z] 0510c868ecb4: Download complete [2021-06-30T13:02:12.358Z] 0510c868ecb4: Pull complete [2021-06-30T13:02:12.358Z] afea3b2eda06: Pull complete [2021-06-30T13:02:12.358Z] 7809a108b3ef: Pull complete [2021-06-30T13:02:13.311Z] f706445af74f: Pull complete [2021-06-30T13:02:13.311Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-30T13:02:13.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-30T13:02:13.573Z] ---> b068be0155e3 [2021-06-30T13:02:13.573Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T13:02:16.890Z] ---> Running in 09ab25e45ffe [2021-06-30T13:02:16.890Z] Removing intermediate container 09ab25e45ffe [2021-06-30T13:02:16.891Z] ---> d9b05c3302e5 [2021-06-30T13:02:16.891Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T13:02:16.891Z] ---> Running in 78108c5c72d9 [2021-06-30T13:02:16.891Z] Removing intermediate container 78108c5c72d9 [2021-06-30T13:02:16.891Z] ---> eb91a295d295 [2021-06-30T13:02:16.891Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T13:02:16.891Z] ---> Running in 2fed65edb7c8 [2021-06-30T13:02:16.891Z] Removing intermediate container 2fed65edb7c8 [2021-06-30T13:02:16.891Z] ---> 13a8c631776f [2021-06-30T13:02:16.891Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T13:02:17.156Z] ---> Running in e38ded62f547 [2021-06-30T13:02:17.736Z] Removing intermediate container e38ded62f547 [2021-06-30T13:02:17.736Z] ---> 47457249b5ca [2021-06-30T13:02:17.736Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T13:02:17.736Z] ---> Running in 8ae390905e14 [2021-06-30T13:02:17.999Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T13:02:18.945Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T13:02:19.517Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T13:02:19.778Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T13:02:19.778Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T13:02:19.778Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T13:02:20.039Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T13:02:20.300Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T13:02:20.564Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T13:02:20.826Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T13:02:20.826Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T13:02:20.826Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T13:02:20.826Z] OK: 154 MiB in 49 packages [2021-06-30T13:02:21.403Z] Removing intermediate container 8ae390905e14 [2021-06-30T13:02:21.403Z] ---> 5472ff7264a5 [2021-06-30T13:02:21.403Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T13:02:21.403Z] ---> Running in 8d84050bb749 [2021-06-30T13:02:21.403Z] Removing intermediate container 8d84050bb749 [2021-06-30T13:02:21.403Z] ---> 4ae4976ffd30 [2021-06-30T13:02:21.403Z] Step 9/10 : COPY . . [2021-06-30T13:02:21.670Z] ---> 6eebddb2c2b1 [2021-06-30T13:02:21.670Z] Step 10/10 : RUN go mod download [2021-06-30T13:02:21.670Z] ---> Running in 37965cac3d51 [2021-06-30T13:02:33.934Z] Removing intermediate container 37965cac3d51 [2021-06-30T13:02:33.934Z] ---> 22f3f8dff818 [2021-06-30T13:02:33.934Z] Successfully built 22f3f8dff818 [2021-06-30T13:02:33.934Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:02:34.240Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T13:02:34.240Z] . [Pipeline] withDockerContainer [2021-06-30T13:02:34.327Z] prd-centos7-docker-4c-2g-849 does not seem to be running inside a container [2021-06-30T13:02:34.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T13:02:34.764Z] $ docker top a8502683edbb3e0c1432bb86331ca304adfbd7435343fade46258ddaf4df63cf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T13:02:35.157Z] + go version [2021-06-30T13:02:35.157Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-30T13:02:35.166Z] $ docker stop --time=1 a8502683edbb3e0c1432bb86331ca304adfbd7435343fade46258ddaf4df63cf [2021-06-30T13:02:36.363Z] $ docker rm -f a8502683edbb3e0c1432bb86331ca304adfbd7435343fade46258ddaf4df63cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:02:36.889Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-30T13:02:36.889Z] . [Pipeline] withDockerContainer [2021-06-30T13:02:36.967Z] prd-centos7-docker-4c-2g-849 does not seem to be running inside a container [2021-06-30T13:02:37.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-30T13:02:37.359Z] $ docker top efdddc4d96e4f979c64a0a69b89107a8a30bc2ddcad393df25c04706f6844d3b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T13:02:37.774Z] + go mod tidy [Pipeline] sh [2021-06-30T13:02:38.354Z] + make test [2021-06-30T13:02:38.354Z] go mod tidy [2021-06-30T13:02:38.354Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T13:02:38.934Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T13:02:57.188Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T13:02:57.188Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 54.0% of statements [2021-06-30T13:02:57.188Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T13:02:57.802Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-850 in /w/workspace/gexfoundry_device-rest-go_PR-127 [Pipeline] { [Pipeline] ws [2021-06-30T13:02:57.842Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2021-06-30T13:02:58.092Z] The recommended git tool is: git [2021-06-30T13:03:03.844Z] gofmt -l . [2021-06-30T13:03:03.845Z] [ "`gofmt -l .`" = "" ] [2021-06-30T13:03:03.845Z] ./bin/test-go-mod-tidy.sh [2021-06-30T13:03:03.845Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T13:03:03.854Z] $ docker stop --time=1 efdddc4d96e4f979c64a0a69b89107a8a30bc2ddcad393df25c04706f6844d3b [2021-06-30T13:03:04.340Z] using credential edgex-jenkins-ssh [2021-06-30T13:03:04.360Z] Cloning the remote Git repository [2021-06-30T13:03:05.239Z] $ docker rm -f efdddc4d96e4f979c64a0a69b89107a8a30bc2ddcad393df25c04706f6844d3b [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T13:03:04.420Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T13:03:04.664Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2021-06-30T13:03:04.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T13:03:04.844Z] > git --version # timeout=10 [2021-06-30T13:03:04.867Z] > git --version # 'git version 2.17.1' [2021-06-30T13:03:04.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T13:03:04.960Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T13:03:05.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T13:03:05.897Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-30T13:03:06.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T13:03:06.870Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-30T13:03:06.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-30T13:03:06.935Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-30T13:03:06.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T13:03:06.951Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/127/head:refs/remotes/origin/PR-127 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-30T13:03:07.180Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T13:03:07.478Z] + ls -al . [2021-06-30T13:03:07.478Z] total 112 [2021-06-30T13:03:07.478Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 30 13:03 . [2021-06-30T13:03:07.478Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 30 13:01 .. [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 30 13:01 Attribution.txt [2021-06-30T13:03:07.478Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 30 13:01 bin [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 7459 Jun 30 13:01 CHANGELOG.md [2021-06-30T13:03:07.478Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 30 13:01 cmd [2021-06-30T13:03:07.478Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 30 13:02 coverage.out [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 30 13:01 Dockerfile [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 30 13:01 Dockerfile.build [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 30 13:01 .dockerignore [2021-06-30T13:03:07.478Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 30 13:01 driver [2021-06-30T13:03:07.478Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 30 13:01 .git [2021-06-30T13:03:07.478Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 30 13:01 .github [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 30 13:01 .gitignore [2021-06-30T13:03:07.478Z] -rw-r--r--. 1 jenkins jenkins 271 Jun 30 13:03 go.mod [2021-06-30T13:03:07.478Z] -rw-r--r--. 1 jenkins jenkins 20570 Jun 30 13:02 go.sum [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 30 13:01 Jenkinsfile [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 30 13:01 LICENSE [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 30 13:01 Makefile [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 30 13:01 README.md [2021-06-30T13:03:07.478Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 30 13:01 snap [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 30 12:59 VERSION [2021-06-30T13:03:07.478Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 30 13:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:03:07.564Z] Merging remotes/origin/master commit c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f into PR head commit 94141d5958bb4fa79fe377131bda593b69762738 [2021-06-30T13:03:07.797Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=94141d5958bb4fa79fe377131bda593b69762738 --label arch=amd64 --label version=0.0.0 . [2021-06-30T13:03:07.797Z] Sending build context to Docker daemon 125.4kB [2021-06-30T13:03:07.797Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T13:03:07.797Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T13:03:07.797Z] ---> 22f3f8dff818 [2021-06-30T13:03:07.797Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T13:03:07.797Z] ---> Running in f123c24e81d6 [2021-06-30T13:03:07.798Z] Merge succeeded, producing 94141d5958bb4fa79fe377131bda593b69762738 [2021-06-30T13:03:07.799Z] Checking out Revision 94141d5958bb4fa79fe377131bda593b69762738 (PR-127) [2021-06-30T13:03:08.059Z] Removing intermediate container f123c24e81d6 [2021-06-30T13:03:08.059Z] ---> ebe3c6fab0cb [2021-06-30T13:03:08.059Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T13:03:08.059Z] ---> Running in 29113e80a4f7 [2021-06-30T13:03:08.059Z] Removing intermediate container 29113e80a4f7 [2021-06-30T13:03:08.059Z] ---> 924ee02ca801 [2021-06-30T13:03:08.059Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T13:03:08.059Z] ---> Running in 62b49218f7bd [2021-06-30T13:03:08.059Z] Removing intermediate container 62b49218f7bd [2021-06-30T13:03:08.059Z] ---> 6c66d7e70ff9 [2021-06-30T13:03:08.059Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T13:03:08.322Z] ---> Running in 41e297bba12d [2021-06-30T13:03:07.585Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T13:03:07.604Z] > git checkout -f 94141d5958bb4fa79fe377131bda593b69762738 # timeout=10 [2021-06-30T13:03:07.699Z] > git remote # timeout=10 [2021-06-30T13:03:07.723Z] > git config --get remote.origin.url # timeout=10 [2021-06-30T13:03:07.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-30T13:03:07.756Z] > git merge c6cdf2ebaab0cc5f3b86c095bfb16af459369c6f # timeout=10 [2021-06-30T13:03:07.781Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-30T13:03:07.803Z] > git config core.sparsecheckout # timeout=10 [2021-06-30T13:03:07.816Z] > git checkout -f 94141d5958bb4fa79fe377131bda593b69762738 # timeout=10 [2021-06-30T13:03:08.592Z] Removing intermediate container 41e297bba12d [2021-06-30T13:03:08.592Z] ---> 55654b140470 [2021-06-30T13:03:08.592Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T13:03:08.592Z] ---> Running in 71a7e0fd8c9f [2021-06-30T13:03:09.165Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-30T13:03:09.741Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-30T13:03:10.316Z] OK: 154 MiB in 49 packages [2021-06-30T13:03:10.582Z] Removing intermediate container 71a7e0fd8c9f [2021-06-30T13:03:10.582Z] ---> efa15d81ee1e [2021-06-30T13:03:10.582Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T13:03:10.582Z] ---> Running in 826bf19a544c [2021-06-30T13:03:10.845Z] Removing intermediate container 826bf19a544c [2021-06-30T13:03:10.845Z] ---> ab63187d39f6 [2021-06-30T13:03:10.845Z] Step 9/25 : COPY . . [2021-06-30T13:03:10.845Z] ---> d4887b9f87b2 [2021-06-30T13:03:10.845Z] Step 10/25 : RUN go mod tidy [2021-06-30T13:03:10.845Z] ---> Running in c0624fa94427 [2021-06-30T13:03:11.797Z] Removing intermediate container c0624fa94427 [2021-06-30T13:03:11.797Z] ---> 02a6d1f3ce64 [2021-06-30T13:03:11.797Z] Step 11/25 : RUN make update [2021-06-30T13:03:11.797Z] ---> Running in 922b755c0dee [2021-06-30T13:03:11.797Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T13:03:12.060Z] Removing intermediate container 922b755c0dee [2021-06-30T13:03:12.060Z] ---> ac6d190185e3 [2021-06-30T13:03:12.060Z] Step 12/25 : RUN $MAKE [2021-06-30T13:03:12.193Z] Commit message: "feat(snap): add go-based configure and install hooks" [2021-06-30T13:03:12.323Z] ---> Running in 78d4a9b4f12c [2021-06-30T13:03:12.584Z] go mod tidy [2021-06-30T13:03:12.585Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T13:03:13.715Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-30T13:03:14.166Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-30T13:03:14.521Z] + + sudotrue service [2021-06-30T13:03:14.521Z] docker restart [2021-06-30T13:03:24.909Z] Removing intermediate container 78d4a9b4f12c [2021-06-30T13:03:24.909Z] ---> 6335d981c1f6 [2021-06-30T13:03:24.909Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T13:03:24.909Z] 3.12: Pulling from library/alpine [2021-06-30T13:03:25.174Z] 339de151aab4: Pulling fs layer [2021-06-30T13:03:25.174Z] 339de151aab4: Verifying Checksum [2021-06-30T13:03:25.174Z] 339de151aab4: Download complete [2021-06-30T13:03:25.440Z] 339de151aab4: Pull complete [2021-06-30T13:03:25.440Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T13:03:25.440Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T13:03:25.440Z] ---> 13621d1b12d4 [2021-06-30T13:03:25.440Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T13:03:25.440Z] ---> Running in b9e1b0084475 [2021-06-30T13:03:25.440Z] Removing intermediate container b9e1b0084475 [2021-06-30T13:03:25.440Z] ---> 780e93e190bf [2021-06-30T13:03:25.440Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T13:03:25.440Z] ---> Running in 067fab04ef03 [2021-06-30T13:03:25.703Z] Removing intermediate container 067fab04ef03 [2021-06-30T13:03:25.703Z] ---> 44349635c6e1 [2021-06-30T13:03:25.703Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T13:03:25.703Z] ---> Running in ed91fe09aae7 [2021-06-30T13:03:25.967Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-30T13:03:25.967Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-30T13:03:26.228Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T13:03:26.228Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T13:03:26.228Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T13:03:26.228Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T13:03:26.228Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T13:03:26.228Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T13:03:26.228Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T13:03:26.228Z] OK: 8 MiB in 20 packages [2021-06-30T13:03:26.493Z] Removing intermediate container ed91fe09aae7 [2021-06-30T13:03:26.493Z] ---> f84d6b34adde [2021-06-30T13:03:26.493Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T13:03:26.755Z] ---> 9007dde0616c [2021-06-30T13:03:26.755Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T13:03:27.015Z] ---> 5d82bdac32a8 [2021-06-30T13:03:27.015Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T13:03:27.015Z] ---> 644f27824109 [2021-06-30T13:03:27.015Z] Step 20/25 : EXPOSE 59986 [2021-06-30T13:03:27.015Z] ---> Running in 9d44b991478c [2021-06-30T13:03:27.282Z] Removing intermediate container 9d44b991478c [2021-06-30T13:03:27.282Z] ---> 78e5421ac2dc [2021-06-30T13:03:27.282Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T13:03:27.283Z] ---> Running in 91080ef247c1 [2021-06-30T13:03:27.283Z] Removing intermediate container 91080ef247c1 [2021-06-30T13:03:27.283Z] ---> b9a7191eb9a0 [2021-06-30T13:03:27.283Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T13:03:27.283Z] ---> Running in d9c73ae32ffd [2021-06-30T13:03:27.283Z] Removing intermediate container d9c73ae32ffd [2021-06-30T13:03:27.283Z] ---> 6a79015ef494 [2021-06-30T13:03:27.283Z] Step 23/25 : LABEL arch=amd64 [2021-06-30T13:03:27.283Z] ---> Running in ba959192bd1b [2021-06-30T13:03:27.543Z] Removing intermediate container ba959192bd1b [2021-06-30T13:03:27.543Z] ---> 0c657c347d4f [2021-06-30T13:03:27.543Z] Step 24/25 : LABEL git_sha=94141d5958bb4fa79fe377131bda593b69762738 [2021-06-30T13:03:27.543Z] ---> Running in 2b6f5d40d30a [2021-06-30T13:03:27.543Z] Removing intermediate container 2b6f5d40d30a [2021-06-30T13:03:27.543Z] ---> efd946c4d74e [2021-06-30T13:03:27.543Z] Step 25/25 : LABEL version=0.0.0 [2021-06-30T13:03:27.543Z] ---> Running in 5d8e5afada16 [2021-06-30T13:03:27.812Z] Removing intermediate container 5d8e5afada16 [2021-06-30T13:03:27.812Z] ---> bbc4ba5af3a8 [2021-06-30T13:03:27.812Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T13:03:27.812Z] Successfully built bbc4ba5af3a8 [2021-06-30T13:03:27.812Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:03:28.721Z] ---> job-cost.sh [2021-06-30T13:03:28.721Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7uuc [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T13:03:32.890Z] provisioning config files... [2021-06-30T13:03:32.923Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config5034995533976091357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:03:33.314Z] ---> docker-login.sh [2021-06-30T13:03:33.314Z] nexus3.edgexfoundry.org:10001 [2021-06-30T13:03:34.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:03:34.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:03:34.578Z] Configure a credential helper to remove this warning. See [2021-06-30T13:03:34.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:03:34.578Z] [2021-06-30T13:03:34.578Z] Login Succeeded [2021-06-30T13:03:34.578Z] nexus3.edgexfoundry.org:10002 [2021-06-30T13:03:35.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:03:35.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:03:35.179Z] Configure a credential helper to remove this warning. See [2021-06-30T13:03:35.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:03:35.179Z] [2021-06-30T13:03:35.179Z] Login Succeeded [2021-06-30T13:03:35.455Z] nexus3.edgexfoundry.org:10003 [2021-06-30T13:03:35.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:03:36.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:03:36.007Z] Configure a credential helper to remove this warning. See [2021-06-30T13:03:36.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:03:36.007Z] [2021-06-30T13:03:36.007Z] Login Succeeded [2021-06-30T13:03:36.007Z] nexus3.edgexfoundry.org:10004 [2021-06-30T13:03:36.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:03:36.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:03:36.610Z] Configure a credential helper to remove this warning. See [2021-06-30T13:03:36.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:03:36.610Z] [2021-06-30T13:03:36.610Z] Login Succeeded [2021-06-30T13:03:36.610Z] docker.io [2021-06-30T13:03:37.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-30T13:03:37.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-30T13:03:37.491Z] Configure a credential helper to remove this warning. See [2021-06-30T13:03:37.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-30T13:03:37.491Z] [2021-06-30T13:03:37.491Z] Login Succeeded [2021-06-30T13:03:37.491Z] ---> docker-login.sh ends [Pipeline] } [2021-06-30T13:03:37.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-30T13:03:37.869Z] ========================================================= [2021-06-30T13:03:37.870Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-30T13:03:37.870Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:03:38.229Z] + 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-30T13:03:38.230Z] Sending build context to Docker daemon 115.7kB [2021-06-30T13:03:38.752Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T13:03:38.830Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T13:03:38.830Z] Step 2/10 : FROM ${BASE} [2021-06-30T13:03:38.830Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-30T13:03:38.830Z] 595b0fe564bb: Pulling fs layer [2021-06-30T13:03:38.830Z] 3088b5b3c5c0: Pulling fs layer [2021-06-30T13:03:38.830Z] 5b7225fbf94c: Pulling fs layer [2021-06-30T13:03:38.830Z] ba82ee9f976e: Pulling fs layer [2021-06-30T13:03:38.830Z] 506bd15cee9f: Pulling fs layer [2021-06-30T13:03:38.830Z] 75a0a4a0db45: Pulling fs layer [2021-06-30T13:03:38.830Z] 618dc40b7e24: Pulling fs layer [2021-06-30T13:03:38.830Z] ba82ee9f976e: Waiting [2021-06-30T13:03:38.830Z] 506bd15cee9f: Waiting [2021-06-30T13:03:38.830Z] 75a0a4a0db45: Waiting [2021-06-30T13:03:38.830Z] 618dc40b7e24: Waiting [2021-06-30T13:03:38.830Z] 5b7225fbf94c: Download complete [2021-06-30T13:03:39.106Z] 3088b5b3c5c0: Verifying Checksum [2021-06-30T13:03:39.106Z] 3088b5b3c5c0: Download complete [2021-06-30T13:03:39.106Z] 506bd15cee9f: Verifying Checksum [2021-06-30T13:03:39.106Z] 506bd15cee9f: Download complete [2021-06-30T13:03:39.106Z] 75a0a4a0db45: Download complete [2021-06-30T13:03:39.106Z] 595b0fe564bb: Download complete [2021-06-30T13:03:39.715Z] 595b0fe564bb: Pull complete [2021-06-30T13:03:40.709Z] 3088b5b3c5c0: Pull complete [2021-06-30T13:03:40.986Z] 5b7225fbf94c: Pull complete [2021-06-30T13:03:41.593Z] 618dc40b7e24: Verifying Checksum [2021-06-30T13:03:41.593Z] 618dc40b7e24: Download complete [2021-06-30T13:03:42.583Z] ba82ee9f976e: Download complete [2021-06-30T13:03:52.796Z] ba82ee9f976e: Pull complete [2021-06-30T13:03:52.796Z] 506bd15cee9f: Pull complete [2021-06-30T13:03:53.397Z] 75a0a4a0db45: Pull complete [2021-06-30T13:03:53.731Z] lf-activate-venv(): INFO: Adding /tmp/venv-7uuc/bin to PATH [2021-06-30T13:03:53.731Z] INFO: No Stack... [2021-06-30T13:03:53.992Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T13:03:54.568Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T13:03:54.873Z] + cut -d, -f6 [2021-06-30T13:03:54.873Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [Pipeline] lock [2021-06-30T13:03:54.910Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-3-stack-cost] [2021-06-30T13:03:54.935Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-3-stack-cost] did not exist. Created. [2021-06-30T13:03:54.935Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T13:03:55.264Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-30T13:03:55.325Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T13:03:55.337Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-30T13:03:57.716Z] 618dc40b7e24: Pull complete [2021-06-30T13:03:57.716Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-30T13:03:57.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-30T13:03:57.716Z] ---> a36622ca3599 [2021-06-30T13:03:57.716Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T13:03:59.169Z] ---> Running in 8929db91eb3f [2021-06-30T13:03:59.762Z] Removing intermediate container 8929db91eb3f [2021-06-30T13:03:59.762Z] ---> f1becf24f421 [2021-06-30T13:03:59.762Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T13:03:59.762Z] ---> Running in 510c9fb7b8c7 [2021-06-30T13:04:00.360Z] Removing intermediate container 510c9fb7b8c7 [2021-06-30T13:04:00.360Z] ---> c72c23ad602a [2021-06-30T13:04:00.360Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T13:04:00.360Z] ---> Running in 73e5375ec149 [2021-06-30T13:04:03.624Z] Removing intermediate container 73e5375ec149 [2021-06-30T13:04:03.624Z] ---> 0f7d3d126773 [2021-06-30T13:04:03.624Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T13:04:03.624Z] ---> Running in b63af2d95f39 [2021-06-30T13:04:03.624Z] Removing intermediate container b63af2d95f39 [2021-06-30T13:04:03.624Z] ---> 482651e15247 [2021-06-30T13:04:03.624Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T13:04:03.624Z] ---> Running in a907725f8326 [2021-06-30T13:04:05.115Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T13:04:05.712Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T13:04:06.697Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-30T13:04:06.697Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-30T13:04:06.971Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-30T13:04:06.971Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-30T13:04:06.971Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-30T13:04:07.244Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-30T13:04:07.244Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-30T13:04:07.842Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-30T13:04:07.842Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-30T13:04:07.842Z] Executing busybox-1.32.1-r6.trigger [2021-06-30T13:04:07.842Z] OK: 144 MiB in 49 packages [2021-06-30T13:04:09.285Z] Removing intermediate container a907725f8326 [2021-06-30T13:04:09.285Z] ---> 1df24d788655 [2021-06-30T13:04:09.285Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-30T13:04:09.560Z] ---> Running in 964ce0f7ab86 [2021-06-30T13:04:10.161Z] Removing intermediate container 964ce0f7ab86 [2021-06-30T13:04:10.161Z] ---> e58b10c86429 [2021-06-30T13:04:10.161Z] Step 9/10 : COPY . . [2021-06-30T13:04:11.144Z] ---> d4595e2bcea7 [2021-06-30T13:04:11.144Z] Step 10/10 : RUN go mod download [2021-06-30T13:04:11.144Z] ---> Running in b4cd34294ca8 [2021-06-30T13:04:38.017Z] Removing intermediate container b4cd34294ca8 [2021-06-30T13:04:38.017Z] ---> 7a2c130e2a7a [2021-06-30T13:04:38.017Z] Successfully built 7a2c130e2a7a [2021-06-30T13:04:38.017Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:04:38.380Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T13:04:38.380Z] . [Pipeline] withDockerContainer [2021-06-30T13:04:38.904Z] prd-ubuntu18.04-docker-arm64-4c-16g-850 does not seem to be running inside a container [2021-06-30T13:04:39.034Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-30T13:04:40.961Z] $ docker top 28ff61bcc000859eaff95cff66e9c984468a3f17609e7fc7d4aa09fdfe4850e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T13:04:41.989Z] + go version [2021-06-30T13:04:41.989Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-30T13:04:42.015Z] $ docker stop --time=1 28ff61bcc000859eaff95cff66e9c984468a3f17609e7fc7d4aa09fdfe4850e0 [2021-06-30T13:04:43.886Z] $ docker rm -f 28ff61bcc000859eaff95cff66e9c984468a3f17609e7fc7d4aa09fdfe4850e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:04:44.702Z] + docker inspect -f . ci-base-image-arm64 [2021-06-30T13:04:44.703Z] . [Pipeline] withDockerContainer [2021-06-30T13:04:44.982Z] prd-ubuntu18.04-docker-arm64-4c-16g-850 does not seem to be running inside a container [2021-06-30T13:04:45.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-30T13:04:46.846Z] $ docker top f02bd994023ab90910baf1689c7b0011388be9e80a87da4206da206665edc57a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T13:04:47.852Z] + go mod tidy [Pipeline] sh [2021-06-30T13:04:49.129Z] + make test [2021-06-30T13:04:49.129Z] go mod tidy [2021-06-30T13:04:49.729Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-30T13:04:51.178Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-30T13:05:47.775Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-30T13:05:47.775Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-06-30T13:05:47.775Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-30T13:06:09.964Z] gofmt -l . [2021-06-30T13:06:09.964Z] [ "`gofmt -l .`" = "" ] [2021-06-30T13:06:09.964Z] ./bin/test-go-mod-tidy.sh [2021-06-30T13:06:09.964Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-30T13:06:09.988Z] $ docker stop --time=1 f02bd994023ab90910baf1689c7b0011388be9e80a87da4206da206665edc57a [2021-06-30T13:06:12.003Z] $ docker rm -f f02bd994023ab90910baf1689c7b0011388be9e80a87da4206da206665edc57a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-30T13:06:12.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-30T13:06:12.911Z] Warning: overwriting stash ‘coverage-report’ [2021-06-30T13:06:13.392Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-30T13:06:13.944Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-30T13:06:14.282Z] + ls -al . [2021-06-30T13:06:14.282Z] total 140 [2021-06-30T13:06:14.282Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 13:06 . [2021-06-30T13:06:14.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:03 .. [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 30 13:03 .dockerignore [2021-06-30T13:06:14.282Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 13:03 .git [2021-06-30T13:06:14.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:03 .github [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 30 13:03 .gitignore [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 30 13:03 Attribution.txt [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 7459 Jun 30 13:03 CHANGELOG.md [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 30 13:03 Dockerfile [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 30 13:03 Dockerfile.build [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 30 13:03 Jenkinsfile [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 13:03 LICENSE [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 30 13:03 Makefile [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 30 13:03 README.md [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 30 12:59 VERSION [2021-06-30T13:06:14.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:03 bin [2021-06-30T13:06:14.282Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 13:03 cmd [2021-06-30T13:06:14.282Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 30 13:05 coverage.out [2021-06-30T13:06:14.282Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 13:03 driver [2021-06-30T13:06:14.282Z] -rw-r--r-- 1 jenkins jenkins 271 Jun 30 13:06 go.mod [2021-06-30T13:06:14.282Z] -rw-r--r-- 1 jenkins jenkins 20570 Jun 30 13:04 go.sum [2021-06-30T13:06:14.282Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 13:03 snap [2021-06-30T13:06:14.282Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 30 13:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:06:14.630Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=94141d5958bb4fa79fe377131bda593b69762738 --label arch=arm64 --label version=0.0.0 . [2021-06-30T13:06:14.630Z] Sending build context to Docker daemon 125.4kB [2021-06-30T13:06:14.905Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-30T13:06:14.905Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-30T13:06:14.905Z] ---> 7a2c130e2a7a [2021-06-30T13:06:14.905Z] Step 3/25 : ARG MAKE='make build' [2021-06-30T13:06:15.179Z] ---> Running in 80ecc4f4a810 [2021-06-30T13:06:15.782Z] Removing intermediate container 80ecc4f4a810 [2021-06-30T13:06:15.782Z] ---> adee7652047d [2021-06-30T13:06:15.782Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-30T13:06:15.782Z] ---> Running in 11d3cdebb827 [2021-06-30T13:06:16.382Z] Removing intermediate container 11d3cdebb827 [2021-06-30T13:06:16.382Z] ---> 829bde3d20e7 [2021-06-30T13:06:16.382Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-30T13:06:16.382Z] ---> Running in 4a8ebb13f518 [2021-06-30T13:06:16.988Z] Removing intermediate container 4a8ebb13f518 [2021-06-30T13:06:16.988Z] ---> fa18863f942c [2021-06-30T13:06:16.988Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-30T13:06:16.988Z] ---> Running in 57019db70927 [2021-06-30T13:06:19.621Z] Removing intermediate container 57019db70927 [2021-06-30T13:06:19.621Z] ---> 488f6d2c515f [2021-06-30T13:06:19.621Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-30T13:06:19.621Z] ---> Running in 5b265b1b439b [2021-06-30T13:06:20.610Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-30T13:06:21.587Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-30T13:06:22.577Z] OK: 144 MiB in 49 packages [2021-06-30T13:06:23.559Z] Removing intermediate container 5b265b1b439b [2021-06-30T13:06:23.559Z] ---> 2aa6d33c6dc1 [2021-06-30T13:06:23.559Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-30T13:06:23.559Z] ---> Running in 78445caad410 [2021-06-30T13:06:24.154Z] Removing intermediate container 78445caad410 [2021-06-30T13:06:24.154Z] ---> 5adfa6e48c6f [2021-06-30T13:06:24.154Z] Step 9/25 : COPY . . [2021-06-30T13:06:25.135Z] ---> 0912133ec255 [2021-06-30T13:06:25.135Z] Step 10/25 : RUN go mod tidy [2021-06-30T13:06:25.135Z] ---> Running in 8816d6ecb162 [2021-06-30T13:06:27.760Z] Removing intermediate container 8816d6ecb162 [2021-06-30T13:06:27.760Z] ---> 3a29360c7f85 [2021-06-30T13:06:27.760Z] Step 11/25 : RUN make update [2021-06-30T13:06:28.041Z] ---> Running in 463651fcff98 [2021-06-30T13:06:29.025Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-30T13:06:30.470Z] Removing intermediate container 463651fcff98 [2021-06-30T13:06:30.470Z] ---> ed9087620cee [2021-06-30T13:06:30.470Z] Step 12/25 : RUN $MAKE [2021-06-30T13:06:30.470Z] ---> Running in f2d0c7afcd13 [2021-06-30T13:06:31.449Z] go mod tidy [2021-06-30T13:06:32.047Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-30T13:07:11.054Z] Removing intermediate container f2d0c7afcd13 [2021-06-30T13:07:11.054Z] ---> 25e9fc6a0929 [2021-06-30T13:07:11.054Z] Step 13/25 : FROM alpine:3.12 [2021-06-30T13:07:11.054Z] 3.12: Pulling from library/alpine [2021-06-30T13:07:11.054Z] d2f70382dc9a: Pulling fs layer [2021-06-30T13:07:11.054Z] d2f70382dc9a: Verifying Checksum [2021-06-30T13:07:11.054Z] d2f70382dc9a: Download complete [2021-06-30T13:07:11.054Z] d2f70382dc9a: Pull complete [2021-06-30T13:07:11.054Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-30T13:07:11.054Z] Status: Downloaded newer image for alpine:3.12 [2021-06-30T13:07:11.054Z] ---> c4fd0aeabfcf [2021-06-30T13:07:11.054Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-30T13:07:11.054Z] ---> Running in 78074d9f62e2 [2021-06-30T13:07:11.054Z] Removing intermediate container 78074d9f62e2 [2021-06-30T13:07:11.054Z] ---> bd0d743ca144 [2021-06-30T13:07:11.054Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-30T13:07:11.054Z] ---> Running in 6af80c2e360c [2021-06-30T13:07:11.054Z] Removing intermediate container 6af80c2e360c [2021-06-30T13:07:11.054Z] ---> e516949dc9fa [2021-06-30T13:07:11.054Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-30T13:07:11.054Z] ---> Running in 266b97dfda77 [2021-06-30T13:07:11.054Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-30T13:07:11.054Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-30T13:07:11.054Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-30T13:07:11.054Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-30T13:07:11.054Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-30T13:07:11.054Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-30T13:07:11.054Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-30T13:07:11.054Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-30T13:07:11.054Z] Executing busybox-1.31.1-r20.trigger [2021-06-30T13:07:11.054Z] OK: 8 MiB in 20 packages [2021-06-30T13:07:12.037Z] Removing intermediate container 266b97dfda77 [2021-06-30T13:07:12.037Z] ---> ce9d9f912b23 [2021-06-30T13:07:12.037Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-30T13:07:13.481Z] ---> 4cf8368f349c [2021-06-30T13:07:13.481Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-30T13:07:14.077Z] ---> 6ae38e2d0733 [2021-06-30T13:07:14.077Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-30T13:07:15.056Z] ---> 9215de4699ad [2021-06-30T13:07:15.056Z] Step 20/25 : EXPOSE 59986 [2021-06-30T13:07:15.056Z] ---> Running in 1f714bbfee03 [2021-06-30T13:07:15.329Z] Removing intermediate container 1f714bbfee03 [2021-06-30T13:07:15.329Z] ---> 8a58a05c778a [2021-06-30T13:07:15.329Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-30T13:07:15.606Z] ---> Running in 9efebf40e9b3 [2021-06-30T13:07:16.204Z] Removing intermediate container 9efebf40e9b3 [2021-06-30T13:07:16.204Z] ---> 82f1d4254f0a [2021-06-30T13:07:16.204Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-30T13:07:16.204Z] ---> Running in 8f7f17091bbc [2021-06-30T13:07:16.801Z] Removing intermediate container 8f7f17091bbc [2021-06-30T13:07:16.801Z] ---> f848d96bf021 [2021-06-30T13:07:16.801Z] Step 23/25 : LABEL arch=arm64 [2021-06-30T13:07:16.801Z] ---> Running in 18e48f13cec0 [2021-06-30T13:07:17.401Z] Removing intermediate container 18e48f13cec0 [2021-06-30T13:07:17.401Z] ---> 832a28e9d98d [2021-06-30T13:07:17.401Z] Step 24/25 : LABEL git_sha=94141d5958bb4fa79fe377131bda593b69762738 [2021-06-30T13:07:17.401Z] ---> Running in 96d866917aad [2021-06-30T13:07:17.995Z] Removing intermediate container 96d866917aad [2021-06-30T13:07:17.995Z] ---> 4604ecee1140 [2021-06-30T13:07:17.995Z] Step 25/25 : LABEL version=0.0.0 [2021-06-30T13:07:18.268Z] ---> Running in 6808a4fd1160 [2021-06-30T13:07:18.540Z] Removing intermediate container 6808a4fd1160 [2021-06-30T13:07:18.540Z] ---> d7fd4b4f9f98 [2021-06-30T13:07:18.540Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-30T13:07:18.540Z] Successfully built d7fd4b4f9f98 [2021-06-30T13:07:18.540Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:07:19.176Z] ---> job-cost.sh [2021-06-30T13:07:19.176Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-W0Ev [2021-06-30T13:07:58.145Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-30T13:09:34.922Z] lf-activate-venv(): INFO: Adding /tmp/venv-W0Ev/bin to PATH [2021-06-30T13:09:34.922Z] INFO: No Stack... [2021-06-30T13:09:34.922Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-30T13:09:34.922Z] INFO: Archiving Costs [Pipeline] sh [2021-06-30T13:09:35.276Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2021-06-30T13:09:35.276Z] + cut -d, -f6 [Pipeline] lock [2021-06-30T13:09:35.340Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-127-3-stack-cost] [2021-06-30T13:09:35.348Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-127-3-stack-cost] did not exist. Created. [2021-06-30T13:09:35.348Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-127-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-30T13:09:35.731Z] /w/workspace/device-rest-go/3@tmp/durable-a9d34ef6/script.sh: 1: /w/workspace/device-rest-go/3@tmp/durable-a9d34ef6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-30T13:09:36.077Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-30T13:09:36.098Z] Warning: overwriting stash ‘stack-cost’ [2021-06-30T13:09:36.255Z] Stashed 1 file(s) [Pipeline] } [2021-06-30T13:09:36.264Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-127-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-30T13:09:36.840Z] provisioning config files... [2021-06-30T13:09:36.848Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config7002394549475857706tmp [Pipeline] { [Pipeline] sh [2021-06-30T13:09:37.194Z] + set +x [2021-06-30T13:09:37.195Z] + bash -s -- [2021-06-30T13:09:37.195Z] + curl -s https://codecov.io/bash [2021-06-30T13:09:37.195Z] [2021-06-30T13:09:37.195Z] _____ _ [2021-06-30T13:09:37.195Z] / ____| | | [2021-06-30T13:09:37.195Z] | | ___ __| | ___ ___ _____ __ [2021-06-30T13:09:37.195Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-30T13:09:37.195Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-30T13:09:37.195Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-30T13:09:37.195Z] Bash-1.0.3 [2021-06-30T13:09:37.195Z] [2021-06-30T13:09:37.195Z] [2021-06-30T13:09:37.195Z] ==> git version 2.24.4 found [2021-06-30T13:09:37.195Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-30T13:09:37.195Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-30T13:09:37.195Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-30T13:09:37.195Z] ==> Jenkins CI detected. [2021-06-30T13:09:37.195Z] project root: . [2021-06-30T13:09:37.195Z] --> token set from env [2021-06-30T13:09:37.195Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-30T13:09:37.195Z] ==> Running gcov in . (disable via -X gcov) [2021-06-30T13:09:37.195Z] ==> Python coveragepy not found [2021-06-30T13:09:37.195Z] ==> Searching for coverage reports in: [2021-06-30T13:09:37.195Z] + . [2021-06-30T13:09:37.195Z] -> Found 1 reports [2021-06-30T13:09:37.195Z] ==> Detecting git/mercurial file structure [2021-06-30T13:09:37.195Z] ==> Reading reports [2021-06-30T13:09:37.195Z] + ./coverage.out bytes=8513 [2021-06-30T13:09:37.195Z] ==> Appending adjustments [2021-06-30T13:09:37.195Z] https://docs.codecov.io/docs/fixing-reports [2021-06-30T13:09:37.457Z] + Found adjustments [2021-06-30T13:09:37.457Z] ==> Gzipping contents [2021-06-30T13:09:37.457Z] 4.0K /tmp/codecov.m1oVWA.gz [2021-06-30T13:09:37.457Z] ==> Uploading reports [2021-06-30T13:09:37.457Z] url: https://codecov.io [2021-06-30T13:09:37.457Z] query: branch=PR-127&commit=94141d5958bb4fa79fe377131bda593b69762738&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-127%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=127&job=&cmd_args= [2021-06-30T13:09:37.457Z] -> Pinging Codecov [2021-06-30T13:09:37.457Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-127&commit=94141d5958bb4fa79fe377131bda593b69762738&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-127%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=127&job=&cmd_args= [2021-06-30T13:09:37.722Z] -> Uploading to [2021-06-30T13:09:37.722Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-30/4E5D53B4F1F92C436F7061BF334D961C/94141d5958bb4fa79fe377131bda593b69762738/7eac0b07-6499-4c7e-b9aa-3a8bd6118ba3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210630T130937Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18348274d8c61f8f38585f17983e86621a29014fe255e64f9ae2f1b93a106a5c [2021-06-30T13:09:37.722Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-30T13:09:37.722Z] Dload Upload Total Spent Left Speed [2021-06-30T13:09:38.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1785 0 0 100 1785 0 4323 --:--:-- --:--:-- --:--:-- 4332 [2021-06-30T13:09:38.295Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/94141d5958bb4fa79fe377131bda593b69762738 [Pipeline] } [2021-06-30T13:09:38.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:09:39.830Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:09:40.398Z] ---> package-listing.sh [2021-06-30T13:09:40.399Z] ++ facter osfamily [2021-06-30T13:09:40.399Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-30T13:09:40.661Z] + OS_FAMILY=redhat [2021-06-30T13:09:40.661Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-127 [2021-06-30T13:09:40.661Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-30T13:09:40.661Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-30T13:09:40.661Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-30T13:09:40.661Z] + PACKAGES=/tmp/packages_start.txt [2021-06-30T13:09:40.661Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T13:09:40.661Z] + PACKAGES=/tmp/packages_end.txt [2021-06-30T13:09:40.661Z] + case "${OS_FAMILY}" in [2021-06-30T13:09:40.661Z] + rpm -qa [2021-06-30T13:09:40.661Z] + sort [2021-06-30T13:09:41.233Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-30T13:09:41.233Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-30T13:09:41.233Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-30T13:09:41.233Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-127 ']' [2021-06-30T13:09:41.233Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [2021-06-30T13:09:41.233Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-127/archives/ [Pipeline] echo [2021-06-30T13:09:41.247Z] 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-127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-30T13:09:41.537Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:09:42.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T13:09:42.109Z] [2021-06-30T13:09:42.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-30T13:09:42.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T13:09:42.425Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-30T13:09:42.425Z] df20fa9351a1: Pulling fs layer [2021-06-30T13:09:42.425Z] 36b3adc4ff6f: Pulling fs layer [2021-06-30T13:09:42.425Z] 8ad3a11d3b57: Pulling fs layer [2021-06-30T13:09:42.425Z] 46f8f816bc3b: Pulling fs layer [2021-06-30T13:09:42.425Z] 93b61091891f: Pulling fs layer [2021-06-30T13:09:42.425Z] 93b9cdb0e59b: Pulling fs layer [2021-06-30T13:09:42.425Z] 5e14af77c1be: Pulling fs layer [2021-06-30T13:09:42.425Z] 01666e4c0597: Pulling fs layer [2021-06-30T13:09:42.425Z] aa168da1d23b: Pulling fs layer [2021-06-30T13:09:42.425Z] 93b9cdb0e59b: Waiting [2021-06-30T13:09:42.425Z] 5e14af77c1be: Waiting [2021-06-30T13:09:42.425Z] 01666e4c0597: Waiting [2021-06-30T13:09:42.425Z] aa168da1d23b: Waiting [2021-06-30T13:09:42.425Z] 46f8f816bc3b: Waiting [2021-06-30T13:09:42.425Z] 93b61091891f: Waiting [2021-06-30T13:09:42.425Z] 36b3adc4ff6f: Download complete [2021-06-30T13:09:42.425Z] 46f8f816bc3b: Verifying Checksum [2021-06-30T13:09:42.425Z] 46f8f816bc3b: Download complete [2021-06-30T13:09:42.691Z] df20fa9351a1: Verifying Checksum [2021-06-30T13:09:42.691Z] df20fa9351a1: Download complete [2021-06-30T13:09:42.691Z] 93b61091891f: Verifying Checksum [2021-06-30T13:09:42.691Z] 93b61091891f: Download complete [2021-06-30T13:09:42.691Z] 93b9cdb0e59b: Verifying Checksum [2021-06-30T13:09:42.691Z] 93b9cdb0e59b: Download complete [2021-06-30T13:09:42.691Z] 5e14af77c1be: Verifying Checksum [2021-06-30T13:09:42.691Z] 5e14af77c1be: Download complete [2021-06-30T13:09:42.691Z] 01666e4c0597: Verifying Checksum [2021-06-30T13:09:42.691Z] 01666e4c0597: Download complete [2021-06-30T13:09:42.960Z] 8ad3a11d3b57: Verifying Checksum [2021-06-30T13:09:42.960Z] 8ad3a11d3b57: Download complete [2021-06-30T13:09:42.960Z] df20fa9351a1: Pull complete [2021-06-30T13:09:42.960Z] 36b3adc4ff6f: Pull complete [2021-06-30T13:09:43.534Z] 8ad3a11d3b57: Pull complete [2021-06-30T13:09:43.534Z] 46f8f816bc3b: Pull complete [2021-06-30T13:09:44.107Z] 93b61091891f: Pull complete [2021-06-30T13:09:44.107Z] 93b9cdb0e59b: Pull complete [2021-06-30T13:09:44.107Z] 5e14af77c1be: Pull complete [2021-06-30T13:09:44.107Z] 01666e4c0597: Pull complete [2021-06-30T13:09:44.688Z] aa168da1d23b: Verifying Checksum [2021-06-30T13:09:44.688Z] aa168da1d23b: Download complete [2021-06-30T13:09:48.931Z] aa168da1d23b: Pull complete [2021-06-30T13:09:48.931Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-30T13:09:48.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-30T13:09:48.931Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-30T13:09:49.005Z] prd-centos7-docker-4c-2g-847 does not seem to be running inside a container [2021-06-30T13:09:49.041Z] $ 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-127/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-127 -v /w/workspace/gexfoundry_device-rest-go_PR-127:/w/workspace/gexfoundry_device-rest-go_PR-127:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-127@tmp:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-30T13:09:51.092Z] $ docker top c9c819cef1067ad385a7c3bf47f0f35f1ebdb0980bfd34b6aedf20f93f38f3b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-30T13:09:51.481Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-30T13:09:51.784Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-30T13:09:52.087Z] + ls /var/log/sa-host [2021-06-30T13:09:52.087Z] + sadf -c /var/log/sa-host/sa05 [2021-06-30T13:09:52.087Z] file_magic: OK [2021-06-30T13:09:52.087Z] HZ: Using current value: 100 [2021-06-30T13:09:52.087Z] file_header: OK [2021-06-30T13:09:52.087Z] 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-30T13:09:52.087Z] Statistics: [2021-06-30T13:09:52.087Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T13:09:52.087Z] File successfully converted to sysstat format version 12.2.1 [2021-06-30T13:09:52.087Z] + sadf -c /var/log/sa-host/sa30 [2021-06-30T13:09:52.087Z] file_magic: OK [2021-06-30T13:09:52.087Z] HZ: Using current value: 100 [2021-06-30T13:09:52.087Z] file_header: OK [2021-06-30T13:09:52.087Z] 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-30T13:09:52.087Z] Statistics: [2021-06-30T13:09:52.087Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-30T13:09:52.087Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-30T13:09:52.298Z] provisioning config files... [2021-06-30T13:09:52.311Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-127@tmp/config8942964380409310785tmp [Pipeline] { [Pipeline] echo [2021-06-30T13:09:52.335Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:09:52.639Z] ---> create-netrc.sh [Pipeline] } [2021-06-30T13:09:52.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:09:53.032Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-30T13:09:53.042Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:09:53.340Z] ---> sudo-logs.sh [2021-06-30T13:09:53.340Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-30T13:09:53.372Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:09:53.680Z] ---> job-cost.sh [2021-06-30T13:09:53.680Z] lf-activate-venv: SKIPPING [2021-06-30T13:09:53.680Z] DEBUG: total: 0.18000000715255737 [2021-06-30T13:09:53.680Z] INFO: Retrieving Stack Cost... [2021-06-30T13:09:54.625Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-30T13:09:55.199Z] INFO: Archiving Costs [Pipeline] echo [2021-06-30T13:09:55.215Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-30T13:09:55.511Z] ---> logs-deploy.sh [2021-06-30T13:09:55.511Z] lf-activate-venv: SKIPPING [2021-06-30T13:09:55.511Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-127/3 [2021-06-30T13:09:55.511Z] INFO: archiving workspace using pattern(s): [2021-06-30T13:09:56.459Z] Archives upload complete. [2021-06-30T13:09:56.459Z] INFO: archiving logs to Nexus