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 17:27:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:27:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:27:18 ========================================================= 17:27:18 EdgeX Global Pipelines Version Info 17:27:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:27:19 ------------------- 17:27:19 stable info: 17:27:19 ------------------- 17:27:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:27:19 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:27:19 Message: update stable to v1.0.192 17:27:20 ------------------- 17:27:20 experimental info: 17:27:20 ------------------- 17:27:20 Commited By: **** collab-it+edgex@linuxfoundation.org 17:27:20 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 17:27:20 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:27:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:27:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:27:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:27:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:27:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:27:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:27:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-107 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-107 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-107 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7571376e3c0fcccc5a1331ce4af21bae867e25d6 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7571376 [Pipeline] echo 17:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:22 provisioning config files... 17:27:22 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-107@tmp/config4773497434391076936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:23 ---> docker-login.sh 17:27:23 nexus3.edgexfoundry.org:10001 17:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:23 Configure a credential helper to remove this warning. See 17:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:23 17:27:23 Login Succeeded 17:27:23 nexus3.edgexfoundry.org:10002 17:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:23 Configure a credential helper to remove this warning. See 17:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:23 17:27:23 Login Succeeded 17:27:23 nexus3.edgexfoundry.org:10003 17:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:23 Configure a credential helper to remove this warning. See 17:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:23 17:27:23 Login Succeeded 17:27:23 nexus3.edgexfoundry.org:10004 17:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:24 Configure a credential helper to remove this warning. See 17:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:24 17:27:24 Login Succeeded 17:27:24 docker.io 17:27:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:24 Configure a credential helper to remove this warning. See 17:27:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:24 17:27:24 Login Succeeded 17:27:24 ---> docker-login.sh ends [Pipeline] } 17:27:24 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 17:27:25 + git log --format=format:%s -1 7571376e3c0fcccc5a1331ce4af21bae867e25d6 [Pipeline] echo 17:27:25 GIT_COMMIT: 7571376e3c0fcccc5a1331ce4af21bae867e25d6, Commit Message: refactor: Update configuration for change to common ServiceInfo struct Moved non-common settings under [Device] section [Pipeline] echo 17:27:25 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:25 17:27:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:27:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:26 latest: Pulling from edgex-devops/git-semver 17:27:26 31603596830f: Pulling fs layer 17:27:26 54011a49482f: Pulling fs layer 17:27:26 a6820b24f6d8: Pulling fs layer 17:27:26 f581987b2513: Pulling fs layer 17:27:26 f581987b2513: Waiting 17:27:26 54011a49482f: Download complete 17:27:26 31603596830f: Verifying Checksum 17:27:26 31603596830f: Download complete 17:27:26 f581987b2513: Verifying Checksum 17:27:26 f581987b2513: Download complete 17:27:26 31603596830f: Pull complete 17:27:26 a6820b24f6d8: Verifying Checksum 17:27:26 a6820b24f6d8: Download complete 17:27:26 54011a49482f: Pull complete 17:27:27 a6820b24f6d8: Pull complete 17:27:27 f581987b2513: Pull complete 17:27:27 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 17:27:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:27:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:27:27 prd-centos7-docker-4c-2g-238 does not seem to be running inside a container 17:27:27 $ 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 17:27:28 $ docker top 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:27:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:28 [ssh-agent] Looking for ssh-agent implementation... 17:27:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:28 $ docker exec 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 ssh-agent 17:27:29 SSH_AUTH_SOCK=/tmp/ssh-fMfBkZihCFQZ/agent.14 17:27:29 SSH_AGENT_PID=20 17:27:29 Running ssh-add (command line suppressed) 17:27:29 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) 17:27:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:27:29 + git tag --points-at HEAD [Pipeline] } 17:27:29 $ docker exec --env ******** --env ******** 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 ssh-agent -k 17:27:29 unset SSH_AUTH_SOCK; 17:27:29 unset SSH_AGENT_PID; 17:27:29 echo Agent pid 20 killed; 17:27:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:27:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:27:29 [ssh-agent] Looking for ssh-agent implementation... 17:27:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:27:29 $ docker exec 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 ssh-agent 17:27:30 SSH_AUTH_SOCK=/tmp/ssh-0dSDxYToYvzD/agent.52 17:27:30 SSH_AGENT_PID=59 17:27:30 Running ssh-add (command line suppressed) 17:27:30 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) 17:27:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:27:30 + git semver init 17:27:30 # -> Open(): unable to determine branch for HEAD 17:27:30 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-107/.git 17:27:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-107 17:27:30 # $SEMVER_REMOTE_NAME = origin 17:27:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:27:30 # $SEMVER_USER_NAME = edgex-jenkins 17:27:30 # $SEMVER_BRANCH = PR-107 17:27:30 # $SEMVER_TEMP = /tmp/semver-776993128 17:27:30 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 17:27:31 # '/tmp/semver-776993128' -> '/w/workspace/gexfoundry_device-rest-go_PR-107/.semver' 17:27:31 # -> Force: false 17:27:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-107/.semver [Pipeline] } 17:27:31 $ docker exec --env ******** --env ******** 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 ssh-agent -k 17:27:31 unset SSH_AUTH_SOCK; 17:27:31 unset SSH_AGENT_PID; 17:27:31 echo Agent pid 59 killed; 17:27:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:27:32 + git semver [Pipeline] } 17:27:32 $ docker stop --time=1 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 17:27:33 $ docker rm -f 1559c92676ce12760584b317d6921bd8dd27120f5db9fbbed2103cdf40000372 [Pipeline] // withDockerContainer [Pipeline] sh 17:27:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:27:34 Stashed 1 file(s) [Pipeline] echo 17:27:34 [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 17:27:49 Still waiting to schedule task 17:27:49 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:27:49 Still waiting to schedule task 17:27:49 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 17:30:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-242 in /w/workspace/gexfoundry_device-rest-go_PR-107 [Pipeline] { [Pipeline] ws 17:30:30 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 17:30:31 The recommended git tool is: git 17:30:36 using credential edgex-jenkins-ssh 17:30:36 Cloning the remote Git repository 17:30:36 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:30:37 > git init /w/workspace/device-rest-go/1 # timeout=10 17:30:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:30:37 > git --version # timeout=10 17:30:37 > git --version # 'git version 2.17.1' 17:30:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:30:39 Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit 7571376e3c0fcccc5a1331ce4af21bae867e25d6 17:30:39 Merge succeeded, producing 7571376e3c0fcccc5a1331ce4af21bae867e25d6 17:30:39 Checking out Revision 7571376e3c0fcccc5a1331ce4af21bae867e25d6 (PR-107) 17:30:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:30:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:30:38 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:30:38 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:30:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:38 > 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 17:30:39 > git config core.sparsecheckout # timeout=10 17:30:39 > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 17:30:39 > git remote # timeout=10 17:30:39 > git config --get remote.origin.url # timeout=10 17:30:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:39 > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 17:30:39 > git rev-parse HEAD^{commit} # timeout=10 17:30:39 > git config core.sparsecheckout # timeout=10 17:30:39 > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 17:30:43 Commit message: "refactor: Update configuration for change to common ServiceInfo struct Moved non-common settings under [Device] section" 17:30:43 > git --version # timeout=10 17:30:43 > git --version # 'git version 2.17.1' 17:30:43 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:30:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:30:46 + true 17:30:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:04 provisioning config files... 17:31:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3737541015633414444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:05 ---> docker-login.sh 17:31:05 nexus3.edgexfoundry.org:10001 17:31:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:06 Configure a credential helper to remove this warning. See 17:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:06 17:31:06 Login Succeeded 17:31:06 nexus3.edgexfoundry.org:10002 17:31:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:06 Configure a credential helper to remove this warning. See 17:31:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:06 17:31:06 Login Succeeded 17:31:06 nexus3.edgexfoundry.org:10003 17:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:07 Configure a credential helper to remove this warning. See 17:31:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:07 17:31:07 Login Succeeded 17:31:07 nexus3.edgexfoundry.org:10004 17:31:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:08 Configure a credential helper to remove this warning. See 17:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:08 17:31:08 Login Succeeded 17:31:08 docker.io 17:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:08 Configure a credential helper to remove this warning. See 17:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:08 17:31:08 Login Succeeded 17:31:08 ---> docker-login.sh ends [Pipeline] } 17:31:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:31:09 ========================================================= 17:31:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 17:31:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:31:09 + 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 . 17:31:09 Sending build context to Docker daemon 92.16kB 17:31:10 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 17:31:10 Step 2/10 : FROM ${BASE} 17:31:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:31:10 595b0fe564bb: Pulling fs layer 17:31:10 7186ed65a4f7: Pulling fs layer 17:31:10 316046926c0a: Pulling fs layer 17:31:10 4ebd0625c992: Pulling fs layer 17:31:10 207e8628e3a3: Pulling fs layer 17:31:10 c791037a9be2: Pulling fs layer 17:31:10 ffd874e62e21: Pulling fs layer 17:31:10 4ebd0625c992: Waiting 17:31:10 207e8628e3a3: Waiting 17:31:10 c791037a9be2: Waiting 17:31:10 ffd874e62e21: Waiting 17:31:10 316046926c0a: Verifying Checksum 17:31:10 316046926c0a: Download complete 17:31:10 7186ed65a4f7: Verifying Checksum 17:31:10 7186ed65a4f7: Download complete 17:31:10 207e8628e3a3: Verifying Checksum 17:31:10 207e8628e3a3: Download complete 17:31:10 c791037a9be2: Verifying Checksum 17:31:10 c791037a9be2: Download complete 17:31:10 595b0fe564bb: Verifying Checksum 17:31:10 595b0fe564bb: Download complete 17:31:11 595b0fe564bb: Pull complete 17:31:11 7186ed65a4f7: Pull complete 17:31:12 316046926c0a: Pull complete 17:31:13 ffd874e62e21: Verifying Checksum 17:31:13 ffd874e62e21: Download complete 17:31:14 4ebd0625c992: Verifying Checksum 17:31:14 4ebd0625c992: Download complete 17:31:24 4ebd0625c992: Pull complete 17:31:24 207e8628e3a3: Pull complete 17:31:24 c791037a9be2: Pull complete 17:31:28 ffd874e62e21: Pull complete 17:31:28 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 17:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 17:31:28 ---> cfc18b08335c 17:31:28 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:31:29 ---> Running in f4fa1f5e6b79 17:31:30 Removing intermediate container f4fa1f5e6b79 17:31:30 ---> cd4885483ebc 17:31:30 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:31:30 ---> Running in 3de969a3c74e 17:31:30 Removing intermediate container 3de969a3c74e 17:31:30 ---> 34972316a0ad 17:31:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:31:30 ---> Running in 29203541ca55 17:31:31 Removing intermediate container 29203541ca55 17:31:31 ---> cd1f820e10e2 17:31:31 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:31:31 ---> Running in b9c2a659b750 17:31:33 Removing intermediate container b9c2a659b750 17:31:33 ---> 2e6b4b6b7e8e 17:31:33 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:33 ---> Running in da59fdc203b1 17:31:34 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:31:35 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:31:36 (1/9) Installing libc-dev (0.7.2-r3) 17:31:37 (2/9) Installing libsodium (1.0.18-r0) 17:31:37 (3/9) Installing pkgconf (1.7.3-r0) 17:31:37 (4/9) Installing libsodium-dev (1.0.18-r0) 17:31:37 (5/9) Installing openssh-keygen (8.4_p1-r3) 17:31:37 (6/9) Installing libedit (20191231.3.1-r1) 17:31:37 (7/9) Installing openssh-client (8.4_p1-r3) 17:31:38 (8/9) Installing libzmq (4.3.3-r1) 17:31:38 (9/9) Installing zeromq-dev (4.3.3-r1) 17:31:38 Executing busybox-1.32.1-r6.trigger 17:31:38 OK: 144 MiB in 49 packages 17:31:39 Removing intermediate container da59fdc203b1 17:31:39 ---> 49bcbfec83c2 17:31:39 Step 8/10 : WORKDIR /device-rest-go 17:31:39 ---> Running in f9ebe4c8b5f5 17:31:40 Removing intermediate container f9ebe4c8b5f5 17:31:40 ---> c431f12d4445 17:31:40 Step 9/10 : COPY . . 17:31:41 ---> 5ba77f22ca4e 17:31:41 Step 10/10 : RUN go mod download 17:31:41 ---> Running in a795e5f051b6 17:32:08 Removing intermediate container a795e5f051b6 17:32:08 ---> 99949a20275e 17:32:08 Successfully built 99949a20275e 17:32:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:32:08 + docker inspect -f . ci-base-image-arm64 17:32:08 . [Pipeline] withDockerContainer 17:32:08 prd-ubuntu18.04-docker-arm64-4c-16g-242 does not seem to be running inside a container 17:32:09 $ 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 17:32:10 $ docker top b3bad81684389eea4c666bd376914ef27b617605cd2f09c168fc57ea9b1262fe -eo pid,comm [Pipeline] { [Pipeline] sh 17:32:11 + go version 17:32:11 go version go1.16.3 linux/arm64 [Pipeline] } 17:32:11 $ docker stop --time=1 b3bad81684389eea4c666bd376914ef27b617605cd2f09c168fc57ea9b1262fe 17:32:13 $ docker rm -f b3bad81684389eea4c666bd376914ef27b617605cd2f09c168fc57ea9b1262fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:32:14 + docker inspect -f . ci-base-image-arm64 17:32:14 . [Pipeline] withDockerContainer 17:32:14 prd-ubuntu18.04-docker-arm64-4c-16g-242 does not seem to be running inside a container 17:32:14 Running on prd-centos7-docker-4c-2g-245 in /w/workspace/gexfoundry_device-rest-go_PR-107 17:32:14 $ 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 17:32:16 $ docker top e6b4d454fd83469d0046eecd67e36641c657991fe2dbd87de5453b17f7b45478 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] sh [Pipeline] ws 17:32:16 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 17:32:17 The recommended git tool is: git 17:32:17 + go mod tidy [Pipeline] sh 17:32:18 + make test 17:32:18 go mod tidy 17:32:19 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:32:19 using credential edgex-jenkins-ssh 17:32:19 Cloning the remote Git repository 17:32:20 ? github.com/edgexfoundry/device-rest-go [no test files] 17:32:19 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:32:19 > git init /w/workspace/device-rest-go/1 # timeout=10 17:32:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:32:19 > git --version # timeout=10 17:32:19 > git --version # 'git version 2.24.4' 17:32:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:19 [INFO] Currently running in a labeled security context 17:32:19 [INFO] Currently SELinux is 'enforcing' on the host 17:32:19 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1719583396561248141.key 17:32:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:24 Merging remotes/origin/master commit 03359c08c1b66a89f278bd3fc862a1cc531bead5 into PR head commit 7571376e3c0fcccc5a1331ce4af21bae867e25d6 17:32:24 Merge succeeded, producing 7571376e3c0fcccc5a1331ce4af21bae867e25d6 17:32:24 Checking out Revision 7571376e3c0fcccc5a1331ce4af21bae867e25d6 (PR-107) 17:32:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:32:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:32:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:32:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:24 [INFO] Currently running in a labeled security context 17:32:24 [INFO] Currently SELinux is 'enforcing' on the host 17:32:24 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh5206706723027369973.key 17:32:24 > 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 17:32:24 > git config core.sparsecheckout # timeout=10 17:32:24 > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 17:32:24 > git remote # timeout=10 17:32:24 > git config --get remote.origin.url # timeout=10 17:32:24 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:24 [INFO] Currently running in a labeled security context 17:32:24 [INFO] Currently SELinux is 'enforcing' on the host 17:32:24 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh365799138557657753.key 17:32:24 > git merge 03359c08c1b66a89f278bd3fc862a1cc531bead5 # timeout=10 17:32:24 > git rev-parse HEAD^{commit} # timeout=10 17:32:24 > git config core.sparsecheckout # timeout=10 17:32:24 > git checkout -f 7571376e3c0fcccc5a1331ce4af21bae867e25d6 # timeout=10 17:32:28 Commit message: "refactor: Update configuration for change to common ServiceInfo struct Moved non-common settings under [Device] section" 17:32:28 > git --version # timeout=10 17:32:28 > git --version # 'git version 2.24.4' 17:32:28 fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:29 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:32:29 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:32:30 + sudo service docker restart 17:32:30 + true 17:32:30 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:48 provisioning config files... 17:32:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9052278323823139947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:48 ---> docker-login.sh 17:32:48 nexus3.edgexfoundry.org:10001 17:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:49 Configure a credential helper to remove this warning. See 17:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:49 17:32:49 Login Succeeded 17:32:49 nexus3.edgexfoundry.org:10002 17:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:49 Configure a credential helper to remove this warning. See 17:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:49 17:32:49 Login Succeeded 17:32:49 nexus3.edgexfoundry.org:10003 17:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:49 Configure a credential helper to remove this warning. See 17:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:49 17:32:49 Login Succeeded 17:32:49 nexus3.edgexfoundry.org:10004 17:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:50 Configure a credential helper to remove this warning. See 17:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:50 17:32:50 Login Succeeded 17:32:50 docker.io 17:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:50 Configure a credential helper to remove this warning. See 17:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:50 17:32:50 Login Succeeded 17:32:50 ---> docker-login.sh ends [Pipeline] } 17:32:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:50 ========================================================= 17:32:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 17:32:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:32:51 + 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 . 17:32:51 Sending build context to Docker daemon 92.16kB 17:32:51 Step 1/10 : ARG BASE=golang:1.16-alpine3.12 17:32:51 Step 2/10 : FROM ${BASE} 17:32:51 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 17:32:51 540db60ca938: Pulling fs layer 17:32:51 adcc1eea9eea: Pulling fs layer 17:32:51 4c4ab2625f07: Pulling fs layer 17:32:51 0510c868ecb4: Pulling fs layer 17:32:51 afea3b2eda06: Pulling fs layer 17:32:51 7809a108b3ef: Pulling fs layer 17:32:51 f706445af74f: Pulling fs layer 17:32:51 afea3b2eda06: Waiting 17:32:51 7809a108b3ef: Waiting 17:32:51 0510c868ecb4: Waiting 17:32:51 f706445af74f: Waiting 17:32:51 4c4ab2625f07: Verifying Checksum 17:32:51 4c4ab2625f07: Download complete 17:32:51 adcc1eea9eea: Verifying Checksum 17:32:51 adcc1eea9eea: Download complete 17:32:51 afea3b2eda06: Verifying Checksum 17:32:51 afea3b2eda06: Download complete 17:32:51 540db60ca938: Verifying Checksum 17:32:51 540db60ca938: Download complete 17:32:51 7809a108b3ef: Verifying Checksum 17:32:51 7809a108b3ef: Download complete 17:32:51 540db60ca938: Pull complete 17:32:51 adcc1eea9eea: Pull complete 17:32:51 4c4ab2625f07: Pull complete 17:32:52 f706445af74f: Verifying Checksum 17:32:52 f706445af74f: Download complete 17:32:53 0510c868ecb4: Download complete 17:32:58 0510c868ecb4: Pull complete 17:32:58 afea3b2eda06: Pull complete 17:32:59 7809a108b3ef: Pull complete 17:33:01 f706445af74f: Pull complete 17:33:01 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 17:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 17:33:02 ---> b068be0155e3 17:33:02 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:33:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:33:17 ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 54.0% of statements 17:33:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:33:39 gofmt -l . 17:33:39 [ "`gofmt -l .`" = "" ] 17:33:39 ./bin/test-go-mod-tidy.sh 17:33:39 ./bin/test-attribution-txt.sh 17:33:40 ---> Running in 90a496dfd6b2 17:33:40 Removing intermediate container 90a496dfd6b2 17:33:40 ---> c8e5015e03a3 17:33:40 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:33:40 ---> Running in 96199fbbbfde 17:33:40 Removing intermediate container 96199fbbbfde 17:33:40 ---> bea69d53f526 17:33:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:33:41 ---> Running in 8a2912832a0d [Pipeline] } 17:33:41 Removing intermediate container 8a2912832a0d 17:33:41 ---> 93f4156c52c6 17:33:41 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:33:41 $ docker stop --time=1 e6b4d454fd83469d0046eecd67e36641c657991fe2dbd87de5453b17f7b45478 17:33:41 ---> Running in 9a0501d6e2ac 17:33:43 $ docker rm -f e6b4d454fd83469d0046eecd67e36641c657991fe2dbd87de5453b17f7b45478 17:33:43 Removing intermediate container 9a0501d6e2ac 17:33:43 ---> 469abb50ee0d 17:33:43 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:43 ---> Running in d142a613998f [Pipeline] // withDockerContainer [Pipeline] sh 17:33:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:33:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:33:44 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:33:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { 17:33:45 (1/9) Installing libc-dev (0.7.2-r3) 17:33:45 (2/9) Installing libsodium (1.0.18-r0) 17:33:45 (3/9) Installing pkgconf (1.7.3-r0) 17:33:45 (4/9) Installing libsodium-dev (1.0.18-r0) 17:33:45 (5/9) Installing openssh-keygen (8.4_p1-r3) 17:33:45 (6/9) Installing libedit (20191231.3.1-r1) 17:33:45 (7/9) Installing openssh-client (8.4_p1-r3) 17:33:46 (8/9) Installing libzmq (4.3.3-r1) [Pipeline] sh 17:33:46 (9/9) Installing zeromq-dev (4.3.3-r1) 17:33:46 Executing busybox-1.32.1-r6.trigger 17:33:46 OK: 154 MiB in 49 packages 17:33:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:33:46 + ls -al . 17:33:46 total 132 17:33:46 drwxrwxr-x 8 jenkins jenkins 4096 May 25 17:33 . 17:33:46 drwxrwxr-x 4 jenkins jenkins 4096 May 25 17:30 .. 17:33:46 -rw-rw-r-- 1 jenkins jenkins 151 May 25 17:30 .dockerignore 17:33:46 drwxrwxr-x 8 jenkins jenkins 4096 May 25 17:30 .git 17:33:46 drwxrwxr-x 2 jenkins jenkins 4096 May 25 17:30 .github 17:33:46 -rw-rw-r-- 1 jenkins jenkins 336 May 25 17:30 .gitignore 17:33:46 -rw-rw-r-- 1 jenkins jenkins 6792 May 25 17:30 Attribution.txt 17:33:46 -rw-rw-r-- 1 jenkins jenkins 1615 May 25 17:30 Dockerfile 17:33:46 -rw-rw-r-- 1 jenkins jenkins 1087 May 25 17:30 Dockerfile.build 17:33:46 -rw-rw-r-- 1 jenkins jenkins 680 May 25 17:30 Jenkinsfile 17:33:46 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 17:30 LICENSE 17:33:46 -rw-rw-r-- 1 jenkins jenkins 996 May 25 17:30 Makefile 17:33:46 -rw-rw-r-- 1 jenkins jenkins 7667 May 25 17:30 README.md 17:33:46 -rw-rw-r-- 1 jenkins jenkins 5 May 25 17:27 VERSION 17:33:46 drwxrwxr-x 2 jenkins jenkins 4096 May 25 17:30 bin 17:33:46 drwxrwxr-x 3 jenkins jenkins 4096 May 25 17:30 cmd 17:33:46 -rw-r--r-- 1 jenkins jenkins 8513 May 25 17:33 coverage.out 17:33:46 drwxrwxr-x 2 jenkins jenkins 4096 May 25 17:30 driver 17:33:46 -rw-r--r-- 1 jenkins jenkins 285 May 25 17:33 go.mod 17:33:46 -rw-r--r-- 1 jenkins jenkins 21177 May 25 17:32 go.sum 17:33:46 drwxrwxr-x 4 jenkins jenkins 4096 May 25 17:30 snap 17:33:46 -rw-rw-r-- 1 jenkins jenkins 713 May 25 17:30 version.go [Pipeline] isUnix [Pipeline] sh 17:33:47 + 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 . 17:33:47 Sending build context to Docker daemon 101.9kB 17:33:47 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 17:33:47 Step 2/25 : FROM ${BASE} AS builder 17:33:47 ---> 99949a20275e 17:33:47 Step 3/25 : ARG MAKE='make build' 17:33:47 ---> Running in be2140fefe47 17:33:48 Removing intermediate container d142a613998f 17:33:48 ---> 7559d74e8f9d 17:33:48 Step 8/10 : WORKDIR /device-rest-go 17:33:48 ---> Running in b04e59005a0c 17:33:48 Removing intermediate container be2140fefe47 17:33:48 ---> eb4b05fd5a9c 17:33:48 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:33:48 ---> Running in 7d1e09f574af 17:33:48 Removing intermediate container b04e59005a0c 17:33:48 ---> 4245ef302271 17:33:48 Step 9/10 : COPY . . 17:33:49 Removing intermediate container 7d1e09f574af 17:33:49 ---> 26e516840401 17:33:49 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:33:49 ---> Running in 5dac0233d531 17:33:49 Removing intermediate container 5dac0233d531 17:33:49 ---> 7d76faed870a 17:33:49 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:33:49 ---> Running in 386602cbfe49 17:33:49 ---> f31e1b04734f 17:33:49 Step 10/10 : RUN go mod download 17:33:50 ---> Running in ddc0f9c4c2ff 17:33:52 Removing intermediate container 386602cbfe49 17:33:52 ---> 3e2238b06c9f 17:33:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:52 ---> Running in c783b833bbd6 17:33:53 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 17:33:54 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 17:33:54 OK: 144 MiB in 49 packages 17:33:55 Removing intermediate container c783b833bbd6 17:33:55 ---> e99394817f7f 17:33:55 Step 8/25 : WORKDIR /device-rest-go 17:33:56 ---> Running in bf0c3420bbf8 17:33:56 Removing intermediate container bf0c3420bbf8 17:33:56 ---> 196c754d8a1b 17:33:56 Step 9/25 : COPY . . 17:33:57 ---> 0f7ea21bc4d0 17:33:57 Step 10/25 : RUN go mod tidy 17:33:57 ---> Running in c154f8e1d6fa 17:34:00 Removing intermediate container c154f8e1d6fa 17:34:00 ---> 8587dfb34f70 17:34:00 Step 11/25 : RUN make update 17:34:00 ---> Running in a3476cda0585 17:34:01 CGO_ENABLED=0 GO111MODULE=on go mod download 17:34:02 Removing intermediate container a3476cda0585 17:34:02 ---> 0b492b32ccac 17:34:02 Step 12/25 : RUN $MAKE 17:34:02 ---> Running in afed49a7277b 17:34:03 go mod tidy 17:34:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 17:34:43 Removing intermediate container afed49a7277b 17:34:43 ---> 22cf4484463b 17:34:43 Step 13/25 : FROM alpine:3.12 17:34:43 3.12: Pulling from library/alpine 17:34:43 d2f70382dc9a: Pulling fs layer 17:34:43 d2f70382dc9a: Verifying Checksum 17:34:43 d2f70382dc9a: Download complete 17:34:43 d2f70382dc9a: Pull complete 17:34:43 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 17:34:43 Status: Downloaded newer image for alpine:3.12 17:34:43 ---> 9852663dfa18 17:34:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:34:43 ---> Running in 346ff9cfdca4 17:34:43 Removing intermediate container 346ff9cfdca4 17:34:43 ---> 4a2042c886c6 17:34:43 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:34:43 ---> Running in 58f48e2245fc 17:34:43 Removing intermediate container 58f48e2245fc 17:34:43 ---> 39a270686694 17:34:43 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:34:43 ---> Running in 24fb3f9f3f62 17:34:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:34:43 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:34:43 (1/6) Installing dumb-init (1.2.2-r1) 17:34:43 (2/6) Installing libgcc (9.3.0-r2) 17:34:43 (3/6) Installing libsodium (1.0.18-r0) 17:34:43 (4/6) Installing libstdc++ (9.3.0-r2) 17:34:43 (5/6) Installing libzmq (4.3.3-r0) 17:34:44 (6/6) Installing zeromq (4.3.3-r0) 17:34:44 Executing busybox-1.31.1-r20.trigger 17:34:44 OK: 8 MiB in 20 packages 17:34:45 Removing intermediate container 24fb3f9f3f62 17:34:45 ---> 0fcb655a9a55 17:34:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:34:46 Removing intermediate container ddc0f9c4c2ff 17:34:46 ---> cfc39293e63c 17:34:46 Successfully built cfc39293e63c 17:34:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:34:46 ---> a102d4674853 17:34:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:34:46 + docker inspect -f . ci-base-image-x86_64 17:34:46 . [Pipeline] withDockerContainer 17:34:46 prd-centos7-docker-4c-2g-245 does not seem to be running inside a container 17:34:46 $ 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 17:34:47 ---> b28c12c6a2ae 17:34:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:34:47 $ docker top 927616fe3c9552980a5a53b8926b218febb54cbaf9917387f999b27b5958bebd -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:48 ---> debdf8255092 17:34:48 Step 20/25 : EXPOSE 59986 17:34:48 ---> Running in 5133fbc143b9 17:34:48 + go version 17:34:48 go version go1.16.3 linux/amd64 [Pipeline] } 17:34:48 $ docker stop --time=1 927616fe3c9552980a5a53b8926b218febb54cbaf9917387f999b27b5958bebd 17:34:48 Removing intermediate container 5133fbc143b9 17:34:48 ---> 90e711432bae 17:34:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:34:48 ---> Running in 078f139aef33 17:34:49 Removing intermediate container 078f139aef33 17:34:49 ---> b65614e4747c 17:34:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:34:49 ---> Running in 02d2a8f58232 17:34:49 $ docker rm -f 927616fe3c9552980a5a53b8926b218febb54cbaf9917387f999b27b5958bebd 17:34:49 Removing intermediate container 02d2a8f58232 17:34:49 ---> ac4cd538ca84 17:34:49 Step 23/25 : LABEL arch=arm64 17:34:49 ---> Running in def724c68ea2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:34:50 Removing intermediate container def724c68ea2 17:34:50 ---> 3587ffcc00f4 17:34:50 Step 24/25 : LABEL git_sha=7571376e3c0fcccc5a1331ce4af21bae867e25d6 17:34:50 + docker inspect -f . ci-base-image-x86_64 17:34:50 . [Pipeline] withDockerContainer 17:34:50 prd-centos7-docker-4c-2g-245 does not seem to be running inside a container 17:34:50 ---> Running in 57b0a1ea71b1 17:34:50 $ 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 17:34:51 Removing intermediate container 57b0a1ea71b1 17:34:51 ---> dc7947848ad4 17:34:51 Step 25/25 : LABEL version=0.0.0 17:34:51 ---> Running in 97f109a9324e 17:34:51 $ docker top 9bede6a12c3551c2ec71cca5942a678f8cb24dfd915d89e64c031e5c06c38d2c -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:52 Removing intermediate container 97f109a9324e 17:34:52 ---> 1873877a8d43 17:34:52 [Warning] One or more build-args [ARCH] were not consumed 17:34:52 Successfully built 1873877a8d43 17:34:52 Successfully tagged device-rest-arm64:latest [Pipeline] } 17:34:52 + 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 17:34:52 + make test 17:34:52 go mod tidy 17:34:52 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:34:52 ---> job-cost.sh 17:34:52 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-7QWa 17:34:53 ? github.com/edgexfoundry/device-rest-go [no test files] 17:35:15 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:35:15 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 54.0% of statements 17:35:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:35:21 gofmt -l . 17:35:21 [ "`gofmt -l .`" = "" ] 17:35:21 ./bin/test-go-mod-tidy.sh 17:35:21 ./bin/test-attribution-txt.sh [Pipeline] } 17:35:22 $ docker stop --time=1 9bede6a12c3551c2ec71cca5942a678f8cb24dfd915d89e64c031e5c06c38d2c 17:35:27 $ docker rm -f 9bede6a12c3551c2ec71cca5942a678f8cb24dfd915d89e64c031e5c06c38d2c [Pipeline] // withDockerContainer [Pipeline] sh 17:35:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:27 Warning: overwriting stash ‘coverage-report’ 17:35:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:35:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:28 + ls -al . 17:35:28 total 104 17:35:28 drwxrwxr-x. 8 jenkins jenkins 4096 May 25 17:35 . 17:35:28 drwxrwxr-x. 4 jenkins jenkins 28 May 25 17:32 .. 17:35:28 -rw-rw-r--. 1 jenkins jenkins 6792 May 25 17:32 Attribution.txt 17:35:28 drwxrwxr-x. 2 jenkins jenkins 64 May 25 17:32 bin 17:35:28 drwxrwxr-x. 3 jenkins jenkins 32 May 25 17:32 cmd 17:35:28 -rw-r--r--. 1 jenkins jenkins 8513 May 25 17:35 coverage.out 17:35:28 -rw-rw-r--. 1 jenkins jenkins 1615 May 25 17:32 Dockerfile 17:35:28 -rw-rw-r--. 1 jenkins jenkins 1087 May 25 17:32 Dockerfile.build 17:35:28 -rw-rw-r--. 1 jenkins jenkins 151 May 25 17:32 .dockerignore 17:35:28 drwxrwxr-x. 2 jenkins jenkins 76 May 25 17:32 driver 17:35:28 drwxrwxr-x. 8 jenkins jenkins 179 May 25 17:32 .git 17:35:28 drwxrwxr-x. 2 jenkins jenkins 103 May 25 17:32 .github 17:35:28 -rw-rw-r--. 1 jenkins jenkins 336 May 25 17:32 .gitignore 17:35:28 -rw-r--r--. 1 jenkins jenkins 285 May 25 17:35 go.mod 17:35:28 -rw-r--r--. 1 jenkins jenkins 21177 May 25 17:34 go.sum 17:35:28 -rw-rw-r--. 1 jenkins jenkins 680 May 25 17:32 Jenkinsfile 17:35:28 -rw-rw-r--. 1 jenkins jenkins 11340 May 25 17:32 LICENSE 17:35:28 -rw-rw-r--. 1 jenkins jenkins 996 May 25 17:32 Makefile 17:35:28 -rw-rw-r--. 1 jenkins jenkins 7667 May 25 17:32 README.md 17:35:28 drwxrwxr-x. 4 jenkins jenkins 71 May 25 17:32 snap 17:35:28 -rw-rw-r--. 1 jenkins jenkins 5 May 25 17:27 VERSION 17:35:28 -rw-rw-r--. 1 jenkins jenkins 713 May 25 17:32 version.go [Pipeline] isUnix [Pipeline] sh 17:35:28 + 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 . 17:35:28 Sending build context to Docker daemon 101.9kB 17:35:28 Step 1/25 : ARG BASE=golang:1.16-alpine3.12 17:35:28 Step 2/25 : FROM ${BASE} AS builder 17:35:28 ---> cfc39293e63c 17:35:28 Step 3/25 : ARG MAKE='make build' 17:35:29 ---> Running in 90a3bb58b763 17:35:29 Removing intermediate container 90a3bb58b763 17:35:29 ---> 0a844d16c01a 17:35:29 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:35:30 ---> Running in 5b5ab323ec3b 17:35:30 Removing intermediate container 5b5ab323ec3b 17:35:30 ---> 60eece76b267 17:35:30 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:35:30 ---> Running in 0aed4cc6eb55 17:35:31 Removing intermediate container 0aed4cc6eb55 17:35:31 ---> dc6e77b00e7f 17:35:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:35:31 ---> Running in 532ca43231ac 17:35:31 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:35:32 Removing intermediate container 532ca43231ac 17:35:32 ---> dbf7a91e7f4e 17:35:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:33 ---> Running in b3c7efd564ed 17:35:33 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 17:35:34 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 17:35:34 OK: 154 MiB in 49 packages 17:35:35 Removing intermediate container b3c7efd564ed 17:35:35 ---> 4ebaf2740e63 17:35:35 Step 8/25 : WORKDIR /device-rest-go 17:35:35 ---> Running in 9deb2248f805 17:35:35 Removing intermediate container 9deb2248f805 17:35:35 ---> 3fed37dddf72 17:35:35 Step 9/25 : COPY . . 17:35:36 ---> 7717b2c3f65a 17:35:36 Step 10/25 : RUN go mod tidy 17:35:36 ---> Running in 506899f81072 17:35:38 Removing intermediate container 506899f81072 17:35:38 ---> 934beb0d7f4a 17:35:38 Step 11/25 : RUN make update 17:35:38 ---> Running in 67dc195befe9 17:35:38 CGO_ENABLED=0 GO111MODULE=on go mod download 17:35:39 Removing intermediate container 67dc195befe9 17:35:39 ---> 9f48b56fc3cc 17:35:39 Step 12/25 : RUN $MAKE 17:35:39 ---> Running in fea86d6d7f70 17:35:39 go mod tidy 17:35:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 17:36:02 Removing intermediate container fea86d6d7f70 17:36:02 ---> 8366630e1bfa 17:36:02 Step 13/25 : FROM alpine:3.12 17:36:02 3.12: Pulling from library/alpine 17:36:02 339de151aab4: Pulling fs layer 17:36:02 339de151aab4: Verifying Checksum 17:36:02 339de151aab4: Download complete 17:36:02 339de151aab4: Pull complete 17:36:02 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 17:36:02 Status: Downloaded newer image for alpine:3.12 17:36:02 ---> 13621d1b12d4 17:36:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:36:02 ---> Running in a80e124c0686 17:36:02 Removing intermediate container a80e124c0686 17:36:02 ---> 15a91218e85c 17:36:02 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 17:36:02 ---> Running in 1f190889a9c9 17:36:02 Removing intermediate container 1f190889a9c9 17:36:02 ---> 5cada491f249 17:36:02 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 17:36:02 ---> Running in dd42ad8cb8f9 17:36:03 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:36:03 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:36:03 (1/6) Installing dumb-init (1.2.2-r1) 17:36:03 (2/6) Installing libgcc (9.3.0-r2) 17:36:03 (3/6) Installing libsodium (1.0.18-r0) 17:36:03 (4/6) Installing libstdc++ (9.3.0-r2) 17:36:03 (5/6) Installing libzmq (4.3.3-r0) 17:36:03 (6/6) Installing zeromq (4.3.3-r0) 17:36:03 Executing busybox-1.31.1-r20.trigger 17:36:03 OK: 8 MiB in 20 packages 17:36:04 Removing intermediate container dd42ad8cb8f9 17:36:04 ---> 66f15d06a8c9 17:36:04 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 17:36:06 ---> de49e3cbf1bd 17:36:06 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 17:36:06 ---> 2b4b0fe9b0ea 17:36:06 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 17:36:06 ---> 0c40a931fb34 17:36:06 Step 20/25 : EXPOSE 59986 17:36:06 ---> Running in 20c1c8da6570 17:36:06 Removing intermediate container 20c1c8da6570 17:36:06 ---> 5717d647cdda 17:36:06 Step 21/25 : ENTRYPOINT ["/device-rest"] 17:36:06 ---> Running in 571033847bde 17:36:07 Removing intermediate container 571033847bde 17:36:07 ---> fff47d42135b 17:36:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:36:07 ---> Running in 3bd05ba66843 17:36:07 Removing intermediate container 3bd05ba66843 17:36:07 ---> 446f3e537d2a 17:36:07 Step 23/25 : LABEL arch=amd64 17:36:07 ---> Running in b55948227cbc 17:36:08 Removing intermediate container b55948227cbc 17:36:08 ---> eae0067b8bf5 17:36:08 Step 24/25 : LABEL git_sha=7571376e3c0fcccc5a1331ce4af21bae867e25d6 17:36:08 ---> Running in 79071b4be2ce 17:36:08 Removing intermediate container 79071b4be2ce 17:36:08 ---> 892a6de072b3 17:36:08 Step 25/25 : LABEL version=0.0.0 17:36:08 ---> Running in bfa963f07a88 17:36:09 Removing intermediate container bfa963f07a88 17:36:09 ---> 7a6cda1655c8 17:36:09 [Warning] One or more build-args [ARCH] were not consumed 17:36:09 Successfully built 7a6cda1655c8 17:36:09 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 17:36:09 ---> job-cost.sh 17:36:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kqsK 17:36:28 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 17:36:53 lf-activate-venv(): INFO: Adding /tmp/venv-7QWa/bin to PATH 17:36:53 INFO: No Stack... 17:36:53 INFO: Retrieving Pricing Info for: v2-standard-4 17:36:53 INFO: Archiving Costs [Pipeline] sh 17:36:53 + cat /w/workspace/device-rest-go/1/archives/cost.csv 17:36:53 + cut -d, -f6 [Pipeline] lock 17:36:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] 17:36:54 Resource [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] did not exist. Created. 17:36:54 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:54 + echo total: 0.18000000715255737 [Pipeline] stash 17:36:54 lf-activate-venv(): INFO: Adding /tmp/venv-kqsK/bin to PATH 17:36:54 INFO: No Stack... 17:36:54 INFO: Retrieving Pricing Info for: v3-standard-2 17:36:54 Stashed 1 file(s) [Pipeline] } 17:36:54 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] } 17:36:55 INFO: Archiving Costs [Pipeline] sh 17:36:55 + cat /w/workspace/device-rest-go/1/archives/cost.csv 17:36:55 + cut -d, -f6 [Pipeline] lock 17:36:55 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] 17:36:55 Resource [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] did not exist. Created. 17:36:55 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-107-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:36:56 /w/workspace/device-rest-go/1@tmp/durable-613796ef/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh 17:36:56 + echo total: 0.05999999865889549 [Pipeline] stash 17:36:56 Warning: overwriting stash ‘stack-cost’ 17:36:56 Stashed 1 file(s) [Pipeline] } 17:36:56 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 17:36:57 provisioning config files... 17:36:57 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-107@tmp/config790146803157292838tmp [Pipeline] { [Pipeline] sh 17:36:58 + set +x 17:36:58 + bash -s -- 17:36:58 + curl -s https://codecov.io/bash 17:36:58 17:36:58 _____ _ 17:36:58 / ____| | | 17:36:58 | | ___ __| | ___ ___ _____ __ 17:36:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:36:58 | |___| (_) | (_| | __/ (_| (_) \ V / 17:36:58 \_____\___/ \__,_|\___|\___\___/ \_/ 17:36:58 Bash-1.0.3 17:36:58 17:36:58 17:36:58 ==> git version 2.24.4 found 17:36:58 ==> 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 17:36:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 17:36:58 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 17:36:58 ==> Jenkins CI detected. 17:36:58 project root: . 17:36:58 --> token set from env 17:36:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:36:58 ==> Running gcov in . (disable via -X gcov) 17:36:58 ==> Python coveragepy not found 17:36:58 ==> Searching for coverage reports in: 17:36:58 + . 17:36:58 -> Found 1 reports 17:36:58 ==> Detecting git/mercurial file structure 17:36:58 ==> Reading reports 17:36:58 + ./coverage.out bytes=8513 17:36:58 ==> Appending adjustments 17:36:58 https://docs.codecov.io/docs/fixing-reports 17:36:58 + Found adjustments 17:36:58 ==> Gzipping contents 17:36:58 4.0K /tmp/codecov.Yy5loG.gz 17:36:58 ==> Uploading reports 17:36:58 url: https://codecov.io 17:36:58 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= 17:36:58 -> Pinging Codecov 17:36:58 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= 17:36:58 -> Uploading to 17:36:58 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 17:36:58 % Total % Received % Xferd Average Speed Time Time Time Current 17:36:58 Dload Upload Total Spent Left Speed 17:36:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 3992 --:--:-- --:--:-- --:--:-- 3997 17:36:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7571376e3c0fcccc5a1331ce4af21bae867e25d6 [Pipeline] } 17:36:59 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 17:37:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:37:01 ---> package-listing.sh 17:37:01 ++ facter osfamily 17:37:01 ++ tr '[:upper:]' '[:lower:]' 17:37:01 + OS_FAMILY=redhat 17:37:01 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-107 17:37:01 + START_PACKAGES=/tmp/packages_start.txt 17:37:01 + END_PACKAGES=/tmp/packages_end.txt 17:37:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:37:01 + PACKAGES=/tmp/packages_start.txt 17:37:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-107 ']' 17:37:01 + PACKAGES=/tmp/packages_end.txt 17:37:01 + case "${OS_FAMILY}" in 17:37:01 + rpm -qa 17:37:01 + sort 17:37:02 + '[' -f /tmp/packages_start.txt ']' 17:37:02 + '[' -f /tmp/packages_end.txt ']' 17:37:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:37:02 + '[' /w/workspace/gexfoundry_device-rest-go_PR-107 ']' 17:37:02 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-107/archives/ 17:37:02 + 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 17:37:02 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 17:37:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:37:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:37:03 17:37:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:37:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:37:04 alpine: Pulling from edgex-lftools-log-publisher 17:37:04 df20fa9351a1: Pulling fs layer 17:37:04 36b3adc4ff6f: Pulling fs layer 17:37:04 8ad3a11d3b57: Pulling fs layer 17:37:04 46f8f816bc3b: Pulling fs layer 17:37:04 93b61091891f: Pulling fs layer 17:37:04 93b9cdb0e59b: Pulling fs layer 17:37:04 5e14af77c1be: Pulling fs layer 17:37:04 01666e4c0597: Pulling fs layer 17:37:04 aa168da1d23b: Pulling fs layer 17:37:04 46f8f816bc3b: Waiting 17:37:04 93b61091891f: Waiting 17:37:04 93b9cdb0e59b: Waiting 17:37:04 5e14af77c1be: Waiting 17:37:04 01666e4c0597: Waiting 17:37:04 aa168da1d23b: Waiting 17:37:04 36b3adc4ff6f: Verifying Checksum 17:37:04 36b3adc4ff6f: Download complete 17:37:04 46f8f816bc3b: Verifying Checksum 17:37:04 46f8f816bc3b: Download complete 17:37:04 93b61091891f: Verifying Checksum 17:37:04 93b61091891f: Download complete 17:37:04 df20fa9351a1: Verifying Checksum 17:37:04 df20fa9351a1: Download complete 17:37:04 93b9cdb0e59b: Verifying Checksum 17:37:04 93b9cdb0e59b: Download complete 17:37:04 5e14af77c1be: Verifying Checksum 17:37:04 5e14af77c1be: Download complete 17:37:04 01666e4c0597: Verifying Checksum 17:37:04 01666e4c0597: Download complete 17:37:04 8ad3a11d3b57: Verifying Checksum 17:37:04 8ad3a11d3b57: Download complete 17:37:04 df20fa9351a1: Pull complete 17:37:04 36b3adc4ff6f: Pull complete 17:37:05 8ad3a11d3b57: Pull complete 17:37:05 46f8f816bc3b: Pull complete 17:37:05 93b61091891f: Pull complete 17:37:05 93b9cdb0e59b: Pull complete 17:37:05 5e14af77c1be: Pull complete 17:37:05 01666e4c0597: Pull complete 17:37:06 aa168da1d23b: Verifying Checksum 17:37:06 aa168da1d23b: Download complete 17:37:10 aa168da1d23b: Pull complete 17:37:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:37:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:37:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:37:10 prd-centos7-docker-4c-2g-238 does not seem to be running inside a container 17:37:10 $ 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 17:37:21 $ docker top dde1306ccb5776a19086917f60c8330671fc3b36e43baaf5df33d0ab7a43be02 -eo pid,comm [Pipeline] { [Pipeline] sh 17:37:21 + touch /tmp/pre-build-complete [Pipeline] sh 17:37:21 + mkdir -p /var/log/sa [Pipeline] sh 17:37:22 + ls /var/log/sa-host 17:37:22 + sadf -c /var/log/sa-host/sa05 17:37:22 file_magic: OK 17:37:22 HZ: Using current value: 100 17:37:22 file_header: OK 17:37:22 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 17:37:22 Statistics: 17:37:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 17:37:22 File successfully converted to sysstat format version 12.2.1 17:37:22 + sadf -c /var/log/sa-host/sa25 17:37:22 file_magic: OK 17:37:22 HZ: Using current value: 100 17:37:22 file_header: OK 17:37:22 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 17:37:22 Statistics: 17:37:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:37:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:37:23 provisioning config files... 17:37:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-107@tmp/config4799855986825212885tmp [Pipeline] { [Pipeline] echo 17:37:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:37:23 ---> create-netrc.sh [Pipeline] } 17:37:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:37:23 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:37:23 ---> python-tools-install.sh [Pipeline] echo 17:37:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:37:24 ---> sudo-logs.sh 17:37:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:37:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:37:24 ---> job-cost.sh 17:37:24 lf-activate-venv: SKIPPING 17:37:24 DEBUG: total: 0.05999999865889549 17:37:24 INFO: Retrieving Stack Cost... 17:37:25 INFO: Retrieving Pricing Info for: v3-standard-2 17:37:25 INFO: Archiving Costs [Pipeline] echo 17:37:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:37:26 ---> logs-deploy.sh 17:37:26 lf-activate-venv: SKIPPING 17:37:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-107/1 17:37:26 INFO: archiving workspace using pattern(s): 17:37:27 Archives upload complete. 17:37:27 INFO: archiving logs to Nexus