Pull request #107 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 7571376e3c0fcccc5a1331ce4af21bae867e25d6+03359c08c1b66a89f278bd3fc862a1cc531bead5 (33db67f8f0481c9c714ff9abe9b99cb28d2c885b) 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-ssh2032091191523145550.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-ssh7672481420959151628.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-107/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-107/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3257993384632451343.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-107/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2335949837551701909.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-ssh5440414249556997311.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-107/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-107/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh746111042002551879.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 ‘prd-centos7-blackbox-4c-2g-15642’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-builder-2c-1g-229’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-165’ is offline ‘prd-centos7-docker-4c-2g-167’ is offline ‘prd-centos7-docker-4c-2g-172’ is offline ‘prd-centos7-docker-4c-2g-236’ is offline ‘prd-centos7-docker-4c-2g-309’ is offline ‘prd-ubuntu18.04-docker-8c-8g-230’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-175’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-176’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-177’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-238 in /w/workspace/gexfoundry_device-rest-go_PR-107 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-107 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-107@tmp/jenkins-gitclient-ssh5932863731525958278.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-107@tmp/jenkins-gitclient-ssh2266122122890788642.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit 7571376e3c0fcccc5a1331ce4af21bae867e25d6 Merge succeeded, producing 7571376e3c0fcccc5a1331ce4af21bae867e25d6 Checking out Revision 7571376e3c0fcccc5a1331ce4af21bae867e25d6 (PR-107) > git config core.sparsecheckout # timeout=10 > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-107@tmp/jenkins-gitclient-ssh5427212105045220133.key > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 Commit message: "refactor: Update configuration for change to common ServiceInfo struct Moved non-common settings under [Device] section" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-25T17:27:17.995Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-25T17:27:18.200Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-25T17:27:18.315Z] ========================================================= [2021-05-25T17:27:18.315Z] EdgeX Global Pipelines Version Info [2021-05-25T17:27:18.315Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:27:19.859Z] ------------------- [2021-05-25T17:27:19.859Z] stable info: [2021-05-25T17:27:19.859Z] ------------------- [2021-05-25T17:27:19.859Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-25T17:27:19.859Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T17:27:19.859Z] Message: update stable to v1.0.192 [2021-05-25T17:27:20.434Z] ------------------- [2021-05-25T17:27:20.434Z] experimental info: [2021-05-25T17:27:20.434Z] ------------------- [2021-05-25T17:27:20.434Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-25T17:27:20.434Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-25T17:27:20.434Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-25T17:27:20.657Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-05-25T17:27:20.716Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-05-25T17:27:20.775Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-25T17:27:20.830Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-25T17:27:20.890Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-25T17:27:20.956Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-25T17:27:21.021Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-25T17:27:21.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-25T17:27:21.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-25T17:27:21.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-25T17:27:21.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-25T17:27:21.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-05-25T17:27:21.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-25T17:27:21.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-25T17:27:21.562Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T17:27:21.644Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-25T17:27:21.699Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T17:27:21.774Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-25T17:27:21.835Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-25T17:27:21.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-25T17:27:21.955Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-25T17:27:22.028Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-25T17:27:22.090Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-25T17:27:22.146Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-25T17:27:22.203Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-25T17:27:22.260Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-25T17:27:22.317Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-107 [Pipeline] echo [2021-05-25T17:27:22.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-107 [Pipeline] echo [2021-05-25T17:27:22.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-107 [Pipeline] echo [2021-05-25T17:27:22.508Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7571376e3c0fcccc5a1331ce4af21bae867e25d6 [Pipeline] echo [2021-05-25T17:27:22.569Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7571376 [Pipeline] echo [2021-05-25T17:27:22.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T17:27:22.844Z] provisioning config files... [2021-05-25T17:27:22.861Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-107@tmp/config4773497434391076936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:27:23.231Z] ---> docker-login.sh [2021-05-25T17:27:23.231Z] nexus3.edgexfoundry.org:10001 [2021-05-25T17:27:23.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:27:23.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:27:23.500Z] Configure a credential helper to remove this warning. See [2021-05-25T17:27:23.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:27:23.500Z] [2021-05-25T17:27:23.500Z] Login Succeeded [2021-05-25T17:27:23.500Z] nexus3.edgexfoundry.org:10002 [2021-05-25T17:27:23.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:27:23.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:27:23.767Z] Configure a credential helper to remove this warning. See [2021-05-25T17:27:23.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:27:23.767Z] [2021-05-25T17:27:23.767Z] Login Succeeded [2021-05-25T17:27:23.767Z] nexus3.edgexfoundry.org:10003 [2021-05-25T17:27:23.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:27:23.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:27:23.767Z] Configure a credential helper to remove this warning. See [2021-05-25T17:27:23.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:27:23.767Z] [2021-05-25T17:27:23.767Z] Login Succeeded [2021-05-25T17:27:23.767Z] nexus3.edgexfoundry.org:10004 [2021-05-25T17:27:24.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:27:24.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:27:24.032Z] Configure a credential helper to remove this warning. See [2021-05-25T17:27:24.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:27:24.032Z] [2021-05-25T17:27:24.033Z] Login Succeeded [2021-05-25T17:27:24.033Z] docker.io [2021-05-25T17:27:24.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:27:24.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:27:24.296Z] Configure a credential helper to remove this warning. See [2021-05-25T17:27:24.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:27:24.296Z] [2021-05-25T17:27:24.296Z] Login Succeeded [2021-05-25T17:27:24.296Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T17:27:24.329Z] 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-25T17:27:25.055Z] + git log --format=format:%s -1 7571376e3c0fcccc5a1331ce4af21bae867e25d6 [Pipeline] echo [2021-05-25T17:27:25.125Z] GIT_COMMIT: 7571376e3c0fcccc5a1331ce4af21bae867e25d6, Commit Message: refactor: Update configuration for change to common ServiceInfo struct Moved non-common settings under [Device] section [Pipeline] echo [2021-05-25T17:27:25.162Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:27:25.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T17:27:25.774Z] [2021-05-25T17:27:25.774Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:27:26.135Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T17:27:26.135Z] latest: Pulling from edgex-devops/git-semver [2021-05-25T17:27:26.135Z] 31603596830f: Pulling fs layer [2021-05-25T17:27:26.135Z] 54011a49482f: Pulling fs layer [2021-05-25T17:27:26.135Z] a6820b24f6d8: Pulling fs layer [2021-05-25T17:27:26.135Z] f581987b2513: Pulling fs layer [2021-05-25T17:27:26.135Z] f581987b2513: Waiting [2021-05-25T17:27:26.135Z] 54011a49482f: Download complete [2021-05-25T17:27:26.135Z] 31603596830f: Verifying Checksum [2021-05-25T17:27:26.135Z] 31603596830f: Download complete [2021-05-25T17:27:26.413Z] f581987b2513: Verifying Checksum [2021-05-25T17:27:26.413Z] f581987b2513: Download complete [2021-05-25T17:27:26.413Z] 31603596830f: Pull complete [2021-05-25T17:27:26.413Z] a6820b24f6d8: Verifying Checksum [2021-05-25T17:27:26.413Z] a6820b24f6d8: Download complete [2021-05-25T17:27:26.413Z] 54011a49482f: Pull complete [2021-05-25T17:27:27.359Z] a6820b24f6d8: Pull complete [2021-05-25T17:27:27.359Z] f581987b2513: Pull complete [2021-05-25T17:27:27.359Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-25T17:27:27.359Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-25T17:27:27.359Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-25T17:27:27.467Z] prd-centos7-docker-4c-2g-238 does not seem to be running inside a container [2021-05-25T17:27:27.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-107 -v /w/workspace/gexfoundry_device-rest-go_PR-107:/w/workspace/gexfoundry_device-rest-go_PR-107:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-107@tmp:/w/workspace/gexfoundry_device-rest-go_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-25T17:27:28.623Z] $ docker top 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-25T17:27:28.835Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T17:27:28.835Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T17:27:28.951Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T17:27:28.949Z] $ docker exec 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 ssh-agent [2021-05-25T17:27:29.066Z] SSH_AUTH_SOCK=/tmp/ssh-fMfBkZihCFQZ/agent.14 [2021-05-25T17:27:29.066Z] SSH_AGENT_PID=20 [2021-05-25T17:27:29.074Z] Running ssh-add (command line suppressed) [2021-05-25T17:27:29.163Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-107@tmp/private_key_1859365875582694026.key (/w/workspace/gexfoundry_device-rest-go_PR-107@tmp/private_key_1859365875582694026.key) [2021-05-25T17:27:29.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T17:27:29.565Z] + git tag --points-at HEAD [Pipeline] } [2021-05-25T17:27:29.583Z] $ docker exec --env ******** --env ******** 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 ssh-agent -k [2021-05-25T17:27:29.680Z] unset SSH_AUTH_SOCK; [2021-05-25T17:27:29.681Z] unset SSH_AGENT_PID; [2021-05-25T17:27:29.681Z] echo Agent pid 20 killed; [2021-05-25T17:27:29.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-25T17:27:29.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-25T17:27:29.794Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-25T17:27:29.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-25T17:27:29.926Z] $ docker exec 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 ssh-agent [2021-05-25T17:27:30.050Z] SSH_AUTH_SOCK=/tmp/ssh-0dSDxYToYvzD/agent.52 [2021-05-25T17:27:30.050Z] SSH_AGENT_PID=59 [2021-05-25T17:27:30.056Z] Running ssh-add (command line suppressed) [2021-05-25T17:27:30.148Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-107@tmp/private_key_9137953387032787886.key (/w/workspace/gexfoundry_device-rest-go_PR-107@tmp/private_key_9137953387032787886.key) [2021-05-25T17:27:30.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-25T17:27:30.516Z] + git semver init [2021-05-25T17:27:30.517Z] # -> Open(): unable to determine branch for HEAD [2021-05-25T17:27:30.517Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-107/.git [2021-05-25T17:27:30.517Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-107 [2021-05-25T17:27:30.517Z] # $SEMVER_REMOTE_NAME = origin [2021-05-25T17:27:30.517Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-25T17:27:30.517Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-25T17:27:30.517Z] # $SEMVER_BRANCH = PR-107 [2021-05-25T17:27:30.517Z] # $SEMVER_TEMP = /tmp/semver-776993128 [2021-05-25T17:27:30.517Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-05-25T17:27:31.480Z] # '/tmp/semver-776993128' -> '/w/workspace/gexfoundry_device-rest-go_PR-107/.semver' [2021-05-25T17:27:31.480Z] # -> Force: false [2021-05-25T17:27:31.480Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-107/.semver [Pipeline] } [2021-05-25T17:27:31.494Z] $ docker exec --env ******** --env ******** 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 ssh-agent -k [2021-05-25T17:27:31.597Z] unset SSH_AUTH_SOCK; [2021-05-25T17:27:31.597Z] unset SSH_AGENT_PID; [2021-05-25T17:27:31.597Z] echo Agent pid 59 killed; [2021-05-25T17:27:31.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-25T17:27:32.052Z] + git semver [Pipeline] } [2021-05-25T17:27:32.075Z] $ docker stop --time=1 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 [2021-05-25T17:27:33.412Z] $ docker rm -f 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T17:27:33.845Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-25T17:27:34.149Z] Stashed 1 file(s) [Pipeline] echo [2021-05-25T17:27:34.170Z] [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-25T17:27:49.629Z] Still waiting to schedule task [2021-05-25T17:27:49.629Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-25T17:27:49.657Z] Still waiting to schedule task [2021-05-25T17:27:49.657Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-25T17:30:30.829Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-242 in /w/workspace/gexfoundry_device-rest-go_PR-107 [Pipeline] { [Pipeline] ws [2021-05-25T17:30:30.931Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-25T17:30:31.219Z] The recommended git tool is: git [2021-05-25T17:30:36.716Z] using credential edgex-jenkins-ssh [2021-05-25T17:30:36.770Z] Cloning the remote Git repository [2021-05-25T17:30:36.880Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-25T17:30:37.059Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-25T17:30:37.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-25T17:30:37.135Z] > git --version # timeout=10 [2021-05-25T17:30:37.160Z] > git --version # 'git version 2.17.1' [2021-05-25T17:30:37.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T17:30:37.240Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T17:30:39.431Z] Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit 7571376e3c0fcccc5a1331ce4af21bae867e25d6 [2021-05-25T17:30:39.636Z] Merge succeeded, producing 7571376e3c0fcccc5a1331ce4af21bae867e25d6 [2021-05-25T17:30:39.636Z] Checking out Revision 7571376e3c0fcccc5a1331ce4af21bae867e25d6 (PR-107) [2021-05-25T17:30:38.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-25T17:30:38.808Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T17:30:38.829Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-25T17:30:38.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-25T17:30:38.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T17:30:38.883Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T17:30:39.447Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T17:30:39.460Z] > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 [2021-05-25T17:30:39.535Z] > git remote # timeout=10 [2021-05-25T17:30:39.555Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T17:30:39.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T17:30:39.590Z] > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [2021-05-25T17:30:39.615Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T17:30:39.639Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T17:30:39.654Z] > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 [2021-05-25T17:30:43.821Z] Commit message: "refactor: Update configuration for change to common ServiceInfo struct Moved non-common settings under [Device] section" [2021-05-25T17:30:43.873Z] > git --version # timeout=10 [2021-05-25T17:30:43.892Z] > git --version # 'git version 2.17.1' [2021-05-25T17:30:43.901Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T17:30:45.532Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-25T17:30:45.976Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T17:30:46.348Z] + true [2021-05-25T17:30:46.348Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T17:31:04.746Z] provisioning config files... [2021-05-25T17:31:04.776Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3737541015633414444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:31:05.205Z] ---> docker-login.sh [2021-05-25T17:31:05.205Z] nexus3.edgexfoundry.org:10001 [2021-05-25T17:31:05.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:31:06.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:31:06.395Z] Configure a credential helper to remove this warning. See [2021-05-25T17:31:06.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:31:06.395Z] [2021-05-25T17:31:06.395Z] Login Succeeded [2021-05-25T17:31:06.395Z] nexus3.edgexfoundry.org:10002 [2021-05-25T17:31:06.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:31:06.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:31:06.942Z] Configure a credential helper to remove this warning. See [2021-05-25T17:31:06.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:31:06.942Z] [2021-05-25T17:31:06.942Z] Login Succeeded [2021-05-25T17:31:06.942Z] nexus3.edgexfoundry.org:10003 [2021-05-25T17:31:07.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:31:07.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:31:07.497Z] Configure a credential helper to remove this warning. See [2021-05-25T17:31:07.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:31:07.497Z] [2021-05-25T17:31:07.497Z] Login Succeeded [2021-05-25T17:31:07.497Z] nexus3.edgexfoundry.org:10004 [2021-05-25T17:31:07.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:31:08.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:31:08.044Z] Configure a credential helper to remove this warning. See [2021-05-25T17:31:08.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:31:08.044Z] [2021-05-25T17:31:08.044Z] Login Succeeded [2021-05-25T17:31:08.044Z] docker.io [2021-05-25T17:31:08.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:31:08.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:31:08.590Z] Configure a credential helper to remove this warning. See [2021-05-25T17:31:08.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:31:08.590Z] [2021-05-25T17:31:08.590Z] Login Succeeded [2021-05-25T17:31:08.590Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T17:31:08.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T17:31:09.298Z] ========================================================= [2021-05-25T17:31:09.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-25T17:31:09.298Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:31:09.721Z] + 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-25T17:31:09.721Z] Sending build context to Docker daemon 92.16kB [2021-05-25T17:31:10.320Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T17:31:10.320Z] Step 2/10 : FROM ${BASE} [2021-05-25T17:31:10.320Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-25T17:31:10.320Z] 595b0fe564bb: Pulling fs layer [2021-05-25T17:31:10.320Z] 7186ed65a4f7: Pulling fs layer [2021-05-25T17:31:10.320Z] 316046926c0a: Pulling fs layer [2021-05-25T17:31:10.320Z] 4ebd0625c992: Pulling fs layer [2021-05-25T17:31:10.320Z] 207e8628e3a3: Pulling fs layer [2021-05-25T17:31:10.320Z] c791037a9be2: Pulling fs layer [2021-05-25T17:31:10.320Z] ffd874e62e21: Pulling fs layer [2021-05-25T17:31:10.320Z] 4ebd0625c992: Waiting [2021-05-25T17:31:10.320Z] 207e8628e3a3: Waiting [2021-05-25T17:31:10.320Z] c791037a9be2: Waiting [2021-05-25T17:31:10.320Z] ffd874e62e21: Waiting [2021-05-25T17:31:10.320Z] 316046926c0a: Verifying Checksum [2021-05-25T17:31:10.320Z] 316046926c0a: Download complete [2021-05-25T17:31:10.320Z] 7186ed65a4f7: Verifying Checksum [2021-05-25T17:31:10.320Z] 7186ed65a4f7: Download complete [2021-05-25T17:31:10.320Z] 207e8628e3a3: Verifying Checksum [2021-05-25T17:31:10.320Z] 207e8628e3a3: Download complete [2021-05-25T17:31:10.596Z] c791037a9be2: Verifying Checksum [2021-05-25T17:31:10.596Z] c791037a9be2: Download complete [2021-05-25T17:31:10.596Z] 595b0fe564bb: Verifying Checksum [2021-05-25T17:31:10.596Z] 595b0fe564bb: Download complete [2021-05-25T17:31:11.201Z] 595b0fe564bb: Pull complete [2021-05-25T17:31:11.811Z] 7186ed65a4f7: Pull complete [2021-05-25T17:31:12.090Z] 316046926c0a: Pull complete [2021-05-25T17:31:13.070Z] ffd874e62e21: Verifying Checksum [2021-05-25T17:31:13.070Z] ffd874e62e21: Download complete [2021-05-25T17:31:14.056Z] 4ebd0625c992: Verifying Checksum [2021-05-25T17:31:14.056Z] 4ebd0625c992: Download complete [2021-05-25T17:31:24.211Z] 4ebd0625c992: Pull complete [2021-05-25T17:31:24.211Z] 207e8628e3a3: Pull complete [2021-05-25T17:31:24.490Z] c791037a9be2: Pull complete [2021-05-25T17:31:28.805Z] ffd874e62e21: Pull complete [2021-05-25T17:31:28.805Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-25T17:31:28.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-25T17:31:28.805Z] ---> cfc18b08335c [2021-05-25T17:31:28.805Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T17:31:29.410Z] ---> Running in f4fa1f5e6b79 [2021-05-25T17:31:30.014Z] Removing intermediate container f4fa1f5e6b79 [2021-05-25T17:31:30.014Z] ---> cd4885483ebc [2021-05-25T17:31:30.014Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T17:31:30.014Z] ---> Running in 3de969a3c74e [2021-05-25T17:31:30.612Z] Removing intermediate container 3de969a3c74e [2021-05-25T17:31:30.612Z] ---> 34972316a0ad [2021-05-25T17:31:30.612Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-25T17:31:30.612Z] ---> Running in 29203541ca55 [2021-05-25T17:31:31.206Z] Removing intermediate container 29203541ca55 [2021-05-25T17:31:31.206Z] ---> cd1f820e10e2 [2021-05-25T17:31:31.206Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T17:31:31.206Z] ---> Running in b9c2a659b750 [2021-05-25T17:31:33.827Z] Removing intermediate container b9c2a659b750 [2021-05-25T17:31:33.827Z] ---> 2e6b4b6b7e8e [2021-05-25T17:31:33.827Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T17:31:33.827Z] ---> Running in da59fdc203b1 [2021-05-25T17:31:34.803Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T17:31:35.774Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T17:31:36.778Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-25T17:31:37.048Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-25T17:31:37.048Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-25T17:31:37.318Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-25T17:31:37.318Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-25T17:31:37.589Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-25T17:31:37.589Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-25T17:31:38.181Z] (8/9) Installing libzmq (4.3.3-r1) [2021-05-25T17:31:38.455Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-25T17:31:38.455Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T17:31:38.455Z] OK: 144 MiB in 49 packages [2021-05-25T17:31:39.892Z] Removing intermediate container da59fdc203b1 [2021-05-25T17:31:39.892Z] ---> 49bcbfec83c2 [2021-05-25T17:31:39.892Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-25T17:31:39.892Z] ---> Running in f9ebe4c8b5f5 [2021-05-25T17:31:40.490Z] Removing intermediate container f9ebe4c8b5f5 [2021-05-25T17:31:40.490Z] ---> c431f12d4445 [2021-05-25T17:31:40.490Z] Step 9/10 : COPY . . [2021-05-25T17:31:41.472Z] ---> 5ba77f22ca4e [2021-05-25T17:31:41.472Z] Step 10/10 : RUN go mod download [2021-05-25T17:31:41.472Z] ---> Running in a795e5f051b6 [2021-05-25T17:32:08.276Z] Removing intermediate container a795e5f051b6 [2021-05-25T17:32:08.276Z] ---> 99949a20275e [2021-05-25T17:32:08.276Z] Successfully built 99949a20275e [2021-05-25T17:32:08.276Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:32:08.664Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T17:32:08.664Z] . [Pipeline] withDockerContainer [2021-05-25T17:32:08.953Z] prd-ubuntu18.04-docker-arm64-4c-16g-242 does not seem to be running inside a container [2021-05-25T17:32:09.032Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-25T17:32:10.586Z] $ docker top b3bad81684389eea4c666bd376914ef27b617605cd2f09c168fc57ea9b1262fe -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T17:32:11.565Z] + go version [2021-05-25T17:32:11.565Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-25T17:32:11.597Z] $ docker stop --time=1 b3bad81684389eea4c666bd376914ef27b617605cd2f09c168fc57ea9b1262fe [2021-05-25T17:32:13.448Z] $ docker rm -f b3bad81684389eea4c666bd376914ef27b617605cd2f09c168fc57ea9b1262fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:32:14.444Z] + docker inspect -f . ci-base-image-arm64 [2021-05-25T17:32:14.444Z] . [Pipeline] withDockerContainer [2021-05-25T17:32:14.702Z] prd-ubuntu18.04-docker-arm64-4c-16g-242 does not seem to be running inside a container [2021-05-25T17:32:14.765Z] Running on prd-centos7-docker-4c-2g-245 in /w/workspace/gexfoundry_device-rest-go_PR-107 [2021-05-25T17:32:14.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-25T17:32:16.374Z] $ docker top e6b4d454fd83469d0046eecd67e36641c657991fe2dbd87de5453b17f7b45478 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws [2021-05-25T17:32:16.912Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-05-25T17:32:17.064Z] The recommended git tool is: git [2021-05-25T17:32:17.471Z] + go mod tidy [Pipeline] sh [2021-05-25T17:32:18.815Z] + make test [2021-05-25T17:32:18.815Z] go mod tidy [2021-05-25T17:32:19.415Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-25T17:32:19.597Z] using credential edgex-jenkins-ssh [2021-05-25T17:32:19.612Z] Cloning the remote Git repository [2021-05-25T17:32:20.407Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-25T17:32:19.627Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-05-25T17:32:19.690Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-05-25T17:32:19.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-25T17:32:19.720Z] > git --version # timeout=10 [2021-05-25T17:32:19.728Z] > git --version # 'git version 2.24.4' [2021-05-25T17:32:19.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T17:32:19.763Z] [INFO] Currently running in a labeled security context [2021-05-25T17:32:19.763Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T17:32:19.763Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1719583396561248141.key [2021-05-25T17:32:19.776Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T17:32:24.681Z] Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit 7571376e3c0fcccc5a1331ce4af21bae867e25d6 [2021-05-25T17:32:24.756Z] Merge succeeded, producing 7571376e3c0fcccc5a1331ce4af21bae867e25d6 [2021-05-25T17:32:24.756Z] Checking out Revision 7571376e3c0fcccc5a1331ce4af21bae867e25d6 (PR-107) [2021-05-25T17:32:24.221Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-25T17:32:24.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-25T17:32:24.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-05-25T17:32:24.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-05-25T17:32:24.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T17:32:24.264Z] [INFO] Currently running in a labeled security context [2021-05-25T17:32:24.265Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T17:32:24.265Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5206706723027369973.key [2021-05-25T17:32:24.269Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/107/head:refs/remotes/origin/PR-107 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-25T17:32:24.685Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T17:32:24.693Z] > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 [2021-05-25T17:32:24.716Z] > git remote # timeout=10 [2021-05-25T17:32:24.723Z] > git config --get remote.origin.url # timeout=10 [2021-05-25T17:32:24.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-25T17:32:24.731Z] [INFO] Currently running in a labeled security context [2021-05-25T17:32:24.731Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-25T17:32:24.731Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh365799138557657753.key [2021-05-25T17:32:24.736Z] > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 [2021-05-25T17:32:24.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-25T17:32:24.756Z] > git config core.sparsecheckout # timeout=10 [2021-05-25T17:32:24.761Z] > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 [2021-05-25T17:32:28.318Z] Commit message: "refactor: Update configuration for change to common ServiceInfo struct Moved non-common settings under [Device] section" [2021-05-25T17:32:28.338Z] > git --version # timeout=10 [2021-05-25T17:32:28.345Z] > git --version # 'git version 2.24.4' [2021-05-25T17:32:28.353Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-25T17:32:29.597Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-25T17:32:29.978Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-25T17:32:30.332Z] + sudo service docker restart [2021-05-25T17:32:30.332Z] + true [2021-05-25T17:32:30.332Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T17:32:48.571Z] provisioning config files... [2021-05-25T17:32:48.585Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9052278323823139947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:32:48.960Z] ---> docker-login.sh [2021-05-25T17:32:48.960Z] nexus3.edgexfoundry.org:10001 [2021-05-25T17:32:49.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:32:49.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:32:49.497Z] Configure a credential helper to remove this warning. See [2021-05-25T17:32:49.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:32:49.497Z] [2021-05-25T17:32:49.497Z] Login Succeeded [2021-05-25T17:32:49.497Z] nexus3.edgexfoundry.org:10002 [2021-05-25T17:32:49.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:32:49.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:32:49.757Z] Configure a credential helper to remove this warning. See [2021-05-25T17:32:49.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:32:49.757Z] [2021-05-25T17:32:49.757Z] Login Succeeded [2021-05-25T17:32:49.757Z] nexus3.edgexfoundry.org:10003 [2021-05-25T17:32:49.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:32:49.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:32:49.757Z] Configure a credential helper to remove this warning. See [2021-05-25T17:32:49.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:32:49.757Z] [2021-05-25T17:32:49.757Z] Login Succeeded [2021-05-25T17:32:49.757Z] nexus3.edgexfoundry.org:10004 [2021-05-25T17:32:49.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:32:50.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:32:50.024Z] Configure a credential helper to remove this warning. See [2021-05-25T17:32:50.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:32:50.024Z] [2021-05-25T17:32:50.024Z] Login Succeeded [2021-05-25T17:32:50.024Z] docker.io [2021-05-25T17:32:50.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-25T17:32:50.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-25T17:32:50.288Z] Configure a credential helper to remove this warning. See [2021-05-25T17:32:50.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-25T17:32:50.288Z] [2021-05-25T17:32:50.288Z] Login Succeeded [2021-05-25T17:32:50.288Z] ---> docker-login.sh ends [Pipeline] } [2021-05-25T17:32:50.325Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-25T17:32:50.665Z] ========================================================= [2021-05-25T17:32:50.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-25T17:32:50.665Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:32:51.023Z] + 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-25T17:32:51.023Z] Sending build context to Docker daemon 92.16kB [2021-05-25T17:32:51.023Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T17:32:51.023Z] Step 2/10 : FROM ${BASE} [2021-05-25T17:32:51.286Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-25T17:32:51.286Z] 540db60ca938: Pulling fs layer [2021-05-25T17:32:51.286Z] adcc1eea9eea: Pulling fs layer [2021-05-25T17:32:51.286Z] 4c4ab2625f07: Pulling fs layer [2021-05-25T17:32:51.286Z] 0510c868ecb4: Pulling fs layer [2021-05-25T17:32:51.286Z] afea3b2eda06: Pulling fs layer [2021-05-25T17:32:51.286Z] 7809a108b3ef: Pulling fs layer [2021-05-25T17:32:51.286Z] f706445af74f: Pulling fs layer [2021-05-25T17:32:51.286Z] afea3b2eda06: Waiting [2021-05-25T17:32:51.286Z] 7809a108b3ef: Waiting [2021-05-25T17:32:51.286Z] 0510c868ecb4: Waiting [2021-05-25T17:32:51.286Z] f706445af74f: Waiting [2021-05-25T17:32:51.286Z] 4c4ab2625f07: Verifying Checksum [2021-05-25T17:32:51.286Z] 4c4ab2625f07: Download complete [2021-05-25T17:32:51.286Z] adcc1eea9eea: Verifying Checksum [2021-05-25T17:32:51.286Z] adcc1eea9eea: Download complete [2021-05-25T17:32:51.286Z] afea3b2eda06: Verifying Checksum [2021-05-25T17:32:51.286Z] afea3b2eda06: Download complete [2021-05-25T17:32:51.286Z] 540db60ca938: Verifying Checksum [2021-05-25T17:32:51.286Z] 540db60ca938: Download complete [2021-05-25T17:32:51.286Z] 7809a108b3ef: Verifying Checksum [2021-05-25T17:32:51.286Z] 7809a108b3ef: Download complete [2021-05-25T17:32:51.286Z] 540db60ca938: Pull complete [2021-05-25T17:32:51.546Z] adcc1eea9eea: Pull complete [2021-05-25T17:32:51.546Z] 4c4ab2625f07: Pull complete [2021-05-25T17:32:52.932Z] f706445af74f: Verifying Checksum [2021-05-25T17:32:52.932Z] f706445af74f: Download complete [2021-05-25T17:32:53.505Z] 0510c868ecb4: Download complete [2021-05-25T17:32:58.829Z] 0510c868ecb4: Pull complete [2021-05-25T17:32:58.829Z] afea3b2eda06: Pull complete [2021-05-25T17:32:59.091Z] 7809a108b3ef: Pull complete [2021-05-25T17:33:01.656Z] f706445af74f: Pull complete [2021-05-25T17:33:01.919Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-25T17:33:01.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-25T17:33:02.181Z] ---> b068be0155e3 [2021-05-25T17:33:02.181Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T17:33:17.008Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-25T17:33:17.008Z] ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements [2021-05-25T17:33:17.008Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-25T17:33:39.186Z] gofmt -l . [2021-05-25T17:33:39.186Z] [ "`gofmt -l .`" = "" ] [2021-05-25T17:33:39.186Z] ./bin/test-go-mod-tidy.sh [2021-05-25T17:33:39.462Z] ./bin/test-attribution-txt.sh [2021-05-25T17:33:40.946Z] ---> Running in 90a496dfd6b2 [2021-05-25T17:33:40.947Z] Removing intermediate container 90a496dfd6b2 [2021-05-25T17:33:40.947Z] ---> c8e5015e03a3 [2021-05-25T17:33:40.947Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T17:33:40.947Z] ---> Running in 96199fbbbfde [2021-05-25T17:33:40.947Z] Removing intermediate container 96199fbbbfde [2021-05-25T17:33:40.947Z] ---> bea69d53f526 [2021-05-25T17:33:40.947Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-25T17:33:41.209Z] ---> Running in 8a2912832a0d [Pipeline] } [2021-05-25T17:33:41.470Z] Removing intermediate container 8a2912832a0d [2021-05-25T17:33:41.470Z] ---> 93f4156c52c6 [2021-05-25T17:33:41.470Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T17:33:41.472Z] $ docker stop --time=1 e6b4d454fd83469d0046eecd67e36641c657991fe2dbd87de5453b17f7b45478 [2021-05-25T17:33:41.742Z] ---> Running in 9a0501d6e2ac [2021-05-25T17:33:43.512Z] $ docker rm -f e6b4d454fd83469d0046eecd67e36641c657991fe2dbd87de5453b17f7b45478 [2021-05-25T17:33:43.664Z] Removing intermediate container 9a0501d6e2ac [2021-05-25T17:33:43.664Z] ---> 469abb50ee0d [2021-05-25T17:33:43.664Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T17:33:43.664Z] ---> Running in d142a613998f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T17:33:44.236Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T17:33:44.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T17:33:44.810Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T17:33:45.030Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-05-25T17:33:45.394Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-05-25T17:33:45.394Z] (2/9) Installing libsodium (1.0.18-r0) [2021-05-25T17:33:45.656Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-05-25T17:33:45.656Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-05-25T17:33:45.917Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-05-25T17:33:45.917Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-05-25T17:33:45.917Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-05-25T17:33:46.184Z] (8/9) Installing libzmq (4.3.3-r1) [Pipeline] sh [2021-05-25T17:33:46.445Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-05-25T17:33:46.445Z] Executing busybox-1.32.1-r6.trigger [2021-05-25T17:33:46.445Z] OK: 154 MiB in 49 packages [2021-05-25T17:33:46.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T17:33:46.894Z] + ls -al . [2021-05-25T17:33:46.894Z] total 132 [2021-05-25T17:33:46.894Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 17:33 . [2021-05-25T17:33:46.894Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 17:30 .. [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 151 May 25 17:30 .dockerignore [2021-05-25T17:33:46.894Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 17:30 .git [2021-05-25T17:33:46.894Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 17:30 .github [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 336 May 25 17:30 .gitignore [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 6792 May 25 17:30 Attribution.txt [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 1615 May 25 17:30 Dockerfile [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 1087 May 25 17:30 Dockerfile.build [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 680 May 25 17:30 Jenkinsfile [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 17:30 LICENSE [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 996 May 25 17:30 Makefile [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 7667 May 25 17:30 README.md [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 17:27 VERSION [2021-05-25T17:33:46.894Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 17:30 bin [2021-05-25T17:33:46.894Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 17:30 cmd [2021-05-25T17:33:46.894Z] -rw-r--r-- 1 jenkins jenkins 8513 May 25 17:33 coverage.out [2021-05-25T17:33:46.894Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 17:30 driver [2021-05-25T17:33:46.894Z] -rw-r--r-- 1 jenkins jenkins 285 May 25 17:33 go.mod [2021-05-25T17:33:46.894Z] -rw-r--r-- 1 jenkins jenkins 21177 May 25 17:32 go.sum [2021-05-25T17:33:46.894Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 17:30 snap [2021-05-25T17:33:46.894Z] -rw-rw-r-- 1 jenkins jenkins 713 May 25 17:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:33:47.273Z] + 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=7571376e3c0fcccc5a1331ce4af21bae867e25d6 --label arch=arm64 --label version=0.0.0 . [2021-05-25T17:33:47.273Z] Sending build context to Docker daemon 101.9kB [2021-05-25T17:33:47.547Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T17:33:47.547Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-25T17:33:47.547Z] ---> 99949a20275e [2021-05-25T17:33:47.547Z] Step 3/25 : ARG MAKE='make build' [2021-05-25T17:33:47.821Z] ---> Running in be2140fefe47 [2021-05-25T17:33:48.363Z] Removing intermediate container d142a613998f [2021-05-25T17:33:48.363Z] ---> 7559d74e8f9d [2021-05-25T17:33:48.363Z] Step 8/10 : WORKDIR /device-rest-go [2021-05-25T17:33:48.363Z] ---> Running in b04e59005a0c [2021-05-25T17:33:48.421Z] Removing intermediate container be2140fefe47 [2021-05-25T17:33:48.421Z] ---> eb4b05fd5a9c [2021-05-25T17:33:48.421Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T17:33:48.421Z] ---> Running in 7d1e09f574af [2021-05-25T17:33:48.936Z] Removing intermediate container b04e59005a0c [2021-05-25T17:33:48.936Z] ---> 4245ef302271 [2021-05-25T17:33:48.936Z] Step 9/10 : COPY . . [2021-05-25T17:33:49.015Z] Removing intermediate container 7d1e09f574af [2021-05-25T17:33:49.015Z] ---> 26e516840401 [2021-05-25T17:33:49.015Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T17:33:49.015Z] ---> Running in 5dac0233d531 [2021-05-25T17:33:49.609Z] Removing intermediate container 5dac0233d531 [2021-05-25T17:33:49.609Z] ---> 7d76faed870a [2021-05-25T17:33:49.609Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T17:33:49.609Z] ---> Running in 386602cbfe49 [2021-05-25T17:33:49.879Z] ---> f31e1b04734f [2021-05-25T17:33:49.879Z] Step 10/10 : RUN go mod download [2021-05-25T17:33:50.139Z] ---> Running in ddc0f9c4c2ff [2021-05-25T17:33:52.227Z] Removing intermediate container 386602cbfe49 [2021-05-25T17:33:52.227Z] ---> 3e2238b06c9f [2021-05-25T17:33:52.227Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T17:33:52.227Z] ---> Running in c783b833bbd6 [2021-05-25T17:33:53.219Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-25T17:33:54.191Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-25T17:33:54.790Z] OK: 144 MiB in 49 packages [2021-05-25T17:33:55.771Z] Removing intermediate container c783b833bbd6 [2021-05-25T17:33:55.771Z] ---> e99394817f7f [2021-05-25T17:33:55.771Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-25T17:33:56.045Z] ---> Running in bf0c3420bbf8 [2021-05-25T17:33:56.647Z] Removing intermediate container bf0c3420bbf8 [2021-05-25T17:33:56.647Z] ---> 196c754d8a1b [2021-05-25T17:33:56.647Z] Step 9/25 : COPY . . [2021-05-25T17:33:57.625Z] ---> 0f7ea21bc4d0 [2021-05-25T17:33:57.625Z] Step 10/25 : RUN go mod tidy [2021-05-25T17:33:57.625Z] ---> Running in c154f8e1d6fa [2021-05-25T17:34:00.248Z] Removing intermediate container c154f8e1d6fa [2021-05-25T17:34:00.248Z] ---> 8587dfb34f70 [2021-05-25T17:34:00.248Z] Step 11/25 : RUN make update [2021-05-25T17:34:00.522Z] ---> Running in a3476cda0585 [2021-05-25T17:34:01.509Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-25T17:34:02.954Z] Removing intermediate container a3476cda0585 [2021-05-25T17:34:02.954Z] ---> 0b492b32ccac [2021-05-25T17:34:02.954Z] Step 12/25 : RUN $MAKE [2021-05-25T17:34:02.954Z] ---> Running in afed49a7277b [2021-05-25T17:34:03.943Z] go mod tidy [2021-05-25T17:34:04.541Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-05-25T17:34:43.630Z] Removing intermediate container afed49a7277b [2021-05-25T17:34:43.630Z] ---> 22cf4484463b [2021-05-25T17:34:43.630Z] Step 13/25 : FROM alpine:3.12 [2021-05-25T17:34:43.630Z] 3.12: Pulling from library/alpine [2021-05-25T17:34:43.630Z] d2f70382dc9a: Pulling fs layer [2021-05-25T17:34:43.630Z] d2f70382dc9a: Verifying Checksum [2021-05-25T17:34:43.630Z] d2f70382dc9a: Download complete [2021-05-25T17:34:43.630Z] d2f70382dc9a: Pull complete [2021-05-25T17:34:43.630Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T17:34:43.630Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T17:34:43.630Z] ---> 9852663dfa18 [2021-05-25T17:34:43.630Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-25T17:34:43.630Z] ---> Running in 346ff9cfdca4 [2021-05-25T17:34:43.630Z] Removing intermediate container 346ff9cfdca4 [2021-05-25T17:34:43.630Z] ---> 4a2042c886c6 [2021-05-25T17:34:43.630Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-25T17:34:43.630Z] ---> Running in 58f48e2245fc [2021-05-25T17:34:43.630Z] Removing intermediate container 58f48e2245fc [2021-05-25T17:34:43.630Z] ---> 39a270686694 [2021-05-25T17:34:43.630Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-25T17:34:43.630Z] ---> Running in 24fb3f9f3f62 [2021-05-25T17:34:43.630Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-25T17:34:43.630Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-25T17:34:43.904Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-25T17:34:43.904Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-25T17:34:43.904Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-25T17:34:43.904Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-25T17:34:43.904Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-25T17:34:44.179Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-25T17:34:44.179Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T17:34:44.179Z] OK: 8 MiB in 20 packages [2021-05-25T17:34:45.162Z] Removing intermediate container 24fb3f9f3f62 [2021-05-25T17:34:45.162Z] ---> 0fcb655a9a55 [2021-05-25T17:34:45.162Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-25T17:34:46.428Z] Removing intermediate container ddc0f9c4c2ff [2021-05-25T17:34:46.428Z] ---> cfc39293e63c [2021-05-25T17:34:46.428Z] Successfully built cfc39293e63c [2021-05-25T17:34:46.428Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:34:46.605Z] ---> a102d4674853 [2021-05-25T17:34:46.605Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-25T17:34:46.779Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T17:34:46.779Z] . [Pipeline] withDockerContainer [2021-05-25T17:34:46.880Z] prd-centos7-docker-4c-2g-245 does not seem to be running inside a container [2021-05-25T17:34:46.915Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-25T17:34:47.208Z] ---> b28c12c6a2ae [2021-05-25T17:34:47.208Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-25T17:34:47.743Z] $ docker top 927616fe3c9552980a5a53b8926b218febb54cbaf9917387f999b27b5958bebd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T17:34:48.186Z] ---> debdf8255092 [2021-05-25T17:34:48.186Z] Step 20/25 : EXPOSE 59986 [2021-05-25T17:34:48.186Z] ---> Running in 5133fbc143b9 [2021-05-25T17:34:48.326Z] + go version [2021-05-25T17:34:48.327Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-25T17:34:48.446Z] $ docker stop --time=1 927616fe3c9552980a5a53b8926b218febb54cbaf9917387f999b27b5958bebd [2021-05-25T17:34:48.782Z] Removing intermediate container 5133fbc143b9 [2021-05-25T17:34:48.782Z] ---> 90e711432bae [2021-05-25T17:34:48.782Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-25T17:34:48.782Z] ---> Running in 078f139aef33 [2021-05-25T17:34:49.379Z] Removing intermediate container 078f139aef33 [2021-05-25T17:34:49.379Z] ---> b65614e4747c [2021-05-25T17:34:49.379Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-25T17:34:49.379Z] ---> Running in 02d2a8f58232 [2021-05-25T17:34:49.956Z] $ docker rm -f 927616fe3c9552980a5a53b8926b218febb54cbaf9917387f999b27b5958bebd [2021-05-25T17:34:49.977Z] Removing intermediate container 02d2a8f58232 [2021-05-25T17:34:49.977Z] ---> ac4cd538ca84 [2021-05-25T17:34:49.977Z] Step 23/25 : LABEL arch=arm64 [2021-05-25T17:34:49.977Z] ---> Running in def724c68ea2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:34:50.570Z] Removing intermediate container def724c68ea2 [2021-05-25T17:34:50.571Z] ---> 3587ffcc00f4 [2021-05-25T17:34:50.571Z] Step 24/25 : LABEL git_sha=7571376e3c0fcccc5a1331ce4af21bae867e25d6 [2021-05-25T17:34:50.741Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-25T17:34:50.742Z] . [Pipeline] withDockerContainer [2021-05-25T17:34:50.843Z] prd-centos7-docker-4c-2g-245 does not seem to be running inside a container [2021-05-25T17:34:50.845Z] ---> Running in 57b0a1ea71b1 [2021-05-25T17:34:50.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-25T17:34:51.119Z] Removing intermediate container 57b0a1ea71b1 [2021-05-25T17:34:51.119Z] ---> dc7947848ad4 [2021-05-25T17:34:51.119Z] Step 25/25 : LABEL version=0.0.0 [2021-05-25T17:34:51.428Z] ---> Running in 97f109a9324e [2021-05-25T17:34:51.566Z] $ docker top 9bede6a12c3551c2ec71cca5942a678f8cb24dfd915d89e64c031e5c06c38d2c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T17:34:52.026Z] Removing intermediate container 97f109a9324e [2021-05-25T17:34:52.026Z] ---> 1873877a8d43 [2021-05-25T17:34:52.026Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-25T17:34:52.026Z] Successfully built 1873877a8d43 [2021-05-25T17:34:52.026Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [2021-05-25T17:34:52.059Z] + go mod tidy [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:34:52.701Z] + make test [2021-05-25T17:34:52.701Z] go mod tidy [2021-05-25T17:34:52.701Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-05-25T17:34:52.904Z] ---> job-cost.sh [2021-05-25T17:34:52.904Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7QWa [2021-05-25T17:34:53.283Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-05-25T17:35:15.335Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-05-25T17:35:15.335Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 54.0% of statements [2021-05-25T17:35:15.335Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-05-25T17:35:21.988Z] gofmt -l . [2021-05-25T17:35:21.988Z] [ "`gofmt -l .`" = "" ] [2021-05-25T17:35:21.988Z] ./bin/test-go-mod-tidy.sh [2021-05-25T17:35:21.988Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-05-25T17:35:22.015Z] $ docker stop --time=1 9bede6a12c3551c2ec71cca5942a678f8cb24dfd915d89e64c031e5c06c38d2c [2021-05-25T17:35:27.002Z] $ docker rm -f 9bede6a12c3551c2ec71cca5942a678f8cb24dfd915d89e64c031e5c06c38d2c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-25T17:35:27.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-25T17:35:27.577Z] Warning: overwriting stash ‘coverage-report’ [2021-05-25T17:35:27.746Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-25T17:35:28.286Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-25T17:35:28.609Z] + ls -al . [2021-05-25T17:35:28.609Z] total 104 [2021-05-25T17:35:28.609Z] drwxrwxr-x. 8 jenkins jenkins 4096 May 25 17:35 . [2021-05-25T17:35:28.609Z] drwxrwxr-x. 4 jenkins jenkins 28 May 25 17:32 .. [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 6792 May 25 17:32 Attribution.txt [2021-05-25T17:35:28.609Z] drwxrwxr-x. 2 jenkins jenkins 64 May 25 17:32 bin [2021-05-25T17:35:28.609Z] drwxrwxr-x. 3 jenkins jenkins 32 May 25 17:32 cmd [2021-05-25T17:35:28.609Z] -rw-r--r--. 1 jenkins jenkins 8513 May 25 17:35 coverage.out [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 1615 May 25 17:32 Dockerfile [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 1087 May 25 17:32 Dockerfile.build [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 151 May 25 17:32 .dockerignore [2021-05-25T17:35:28.609Z] drwxrwxr-x. 2 jenkins jenkins 76 May 25 17:32 driver [2021-05-25T17:35:28.609Z] drwxrwxr-x. 8 jenkins jenkins 179 May 25 17:32 .git [2021-05-25T17:35:28.609Z] drwxrwxr-x. 2 jenkins jenkins 103 May 25 17:32 .github [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 336 May 25 17:32 .gitignore [2021-05-25T17:35:28.609Z] -rw-r--r--. 1 jenkins jenkins 285 May 25 17:35 go.mod [2021-05-25T17:35:28.609Z] -rw-r--r--. 1 jenkins jenkins 21177 May 25 17:34 go.sum [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 680 May 25 17:32 Jenkinsfile [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 11340 May 25 17:32 LICENSE [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 996 May 25 17:32 Makefile [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 7667 May 25 17:32 README.md [2021-05-25T17:35:28.609Z] drwxrwxr-x. 4 jenkins jenkins 71 May 25 17:32 snap [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 5 May 25 17:27 VERSION [2021-05-25T17:35:28.609Z] -rw-rw-r--. 1 jenkins jenkins 713 May 25 17:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:35:28.951Z] + 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=7571376e3c0fcccc5a1331ce4af21bae867e25d6 --label arch=amd64 --label version=0.0.0 . [2021-05-25T17:35:28.951Z] Sending build context to Docker daemon 101.9kB [2021-05-25T17:35:28.951Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-05-25T17:35:28.951Z] Step 2/25 : FROM ${BASE} AS builder [2021-05-25T17:35:28.951Z] ---> cfc39293e63c [2021-05-25T17:35:28.951Z] Step 3/25 : ARG MAKE='make build' [2021-05-25T17:35:29.893Z] ---> Running in 90a3bb58b763 [2021-05-25T17:35:29.893Z] Removing intermediate container 90a3bb58b763 [2021-05-25T17:35:29.893Z] ---> 0a844d16c01a [2021-05-25T17:35:29.893Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-05-25T17:35:30.156Z] ---> Running in 5b5ab323ec3b [2021-05-25T17:35:30.421Z] Removing intermediate container 5b5ab323ec3b [2021-05-25T17:35:30.421Z] ---> 60eece76b267 [2021-05-25T17:35:30.421Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-05-25T17:35:30.685Z] ---> Running in 0aed4cc6eb55 [2021-05-25T17:35:31.259Z] Removing intermediate container 0aed4cc6eb55 [2021-05-25T17:35:31.259Z] ---> dc6e77b00e7f [2021-05-25T17:35:31.259Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-25T17:35:31.519Z] ---> Running in 532ca43231ac [2021-05-25T17:35:31.864Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T17:35:32.906Z] Removing intermediate container 532ca43231ac [2021-05-25T17:35:32.906Z] ---> dbf7a91e7f4e [2021-05-25T17:35:32.906Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-05-25T17:35:33.175Z] ---> Running in b3c7efd564ed [2021-05-25T17:35:33.750Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-25T17:35:34.691Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-25T17:35:34.952Z] OK: 154 MiB in 49 packages [2021-05-25T17:35:35.524Z] Removing intermediate container b3c7efd564ed [2021-05-25T17:35:35.524Z] ---> 4ebaf2740e63 [2021-05-25T17:35:35.524Z] Step 8/25 : WORKDIR /device-rest-go [2021-05-25T17:35:35.795Z] ---> Running in 9deb2248f805 [2021-05-25T17:35:35.795Z] Removing intermediate container 9deb2248f805 [2021-05-25T17:35:35.795Z] ---> 3fed37dddf72 [2021-05-25T17:35:35.795Z] Step 9/25 : COPY . . [2021-05-25T17:35:36.734Z] ---> 7717b2c3f65a [2021-05-25T17:35:36.734Z] Step 10/25 : RUN go mod tidy [2021-05-25T17:35:36.734Z] ---> Running in 506899f81072 [2021-05-25T17:35:38.130Z] Removing intermediate container 506899f81072 [2021-05-25T17:35:38.131Z] ---> 934beb0d7f4a [2021-05-25T17:35:38.131Z] Step 11/25 : RUN make update [2021-05-25T17:35:38.131Z] ---> Running in 67dc195befe9 [2021-05-25T17:35:38.703Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-05-25T17:35:39.275Z] Removing intermediate container 67dc195befe9 [2021-05-25T17:35:39.275Z] ---> 9f48b56fc3cc [2021-05-25T17:35:39.275Z] Step 12/25 : RUN $MAKE [2021-05-25T17:35:39.275Z] ---> Running in fea86d6d7f70 [2021-05-25T17:35:39.850Z] go mod tidy [2021-05-25T17:35:40.130Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-05-25T17:36:02.139Z] Removing intermediate container fea86d6d7f70 [2021-05-25T17:36:02.139Z] ---> 8366630e1bfa [2021-05-25T17:36:02.139Z] Step 13/25 : FROM alpine:3.12 [2021-05-25T17:36:02.139Z] 3.12: Pulling from library/alpine [2021-05-25T17:36:02.139Z] 339de151aab4: Pulling fs layer [2021-05-25T17:36:02.139Z] 339de151aab4: Verifying Checksum [2021-05-25T17:36:02.139Z] 339de151aab4: Download complete [2021-05-25T17:36:02.139Z] 339de151aab4: Pull complete [2021-05-25T17:36:02.139Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-25T17:36:02.139Z] Status: Downloaded newer image for alpine:3.12 [2021-05-25T17:36:02.139Z] ---> 13621d1b12d4 [2021-05-25T17:36:02.139Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-05-25T17:36:02.139Z] ---> Running in a80e124c0686 [2021-05-25T17:36:02.139Z] Removing intermediate container a80e124c0686 [2021-05-25T17:36:02.139Z] ---> 15a91218e85c [2021-05-25T17:36:02.139Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-05-25T17:36:02.400Z] ---> Running in 1f190889a9c9 [2021-05-25T17:36:02.662Z] Removing intermediate container 1f190889a9c9 [2021-05-25T17:36:02.662Z] ---> 5cada491f249 [2021-05-25T17:36:02.662Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-05-25T17:36:02.662Z] ---> Running in dd42ad8cb8f9 [2021-05-25T17:36:03.235Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-25T17:36:03.236Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-25T17:36:03.236Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-05-25T17:36:03.236Z] (2/6) Installing libgcc (9.3.0-r2) [2021-05-25T17:36:03.236Z] (3/6) Installing libsodium (1.0.18-r0) [2021-05-25T17:36:03.236Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-05-25T17:36:03.236Z] (5/6) Installing libzmq (4.3.3-r0) [2021-05-25T17:36:03.236Z] (6/6) Installing zeromq (4.3.3-r0) [2021-05-25T17:36:03.236Z] Executing busybox-1.31.1-r20.trigger [2021-05-25T17:36:03.236Z] OK: 8 MiB in 20 packages [2021-05-25T17:36:04.619Z] Removing intermediate container dd42ad8cb8f9 [2021-05-25T17:36:04.619Z] ---> 66f15d06a8c9 [2021-05-25T17:36:04.619Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-05-25T17:36:06.008Z] ---> de49e3cbf1bd [2021-05-25T17:36:06.008Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-05-25T17:36:06.008Z] ---> 2b4b0fe9b0ea [2021-05-25T17:36:06.008Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-05-25T17:36:06.582Z] ---> 0c40a931fb34 [2021-05-25T17:36:06.582Z] Step 20/25 : EXPOSE 59986 [2021-05-25T17:36:06.582Z] ---> Running in 20c1c8da6570 [2021-05-25T17:36:06.843Z] Removing intermediate container 20c1c8da6570 [2021-05-25T17:36:06.843Z] ---> 5717d647cdda [2021-05-25T17:36:06.843Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-05-25T17:36:06.843Z] ---> Running in 571033847bde [2021-05-25T17:36:07.415Z] Removing intermediate container 571033847bde [2021-05-25T17:36:07.415Z] ---> fff47d42135b [2021-05-25T17:36:07.415Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-05-25T17:36:07.415Z] ---> Running in 3bd05ba66843 [2021-05-25T17:36:07.676Z] Removing intermediate container 3bd05ba66843 [2021-05-25T17:36:07.676Z] ---> 446f3e537d2a [2021-05-25T17:36:07.676Z] Step 23/25 : LABEL arch=amd64 [2021-05-25T17:36:07.937Z] ---> Running in b55948227cbc [2021-05-25T17:36:08.507Z] Removing intermediate container b55948227cbc [2021-05-25T17:36:08.508Z] ---> eae0067b8bf5 [2021-05-25T17:36:08.508Z] Step 24/25 : LABEL git_sha=7571376e3c0fcccc5a1331ce4af21bae867e25d6 [2021-05-25T17:36:08.508Z] ---> Running in 79071b4be2ce [2021-05-25T17:36:08.768Z] Removing intermediate container 79071b4be2ce [2021-05-25T17:36:08.768Z] ---> 892a6de072b3 [2021-05-25T17:36:08.768Z] Step 25/25 : LABEL version=0.0.0 [2021-05-25T17:36:08.768Z] ---> Running in bfa963f07a88 [2021-05-25T17:36:09.028Z] Removing intermediate container bfa963f07a88 [2021-05-25T17:36:09.028Z] ---> 7a6cda1655c8 [2021-05-25T17:36:09.028Z] [Warning] One or more build-args [ARCH] were not consumed [2021-05-25T17:36:09.028Z] Successfully built 7a6cda1655c8 [2021-05-25T17:36:09.028Z] 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-25T17:36:09.769Z] ---> job-cost.sh [2021-05-25T17:36:09.769Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kqsK [2021-05-25T17:36:28.139Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-25T17:36:53.608Z] lf-activate-venv(): INFO: Adding /tmp/venv-7QWa/bin to PATH [2021-05-25T17:36:53.609Z] INFO: No Stack... [2021-05-25T17:36:53.609Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-25T17:36:53.609Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T17:36:53.976Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-25T17:36:53.976Z] + cut -d, -f6 [Pipeline] lock [2021-05-25T17:36:54.065Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] [2021-05-25T17:36:54.074Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] did not exist. Created. [2021-05-25T17:36:54.074Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T17:36:54.580Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-25T17:36:54.723Z] lf-activate-venv(): INFO: Adding /tmp/venv-kqsK/bin to PATH [2021-05-25T17:36:54.723Z] INFO: No Stack... [2021-05-25T17:36:54.723Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T17:36:54.780Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T17:36:54.804Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-25T17:36:55.299Z] INFO: Archiving Costs [Pipeline] sh [2021-05-25T17:36:55.622Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-05-25T17:36:55.622Z] + cut -d, -f6 [Pipeline] lock [2021-05-25T17:36:55.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] [2021-05-25T17:36:55.683Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] did not exist. Created. [2021-05-25T17:36:55.683Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-25T17:36:56.174Z] /w/workspace/device-rest-go/1@tmp/durable-613796ef/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-05-25T17:36:56.508Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-25T17:36:56.543Z] Warning: overwriting stash ‘stack-cost’ [2021-05-25T17:36:56.589Z] Stashed 1 file(s) [Pipeline] } [2021-05-25T17:36:56.611Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-107-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-25T17:36:57.617Z] provisioning config files... [2021-05-25T17:36:57.628Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-107@tmp/config790146803157292838tmp [Pipeline] { [Pipeline] sh [2021-05-25T17:36:58.002Z] + set +x [2021-05-25T17:36:58.002Z] + bash -s -- [2021-05-25T17:36:58.002Z] + curl -s https://codecov.io/bash [2021-05-25T17:36:58.002Z] [2021-05-25T17:36:58.002Z] _____ _ [2021-05-25T17:36:58.002Z] / ____| | | [2021-05-25T17:36:58.002Z] | | ___ __| | ___ ___ _____ __ [2021-05-25T17:36:58.002Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-25T17:36:58.002Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-25T17:36:58.002Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-25T17:36:58.002Z] Bash-1.0.3 [2021-05-25T17:36:58.002Z] [2021-05-25T17:36:58.002Z] [2021-05-25T17:36:58.002Z] ==> git version 2.24.4 found [2021-05-25T17:36:58.002Z] ==> 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-25T17:36:58.002Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-25T17:36:58.002Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-25T17:36:58.002Z] ==> Jenkins CI detected. [2021-05-25T17:36:58.002Z] project root: . [2021-05-25T17:36:58.002Z] --> token set from env [2021-05-25T17:36:58.002Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-25T17:36:58.268Z] ==> Running gcov in . (disable via -X gcov) [2021-05-25T17:36:58.268Z] ==> Python coveragepy not found [2021-05-25T17:36:58.268Z] ==> Searching for coverage reports in: [2021-05-25T17:36:58.268Z] + . [2021-05-25T17:36:58.268Z] -> Found 1 reports [2021-05-25T17:36:58.268Z] ==> Detecting git/mercurial file structure [2021-05-25T17:36:58.268Z] ==> Reading reports [2021-05-25T17:36:58.268Z] + ./coverage.out bytes=8513 [2021-05-25T17:36:58.268Z] ==> Appending adjustments [2021-05-25T17:36:58.268Z] https://docs.codecov.io/docs/fixing-reports [2021-05-25T17:36:58.268Z] + Found adjustments [2021-05-25T17:36:58.268Z] ==> Gzipping contents [2021-05-25T17:36:58.268Z] 4.0K /tmp/codecov.Yy5loG.gz [2021-05-25T17:36:58.268Z] ==> Uploading reports [2021-05-25T17:36:58.268Z] url: https://codecov.io [2021-05-25T17:36:58.268Z] query: branch=PR-107&commit=7571376e3c0fcccc5a1331ce4af21bae867e25d6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=107&job=&cmd_args= [2021-05-25T17:36:58.268Z] -> Pinging Codecov [2021-05-25T17:36:58.268Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-107&commit=7571376e3c0fcccc5a1331ce4af21bae867e25d6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-107%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=107&job=&cmd_args= [2021-05-25T17:36:58.539Z] -> Uploading to [2021-05-25T17:36:58.539Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-25/4E5D53B4F1F92C436F7061BF334D961C/7571376e3c0fcccc5a1331ce4af21bae867e25d6/99ea6839-0c58-494d-bb1a-dc547478ac2a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210525T173658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe647b54e41d2862ceee9c88d7a1a55e8e7b4b1c15d60e96f9778bbd2b11556b [2021-05-25T17:36:58.539Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-25T17:36:58.539Z] Dload Upload Total Spent Left Speed [2021-05-25T17:36:59.115Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3992 --:--:-- --:--:-- --:--:-- 3997 [2021-05-25T17:36:59.115Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7571376e3c0fcccc5a1331ce4af21bae867e25d6 [Pipeline] } [2021-05-25T17:36:59.141Z] 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-25T17:37:00.912Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:37:01.752Z] ---> package-listing.sh [2021-05-25T17:37:01.752Z] ++ facter osfamily [2021-05-25T17:37:01.752Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-25T17:37:01.752Z] + OS_FAMILY=redhat [2021-05-25T17:37:01.752Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-107 [2021-05-25T17:37:01.752Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-25T17:37:01.752Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-25T17:37:01.752Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-25T17:37:01.752Z] + PACKAGES=/tmp/packages_start.txt [2021-05-25T17:37:01.752Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-107 ']' [2021-05-25T17:37:01.752Z] + PACKAGES=/tmp/packages_end.txt [2021-05-25T17:37:01.752Z] + case "${OS_FAMILY}" in [2021-05-25T17:37:01.752Z] + rpm -qa [2021-05-25T17:37:01.752Z] + sort [2021-05-25T17:37:02.698Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-25T17:37:02.698Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-25T17:37:02.698Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-25T17:37:02.698Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-107 ']' [2021-05-25T17:37:02.698Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-107/archives/ [2021-05-25T17:37:02.698Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-107/archives/ [Pipeline] echo [2021-05-25T17:37:02.743Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-25T17:37:03.050Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:37:03.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T17:37:03.659Z] [2021-05-25T17:37:03.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-25T17:37:04.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T17:37:04.013Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-25T17:37:04.013Z] df20fa9351a1: Pulling fs layer [2021-05-25T17:37:04.013Z] 36b3adc4ff6f: Pulling fs layer [2021-05-25T17:37:04.013Z] 8ad3a11d3b57: Pulling fs layer [2021-05-25T17:37:04.013Z] 46f8f816bc3b: Pulling fs layer [2021-05-25T17:37:04.013Z] 93b61091891f: Pulling fs layer [2021-05-25T17:37:04.013Z] 93b9cdb0e59b: Pulling fs layer [2021-05-25T17:37:04.013Z] 5e14af77c1be: Pulling fs layer [2021-05-25T17:37:04.013Z] 01666e4c0597: Pulling fs layer [2021-05-25T17:37:04.013Z] aa168da1d23b: Pulling fs layer [2021-05-25T17:37:04.013Z] 46f8f816bc3b: Waiting [2021-05-25T17:37:04.013Z] 93b61091891f: Waiting [2021-05-25T17:37:04.013Z] 93b9cdb0e59b: Waiting [2021-05-25T17:37:04.013Z] 5e14af77c1be: Waiting [2021-05-25T17:37:04.013Z] 01666e4c0597: Waiting [2021-05-25T17:37:04.013Z] aa168da1d23b: Waiting [2021-05-25T17:37:04.013Z] 36b3adc4ff6f: Verifying Checksum [2021-05-25T17:37:04.013Z] 36b3adc4ff6f: Download complete [2021-05-25T17:37:04.013Z] 46f8f816bc3b: Verifying Checksum [2021-05-25T17:37:04.013Z] 46f8f816bc3b: Download complete [2021-05-25T17:37:04.281Z] 93b61091891f: Verifying Checksum [2021-05-25T17:37:04.281Z] 93b61091891f: Download complete [2021-05-25T17:37:04.281Z] df20fa9351a1: Verifying Checksum [2021-05-25T17:37:04.281Z] df20fa9351a1: Download complete [2021-05-25T17:37:04.281Z] 93b9cdb0e59b: Verifying Checksum [2021-05-25T17:37:04.281Z] 93b9cdb0e59b: Download complete [2021-05-25T17:37:04.281Z] 5e14af77c1be: Verifying Checksum [2021-05-25T17:37:04.281Z] 5e14af77c1be: Download complete [2021-05-25T17:37:04.281Z] 01666e4c0597: Verifying Checksum [2021-05-25T17:37:04.281Z] 01666e4c0597: Download complete [2021-05-25T17:37:04.281Z] 8ad3a11d3b57: Verifying Checksum [2021-05-25T17:37:04.281Z] 8ad3a11d3b57: Download complete [2021-05-25T17:37:04.544Z] df20fa9351a1: Pull complete [2021-05-25T17:37:04.805Z] 36b3adc4ff6f: Pull complete [2021-05-25T17:37:05.378Z] 8ad3a11d3b57: Pull complete [2021-05-25T17:37:05.378Z] 46f8f816bc3b: Pull complete [2021-05-25T17:37:05.644Z] 93b61091891f: Pull complete [2021-05-25T17:37:05.909Z] 93b9cdb0e59b: Pull complete [2021-05-25T17:37:05.909Z] 5e14af77c1be: Pull complete [2021-05-25T17:37:05.909Z] 01666e4c0597: Pull complete [2021-05-25T17:37:06.482Z] aa168da1d23b: Verifying Checksum [2021-05-25T17:37:06.482Z] aa168da1d23b: Download complete [2021-05-25T17:37:10.731Z] aa168da1d23b: Pull complete [2021-05-25T17:37:10.731Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-25T17:37:10.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-25T17:37:10.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-25T17:37:10.835Z] prd-centos7-docker-4c-2g-238 does not seem to be running inside a container [2021-05-25T17:37:10.872Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-107/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-107 -v /w/workspace/gexfoundry_device-rest-go_PR-107:/w/workspace/gexfoundry_device-rest-go_PR-107:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-107@tmp:/w/workspace/gexfoundry_device-rest-go_PR-107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-25T17:37:21.161Z] $ docker top dde1306ccb5776a19086917f60c8330671fc3b36e43baaf5df33d0ab7a43be02 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-25T17:37:21.597Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-25T17:37:21.912Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-25T17:37:22.241Z] + ls /var/log/sa-host [2021-05-25T17:37:22.241Z] + sadf -c /var/log/sa-host/sa05 [2021-05-25T17:37:22.241Z] file_magic: OK [2021-05-25T17:37:22.241Z] HZ: Using current value: 100 [2021-05-25T17:37:22.241Z] file_header: OK [2021-05-25T17:37:22.241Z] 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-25T17:37:22.241Z] Statistics: [2021-05-25T17:37:22.241Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T17:37:22.241Z] File successfully converted to sysstat format version 12.2.1 [2021-05-25T17:37:22.241Z] + sadf -c /var/log/sa-host/sa25 [2021-05-25T17:37:22.241Z] file_magic: OK [2021-05-25T17:37:22.241Z] HZ: Using current value: 100 [2021-05-25T17:37:22.241Z] file_header: OK [2021-05-25T17:37:22.241Z] 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-25T17:37:22.241Z] Statistics: [2021-05-25T17:37:22.241Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-25T17:37:22.241Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-25T17:37:23.003Z] provisioning config files... [2021-05-25T17:37:23.019Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-107@tmp/config4799855986825212885tmp [Pipeline] { [Pipeline] echo [2021-05-25T17:37:23.099Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:37:23.458Z] ---> create-netrc.sh [Pipeline] } [2021-05-25T17:37:23.482Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-25T17:37:23.555Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:37:23.894Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-25T17:37:23.927Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:37:24.285Z] ---> sudo-logs.sh [2021-05-25T17:37:24.285Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-25T17:37:24.362Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:37:24.707Z] ---> job-cost.sh [2021-05-25T17:37:24.707Z] lf-activate-venv: SKIPPING [2021-05-25T17:37:24.707Z] DEBUG: total: 0.05999999865889549 [2021-05-25T17:37:24.707Z] INFO: Retrieving Stack Cost... [2021-05-25T17:37:25.651Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-25T17:37:25.921Z] INFO: Archiving Costs [Pipeline] echo [2021-05-25T17:37:25.987Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-25T17:37:26.329Z] ---> logs-deploy.sh [2021-05-25T17:37:26.329Z] lf-activate-venv: SKIPPING [2021-05-25T17:37:26.329Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-107/1 [2021-05-25T17:37:26.329Z] INFO: archiving workspace using pattern(s): [2021-05-25T17:37:27.270Z] Archives upload complete. [2021-05-25T17:37:27.270Z] INFO: archiving logs to Nexus