Pull request #76 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 iain-anderson for edgexfoundry/device-rest-go Obtained Jenkinsfile from c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa+abd24f16bfefa7889687f83d2fc8de1c385cee13 (30d8e1addc14be16780194f98365b9cacebfa195) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 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-76/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 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-76/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 69a7e166112f335804d9fea76440e5140e47f034 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21413 in /w/workspace/dgexfoundry_device-rest-go_PR-76 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-76 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa Merge succeeded, producing c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa Checking out Revision c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa (PR-76) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 Commit message: "ci: add semantic.yml for commit linting, update PR template to latest" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:24:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:24:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:24:17 ========================================================= 00:24:17 EdgeX Global Pipelines Version Info 00:24:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:24:19 ------------------- 00:24:19 stable info: 00:24:19 ------------------- 00:24:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:24:19 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:24:19 Message: update stable to v1.0.179 00:24:20 ------------------- 00:24:20 experimental info: 00:24:20 ------------------- 00:24:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:24:20 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 00:24:20 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:24:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:24:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:24:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:24:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:24:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:24:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:24:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:24:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:24:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 00:24:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:24:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:24:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:24:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:24:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:24:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:24:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:24:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:24:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:24:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:24:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:24:23 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:24:24 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:24:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-76 [Pipeline] echo 00:24:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-76 [Pipeline] echo 00:24:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-76 [Pipeline] echo 00:24:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [Pipeline] echo 00:24:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3aa815 [Pipeline] echo 00:24:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:24:25 provisioning config files... 00:24:25 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/config8909012472180433722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:24:25 ---> docker-login.sh 00:24:25 nexus3.edgexfoundry.org:10001 00:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:26 Configure a credential helper to remove this warning. See 00:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:26 00:24:26 Login Succeeded 00:24:26 nexus3.edgexfoundry.org:10002 00:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:26 Configure a credential helper to remove this warning. See 00:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:26 00:24:26 Login Succeeded 00:24:26 nexus3.edgexfoundry.org:10003 00:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:26 Configure a credential helper to remove this warning. See 00:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:26 00:24:26 Login Succeeded 00:24:26 nexus3.edgexfoundry.org:10004 00:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:26 Configure a credential helper to remove this warning. See 00:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:26 00:24:26 Login Succeeded 00:24:26 docker.io 00:24:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:24:27 Configure a credential helper to remove this warning. See 00:24:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:24:27 00:24:27 Login Succeeded 00:24:27 ---> docker-login.sh ends [Pipeline] } 00:24:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:24:28 + git log --format=format:%s -1 c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [Pipeline] echo 00:24:28 GIT_COMMIT: c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa, Commit Message: ci: add semantic.yml for commit linting, update PR template to latest [Pipeline] echo 00:24:28 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:24:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:24:29 00:24:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:24:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:24:29 latest: Pulling from edgex-devops/git-semver 00:24:29 31603596830f: Pulling fs layer 00:24:29 2a8b12db71e7: Pulling fs layer 00:24:29 6ca5941a6612: Pulling fs layer 00:24:29 ecc8261a40a4: Pulling fs layer 00:24:29 ecc8261a40a4: Waiting 00:24:29 2a8b12db71e7: Verifying Checksum 00:24:29 2a8b12db71e7: Download complete 00:24:29 ecc8261a40a4: Verifying Checksum 00:24:29 ecc8261a40a4: Download complete 00:24:30 31603596830f: Verifying Checksum 00:24:30 31603596830f: Download complete 00:24:30 6ca5941a6612: Verifying Checksum 00:24:30 6ca5941a6612: Download complete 00:24:31 31603596830f: Pull complete 00:24:31 2a8b12db71e7: Pull complete 00:24:32 6ca5941a6612: Pull complete 00:24:32 ecc8261a40a4: Pull complete 00:24:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:24:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:24:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:24:32 prd-centos7-docker-4c-2g-21413 does not seem to be running inside a container 00:24:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-76 -v /w/workspace/dgexfoundry_device-rest-go_PR-76:/w/workspace/dgexfoundry_device-rest-go_PR-76:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-76@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:24:34 $ docker top cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:24:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:24:35 [ssh-agent] Looking for ssh-agent implementation... 00:24:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:24:35 $ docker exec cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 ssh-agent 00:24:35 SSH_AUTH_SOCK=/tmp/ssh-yfKHzCCXglqo/agent.11 00:24:35 SSH_AGENT_PID=16 00:24:35 Running ssh-add (command line suppressed) 00:24:35 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/private_key_6371774267101391865.key (/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/private_key_6371774267101391865.key) 00:24:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:24:36 + git tag --points-at HEAD [Pipeline] } 00:24:36 $ docker exec --env ******** --env ******** cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 ssh-agent -k 00:24:36 unset SSH_AUTH_SOCK; 00:24:36 unset SSH_AGENT_PID; 00:24:36 echo Agent pid 16 killed; 00:24:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:24:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:24:36 [ssh-agent] Looking for ssh-agent implementation... 00:24:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:24:36 $ docker exec cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 ssh-agent 00:24:37 SSH_AUTH_SOCK=/tmp/ssh-M5YXFg105C96/agent.46 00:24:37 SSH_AGENT_PID=51 00:24:37 Running ssh-add (command line suppressed) 00:24:37 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/private_key_268920215086030613.key (/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/private_key_268920215086030613.key) 00:24:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:24:37 + git semver init 00:24:37 # -> Open(): unable to determine branch for HEAD 00:24:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-76/.git 00:24:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-76 00:24:37 # $SEMVER_REMOTE_NAME = origin 00:24:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:24:37 # $SEMVER_USER_NAME = edgex-jenkins 00:24:37 # $SEMVER_BRANCH = PR-76 00:24:37 # $SEMVER_TEMP = /tmp/semver-397845102 00:24:37 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 00:24:39 # '/tmp/semver-397845102' -> '/w/workspace/dgexfoundry_device-rest-go_PR-76/.semver' 00:24:39 # -> Force: false 00:24:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-76/.semver [Pipeline] } 00:24:39 $ docker exec --env ******** --env ******** cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 ssh-agent -k 00:24:39 unset SSH_AUTH_SOCK; 00:24:39 unset SSH_AGENT_PID; 00:24:39 echo Agent pid 51 killed; 00:24:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:24:39 + git semver [Pipeline] } 00:24:39 $ docker stop --time=1 cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 00:24:41 $ docker rm -f cf451acfa789e03394b3aed8ded4a8c3512b7526483724e1e1121d8c5510dab0 [Pipeline] // withDockerContainer [Pipeline] sh 00:24:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:24:42 Stashed 1 file(s) [Pipeline] echo 00:24:42 [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 00:24:58 Still waiting to schedule task 00:24:58 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:24:58 Still waiting to schedule task 00:24:58 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-15505’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-21415’ is offline 00:26:56 Running on prd-centos7-docker-4c-2g-21417 in /w/workspace/dgexfoundry_device-rest-go_PR-76 [Pipeline] { [Pipeline] ws 00:26:56 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 00:26:58 using credential edgex-jenkins-ssh 00:26:58 Cloning the remote Git repository 00:26:59 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:26:59 > git init /w/workspace/device-rest-go/1 # timeout=10 00:26:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:26:59 > git --version # timeout=10 00:26:59 > git --version # 'git version 2.24.3' 00:26:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:26:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:27:00 Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa 00:27:00 Merge succeeded, producing c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa 00:27:00 Checking out Revision c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa (PR-76) 00:27:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:27:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:27:00 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:27:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:27:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:27:00 > git config core.sparsecheckout # timeout=10 00:27:00 > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 00:27:00 > git remote # timeout=10 00:27:00 > git config --get remote.origin.url # timeout=10 00:27:00 using GIT_SSH to set credentials SSH Credentials for GitHub 00:27:00 > git merge abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 00:27:00 > git rev-parse HEAD^{commit} # timeout=10 00:27:00 > git config core.sparsecheckout # timeout=10 00:27:00 > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 00:27:04 Commit message: "ci: add semantic.yml for commit linting, update PR template to latest" 00:27:04 > git --version # timeout=10 00:27:04 > git --version # 'git version 2.24.3' 00:27:04 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:27:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:27:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:27:06 + sudo service docker restart 00:27:06 + true 00:27:06 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:27:08 provisioning config files... 00:27:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1924530420099595088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:27:08 ---> docker-login.sh 00:27:08 nexus3.edgexfoundry.org:10001 00:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:09 Configure a credential helper to remove this warning. See 00:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:09 00:27:09 Login Succeeded 00:27:09 nexus3.edgexfoundry.org:10002 00:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:09 Configure a credential helper to remove this warning. See 00:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:09 00:27:09 Login Succeeded 00:27:09 nexus3.edgexfoundry.org:10003 00:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:09 Configure a credential helper to remove this warning. See 00:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:09 00:27:09 Login Succeeded 00:27:09 nexus3.edgexfoundry.org:10004 00:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:09 Configure a credential helper to remove this warning. See 00:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:09 00:27:09 Login Succeeded 00:27:09 docker.io 00:27:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:27:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:27:10 Configure a credential helper to remove this warning. See 00:27:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:27:10 00:27:10 Login Succeeded 00:27:10 ---> docker-login.sh ends [Pipeline] } 00:27:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:27:11 ========================================================= 00:27:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:27:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:27:11 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:27:11 Sending build context to Docker daemon 89.6kB 00:27:11 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 00:27:11 Step 2/10 : FROM ${BASE} 00:27:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:27:11 188c0c94c7c5: Pulling fs layer 00:27:11 0ef7d3d256c8: Pulling fs layer 00:27:11 de9db76c5a1d: Pulling fs layer 00:27:11 bca2f99d35d6: Pulling fs layer 00:27:11 93359f2a8cfa: Pulling fs layer 00:27:11 7c6f9722023f: Pulling fs layer 00:27:11 a35cf1a2eb13: Pulling fs layer 00:27:11 bca2f99d35d6: Waiting 00:27:11 93359f2a8cfa: Waiting 00:27:11 7c6f9722023f: Waiting 00:27:11 a35cf1a2eb13: Waiting 00:27:11 de9db76c5a1d: Verifying Checksum 00:27:11 de9db76c5a1d: Download complete 00:27:11 0ef7d3d256c8: Verifying Checksum 00:27:11 0ef7d3d256c8: Download complete 00:27:11 93359f2a8cfa: Verifying Checksum 00:27:11 93359f2a8cfa: Download complete 00:27:11 188c0c94c7c5: Verifying Checksum 00:27:11 188c0c94c7c5: Download complete 00:27:11 7c6f9722023f: Download complete 00:27:12 188c0c94c7c5: Pull complete 00:27:12 0ef7d3d256c8: Pull complete 00:27:12 de9db76c5a1d: Pull complete 00:27:14 a35cf1a2eb13: Verifying Checksum 00:27:14 a35cf1a2eb13: Download complete 00:27:14 bca2f99d35d6: Download complete 00:27:21 bca2f99d35d6: Pull complete 00:27:21 93359f2a8cfa: Pull complete 00:27:21 7c6f9722023f: Pull complete 00:27:25 a35cf1a2eb13: Pull complete 00:27:25 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:27:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:27:25 ---> a62c8e92a672 00:27:25 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 00:27:25 ---> Running in 4e63dbad6e2b 00:27:25 Removing intermediate container 4e63dbad6e2b 00:27:25 ---> d41aa6e1489c 00:27:25 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 00:27:25 ---> Running in bbca7a8083c1 00:27:25 Removing intermediate container bbca7a8083c1 00:27:25 ---> dc4a2f07547b 00:27:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:27:25 ---> Running in d3a8db3f1bff 00:27:26 Removing intermediate container d3a8db3f1bff 00:27:26 ---> 43b2b98e7d8b 00:27:26 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:27:26 ---> Running in 3b5feae9f228 00:27:27 Removing intermediate container 3b5feae9f228 00:27:27 ---> 80695a15b2d5 00:27:27 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:27:27 ---> Running in 44c1bb4284fa 00:27:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:27:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:27:29 OK: 166 MiB in 39 packages 00:27:29 Removing intermediate container 44c1bb4284fa 00:27:29 ---> 48315524ada2 00:27:29 Step 8/10 : WORKDIR /device-rest-go 00:27:29 ---> Running in 680345d0fad2 00:27:30 Removing intermediate container 680345d0fad2 00:27:30 ---> 6b3c4cc86a76 00:27:30 Step 9/10 : COPY . . 00:27:30 ---> 33a16029cc55 00:27:30 Step 10/10 : RUN go mod download 00:27:30 ---> Running in 5953d5c1cb82 00:27:48 Removing intermediate container 5953d5c1cb82 00:27:48 ---> 7f01b592f3f6 00:27:48 Successfully built 7f01b592f3f6 00:27:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:27:49 + docker inspect -f . ci-base-image-x86_64 00:27:49 . [Pipeline] withDockerContainer 00:27:49 prd-centos7-docker-4c-2g-21417 does not seem to be running inside a container 00:27:49 $ 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 ******** ci-base-image-x86_64 cat 00:27:50 $ docker top de7c287e2e901a776bf92f25721a1997889db831260bbe0c470f57b09b467c11 -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:51 + go version 00:27:51 go version go1.15.5 linux/amd64 [Pipeline] } 00:27:51 $ docker stop --time=1 de7c287e2e901a776bf92f25721a1997889db831260bbe0c470f57b09b467c11 00:27:52 $ docker rm -f de7c287e2e901a776bf92f25721a1997889db831260bbe0c470f57b09b467c11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:27:54 + docker inspect -f . ci-base-image-x86_64 00:27:54 . [Pipeline] withDockerContainer 00:27:54 prd-centos7-docker-4c-2g-21417 does not seem to be running inside a container 00:27:54 $ 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 ******** ci-base-image-x86_64 cat 00:27:55 $ docker top a7458a9a42d338e4f33bfbc51ce5ce05ea7872f17e68c67c3665b8a89d34a014 -eo pid,comm [Pipeline] { [Pipeline] sh 00:27:55 + make test 00:27:55 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:27:56 ? github.com/edgexfoundry/device-rest-go [no test files] 00:28:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:28:08 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 56.3% of statements 00:28:08 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:28:10 gofmt -l . 00:28:10 [ "`gofmt -l .`" = "" ] 00:28:10 ./bin/test-go-mod-tidy.sh 00:28:11 ./bin/test-attribution-txt.sh [Pipeline] } 00:28:11 $ docker stop --time=1 a7458a9a42d338e4f33bfbc51ce5ce05ea7872f17e68c67c3665b8a89d34a014 00:28:14 $ docker rm -f a7458a9a42d338e4f33bfbc51ce5ce05ea7872f17e68c67c3665b8a89d34a014 [Pipeline] // withDockerContainer [Pipeline] sh 00:28:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:28:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:28:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:28:22 + ls -al . 00:28:22 total 96 00:28:22 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 20 00:28 . 00:28:22 drwxrwxr-x. 4 jenkins jenkins 28 Jan 20 00:26 .. 00:28:22 -rw-rw-r--. 1 jenkins jenkins 5294 Jan 20 00:27 Attribution.txt 00:28:22 drwxrwxr-x. 2 jenkins jenkins 64 Jan 20 00:27 bin 00:28:22 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 00:27 cmd 00:28:22 -rw-r--r--. 1 jenkins jenkins 9369 Jan 20 00:28 coverage.out 00:28:22 -rw-rw-r--. 1 jenkins jenkins 1530 Jan 20 00:27 Dockerfile 00:28:22 -rw-rw-r--. 1 jenkins jenkins 1002 Jan 20 00:27 Dockerfile.build 00:28:22 -rw-rw-r--. 1 jenkins jenkins 151 Jan 20 00:27 .dockerignore 00:28:22 drwxrwxr-x. 2 jenkins jenkins 93 Jan 20 00:28 driver 00:28:22 drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 00:27 .git 00:28:22 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 00:27 .github 00:28:22 -rw-rw-r--. 1 jenkins jenkins 339 Jan 20 00:27 .gitignore 00:28:22 -rw-r--r--. 1 jenkins jenkins 267 Jan 20 00:28 go.mod 00:28:22 -rw-r--r--. 1 jenkins jenkins 13985 Jan 20 00:28 go.sum 00:28:22 -rw-rw-r--. 1 jenkins jenkins 680 Jan 20 00:27 Jenkinsfile 00:28:22 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 00:27 LICENSE 00:28:22 -rw-rw-r--. 1 jenkins jenkins 951 Jan 20 00:27 Makefile 00:28:22 -rw-rw-r--. 1 jenkins jenkins 5917 Jan 20 00:27 README.md 00:28:22 drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 00:27 snap 00:28:22 -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 00:24 VERSION 00:28:22 -rw-rw-r--. 1 jenkins jenkins 713 Jan 20 00:27 version.go [Pipeline] isUnix [Pipeline] sh 00:28:22 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa --label arch=amd64 --label version=0.0.0 . 00:28:22 Sending build context to Docker daemon 101.4kB 00:28:23 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 00:28:23 Step 2/25 : FROM ${BASE} AS builder 00:28:23 ---> 7f01b592f3f6 00:28:23 Step 3/25 : ARG MAKE='make build' 00:28:23 ---> Running in 53a32eb175aa 00:28:23 Removing intermediate container 53a32eb175aa 00:28:23 ---> c9669ebef2d9 00:28:23 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 00:28:23 ---> Running in 96b1c2aeff63 00:28:23 Removing intermediate container 96b1c2aeff63 00:28:23 ---> a2fde2ee6294 00:28:23 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:28:23 ---> Running in 676b3bf15043 00:28:23 Removing intermediate container 676b3bf15043 00:28:23 ---> 1d64ce25cadf 00:28:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:28:23 ---> Running in 79aacbb58bd4 00:28:24 Removing intermediate container 79aacbb58bd4 00:28:24 ---> 996cd33e61ad 00:28:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:28:25 ---> Running in b4448295d5e5 00:28:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:28:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:28:26 OK: 166 MiB in 39 packages 00:28:27 Removing intermediate container b4448295d5e5 00:28:27 ---> 0229c1666d8e 00:28:27 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 00:28:27 ---> Running in 2bacb323fc21 00:28:27 Removing intermediate container 2bacb323fc21 00:28:27 ---> f692fc228f21 00:28:27 Step 9/25 : COPY go.mod . 00:28:27 ---> 0cf8d77e48c9 00:28:27 Step 10/25 : COPY Makefile . 00:28:27 ---> 24474832f123 00:28:27 Step 11/25 : RUN make update 00:28:28 ---> Running in d15b3f22b1a4 00:28:28 CGO_ENABLED=0 GO111MODULE=on go mod download 00:28:29 Removing intermediate container d15b3f22b1a4 00:28:29 ---> 56749e80ef1c 00:28:29 Step 12/25 : COPY . . 00:28:29 ---> 94a906048c03 00:28:29 Step 13/25 : RUN $MAKE 00:28:29 ---> Running in cc6f6c6e6743 00:28:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 00:28:42 Removing intermediate container cc6f6c6e6743 00:28:42 ---> c96c69581dab 00:28:42 Step 14/25 : FROM alpine:3.12 00:28:42 3.12: Pulling from library/alpine 00:28:42 801bfaa63ef2: Pulling fs layer 00:28:42 801bfaa63ef2: Verifying Checksum 00:28:42 801bfaa63ef2: Download complete 00:28:42 801bfaa63ef2: Pull complete 00:28:42 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:28:42 Status: Downloaded newer image for alpine:3.12 00:28:42 ---> 389fef711851 00:28:42 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:28:42 ---> Running in 95e5469ff8b8 00:28:43 Removing intermediate container 95e5469ff8b8 00:28:43 ---> d50cae32dd41 00:28:43 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 00:28:43 ---> Running in ca1f79f2d0c1 00:28:43 Removing intermediate container ca1f79f2d0c1 00:28:43 ---> 3b03b356930a 00:28:43 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 00:28:43 ---> a67888c9f2b9 00:28:43 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 00:28:43 ---> a3999308ddae 00:28:43 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 00:28:44 ---> 35dfde058a6f 00:28:44 Step 20/25 : EXPOSE 49986 00:28:44 ---> Running in 0573d885650f 00:28:44 Removing intermediate container 0573d885650f 00:28:44 ---> 82054c2360e2 00:28:44 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 00:28:44 ---> Running in 9ccd0e81676f 00:28:44 Removing intermediate container 9ccd0e81676f 00:28:44 ---> 74694c599eed 00:28:44 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:28:44 ---> Running in 4df94bd55e34 00:28:45 Removing intermediate container 4df94bd55e34 00:28:45 ---> a8b7f480f57f 00:28:45 Step 23/25 : LABEL arch=amd64 00:28:45 ---> Running in cf07841f9ca1 00:28:45 Removing intermediate container cf07841f9ca1 00:28:45 ---> ed01317703a8 00:28:45 Step 24/25 : LABEL git_sha=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa 00:28:45 ---> Running in 0b5c228f155b 00:28:45 Removing intermediate container 0b5c228f155b 00:28:45 ---> 4905bc814227 00:28:45 Step 25/25 : LABEL version=0.0.0 00:28:45 ---> Running in 12e19e8e66c3 00:28:45 Removing intermediate container 12e19e8e66c3 00:28:45 ---> 605243e1edac 00:28:45 [Warning] One or more build-args [ARCH] were not consumed 00:28:45 Successfully built 605243e1edac 00:28:45 Successfully tagged docker-device-rest-go: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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:28:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21418 in /w/workspace/dgexfoundry_device-rest-go_PR-76 [Pipeline] { [Pipeline] ws 00:28:58 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 00:29:03 using credential edgex-jenkins-ssh 00:29:03 Cloning the remote Git repository 00:29:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:29:04 > git init /w/workspace/device-rest-go/1 # timeout=10 00:29:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:29:04 > git --version # timeout=10 00:29:04 > git --version # 'git version 2.17.1' 00:29:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:06 Merging remotes/origin/master commit abd24f16bfefa7889687f83d2fc8de1c385cee13 into PR head commit c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa 00:29:07 Merge succeeded, producing c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa 00:29:07 Checking out Revision c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa (PR-76) 00:29:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:29:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:29:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:29:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:29:06 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:29:06 > git config core.sparsecheckout # timeout=10 00:29:06 > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 00:29:06 > git remote # timeout=10 00:29:06 > git config --get remote.origin.url # timeout=10 00:29:07 using GIT_SSH to set credentials SSH Credentials for GitHub 00:29:07 > git merge abd24f16bfefa7889687f83d2fc8de1c385cee13 # timeout=10 00:29:07 > git rev-parse HEAD^{commit} # timeout=10 00:29:07 > git config core.sparsecheckout # timeout=10 00:29:07 > git checkout -f c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa # timeout=10 00:29:11 Commit message: "ci: add semantic.yml for commit linting, update PR template to latest" 00:29:11 > git --version # timeout=10 00:29:11 > git --version # 'git version 2.17.1' 00:29:11 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:29:13 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:29:13 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:29:14 + + true 00:29:14 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:29:16 provisioning config files... 00:29:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3889751004244201544tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:29:17 ---> docker-login.sh 00:29:17 nexus3.edgexfoundry.org:10001 00:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:18 Configure a credential helper to remove this warning. See 00:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:18 00:29:18 Login Succeeded 00:29:18 nexus3.edgexfoundry.org:10002 00:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:19 Configure a credential helper to remove this warning. See 00:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:19 00:29:19 Login Succeeded 00:29:19 nexus3.edgexfoundry.org:10003 00:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:19 Configure a credential helper to remove this warning. See 00:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:19 00:29:19 Login Succeeded 00:29:19 nexus3.edgexfoundry.org:10004 00:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:20 Configure a credential helper to remove this warning. See 00:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:20 00:29:20 Login Succeeded 00:29:20 docker.io 00:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:29:21 Configure a credential helper to remove this warning. See 00:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:29:21 00:29:21 Login Succeeded 00:29:21 ---> docker-login.sh ends [Pipeline] } 00:29:21 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:29:21 ========================================================= 00:29:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:29:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:29:22 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:29:22 Sending build context to Docker daemon 89.6kB 00:29:22 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 00:29:22 Step 2/10 : FROM ${BASE} 00:29:22 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:29:22 5f621e34cdf4: Pulling fs layer 00:29:22 a4357932f1b6: Pulling fs layer 00:29:22 18c013af1878: Pulling fs layer 00:29:22 00ac8860ef70: Pulling fs layer 00:29:22 63d7cb157983: Pulling fs layer 00:29:22 b116817d02f9: Pulling fs layer 00:29:22 745a02a5169b: Pulling fs layer 00:29:22 00ac8860ef70: Waiting 00:29:22 63d7cb157983: Waiting 00:29:22 b116817d02f9: Waiting 00:29:22 745a02a5169b: Waiting 00:29:22 18c013af1878: Verifying Checksum 00:29:22 18c013af1878: Download complete 00:29:22 a4357932f1b6: Verifying Checksum 00:29:22 a4357932f1b6: Download complete 00:29:22 63d7cb157983: Verifying Checksum 00:29:22 63d7cb157983: Download complete 00:29:22 b116817d02f9: Verifying Checksum 00:29:22 b116817d02f9: Download complete 00:29:22 5f621e34cdf4: Verifying Checksum 00:29:22 5f621e34cdf4: Download complete 00:29:23 5f621e34cdf4: Pull complete 00:29:24 a4357932f1b6: Pull complete 00:29:24 18c013af1878: Pull complete 00:29:25 745a02a5169b: Verifying Checksum 00:29:25 745a02a5169b: Download complete 00:29:26 00ac8860ef70: Verifying Checksum 00:29:26 00ac8860ef70: Download complete 00:29:36 00ac8860ef70: Pull complete 00:29:36 63d7cb157983: Pull complete 00:29:37 b116817d02f9: Pull complete 00:29:41 745a02a5169b: Pull complete 00:29:41 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:29:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:29:41 ---> b7e6874047d6 00:29:41 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 00:29:44 ---> Running in 51917a91304e 00:29:44 Removing intermediate container 51917a91304e 00:29:44 ---> c3a423d5d176 00:29:44 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 00:29:44 ---> Running in 36dfb7257f4b 00:29:44 Removing intermediate container 36dfb7257f4b 00:29:44 ---> fba344132a66 00:29:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:29:44 ---> Running in c6ecbef7f17b 00:29:45 Removing intermediate container c6ecbef7f17b 00:29:45 ---> 0f53ff400300 00:29:45 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:29:45 ---> Running in 855f58679998 00:29:48 Removing intermediate container 855f58679998 00:29:48 ---> fd787e6f1185 00:29:48 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:29:48 ---> Running in bde853ade76a 00:29:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:29:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:29:50 OK: 142 MiB in 39 packages 00:29:51 Removing intermediate container bde853ade76a 00:29:51 ---> 90942d04997f 00:29:51 Step 8/10 : WORKDIR /device-rest-go 00:29:51 ---> Running in 3017ebb46301 00:29:52 Removing intermediate container 3017ebb46301 00:29:52 ---> 4197df280531 00:29:52 Step 9/10 : COPY . . 00:29:53 ---> 291db122bfdb 00:29:53 Step 10/10 : RUN go mod download 00:29:53 ---> Running in fcb4f951605a 00:30:15 Removing intermediate container fcb4f951605a 00:30:15 ---> 48e0aa3623a2 00:30:15 Successfully built 48e0aa3623a2 00:30:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:30:15 + docker inspect -f . ci-base-image-arm64 00:30:15 . [Pipeline] withDockerContainer 00:30:15 prd-ubuntu18.04-docker-arm64-4c-16g-21418 does not seem to be running inside a container 00:30:15 $ 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 ******** ci-base-image-arm64 cat 00:30:17 $ docker top 71fad21b3aa88206ddab5ad9169df418f4da63822d688cf304f56bf553f6a3f3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:18 + go version 00:30:18 go version go1.15.5 linux/arm64 [Pipeline] } 00:30:18 $ docker stop --time=1 71fad21b3aa88206ddab5ad9169df418f4da63822d688cf304f56bf553f6a3f3 00:30:20 $ docker rm -f 71fad21b3aa88206ddab5ad9169df418f4da63822d688cf304f56bf553f6a3f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:30:21 + docker inspect -f . ci-base-image-arm64 00:30:21 . [Pipeline] withDockerContainer 00:30:21 prd-ubuntu18.04-docker-arm64-4c-16g-21418 does not seem to be running inside a container 00:30:22 $ 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 ******** ci-base-image-arm64 cat 00:30:23 $ docker top e0b6e6d512c75b0d77eb6e68a91014e84f6278edc4d9cf0376b9761db5944880 -eo pid,comm [Pipeline] { [Pipeline] sh 00:30:24 + make test 00:30:24 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:30:25 ? github.com/edgexfoundry/device-rest-go [no test files] 00:31:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:31:04 ok github.com/edgexfoundry/device-rest-go/driver 0.046s coverage: 56.3% of statements 00:31:04 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:31:06 gofmt -l . 00:31:06 [ "`gofmt -l .`" = "" ] 00:31:06 ./bin/test-go-mod-tidy.sh 00:31:07 ./bin/test-attribution-txt.sh [Pipeline] } 00:31:07 $ docker stop --time=1 e0b6e6d512c75b0d77eb6e68a91014e84f6278edc4d9cf0376b9761db5944880 00:31:10 $ docker rm -f e0b6e6d512c75b0d77eb6e68a91014e84f6278edc4d9cf0376b9761db5944880 [Pipeline] // withDockerContainer [Pipeline] sh 00:31:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:31:11 Warning: overwriting stash ‘coverage-report’ 00:31:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:31:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:31:13 + ls -al . 00:31:13 total 124 00:31:13 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 00:31 . 00:31:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 00:29 .. 00:31:13 -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 00:29 .dockerignore 00:31:13 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 00:29 .git 00:31:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:29 .github 00:31:13 -rw-rw-r-- 1 jenkins jenkins 339 Jan 20 00:29 .gitignore 00:31:13 -rw-rw-r-- 1 jenkins jenkins 5294 Jan 20 00:29 Attribution.txt 00:31:13 -rw-rw-r-- 1 jenkins jenkins 1530 Jan 20 00:29 Dockerfile 00:31:13 -rw-rw-r-- 1 jenkins jenkins 1002 Jan 20 00:29 Dockerfile.build 00:31:13 -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 00:29 Jenkinsfile 00:31:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 00:29 LICENSE 00:31:13 -rw-rw-r-- 1 jenkins jenkins 951 Jan 20 00:29 Makefile 00:31:13 -rw-rw-r-- 1 jenkins jenkins 5917 Jan 20 00:29 README.md 00:31:13 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 00:24 VERSION 00:31:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:29 bin 00:31:13 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 00:29 cmd 00:31:13 -rw-r--r-- 1 jenkins jenkins 9369 Jan 20 00:30 coverage.out 00:31:13 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 00:30 driver 00:31:13 -rw-r--r-- 1 jenkins jenkins 267 Jan 20 00:31 go.mod 00:31:13 -rw-r--r-- 1 jenkins jenkins 13985 Jan 20 00:31 go.sum 00:31:13 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 00:29 snap 00:31:13 -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 00:29 version.go [Pipeline] isUnix [Pipeline] sh 00:31:14 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa --label arch=arm64 --label version=0.0.0 . 00:31:14 Sending build context to Docker daemon 101.4kB 00:31:14 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 00:31:14 Step 2/25 : FROM ${BASE} AS builder 00:31:14 ---> 48e0aa3623a2 00:31:14 Step 3/25 : ARG MAKE='make build' 00:31:14 ---> Running in 5710007ae134 00:31:15 Removing intermediate container 5710007ae134 00:31:15 ---> 2ea2b6e6a437 00:31:15 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 00:31:15 ---> Running in 040d9f8552a3 00:31:16 Removing intermediate container 040d9f8552a3 00:31:16 ---> 0fbb58c23061 00:31:16 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:31:16 ---> Running in 2d4bc3399160 00:31:16 Removing intermediate container 2d4bc3399160 00:31:16 ---> 254c43c87edd 00:31:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:31:16 ---> Running in d2c3bab66ec9 00:31:19 Removing intermediate container d2c3bab66ec9 00:31:19 ---> a5ecb52fc269 00:31:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:31:19 ---> Running in 0ce14a20bc59 00:31:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:31:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:31:23 OK: 142 MiB in 39 packages 00:31:24 Removing intermediate container 0ce14a20bc59 00:31:24 ---> 5993b7da3e3e 00:31:24 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 00:31:24 ---> Running in fae6a94158d7 00:31:25 Removing intermediate container fae6a94158d7 00:31:25 ---> 07a80bb5269d 00:31:25 Step 9/25 : COPY go.mod . 00:31:25 ---> 4f43ef340adf 00:31:25 Step 10/25 : COPY Makefile . 00:31:26 ---> 565e2cf05a3e 00:31:26 Step 11/25 : RUN make update 00:31:26 ---> Running in a7ddde42ff99 00:31:27 CGO_ENABLED=0 GO111MODULE=on go mod download 00:31:29 Removing intermediate container a7ddde42ff99 00:31:29 ---> 86bdbafc6f61 00:31:29 Step 12/25 : COPY . . 00:31:29 ---> 4a9f83fe68e9 00:31:29 Step 13/25 : RUN $MAKE 00:31:29 ---> Running in 5a592a796f45 00:31:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 00:32:03 Removing intermediate container 5a592a796f45 00:32:03 ---> cd39afd3d125 00:32:03 Step 14/25 : FROM alpine:3.12 00:32:03 3.12: Pulling from library/alpine 00:32:03 159e5727ea61: Pulling fs layer 00:32:03 159e5727ea61: Download complete 00:32:03 159e5727ea61: Pull complete 00:32:03 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:32:03 Status: Downloaded newer image for alpine:3.12 00:32:03 ---> afeebe901d6b 00:32:03 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:32:03 ---> Running in 8b5f39759ca0 00:32:03 Removing intermediate container 8b5f39759ca0 00:32:03 ---> a1f89d5f79a6 00:32:03 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 00:32:03 ---> Running in 940fef155579 00:32:03 Removing intermediate container 940fef155579 00:32:03 ---> 409bdb010ee9 00:32:03 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 00:32:03 ---> 1a40103e020e 00:32:03 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 00:32:03 ---> ee3bd632892a 00:32:03 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 00:32:03 ---> 34bb70a2cdde 00:32:03 Step 20/25 : EXPOSE 49986 00:32:03 ---> Running in 3952e0fa113e 00:32:04 Removing intermediate container 3952e0fa113e 00:32:04 ---> 71a54ba2901c 00:32:04 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 00:32:04 ---> Running in 8710f46f6742 00:32:05 Removing intermediate container 8710f46f6742 00:32:05 ---> 3f7a05fcb33d 00:32:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:32:05 ---> Running in d40e9837118a 00:32:05 Removing intermediate container d40e9837118a 00:32:05 ---> 47d25833619d 00:32:05 Step 23/25 : LABEL arch=arm64 00:32:05 ---> Running in 3742d4d89621 00:32:06 Removing intermediate container 3742d4d89621 00:32:06 ---> 431db2cbf3af 00:32:06 Step 24/25 : LABEL git_sha=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa 00:32:07 ---> Running in 34946f051f04 00:32:09 Removing intermediate container 34946f051f04 00:32:09 ---> f437d55f703b 00:32:09 Step 25/25 : LABEL version=0.0.0 00:32:10 ---> Running in ec2af5ac9a94 00:32:11 Removing intermediate container ec2af5ac9a94 00:32:11 ---> 72f71e920f49 00:32:11 [Warning] One or more build-args [ARCH] were not consumed 00:32:11 Successfully built 72f71e920f49 00:32:12 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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] wrap 00:32:14 provisioning config files... 00:32:14 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/config6680628185549334626tmp [Pipeline] { [Pipeline] sh 00:32:14 + set +x 00:32:14 + curl -s https://codecov.io/bash 00:32:14 + bash -s -- 00:32:14 00:32:14 _____ _ 00:32:14 / ____| | | 00:32:14 | | ___ __| | ___ ___ _____ __ 00:32:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:32:14 | |___| (_) | (_| | __/ (_| (_) \ V / 00:32:14 \_____\___/ \__,_|\___|\___\___/ \_/ 00:32:14 Bash-20210115-cec3c92 00:32:14 00:32:14 00:32:14 ==> git version 2.24.3 found 00:32:14 ==> 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 00:32:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:32:14 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 00:32:14 ==> Jenkins CI detected. 00:32:14 project root: . 00:32:14 --> token set from env 00:32:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:32:14 ==> Running gcov in . (disable via -X gcov) 00:32:14 ==> Python coveragepy not found 00:32:14 ==> Searching for coverage reports in: 00:32:14 + . 00:32:14 -> Found 1 reports 00:32:14 ==> Detecting git/mercurial file structure 00:32:14 ==> Reading reports 00:32:14 + ./coverage.out bytes=9369 00:32:14 ==> Appending adjustments 00:32:14 https://docs.codecov.io/docs/fixing-reports 00:32:15 + Found adjustments 00:32:15 ==> Gzipping contents 00:32:15 4.0K /tmp/codecov.cxGUyG.gz 00:32:15 ==> Uploading reports 00:32:15 url: https://codecov.io 00:32:15 query: branch=PR-76&commit=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=76&job=&cmd_args= 00:32:15 -> Pinging Codecov 00:32:15 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-76&commit=c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=76&job=&cmd_args= 00:32:15 -> Uploading to 00:32:15 https://storage.googleapis.com/codecov/v4/raw/2021-01-20/4E5D53B4F1F92C436F7061BF334D961C/c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa/3340b92f-5e4d-4aa0-8be0-9026042f6f09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T003215Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45d19f2611d6aab4c00417d87124c38408a373825803fca202fa74bc7bca823f 00:32:15 % Total % Received % Xferd Average Speed Time Time Time Current 00:32:15 Dload Upload Total Spent Left Speed 00:32:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 3386 --:--:-- --:--:-- --:--:-- 3384 00:32:16 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c3aa815091e6dcf635c7c2f3be8ce52a8033c7aa [Pipeline] } 00:32:16 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 00:32:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:32:20 ---> package-listing.sh 00:32:20 ++ tr '[:upper:]' '[:lower:]' 00:32:20 ++ facter osfamily 00:32:20 + OS_FAMILY=redhat 00:32:20 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-76 00:32:20 + START_PACKAGES=/tmp/packages_start.txt 00:32:20 + END_PACKAGES=/tmp/packages_end.txt 00:32:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:32:20 + PACKAGES=/tmp/packages_start.txt 00:32:20 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-76 ']' 00:32:20 + PACKAGES=/tmp/packages_end.txt 00:32:20 + case "${OS_FAMILY}" in 00:32:20 + rpm -qa 00:32:20 + sort 00:32:25 + '[' -f /tmp/packages_start.txt ']' 00:32:25 + '[' -f /tmp/packages_end.txt ']' 00:32:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:32:25 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-76 ']' 00:32:25 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-76/archives/ 00:32:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-76/archives/ [Pipeline] echo 00:32:25 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:32:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:32:26 00:32:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:32:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:32:26 alpine: Pulling from edgex-lftools-log-publisher 00:32:26 df20fa9351a1: Pulling fs layer 00:32:26 36b3adc4ff6f: Pulling fs layer 00:32:26 8ad3a11d3b57: Pulling fs layer 00:32:26 46f8f816bc3b: Pulling fs layer 00:32:26 93b61091891f: Pulling fs layer 00:32:26 93b9cdb0e59b: Pulling fs layer 00:32:26 5e14af77c1be: Pulling fs layer 00:32:26 01666e4c0597: Pulling fs layer 00:32:26 aa168da1d23b: Pulling fs layer 00:32:26 93b9cdb0e59b: Waiting 00:32:26 46f8f816bc3b: Waiting 00:32:26 5e14af77c1be: Waiting 00:32:26 01666e4c0597: Waiting 00:32:26 93b61091891f: Waiting 00:32:26 36b3adc4ff6f: Verifying Checksum 00:32:26 36b3adc4ff6f: Download complete 00:32:26 46f8f816bc3b: Verifying Checksum 00:32:26 46f8f816bc3b: Download complete 00:32:26 df20fa9351a1: Verifying Checksum 00:32:26 93b9cdb0e59b: Verifying Checksum 00:32:26 93b9cdb0e59b: Download complete 00:32:26 5e14af77c1be: Verifying Checksum 00:32:26 5e14af77c1be: Download complete 00:32:26 93b61091891f: Verifying Checksum 00:32:26 93b61091891f: Download complete 00:32:26 01666e4c0597: Verifying Checksum 00:32:26 01666e4c0597: Download complete 00:32:26 8ad3a11d3b57: Verifying Checksum 00:32:26 8ad3a11d3b57: Download complete 00:32:26 df20fa9351a1: Pull complete 00:32:27 36b3adc4ff6f: Pull complete 00:32:28 8ad3a11d3b57: Pull complete 00:32:28 46f8f816bc3b: Pull complete 00:32:29 93b61091891f: Pull complete 00:32:29 93b9cdb0e59b: Pull complete 00:32:29 5e14af77c1be: Pull complete 00:32:29 aa168da1d23b: Verifying Checksum 00:32:29 aa168da1d23b: Download complete 00:32:29 01666e4c0597: Pull complete 00:32:36 aa168da1d23b: Pull complete 00:32:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:32:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:32:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:32:36 prd-centos7-docker-4c-2g-21413 does not seem to be running inside a container 00:32:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-76 -v /w/workspace/dgexfoundry_device-rest-go_PR-76:/w/workspace/dgexfoundry_device-rest-go_PR-76:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-76@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-76@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:32:40 $ docker top 3dea5241b113d0e6b54cf5a510ca1b796027f43828299b11811403b35b1263f4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:41 + touch /tmp/pre-build-complete [Pipeline] sh 00:32:41 + mkdir -p /var/log/sa [Pipeline] sh 00:32:41 + ls /var/log/sa-host 00:32:41 + sadf -c /var/log/sa-host/sa20 00:32:41 file_magic: OK 00:32:41 HZ: Using current value: 100 00:32:41 file_header: OK 00:32:41 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 00:32:41 Statistics: 00:32:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:32:41 File successfully converted to sysstat format version 12.2.1 00:32:41 + sadf -c /var/log/sa-host/sa23 00:32:41 file_magic: OK 00:32:41 HZ: Using current value: 100 00:32:41 file_header: OK 00:32:41 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 00:32:41 Statistics: 00:32:41 Hnuu...uuuununununu... 00:32:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:41 provisioning config files... 00:32:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-76@tmp/config648883452856979213tmp [Pipeline] { [Pipeline] echo 00:32:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:32:42 ---> create-netrc.sh [Pipeline] } 00:32:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:32:42 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:32:42 ---> python-tools-install.sh [Pipeline] echo 00:32:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:32:43 ---> sudo-logs.sh 00:32:43 Archiving 'sudo' log.. [Pipeline] echo 00:32:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:32:43 ---> job-cost.sh 00:32:43 lf-activate-venv: SKIPPING 00:32:43 INFO: No Stack... 00:32:44 INFO: Retrieving Pricing Info for: v1-standard-2 00:32:44 INFO: Archiving Costs [Pipeline] echo 00:32:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:32:45 ---> logs-deploy.sh 00:32:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-76/1 00:32:45 INFO: archiving workspace using pattern(s): 00:32:47 Archives upload complete. 00:32:47 INFO: archiving logs to Nexus