Pull request #99 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9940ed024721114633362f232cc4094c26ade6f2+8ab618566fd99c79b3e6b1ee7b4c674816e04a15 (e7365200b5f4d468a18234c1f8818ac0c857a219) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6209106630311015553.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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-ssh1191564612363583165.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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-99/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-99/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1103162076392765250.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-99/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5426820043198468873.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2181406503132083846.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-99/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-99/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3298235331471054171.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-83’ Running on prd-centos7-docker-4c-2g-86 in /w/workspace/dgexfoundry_device-rest-go_PR-99 [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/dgexfoundry_device-rest-go_PR-99 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' 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/dgexfoundry_device-rest-go_PR-99@tmp/jenkins-gitclient-ssh8352292691385996745.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/dgexfoundry_device-rest-go_PR-99@tmp/jenkins-gitclient-ssh8557610183112973409.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 into PR head commit 9940ed024721114633362f232cc4094c26ade6f2 Merge succeeded, producing 9940ed024721114633362f232cc4094c26ade6f2 Checking out Revision 9940ed024721114633362f232cc4094c26ade6f2 (PR-99) > git config core.sparsecheckout # timeout=10 > git checkout -f 9940ed024721114633362f232cc4094c26ade6f2 # 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/dgexfoundry_device-rest-go_PR-99@tmp/jenkins-gitclient-ssh1037435595843170919.key > git merge 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9940ed024721114633362f232cc4094c26ade6f2 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-14T08:29:43.229Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-14T08:29:43.435Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-14T08:29:43.557Z] ========================================================= [2021-05-14T08:29:43.558Z] EdgeX Global Pipelines Version Info [2021-05-14T08:29:43.558Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:29:45.120Z] ------------------- [2021-05-14T08:29:45.121Z] stable info: [2021-05-14T08:29:45.121Z] ------------------- [2021-05-14T08:29:45.121Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-14T08:29:45.121Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T08:29:45.121Z] Message: update stable to v1.0.192 [2021-05-14T08:29:46.074Z] ------------------- [2021-05-14T08:29:46.074Z] experimental info: [2021-05-14T08:29:46.074Z] ------------------- [2021-05-14T08:29:46.074Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-14T08:29:46.074Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-14T08:29:46.074Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-14T08:29:46.311Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-14T08:29:46.389Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-14T08:29:46.445Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-14T08:29:46.512Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-14T08:29:46.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-14T08:29:46.640Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-14T08:29:46.717Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-14T08:29:46.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-14T08:29:46.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-14T08:29:46.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-14T08:29:46.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-14T08:29:47.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-14T08:29:47.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-14T08:29:47.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-14T08:29:47.243Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T08:29:47.297Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-14T08:29:47.355Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T08:29:47.435Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-14T08:29:47.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-14T08:29:47.552Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-14T08:29:47.614Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-14T08:29:47.675Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-14T08:29:47.731Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-14T08:29:47.809Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-14T08:29:47.866Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-14T08:29:47.922Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-14T08:29:47.984Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo [2021-05-14T08:29:48.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo [2021-05-14T08:29:48.100Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo [2021-05-14T08:29:48.157Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9940ed024721114633362f232cc4094c26ade6f2 [Pipeline] echo [2021-05-14T08:29:48.221Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9940ed0 [Pipeline] echo [2021-05-14T08:29:48.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:29:48.541Z] provisioning config files... [2021-05-14T08:29:48.563Z] copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-99@tmp/config7217546198547902211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:29:48.989Z] ---> docker-login.sh [2021-05-14T08:29:48.989Z] nexus3.edgexfoundry.org:10001 [2021-05-14T08:29:49.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:29:49.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:29:49.263Z] Configure a credential helper to remove this warning. See [2021-05-14T08:29:49.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:29:49.263Z] [2021-05-14T08:29:49.263Z] Login Succeeded [2021-05-14T08:29:49.263Z] nexus3.edgexfoundry.org:10002 [2021-05-14T08:29:49.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:29:49.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:29:49.535Z] Configure a credential helper to remove this warning. See [2021-05-14T08:29:49.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:29:49.535Z] [2021-05-14T08:29:49.535Z] Login Succeeded [2021-05-14T08:29:49.535Z] nexus3.edgexfoundry.org:10003 [2021-05-14T08:29:49.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:29:49.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:29:49.803Z] Configure a credential helper to remove this warning. See [2021-05-14T08:29:49.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:29:49.803Z] [2021-05-14T08:29:49.803Z] Login Succeeded [2021-05-14T08:29:49.803Z] nexus3.edgexfoundry.org:10004 [2021-05-14T08:29:49.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:29:49.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:29:49.803Z] Configure a credential helper to remove this warning. See [2021-05-14T08:29:49.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:29:49.803Z] [2021-05-14T08:29:49.803Z] Login Succeeded [2021-05-14T08:29:49.803Z] docker.io [2021-05-14T08:29:50.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:29:50.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:29:50.339Z] Configure a credential helper to remove this warning. See [2021-05-14T08:29:50.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:29:50.339Z] [2021-05-14T08:29:50.339Z] Login Succeeded [2021-05-14T08:29:50.339Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T08:29:50.455Z] 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-05-14T08:29:51.248Z] + git log --format=format:%s -1 9940ed024721114633362f232cc4094c26ade6f2 [Pipeline] echo [2021-05-14T08:29:51.321Z] GIT_COMMIT: 9940ed024721114633362f232cc4094c26ade6f2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2021-05-14T08:29:51.359Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:29:52.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:29:52.004Z] [2021-05-14T08:29:52.004Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:29:52.388Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:29:52.388Z] latest: Pulling from edgex-devops/git-semver [2021-05-14T08:29:52.388Z] 31603596830f: Pulling fs layer [2021-05-14T08:29:52.388Z] 54011a49482f: Pulling fs layer [2021-05-14T08:29:52.388Z] a6820b24f6d8: Pulling fs layer [2021-05-14T08:29:52.388Z] f581987b2513: Pulling fs layer [2021-05-14T08:29:52.388Z] f581987b2513: Waiting [2021-05-14T08:29:52.388Z] 54011a49482f: Verifying Checksum [2021-05-14T08:29:52.388Z] 54011a49482f: Download complete [2021-05-14T08:29:52.388Z] 31603596830f: Download complete [2021-05-14T08:29:52.656Z] a6820b24f6d8: Verifying Checksum [2021-05-14T08:29:52.656Z] a6820b24f6d8: Download complete [2021-05-14T08:29:52.656Z] f581987b2513: Verifying Checksum [2021-05-14T08:29:52.656Z] f581987b2513: Download complete [2021-05-14T08:29:52.918Z] 31603596830f: Pull complete [2021-05-14T08:29:52.919Z] 54011a49482f: Pull complete [2021-05-14T08:29:53.889Z] a6820b24f6d8: Pull complete [2021-05-14T08:29:53.889Z] f581987b2513: Pull complete [2021-05-14T08:29:53.889Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-14T08:29:54.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-14T08:29:54.157Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-14T08:29:54.295Z] prd-centos7-docker-4c-2g-86 does not seem to be running inside a container [2021-05-14T08:29:54.351Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-99 -v /w/workspace/dgexfoundry_device-rest-go_PR-99:/w/workspace/dgexfoundry_device-rest-go_PR-99:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-99@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-99@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-14T08:29:56.527Z] $ docker top a833d880ff8cf442874b250d32e99d110bde1fbec8b285d2debff69c1fd5bab8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-14T08:29:56.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T08:29:56.770Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T08:29:56.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T08:29:56.983Z] $ docker exec a833d880ff8cf442874b250d32e99d110bde1fbec8b285d2debff69c1fd5bab8 ssh-agent [2021-05-14T08:29:57.145Z] SSH_AUTH_SOCK=/tmp/ssh-pyV4fiR21pMd/agent.12 [2021-05-14T08:29:57.145Z] SSH_AGENT_PID=17 [2021-05-14T08:29:57.156Z] Running ssh-add (command line suppressed) [2021-05-14T08:29:57.284Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-99@tmp/private_key_2677268628921857222.key (/w/workspace/dgexfoundry_device-rest-go_PR-99@tmp/private_key_2677268628921857222.key) [2021-05-14T08:29:57.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T08:29:57.681Z] + git tag --points-at HEAD [Pipeline] } [2021-05-14T08:29:57.710Z] $ docker exec --env ******** --env ******** a833d880ff8cf442874b250d32e99d110bde1fbec8b285d2debff69c1fd5bab8 ssh-agent -k [2021-05-14T08:29:57.823Z] unset SSH_AUTH_SOCK; [2021-05-14T08:29:57.823Z] unset SSH_AGENT_PID; [2021-05-14T08:29:57.823Z] echo Agent pid 17 killed; [2021-05-14T08:29:57.870Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-14T08:29:57.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-14T08:29:57.980Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-14T08:29:58.153Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-14T08:29:58.158Z] $ docker exec a833d880ff8cf442874b250d32e99d110bde1fbec8b285d2debff69c1fd5bab8 ssh-agent [2021-05-14T08:29:58.324Z] SSH_AUTH_SOCK=/tmp/ssh-p7v3YqXrMDWn/agent.48 [2021-05-14T08:29:58.324Z] SSH_AGENT_PID=53 [2021-05-14T08:29:58.331Z] Running ssh-add (command line suppressed) [2021-05-14T08:29:58.451Z] Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-99@tmp/private_key_3277287561118371489.key (/w/workspace/dgexfoundry_device-rest-go_PR-99@tmp/private_key_3277287561118371489.key) [2021-05-14T08:29:58.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-14T08:29:58.867Z] + git semver init [2021-05-14T08:29:58.867Z] # -> Open(): unable to determine branch for HEAD [2021-05-14T08:29:58.867Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-99/.git [2021-05-14T08:29:58.867Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-99 [2021-05-14T08:29:58.867Z] # $SEMVER_REMOTE_NAME = origin [2021-05-14T08:29:58.867Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-14T08:29:58.867Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-14T08:29:58.867Z] # $SEMVER_BRANCH = PR-99 [2021-05-14T08:29:58.867Z] # $SEMVER_TEMP = /tmp/semver-387359378 [2021-05-14T08:29:58.867Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-14T08:30:00.262Z] # '/tmp/semver-387359378' -> '/w/workspace/dgexfoundry_device-rest-go_PR-99/.semver' [2021-05-14T08:30:00.262Z] # -> Force: false [2021-05-14T08:30:00.262Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-99/.semver [Pipeline] } [2021-05-14T08:30:00.294Z] $ docker exec --env ******** --env ******** a833d880ff8cf442874b250d32e99d110bde1fbec8b285d2debff69c1fd5bab8 ssh-agent -k [2021-05-14T08:30:00.408Z] unset SSH_AUTH_SOCK; [2021-05-14T08:30:00.408Z] unset SSH_AGENT_PID; [2021-05-14T08:30:00.408Z] echo Agent pid 53 killed; [2021-05-14T08:30:00.476Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-14T08:30:00.963Z] + git semver [Pipeline] } [2021-05-14T08:30:00.997Z] $ docker stop --time=1 a833d880ff8cf442874b250d32e99d110bde1fbec8b285d2debff69c1fd5bab8 [2021-05-14T08:30:02.429Z] $ docker rm -f a833d880ff8cf442874b250d32e99d110bde1fbec8b285d2debff69c1fd5bab8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T08:30:02.927Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-14T08:30:03.299Z] Stashed 1 file(s) [Pipeline] echo [2021-05-14T08:30:03.323Z] [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-05-14T08:30:18.888Z] Still waiting to schedule task [2021-05-14T08:30:18.888Z] ‘prd-centos7-docker-4c-2g-88’ is offline [2021-05-14T08:30:18.889Z] ‘prd-centos7-docker-4c-2g-89’ is offline [2021-05-14T08:30:18.889Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-14T08:30:18.889Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-85’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-14T08:30:18.919Z] Still waiting to schedule task [2021-05-14T08:30:18.919Z] ‘prd-centos7-docker-4c-2g-88’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-14T08:30:18.919Z] ‘prd-centos7-docker-4c-2g-89’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-14T08:30:18.919Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ is offline [2021-05-14T08:30:18.919Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-85’ is offline [2021-05-14T08:31:53.568Z] Running on prd-centos7-docker-4c-2g-93 in /w/workspace/dgexfoundry_device-rest-go_PR-99 [Pipeline] { [Pipeline] ws [2021-05-14T08:31:53.628Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-14T08:31:53.807Z] The recommended git tool is: git [2021-05-14T08:31:57.249Z] using credential edgex-jenkins-ssh [2021-05-14T08:31:57.266Z] Cloning the remote Git repository [2021-05-14T08:31:57.301Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:31:57.385Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-14T08:31:57.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:31:57.448Z] > git --version # timeout=10 [2021-05-14T08:31:57.456Z] > git --version # 'git version 2.24.3' [2021-05-14T08:31:57.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T08:31:57.484Z] [INFO] Currently running in a labeled security context [2021-05-14T08:31:57.484Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T08:31:57.484Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh410385463859765627.key [2021-05-14T08:31:57.506Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T08:32:00.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-14T08:32:00.642Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T08:32:00.655Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-14T08:32:00.669Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:32:00.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T08:32:00.671Z] [INFO] Currently running in a labeled security context [2021-05-14T08:32:00.671Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T08:32:00.671Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh9113118194100833354.key [2021-05-14T08:32:00.682Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T08:32:01.340Z] Merging remotes/origin/master commit 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 into PR head commit 9940ed024721114633362f232cc4094c26ade6f2 [2021-05-14T08:32:01.421Z] Merge succeeded, producing 9940ed024721114633362f232cc4094c26ade6f2 [2021-05-14T08:32:01.422Z] Checking out Revision 9940ed024721114633362f232cc4094c26ade6f2 (PR-99) [2021-05-14T08:32:01.350Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T08:32:01.356Z] > git checkout -f 9940ed024721114633362f232cc4094c26ade6f2 # timeout=10 [2021-05-14T08:32:01.388Z] > git remote # timeout=10 [2021-05-14T08:32:01.393Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T08:32:01.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T08:32:01.398Z] [INFO] Currently running in a labeled security context [2021-05-14T08:32:01.399Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-14T08:32:01.399Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh173330910188408999.key [2021-05-14T08:32:01.405Z] > git merge 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [2021-05-14T08:32:01.417Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T08:32:01.427Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T08:32:01.432Z] > git checkout -f 9940ed024721114633362f232cc4094c26ade6f2 # timeout=10 [2021-05-14T08:32:05.121Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-14T08:32:05.155Z] > git --version # timeout=10 [2021-05-14T08:32:05.161Z] > git --version # 'git version 2.24.3' [2021-05-14T08:32:05.167Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T08:32:06.490Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-14T08:32:06.857Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T08:32:07.172Z] + sudo service docker restart [2021-05-14T08:32:07.172Z] + true [2021-05-14T08:32:07.172Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:32:08.697Z] provisioning config files... [2021-05-14T08:32:08.720Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config434766528578544869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:32:09.135Z] ---> docker-login.sh [2021-05-14T08:32:09.135Z] nexus3.edgexfoundry.org:10001 [2021-05-14T08:32:09.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:32:09.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:32:09.675Z] Configure a credential helper to remove this warning. See [2021-05-14T08:32:09.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:32:09.675Z] [2021-05-14T08:32:09.675Z] Login Succeeded [2021-05-14T08:32:09.675Z] nexus3.edgexfoundry.org:10002 [2021-05-14T08:32:09.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:32:09.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:32:09.675Z] Configure a credential helper to remove this warning. See [2021-05-14T08:32:09.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:32:09.675Z] [2021-05-14T08:32:09.675Z] Login Succeeded [2021-05-14T08:32:09.675Z] nexus3.edgexfoundry.org:10003 [2021-05-14T08:32:09.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:32:09.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:32:09.941Z] Configure a credential helper to remove this warning. See [2021-05-14T08:32:09.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:32:09.941Z] [2021-05-14T08:32:09.941Z] Login Succeeded [2021-05-14T08:32:09.941Z] nexus3.edgexfoundry.org:10004 [2021-05-14T08:32:10.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:32:10.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:32:10.204Z] Configure a credential helper to remove this warning. See [2021-05-14T08:32:10.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:32:10.204Z] [2021-05-14T08:32:10.204Z] Login Succeeded [2021-05-14T08:32:10.204Z] docker.io [2021-05-14T08:32:10.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:32:10.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:32:10.467Z] Configure a credential helper to remove this warning. See [2021-05-14T08:32:10.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:32:10.467Z] [2021-05-14T08:32:10.467Z] Login Succeeded [2021-05-14T08:32:10.467Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T08:32:10.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T08:32:10.847Z] ========================================================= [2021-05-14T08:32:10.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-14T08:32:10.847Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:32:11.215Z] + 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-05-14T08:32:11.216Z] Sending build context to Docker daemon 92.16kB [2021-05-14T08:32:11.216Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T08:32:11.216Z] Step 2/10 : FROM ${BASE} [2021-05-14T08:32:11.488Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-14T08:32:11.488Z] 540db60ca938: Pulling fs layer [2021-05-14T08:32:11.488Z] adcc1eea9eea: Pulling fs layer [2021-05-14T08:32:11.488Z] 4c4ab2625f07: Pulling fs layer [2021-05-14T08:32:11.488Z] 0510c868ecb4: Pulling fs layer [2021-05-14T08:32:11.488Z] afea3b2eda06: Pulling fs layer [2021-05-14T08:32:11.488Z] 7809a108b3ef: Pulling fs layer [2021-05-14T08:32:11.488Z] f706445af74f: Pulling fs layer [2021-05-14T08:32:11.488Z] 0510c868ecb4: Waiting [2021-05-14T08:32:11.488Z] afea3b2eda06: Waiting [2021-05-14T08:32:11.488Z] 7809a108b3ef: Waiting [2021-05-14T08:32:11.488Z] f706445af74f: Waiting [2021-05-14T08:32:11.488Z] 4c4ab2625f07: Verifying Checksum [2021-05-14T08:32:11.488Z] 4c4ab2625f07: Download complete [2021-05-14T08:32:11.488Z] adcc1eea9eea: Download complete [2021-05-14T08:32:11.488Z] afea3b2eda06: Verifying Checksum [2021-05-14T08:32:11.488Z] afea3b2eda06: Download complete [2021-05-14T08:32:11.488Z] 540db60ca938: Verifying Checksum [2021-05-14T08:32:11.488Z] 7809a108b3ef: Verifying Checksum [2021-05-14T08:32:11.488Z] 7809a108b3ef: Download complete [2021-05-14T08:32:11.758Z] 540db60ca938: Pull complete [2021-05-14T08:32:12.024Z] adcc1eea9eea: Pull complete [2021-05-14T08:32:12.024Z] 4c4ab2625f07: Pull complete [2021-05-14T08:32:14.628Z] f706445af74f: Verifying Checksum [2021-05-14T08:32:14.628Z] f706445af74f: Download complete [2021-05-14T08:32:16.034Z] 0510c868ecb4: Verifying Checksum [2021-05-14T08:32:16.034Z] 0510c868ecb4: Download complete [2021-05-14T08:32:21.395Z] 0510c868ecb4: Pull complete [2021-05-14T08:32:21.681Z] afea3b2eda06: Pull complete [2021-05-14T08:32:21.681Z] 7809a108b3ef: Pull complete [2021-05-14T08:32:29.888Z] f706445af74f: Pull complete [2021-05-14T08:32:29.888Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-14T08:32:29.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-14T08:32:29.888Z] ---> b068be0155e3 [2021-05-14T08:32:29.888Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T08:32:30.470Z] ---> Running in 3db805a98e80 [2021-05-14T08:32:31.047Z] Removing intermediate container 3db805a98e80 [2021-05-14T08:32:31.047Z] ---> dc7fef7dcdb8 [2021-05-14T08:32:31.047Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T08:32:31.047Z] ---> Running in 2edaa154f8ea [2021-05-14T08:32:31.047Z] Removing intermediate container 2edaa154f8ea [2021-05-14T08:32:31.047Z] ---> cc24a865db0d [2021-05-14T08:32:31.047Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-14T08:32:31.047Z] ---> Running in 376a6d8bbfb4 [2021-05-14T08:32:31.312Z] Removing intermediate container 376a6d8bbfb4 [2021-05-14T08:32:31.312Z] ---> f510fbf59c25 [2021-05-14T08:32:31.312Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T08:32:31.312Z] ---> Running in ca391c204eaa [2021-05-14T08:32:32.703Z] Removing intermediate container ca391c204eaa [2021-05-14T08:32:32.703Z] ---> 97f091e2e9e5 [2021-05-14T08:32:32.703Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T08:32:32.703Z] ---> Running in 2f6bacf69395 [2021-05-14T08:32:33.280Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T08:32:35.837Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T08:32:38.418Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-14T08:32:38.418Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-14T08:32:38.689Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-14T08:32:38.957Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-14T08:32:38.957Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-14T08:32:39.220Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-14T08:32:39.483Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-14T08:32:42.046Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-14T08:32:42.046Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-14T08:32:42.046Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T08:32:42.046Z] OK: 154 MiB in 49 packages [2021-05-14T08:32:42.996Z] Removing intermediate container 2f6bacf69395 [2021-05-14T08:32:42.996Z] ---> 97339df5ee00 [2021-05-14T08:32:42.996Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-14T08:32:42.996Z] ---> Running in d2848e2749f9 [2021-05-14T08:32:43.264Z] Removing intermediate container d2848e2749f9 [2021-05-14T08:32:43.264Z] ---> 1d509da56bc9 [2021-05-14T08:32:43.264Z] Step 9/10 : COPY . . [2021-05-14T08:32:43.533Z] ---> b832def968ca [2021-05-14T08:32:43.533Z] Step 10/10 : RUN go mod download [2021-05-14T08:32:43.533Z] ---> Running in 939fdd6459a2 [2021-05-14T08:32:45.111Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-95 in /w/workspace/dgexfoundry_device-rest-go_PR-99 [Pipeline] { [Pipeline] ws [2021-05-14T08:32:45.170Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-14T08:32:45.409Z] The recommended git tool is: git [2021-05-14T08:32:50.602Z] using credential edgex-jenkins-ssh [2021-05-14T08:32:50.623Z] Cloning the remote Git repository [2021-05-14T08:32:50.766Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:32:50.921Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-14T08:32:51.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:32:51.005Z] > git --version # timeout=10 [2021-05-14T08:32:51.027Z] > git --version # 'git version 2.17.1' [2021-05-14T08:32:51.028Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T08:32:51.136Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T08:32:52.737Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-14T08:32:53.306Z] Merging remotes/origin/master commit 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 into PR head commit 9940ed024721114633362f232cc4094c26ade6f2 [2021-05-14T08:32:53.499Z] Merge succeeded, producing 9940ed024721114633362f232cc4094c26ade6f2 [2021-05-14T08:32:53.500Z] Checking out Revision 9940ed024721114633362f232cc4094c26ade6f2 (PR-99) [2021-05-14T08:32:52.757Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-14T08:32:52.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-14T08:32:52.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-14T08:32:52.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T08:32:52.835Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-14T08:32:53.324Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T08:32:53.341Z] > git checkout -f 9940ed024721114633362f232cc4094c26ade6f2 # timeout=10 [2021-05-14T08:32:53.411Z] > git remote # timeout=10 [2021-05-14T08:32:53.430Z] > git config --get remote.origin.url # timeout=10 [2021-05-14T08:32:53.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-14T08:32:53.455Z] > git merge 8ab618566fd99c79b3e6b1ee7b4c674816e04a15 # timeout=10 [2021-05-14T08:32:53.482Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-14T08:32:53.502Z] > git config core.sparsecheckout # timeout=10 [2021-05-14T08:32:53.518Z] > git checkout -f 9940ed024721114633362f232cc4094c26ade6f2 # timeout=10 [2021-05-14T08:32:57.695Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2021-05-14T08:32:57.745Z] > git --version # timeout=10 [2021-05-14T08:32:57.767Z] > git --version # 'git version 2.17.1' [2021-05-14T08:32:57.780Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T08:32:59.232Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-14T08:32:59.681Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-14T08:33:00.060Z] + sudo service docker restart [2021-05-14T08:33:00.060Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:33:02.801Z] provisioning config files... [2021-05-14T08:33:02.831Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5702236766108029458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:33:03.263Z] ---> docker-login.sh [2021-05-14T08:33:03.263Z] nexus3.edgexfoundry.org:10001 [2021-05-14T08:33:03.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:04.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:04.467Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:04.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:04.467Z] [2021-05-14T08:33:04.467Z] Login Succeeded [2021-05-14T08:33:04.467Z] nexus3.edgexfoundry.org:10002 [2021-05-14T08:33:04.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:05.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:05.024Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:05.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:05.024Z] [2021-05-14T08:33:05.024Z] Login Succeeded [2021-05-14T08:33:05.024Z] nexus3.edgexfoundry.org:10003 [2021-05-14T08:33:05.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:05.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:05.590Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:05.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:05.590Z] [2021-05-14T08:33:05.590Z] Login Succeeded [2021-05-14T08:33:05.590Z] nexus3.edgexfoundry.org:10004 [2021-05-14T08:33:05.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:06.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:06.142Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:06.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:06.142Z] [2021-05-14T08:33:06.142Z] Login Succeeded [2021-05-14T08:33:06.142Z] docker.io [2021-05-14T08:33:06.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-14T08:33:06.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-14T08:33:06.724Z] Configure a credential helper to remove this warning. See [2021-05-14T08:33:06.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-14T08:33:06.724Z] [2021-05-14T08:33:06.724Z] Login Succeeded [2021-05-14T08:33:06.724Z] ---> docker-login.sh ends [Pipeline] } [2021-05-14T08:33:06.767Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-14T08:33:07.390Z] ========================================================= [2021-05-14T08:33:07.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-14T08:33:07.390Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:07.894Z] + 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-05-14T08:33:07.894Z] Sending build context to Docker daemon 92.16kB [2021-05-14T08:33:08.189Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T08:33:08.189Z] Step 2/10 : FROM ${BASE} [2021-05-14T08:33:08.189Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-14T08:33:08.189Z] 595b0fe564bb: Pulling fs layer [2021-05-14T08:33:08.189Z] 7186ed65a4f7: Pulling fs layer [2021-05-14T08:33:08.189Z] 316046926c0a: Pulling fs layer [2021-05-14T08:33:08.189Z] 4ebd0625c992: Pulling fs layer [2021-05-14T08:33:08.189Z] 207e8628e3a3: Pulling fs layer [2021-05-14T08:33:08.189Z] c791037a9be2: Pulling fs layer [2021-05-14T08:33:08.189Z] ffd874e62e21: Pulling fs layer [2021-05-14T08:33:08.189Z] 207e8628e3a3: Waiting [2021-05-14T08:33:08.189Z] c791037a9be2: Waiting [2021-05-14T08:33:08.189Z] ffd874e62e21: Waiting [2021-05-14T08:33:08.189Z] 4ebd0625c992: Waiting [2021-05-14T08:33:08.189Z] 316046926c0a: Verifying Checksum [2021-05-14T08:33:08.189Z] 316046926c0a: Download complete [2021-05-14T08:33:08.189Z] 7186ed65a4f7: Download complete [2021-05-14T08:33:08.189Z] 207e8628e3a3: Verifying Checksum [2021-05-14T08:33:08.189Z] 207e8628e3a3: Download complete [2021-05-14T08:33:08.462Z] c791037a9be2: Verifying Checksum [2021-05-14T08:33:08.462Z] c791037a9be2: Download complete [2021-05-14T08:33:08.462Z] 595b0fe564bb: Verifying Checksum [2021-05-14T08:33:08.462Z] 595b0fe564bb: Download complete [2021-05-14T08:33:09.070Z] 595b0fe564bb: Pull complete [2021-05-14T08:33:09.681Z] 7186ed65a4f7: Pull complete [2021-05-14T08:33:09.958Z] 316046926c0a: Pull complete [2021-05-14T08:33:10.187Z] Removing intermediate container 939fdd6459a2 [2021-05-14T08:33:10.187Z] ---> 9210767bd8f8 [2021-05-14T08:33:10.187Z] Successfully built 9210767bd8f8 [2021-05-14T08:33:10.187Z] Successfully tagged ci-base-image-x86_64:latest [2021-05-14T08:33:10.231Z] ffd874e62e21: Verifying Checksum [2021-05-14T08:33:10.231Z] ffd874e62e21: Download complete [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:10.589Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T08:33:10.589Z] . [Pipeline] withDockerContainer [2021-05-14T08:33:10.725Z] prd-centos7-docker-4c-2g-93 does not seem to be running inside a container [2021-05-14T08:33:10.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-14T08:33:11.674Z] 4ebd0625c992: Verifying Checksum [2021-05-14T08:33:11.674Z] 4ebd0625c992: Download complete [2021-05-14T08:33:11.715Z] $ docker top e7cc8a988c705c8dd877d43ffd2e812a8d32a0ac16bd6630f2ffd8fa133b9131 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T08:33:12.303Z] + go version [2021-05-14T08:33:12.303Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-14T08:33:12.339Z] $ docker stop --time=1 e7cc8a988c705c8dd877d43ffd2e812a8d32a0ac16bd6630f2ffd8fa133b9131 [2021-05-14T08:33:13.720Z] $ docker rm -f e7cc8a988c705c8dd877d43ffd2e812a8d32a0ac16bd6630f2ffd8fa133b9131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:14.602Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-14T08:33:14.602Z] . [Pipeline] withDockerContainer [2021-05-14T08:33:14.735Z] prd-centos7-docker-4c-2g-93 does not seem to be running inside a container [2021-05-14T08:33:14.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-14T08:33:16.186Z] $ docker top 1ea682c8cd757b2cf68ae43a4e1061ae9fd57bd0201d43b77d078215bb125fa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T08:33:16.674Z] + go mod tidy [Pipeline] sh [2021-05-14T08:33:17.597Z] + make test [2021-05-14T08:33:17.598Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-14T08:33:18.578Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-14T08:33:21.862Z] 4ebd0625c992: Pull complete [2021-05-14T08:33:21.863Z] 207e8628e3a3: Pull complete [2021-05-14T08:33:21.863Z] c791037a9be2: Pull complete [2021-05-14T08:33:25.256Z] ffd874e62e21: Pull complete [2021-05-14T08:33:25.533Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-14T08:33:25.533Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-14T08:33:25.533Z] ---> cfc18b08335c [2021-05-14T08:33:25.533Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T08:33:28.149Z] ---> Running in cd60f55451e6 [2021-05-14T08:33:28.419Z] Removing intermediate container cd60f55451e6 [2021-05-14T08:33:28.419Z] ---> 0f73f48c107c [2021-05-14T08:33:28.419Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T08:33:28.691Z] ---> Running in 701d39364448 [2021-05-14T08:33:28.964Z] Removing intermediate container 701d39364448 [2021-05-14T08:33:28.964Z] ---> 477a7f5799ed [2021-05-14T08:33:28.964Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-14T08:33:29.235Z] ---> Running in 455fa4a4e00b [2021-05-14T08:33:29.509Z] Removing intermediate container 455fa4a4e00b [2021-05-14T08:33:29.509Z] ---> 18c0da49fc73 [2021-05-14T08:33:29.509Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T08:33:29.789Z] ---> Running in 71874f9d3be9 [2021-05-14T08:33:32.420Z] Removing intermediate container 71874f9d3be9 [2021-05-14T08:33:32.420Z] ---> 6103b796c8cf [2021-05-14T08:33:32.420Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T08:33:32.420Z] ---> Running in 22f7e9aa4932 [2021-05-14T08:33:33.406Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T08:33:33.999Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T08:33:34.989Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-14T08:33:34.989Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-14T08:33:34.989Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-14T08:33:35.261Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-14T08:33:35.261Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-14T08:33:35.533Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-14T08:33:35.533Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-14T08:33:36.128Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-14T08:33:36.128Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-14T08:33:36.128Z] Executing busybox-1.32.1-r6.trigger [2021-05-14T08:33:36.128Z] OK: 144 MiB in 49 packages [2021-05-14T08:33:37.565Z] Removing intermediate container 22f7e9aa4932 [2021-05-14T08:33:37.565Z] ---> d19502c0cc73 [2021-05-14T08:33:37.565Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-14T08:33:37.839Z] ---> Running in 37e7e37922d2 [2021-05-14T08:33:38.437Z] Removing intermediate container 37e7e37922d2 [2021-05-14T08:33:38.437Z] ---> 447b609c9170 [2021-05-14T08:33:38.437Z] Step 9/10 : COPY . . [2021-05-14T08:33:39.031Z] ---> a91b9e29ec0c [2021-05-14T08:33:39.031Z] Step 10/10 : RUN go mod download [2021-05-14T08:33:39.309Z] ---> Running in e4da13d4c12a [2021-05-14T08:33:40.809Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-14T08:33:40.809Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 54.0% of statements [2021-05-14T08:33:40.809Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-14T08:33:48.063Z] gofmt -l . [2021-05-14T08:33:48.063Z] [ "`gofmt -l .`" = "" ] [2021-05-14T08:33:48.063Z] ./bin/test-go-mod-tidy.sh [2021-05-14T08:33:48.330Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-14T08:33:49.313Z] $ docker stop --time=1 1ea682c8cd757b2cf68ae43a4e1061ae9fd57bd0201d43b77d078215bb125fa8 [2021-05-14T08:33:51.074Z] $ docker rm -f 1ea682c8cd757b2cf68ae43a4e1061ae9fd57bd0201d43b77d078215bb125fa8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T08:33:51.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T08:33:52.057Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-14T08:33:53.273Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T08:33:53.604Z] + ls -al . [2021-05-14T08:33:53.604Z] total 104 [2021-05-14T08:33:53.604Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 14 08:33 . [2021-05-14T08:33:53.604Z] drwxrwxr-x. 4 jenkins jenkins 28 May 14 08:31 .. [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 14 08:32 Attribution.txt [2021-05-14T08:33:53.604Z] drwxrwxr-x. 2 jenkins jenkins 64 May 14 08:32 bin [2021-05-14T08:33:53.604Z] drwxrwxr-x. 3 jenkins jenkins 32 May 14 08:32 cmd [2021-05-14T08:33:53.604Z] -rw-r--r--. 1 jenkins jenkins 8513 May 14 08:33 coverage.out [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 1602 May 14 08:32 Dockerfile [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 14 08:32 Dockerfile.build [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 151 May 14 08:32 .dockerignore [2021-05-14T08:33:53.604Z] drwxrwxr-x. 2 jenkins jenkins 76 May 14 08:32 driver [2021-05-14T08:33:53.604Z] drwxrwxr-x. 8 jenkins jenkins 179 May 14 08:32 .git [2021-05-14T08:33:53.604Z] drwxrwxr-x. 2 jenkins jenkins 103 May 14 08:32 .github [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 339 May 14 08:32 .gitignore [2021-05-14T08:33:53.604Z] -rw-r--r--. 1 jenkins jenkins 285 May 14 08:33 go.mod [2021-05-14T08:33:53.604Z] -rw-r--r--. 1 jenkins jenkins 21177 May 14 08:33 go.sum [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 680 May 14 08:32 Jenkinsfile [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 14 08:32 LICENSE [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 989 May 14 08:32 Makefile [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 14 08:32 README.md [2021-05-14T08:33:53.604Z] drwxrwxr-x. 4 jenkins jenkins 71 May 14 08:32 snap [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 5 May 14 08:30 VERSION [2021-05-14T08:33:53.604Z] -rw-rw-r--. 1 jenkins jenkins 713 May 14 08:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:33:53.993Z] + 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=9940ed024721114633362f232cc4094c26ade6f2 --label arch=amd64 --label version=0.0.0 . [2021-05-14T08:33:53.993Z] Sending build context to Docker daemon 101.9kB [2021-05-14T08:33:53.993Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T08:33:53.993Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-14T08:33:53.993Z] ---> 9210767bd8f8 [2021-05-14T08:33:53.993Z] Step 3/24 : ARG MAKE='make build' [2021-05-14T08:33:54.259Z] ---> Running in 891a31ea9dbd [2021-05-14T08:33:54.259Z] Removing intermediate container 891a31ea9dbd [2021-05-14T08:33:54.259Z] ---> 66c51662f643 [2021-05-14T08:33:54.259Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T08:33:54.523Z] ---> Running in 22c008d0dc7f [2021-05-14T08:33:54.523Z] Removing intermediate container 22c008d0dc7f [2021-05-14T08:33:54.523Z] ---> 1dd085040b32 [2021-05-14T08:33:54.523Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T08:33:54.523Z] ---> Running in b2d15aeab1b5 [2021-05-14T08:33:54.787Z] Removing intermediate container b2d15aeab1b5 [2021-05-14T08:33:54.787Z] ---> 443aea0e56a4 [2021-05-14T08:33:54.787Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T08:33:54.787Z] ---> Running in f668241bac68 [2021-05-14T08:33:55.745Z] Removing intermediate container f668241bac68 [2021-05-14T08:33:55.745Z] ---> ffd256fe429e [2021-05-14T08:33:55.745Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T08:33:55.745Z] ---> Running in 51430531ef56 [2021-05-14T08:33:56.322Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-14T08:33:56.906Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-14T08:33:57.488Z] OK: 154 MiB in 49 packages [2021-05-14T08:33:58.066Z] Removing intermediate container 51430531ef56 [2021-05-14T08:33:58.066Z] ---> d268275cd9c6 [2021-05-14T08:33:58.066Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-14T08:33:58.066Z] ---> Running in 27dfd043b2b7 [2021-05-14T08:33:58.066Z] Removing intermediate container 27dfd043b2b7 [2021-05-14T08:33:58.066Z] ---> efb17593dc8f [2021-05-14T08:33:58.066Z] Step 9/24 : COPY . . [2021-05-14T08:33:58.331Z] ---> 0f4abc3a224c [2021-05-14T08:33:58.331Z] Step 10/24 : RUN make update [2021-05-14T08:33:58.601Z] ---> Running in c81596c7d92c [2021-05-14T08:33:59.177Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-14T08:33:59.757Z] Removing intermediate container c81596c7d92c [2021-05-14T08:33:59.757Z] ---> 5d420e8fb16b [2021-05-14T08:33:59.757Z] Step 11/24 : RUN $MAKE [2021-05-14T08:33:59.757Z] ---> Running in bd6428f2d48e [2021-05-14T08:34:00.022Z] go mod tidy [2021-05-14T08:34:00.286Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-14T08:34:06.127Z] Removing intermediate container e4da13d4c12a [2021-05-14T08:34:06.127Z] ---> 93dadd3401cb [2021-05-14T08:34:06.127Z] Successfully built 93dadd3401cb [2021-05-14T08:34:06.127Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:06.507Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T08:34:06.507Z] . [Pipeline] withDockerContainer [2021-05-14T08:34:06.798Z] prd-ubuntu18.04-docker-arm64-4c-16g-95 does not seem to be running inside a container [2021-05-14T08:34:06.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T08:34:08.473Z] $ docker top 2c9b47c510e83d19c187c09b7e9b41e0a1aa755554139e790eb9acc8a2421ad8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T08:34:09.531Z] + go version [2021-05-14T08:34:09.531Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-14T08:34:09.574Z] $ docker stop --time=1 2c9b47c510e83d19c187c09b7e9b41e0a1aa755554139e790eb9acc8a2421ad8 [2021-05-14T08:34:11.542Z] $ docker rm -f 2c9b47c510e83d19c187c09b7e9b41e0a1aa755554139e790eb9acc8a2421ad8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:34:12.590Z] + docker inspect -f . ci-base-image-arm64 [2021-05-14T08:34:12.590Z] . [Pipeline] withDockerContainer [2021-05-14T08:34:12.892Z] prd-ubuntu18.04-docker-arm64-4c-16g-95 does not seem to be running inside a container [2021-05-14T08:34:12.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-14T08:34:14.542Z] $ docker top 981be52f1850e2e4e720c9a7cc320d747a0e4e1dbf444e187816e4cf8bd37bee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T08:34:15.391Z] Removing intermediate container bd6428f2d48e [2021-05-14T08:34:15.391Z] ---> 5996c73fd3fa [2021-05-14T08:34:15.391Z] Step 12/24 : FROM alpine:3.12 [2021-05-14T08:34:15.391Z] 3.12: Pulling from library/alpine [2021-05-14T08:34:15.391Z] 339de151aab4: Pulling fs layer [2021-05-14T08:34:15.391Z] 339de151aab4: Verifying Checksum [2021-05-14T08:34:15.391Z] 339de151aab4: Download complete [2021-05-14T08:34:15.391Z] 339de151aab4: Pull complete [2021-05-14T08:34:15.391Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T08:34:15.391Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T08:34:15.391Z] ---> 13621d1b12d4 [2021-05-14T08:34:15.391Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-14T08:34:15.556Z] + go mod tidy [2021-05-14T08:34:15.654Z] ---> Running in 1ae2b2d4670c [2021-05-14T08:34:15.918Z] Removing intermediate container 1ae2b2d4670c [2021-05-14T08:34:15.918Z] ---> 0fd6dcd14a9c [2021-05-14T08:34:15.918Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-14T08:34:15.918Z] ---> Running in ed7095ad2531 [2021-05-14T08:34:16.184Z] Removing intermediate container ed7095ad2531 [2021-05-14T08:34:16.185Z] ---> d6ff9db9b905 [2021-05-14T08:34:16.185Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-14T08:34:16.185Z] ---> Running in 7b3ea5fee689 [Pipeline] sh [2021-05-14T08:34:16.449Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-14T08:34:16.713Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-14T08:34:16.713Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-14T08:34:16.713Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-14T08:34:16.713Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-14T08:34:16.713Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-14T08:34:16.849Z] + make test [2021-05-14T08:34:16.849Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-14T08:34:16.977Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-14T08:34:16.977Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-14T08:34:16.977Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T08:34:16.977Z] OK: 8 MiB in 20 packages [2021-05-14T08:34:17.240Z] Removing intermediate container 7b3ea5fee689 [2021-05-14T08:34:17.506Z] ---> 9d59cd3ecc84 [2021-05-14T08:34:17.506Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-14T08:34:18.080Z] ---> 93030703ab90 [2021-05-14T08:34:18.080Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-14T08:34:18.080Z] ---> 8257795e8212 [2021-05-14T08:34:18.080Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-14T08:34:18.303Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-14T08:34:18.345Z] ---> e58b00e88671 [2021-05-14T08:34:18.345Z] Step 19/24 : EXPOSE 49986 [2021-05-14T08:34:18.615Z] ---> Running in ecc13c526d21 [2021-05-14T08:34:18.615Z] Removing intermediate container ecc13c526d21 [2021-05-14T08:34:18.615Z] ---> 4bb32e941990 [2021-05-14T08:34:18.615Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-14T08:34:18.615Z] ---> Running in 0869d97597d2 [2021-05-14T08:34:18.890Z] Removing intermediate container 0869d97597d2 [2021-05-14T08:34:18.890Z] ---> 8fe587b9cb7e [2021-05-14T08:34:18.890Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-14T08:34:18.890Z] ---> Running in 1cfcd730c08e [2021-05-14T08:34:19.173Z] Removing intermediate container 1cfcd730c08e [2021-05-14T08:34:19.173Z] ---> 0094534cbc2c [2021-05-14T08:34:19.173Z] Step 22/24 : LABEL arch=amd64 [2021-05-14T08:34:19.173Z] ---> Running in e7fc5c70fa4c [2021-05-14T08:34:19.436Z] Removing intermediate container e7fc5c70fa4c [2021-05-14T08:34:19.436Z] ---> 79fffb30e9f6 [2021-05-14T08:34:19.436Z] Step 23/24 : LABEL git_sha=9940ed024721114633362f232cc4094c26ade6f2 [2021-05-14T08:34:19.436Z] ---> Running in 2dfc1d6b984d [2021-05-14T08:34:19.703Z] Removing intermediate container 2dfc1d6b984d [2021-05-14T08:34:19.703Z] ---> 73d9e817e096 [2021-05-14T08:34:19.703Z] Step 24/24 : LABEL version=0.0.0 [2021-05-14T08:34:19.703Z] ---> Running in 9e733597b2bb [2021-05-14T08:34:19.703Z] Removing intermediate container 9e733597b2bb [2021-05-14T08:34:19.703Z] ---> e244601870f9 [2021-05-14T08:34:19.703Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-14T08:34:19.703Z] Successfully built e244601870f9 [2021-05-14T08:34:19.703Z] 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-05-14T08:34:20.728Z] ---> job-cost.sh [2021-05-14T08:34:20.728Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-mBsG [2021-05-14T08:34:35.682Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T08:35:02.366Z] lf-activate-venv(): INFO: Adding /tmp/venv-mBsG/bin to PATH [2021-05-14T08:35:02.366Z] INFO: No Stack... [2021-05-14T08:35:02.366Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T08:35:02.635Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T08:35:02.972Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-14T08:35:02.972Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T08:35:03.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-99-1-stack-cost] [2021-05-14T08:35:03.055Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-99-1-stack-cost] did not exist. Created. [2021-05-14T08:35:03.055Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T08:35:03.484Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-14T08:35:03.636Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T08:35:03.658Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-14T08:35:14.973Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-14T08:35:14.973Z] ok github.com/edgexfoundry/device-rest-go/driver 0.045s coverage: 54.0% of statements [2021-05-14T08:35:14.973Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-14T08:35:37.219Z] gofmt -l . [2021-05-14T08:35:37.219Z] [ "`gofmt -l .`" = "" ] [2021-05-14T08:35:37.219Z] ./bin/test-go-mod-tidy.sh [2021-05-14T08:35:37.219Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-14T08:35:38.236Z] $ docker stop --time=1 981be52f1850e2e4e720c9a7cc320d747a0e4e1dbf444e187816e4cf8bd37bee [2021-05-14T08:35:40.402Z] $ docker rm -f 981be52f1850e2e4e720c9a7cc320d747a0e4e1dbf444e187816e4cf8bd37bee [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-14T08:35:41.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-14T08:35:41.368Z] Warning: overwriting stash ‘coverage-report’ [2021-05-14T08:35:41.883Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-14T08:35:42.613Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-14T08:35:42.978Z] + ls -al . [2021-05-14T08:35:42.978Z] total 132 [2021-05-14T08:35:42.978Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 08:35 . [2021-05-14T08:35:42.978Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 08:32 .. [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 151 May 14 08:32 .dockerignore [2021-05-14T08:35:42.978Z] drwxrwxr-x 8 jenkins jenkins 4096 May 14 08:32 .git [2021-05-14T08:35:42.978Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:32 .github [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 339 May 14 08:32 .gitignore [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 14 08:32 Attribution.txt [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 1602 May 14 08:32 Dockerfile [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 14 08:32 Dockerfile.build [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 680 May 14 08:32 Jenkinsfile [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 14 08:32 LICENSE [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 989 May 14 08:32 Makefile [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 14 08:32 README.md [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 5 May 14 08:30 VERSION [2021-05-14T08:35:42.978Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:32 bin [2021-05-14T08:35:42.978Z] drwxrwxr-x 3 jenkins jenkins 4096 May 14 08:32 cmd [2021-05-14T08:35:42.978Z] -rw-r--r-- 1 jenkins jenkins 8513 May 14 08:35 coverage.out [2021-05-14T08:35:42.978Z] drwxrwxr-x 2 jenkins jenkins 4096 May 14 08:32 driver [2021-05-14T08:35:42.978Z] -rw-r--r-- 1 jenkins jenkins 285 May 14 08:35 go.mod [2021-05-14T08:35:42.978Z] -rw-r--r-- 1 jenkins jenkins 21177 May 14 08:34 go.sum [2021-05-14T08:35:42.978Z] drwxrwxr-x 4 jenkins jenkins 4096 May 14 08:32 snap [2021-05-14T08:35:42.978Z] -rw-rw-r-- 1 jenkins jenkins 713 May 14 08:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:35:43.366Z] + 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=9940ed024721114633362f232cc4094c26ade6f2 --label arch=arm64 --label version=0.0.0 . [2021-05-14T08:35:43.367Z] Sending build context to Docker daemon 101.9kB [2021-05-14T08:35:43.642Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.12 [2021-05-14T08:35:43.642Z] Step 2/24 : FROM ${BASE} AS builder [2021-05-14T08:35:43.642Z] ---> 93dadd3401cb [2021-05-14T08:35:43.642Z] Step 3/24 : ARG MAKE='make build' [2021-05-14T08:35:43.913Z] ---> Running in 05abad0da407 [2021-05-14T08:35:44.184Z] Removing intermediate container 05abad0da407 [2021-05-14T08:35:44.184Z] ---> 9a5f977c51a4 [2021-05-14T08:35:44.184Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-14T08:35:44.454Z] ---> Running in dc7cc3fa9ef6 [2021-05-14T08:35:44.724Z] Removing intermediate container dc7cc3fa9ef6 [2021-05-14T08:35:44.724Z] ---> 7c5a6f27e66b [2021-05-14T08:35:44.724Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-05-14T08:35:44.997Z] ---> Running in e2190bcfb1ba [2021-05-14T08:35:45.269Z] Removing intermediate container e2190bcfb1ba [2021-05-14T08:35:45.269Z] ---> 81418a4ba0a7 [2021-05-14T08:35:45.269Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-14T08:35:45.542Z] ---> Running in 5f0ad15a0b0d [2021-05-14T08:35:47.518Z] Removing intermediate container 5f0ad15a0b0d [2021-05-14T08:35:47.518Z] ---> 0fd77a2ef932 [2021-05-14T08:35:47.518Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-14T08:35:47.518Z] ---> Running in b9d467ea2b97 [2021-05-14T08:35:48.497Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-14T08:35:49.469Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-14T08:35:50.063Z] OK: 144 MiB in 49 packages [2021-05-14T08:35:51.498Z] Removing intermediate container b9d467ea2b97 [2021-05-14T08:35:51.499Z] ---> 9bae3906e25a [2021-05-14T08:35:51.499Z] Step 8/24 : WORKDIR /device-rest-go [2021-05-14T08:35:51.499Z] ---> Running in e64d9d1c2c0b [2021-05-14T08:35:51.773Z] Removing intermediate container e64d9d1c2c0b [2021-05-14T08:35:51.773Z] ---> ec31989df071 [2021-05-14T08:35:51.773Z] Step 9/24 : COPY . . [2021-05-14T08:35:52.365Z] ---> 3b6d546ec95a [2021-05-14T08:35:52.365Z] Step 10/24 : RUN make update [2021-05-14T08:35:52.636Z] ---> Running in 6e218c524ae3 [2021-05-14T08:35:53.614Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-14T08:35:54.597Z] Removing intermediate container 6e218c524ae3 [2021-05-14T08:35:54.597Z] ---> 905b83ac5221 [2021-05-14T08:35:54.597Z] Step 11/24 : RUN $MAKE [2021-05-14T08:35:54.875Z] ---> Running in 6171900047be [2021-05-14T08:35:55.859Z] go mod tidy [2021-05-14T08:35:56.459Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd [2021-05-14T08:36:35.488Z] Removing intermediate container 6171900047be [2021-05-14T08:36:35.488Z] ---> faa22855c439 [2021-05-14T08:36:35.488Z] Step 12/24 : FROM alpine:3.12 [2021-05-14T08:36:35.488Z] 3.12: Pulling from library/alpine [2021-05-14T08:36:35.488Z] d2f70382dc9a: Pulling fs layer [2021-05-14T08:36:35.488Z] d2f70382dc9a: Verifying Checksum [2021-05-14T08:36:35.488Z] d2f70382dc9a: Download complete [2021-05-14T08:36:35.488Z] d2f70382dc9a: Pull complete [2021-05-14T08:36:35.488Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-14T08:36:35.488Z] Status: Downloaded newer image for alpine:3.12 [2021-05-14T08:36:35.488Z] ---> 9852663dfa18 [2021-05-14T08:36:35.488Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-14T08:36:35.488Z] ---> Running in 41febd6bed6f [2021-05-14T08:36:35.488Z] Removing intermediate container 41febd6bed6f [2021-05-14T08:36:35.488Z] ---> 1120f9c04413 [2021-05-14T08:36:35.488Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-14T08:36:35.488Z] ---> Running in 75c92b10556e [2021-05-14T08:36:35.488Z] Removing intermediate container 75c92b10556e [2021-05-14T08:36:35.488Z] ---> 1903ae7749b2 [2021-05-14T08:36:35.488Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-14T08:36:35.488Z] ---> Running in 213f61799eb4 [2021-05-14T08:36:35.488Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-14T08:36:35.488Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-14T08:36:35.488Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-14T08:36:35.488Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-14T08:36:35.488Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-14T08:36:35.488Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-14T08:36:35.488Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-14T08:36:35.488Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-14T08:36:35.488Z] Executing busybox-1.31.1-r20.trigger [2021-05-14T08:36:35.488Z] OK: 8 MiB in 20 packages [2021-05-14T08:36:36.937Z] Removing intermediate container 213f61799eb4 [2021-05-14T08:36:36.937Z] ---> 52ac031a9269 [2021-05-14T08:36:36.937Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-05-14T08:36:37.915Z] ---> 385f0e1fa2f3 [2021-05-14T08:36:37.915Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-14T08:36:38.512Z] ---> 1136d2392e7b [2021-05-14T08:36:38.512Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-14T08:36:39.493Z] ---> 8130886ac54e [2021-05-14T08:36:39.493Z] Step 19/24 : EXPOSE 49986 [2021-05-14T08:36:39.493Z] ---> Running in 3a29cbc0764a [2021-05-14T08:36:40.088Z] Removing intermediate container 3a29cbc0764a [2021-05-14T08:36:40.088Z] ---> b53ab3fcecda [2021-05-14T08:36:40.088Z] Step 20/24 : ENTRYPOINT ["/device-rest-go"] [2021-05-14T08:36:40.088Z] ---> Running in ee4ad016eba3 [2021-05-14T08:36:40.684Z] Removing intermediate container ee4ad016eba3 [2021-05-14T08:36:40.684Z] ---> b17785bb9401 [2021-05-14T08:36:40.684Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-14T08:36:40.684Z] ---> Running in 57e4e9ad6979 [2021-05-14T08:36:40.975Z] Removing intermediate container 57e4e9ad6979 [2021-05-14T08:36:40.975Z] ---> 11c25f858f73 [2021-05-14T08:36:40.975Z] Step 22/24 : LABEL arch=arm64 [2021-05-14T08:36:41.250Z] ---> Running in cf55fab7b615 [2021-05-14T08:36:41.846Z] Removing intermediate container cf55fab7b615 [2021-05-14T08:36:41.846Z] ---> 38e1b60b02aa [2021-05-14T08:36:41.846Z] Step 23/24 : LABEL git_sha=9940ed024721114633362f232cc4094c26ade6f2 [2021-05-14T08:36:41.846Z] ---> Running in 5819fd019b75 [2021-05-14T08:36:42.453Z] Removing intermediate container 5819fd019b75 [2021-05-14T08:36:42.453Z] ---> 19092f1662ee [2021-05-14T08:36:42.453Z] Step 24/24 : LABEL version=0.0.0 [2021-05-14T08:36:42.453Z] ---> Running in e38cea3a5747 [2021-05-14T08:36:43.053Z] Removing intermediate container e38cea3a5747 [2021-05-14T08:36:43.053Z] ---> 1110a6c909e8 [2021-05-14T08:36:43.053Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-14T08:36:43.053Z] Successfully built 1110a6c909e8 [2021-05-14T08:36:43.053Z] 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-05-14T08:36:43.897Z] ---> job-cost.sh [2021-05-14T08:36:43.897Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8J4r [2021-05-14T08:37:22.869Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-14T08:38:44.622Z] lf-activate-venv(): INFO: Adding /tmp/venv-8J4r/bin to PATH [2021-05-14T08:38:44.622Z] INFO: No Stack... [2021-05-14T08:38:44.622Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-14T08:38:44.622Z] INFO: Archiving Costs [Pipeline] sh [2021-05-14T08:38:44.996Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-14T08:38:44.996Z] + cut -d, -f6 [Pipeline] lock [2021-05-14T08:38:45.098Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-99-1-stack-cost] [2021-05-14T08:38:45.105Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-99-1-stack-cost] did not exist. Created. [2021-05-14T08:38:45.105Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-14T08:38:45.552Z] /w/workspace/device-rest-go/1@tmp/durable-6b6b8cb7/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-6b6b8cb7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-14T08:38:45.924Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-14T08:38:45.966Z] Warning: overwriting stash ‘stack-cost’ [2021-05-14T08:38:46.128Z] Stashed 1 file(s) [Pipeline] } [2021-05-14T08:38:46.155Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-05-14T08:38:47.229Z] provisioning config files... [2021-05-14T08:38:47.245Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-99@tmp/config344651260171232121tmp [Pipeline] { [Pipeline] sh [2021-05-14T08:38:47.609Z] + set +x [2021-05-14T08:38:47.609Z] + curl -s https://codecov.io/bash [2021-05-14T08:38:47.609Z] + bash -s -- [2021-05-14T08:38:47.875Z] [2021-05-14T08:38:47.875Z] _____ _ [2021-05-14T08:38:47.875Z] / ____| | | [2021-05-14T08:38:47.875Z] | | ___ __| | ___ ___ _____ __ [2021-05-14T08:38:47.875Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-14T08:38:47.875Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-14T08:38:47.875Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-14T08:38:47.875Z] Bash-1.0.2 [2021-05-14T08:38:47.875Z] [2021-05-14T08:38:47.875Z] [2021-05-14T08:38:47.875Z] ==> git version 2.24.3 found [2021-05-14T08:38:47.875Z] ==> 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-05-14T08:38:47.875Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-14T08:38:47.875Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-14T08:38:47.875Z] ==> Jenkins CI detected. [2021-05-14T08:38:47.875Z] project root: . [2021-05-14T08:38:47.875Z] --> token set from env [2021-05-14T08:38:47.875Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-14T08:38:47.875Z] ==> Running gcov in . (disable via -X gcov) [2021-05-14T08:38:47.875Z] ==> Python coveragepy not found [2021-05-14T08:38:47.875Z] ==> Searching for coverage reports in: [2021-05-14T08:38:47.875Z] + . [2021-05-14T08:38:47.875Z] -> Found 1 reports [2021-05-14T08:38:47.876Z] ==> Detecting git/mercurial file structure [2021-05-14T08:38:47.876Z] ==> Reading reports [2021-05-14T08:38:47.876Z] + ./coverage.out bytes=8513 [2021-05-14T08:38:47.876Z] ==> Appending adjustments [2021-05-14T08:38:47.876Z] https://docs.codecov.io/docs/fixing-reports [2021-05-14T08:38:47.876Z] + Found adjustments [2021-05-14T08:38:47.876Z] ==> Gzipping contents [2021-05-14T08:38:47.876Z] 4.0K /tmp/codecov.7A1r1q.gz [2021-05-14T08:38:47.876Z] ==> Uploading reports [2021-05-14T08:38:47.876Z] url: https://codecov.io [2021-05-14T08:38:47.876Z] query: branch=PR-99&commit=9940ed024721114633362f232cc4094c26ade6f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=99&job=&cmd_args= [2021-05-14T08:38:47.876Z] -> Pinging Codecov [2021-05-14T08:38:47.876Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-99&commit=9940ed024721114633362f232cc4094c26ade6f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=99&job=&cmd_args= [2021-05-14T08:38:48.453Z] -> Uploading to [2021-05-14T08:38:48.453Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-14/4E5D53B4F1F92C436F7061BF334D961C/9940ed024721114633362f232cc4094c26ade6f2/5ea0305b-1667-4caf-88eb-efd9a58e7069.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210514%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210514T083848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=15f16908a66ff413472068700975c9f097907ec726e512d6ea791d7857f3b13d [2021-05-14T08:38:48.453Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-14T08:38:48.453Z] Dload Upload Total Spent Left Speed [2021-05-14T08:38:48.985Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1622 0 0 100 1622 0 4153 --:--:-- --:--:-- --:--:-- 4148 [2021-05-14T08:38:48.985Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9940ed024721114633362f232cc4094c26ade6f2 [Pipeline] } [2021-05-14T08:38:49.011Z] 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-05-14T08:38:51.576Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:38:52.191Z] ---> package-listing.sh [2021-05-14T08:38:52.191Z] ++ facter osfamily [2021-05-14T08:38:52.191Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-14T08:38:52.191Z] + OS_FAMILY=redhat [2021-05-14T08:38:52.191Z] + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-99 [2021-05-14T08:38:52.191Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-14T08:38:52.191Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-14T08:38:52.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-14T08:38:52.191Z] + PACKAGES=/tmp/packages_start.txt [2021-05-14T08:38:52.191Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-99 ']' [2021-05-14T08:38:52.191Z] + PACKAGES=/tmp/packages_end.txt [2021-05-14T08:38:52.191Z] + case "${OS_FAMILY}" in [2021-05-14T08:38:52.191Z] + rpm -qa [2021-05-14T08:38:52.191Z] + sort [2021-05-14T08:38:57.598Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-14T08:38:57.598Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-14T08:38:57.598Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-14T08:38:57.598Z] + '[' /w/workspace/dgexfoundry_device-rest-go_PR-99 ']' [2021-05-14T08:38:57.598Z] + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-99/archives/ [2021-05-14T08:38:57.598Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-99/archives/ [Pipeline] echo [2021-05-14T08:38:57.634Z] 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/dgexfoundry_device-rest-go_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-14T08:38:57.951Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:38:58.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T08:38:58.298Z] [2021-05-14T08:38:58.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-14T08:38:58.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T08:38:58.672Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-14T08:38:58.672Z] df20fa9351a1: Pulling fs layer [2021-05-14T08:38:58.672Z] 36b3adc4ff6f: Pulling fs layer [2021-05-14T08:38:58.672Z] 8ad3a11d3b57: Pulling fs layer [2021-05-14T08:38:58.672Z] 46f8f816bc3b: Pulling fs layer [2021-05-14T08:38:58.672Z] 93b61091891f: Pulling fs layer [2021-05-14T08:38:58.672Z] 93b9cdb0e59b: Pulling fs layer [2021-05-14T08:38:58.672Z] 5e14af77c1be: Pulling fs layer [2021-05-14T08:38:58.672Z] 01666e4c0597: Pulling fs layer [2021-05-14T08:38:58.672Z] aa168da1d23b: Pulling fs layer [2021-05-14T08:38:58.672Z] 46f8f816bc3b: Waiting [2021-05-14T08:38:58.672Z] 93b61091891f: Waiting [2021-05-14T08:38:58.672Z] 93b9cdb0e59b: Waiting [2021-05-14T08:38:58.672Z] 5e14af77c1be: Waiting [2021-05-14T08:38:58.672Z] 01666e4c0597: Waiting [2021-05-14T08:38:58.672Z] aa168da1d23b: Waiting [2021-05-14T08:38:58.672Z] 36b3adc4ff6f: Verifying Checksum [2021-05-14T08:38:58.672Z] 36b3adc4ff6f: Download complete [2021-05-14T08:38:58.672Z] 46f8f816bc3b: Verifying Checksum [2021-05-14T08:38:58.672Z] 46f8f816bc3b: Download complete [2021-05-14T08:38:58.672Z] df20fa9351a1: Verifying Checksum [2021-05-14T08:38:58.672Z] df20fa9351a1: Download complete [2021-05-14T08:38:58.943Z] 93b9cdb0e59b: Verifying Checksum [2021-05-14T08:38:58.943Z] 93b9cdb0e59b: Download complete [2021-05-14T08:38:58.943Z] 5e14af77c1be: Verifying Checksum [2021-05-14T08:38:58.943Z] 5e14af77c1be: Download complete [2021-05-14T08:38:58.943Z] 01666e4c0597: Verifying Checksum [2021-05-14T08:38:58.943Z] 01666e4c0597: Download complete [2021-05-14T08:38:58.943Z] 93b61091891f: Verifying Checksum [2021-05-14T08:38:58.943Z] 93b61091891f: Download complete [2021-05-14T08:38:58.943Z] 8ad3a11d3b57: Verifying Checksum [2021-05-14T08:38:58.943Z] 8ad3a11d3b57: Download complete [2021-05-14T08:38:59.212Z] df20fa9351a1: Pull complete [2021-05-14T08:38:59.480Z] 36b3adc4ff6f: Pull complete [2021-05-14T08:39:00.438Z] 8ad3a11d3b57: Pull complete [2021-05-14T08:39:00.702Z] 46f8f816bc3b: Pull complete [2021-05-14T08:39:00.964Z] aa168da1d23b: Verifying Checksum [2021-05-14T08:39:00.965Z] aa168da1d23b: Download complete [2021-05-14T08:39:00.965Z] 93b61091891f: Pull complete [2021-05-14T08:39:01.236Z] 93b9cdb0e59b: Pull complete [2021-05-14T08:39:01.236Z] 5e14af77c1be: Pull complete [2021-05-14T08:39:01.509Z] 01666e4c0597: Pull complete [2021-05-14T08:39:09.713Z] aa168da1d23b: Pull complete [2021-05-14T08:39:09.713Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-14T08:39:09.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-14T08:39:09.713Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-14T08:39:09.974Z] prd-centos7-docker-4c-2g-86 does not seem to be running inside a container [2021-05-14T08:39:10.023Z] $ 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/dgexfoundry_device-rest-go_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-99 -v /w/workspace/dgexfoundry_device-rest-go_PR-99:/w/workspace/dgexfoundry_device-rest-go_PR-99:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-99@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-99@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-14T08:39:13.462Z] $ docker top 91530106707ecccd56edda96afcb2a6f548e643817d38611d316a9ecc216de90 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-14T08:39:13.929Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-14T08:39:14.259Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-14T08:39:14.592Z] + ls /var/log/sa-host [2021-05-14T08:39:14.592Z] + sadf -c /var/log/sa-host/sa14 [2021-05-14T08:39:14.592Z] file_magic: OK [2021-05-14T08:39:14.592Z] HZ: Using current value: 100 [2021-05-14T08:39:14.592Z] file_header: OK [2021-05-14T08:39:14.592Z] 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-05-14T08:39:14.592Z] Statistics: [2021-05-14T08:39:14.592Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-14T08:39:14.592Z] File successfully converted to sysstat format version 12.2.1 [2021-05-14T08:39:14.592Z] + sadf -c /var/log/sa-host/sa23 [2021-05-14T08:39:14.592Z] file_magic: OK [2021-05-14T08:39:14.592Z] HZ: Using current value: 100 [2021-05-14T08:39:14.592Z] file_header: OK [2021-05-14T08:39:14.592Z] 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-05-14T08:39:14.592Z] Statistics: [2021-05-14T08:39:14.592Z] Hnuu...uuuununununu... [2021-05-14T08:39:14.592Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-14T08:39:14.943Z] provisioning config files... [2021-05-14T08:39:14.961Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-99@tmp/config8485323374752885577tmp [Pipeline] { [Pipeline] echo [2021-05-14T08:39:15.019Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:15.365Z] ---> create-netrc.sh [Pipeline] } [2021-05-14T08:39:15.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-14T08:39:15.484Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:15.867Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-14T08:39:15.903Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:16.248Z] ---> sudo-logs.sh [2021-05-14T08:39:16.248Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-14T08:39:16.335Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:16.676Z] ---> job-cost.sh [2021-05-14T08:39:16.676Z] lf-activate-venv: SKIPPING [2021-05-14T08:39:16.676Z] DEBUG: total: 0.20999999344348907 [2021-05-14T08:39:16.676Z] INFO: Retrieving Stack Cost... [2021-05-14T08:39:18.082Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-14T08:39:18.352Z] INFO: Archiving Costs [Pipeline] echo [2021-05-14T08:39:18.414Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-14T08:39:18.777Z] ---> logs-deploy.sh [2021-05-14T08:39:18.777Z] lf-activate-venv: SKIPPING [2021-05-14T08:39:18.777Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-99/1 [2021-05-14T08:39:18.777Z] INFO: archiving workspace using pattern(s): [2021-05-14T08:39:20.703Z] Archives upload complete. [2021-05-14T08:39:20.703Z] INFO: archiving logs to Nexus