Pull request #66 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11+3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (f725605f9e7bc9a92873fad501910af4741337db) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 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-18182 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [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-66 # 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 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 Merge succeeded, producing 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 Checking out Revision 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 (PR-66) > 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/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # 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 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 Commit message: "ci: standardize dockerfiles" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 1823a67e0868418d03770a63e2cb1eef336783ce # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:29:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:29:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:29:20 ========================================================= 16:29:20 EdgeX Global Pipelines Version Info 16:29:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:29:22 ------------------- 16:29:22 stable info: 16:29:22 ------------------- 16:29:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:29:22 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:29:22 Message: update stable to v1.0.173 16:29:22 ------------------- 16:29:22 experimental info: 16:29:22 ------------------- 16:29:22 Commited By: **** collab-it+edgex@linuxfoundation.org 16:29:22 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 16:29:22 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:29:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:29:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:29:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:29:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:29:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:29:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:29:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:29:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:29:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-66 [Pipeline] echo 16:29:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-66 [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-66 [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 998a81b [Pipeline] echo 16:29:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:29:26 provisioning config files... 16:29:26 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config1932078676715220308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:26 ---> docker-login.sh 16:29:26 nexus3.edgexfoundry.org:10001 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:27 Configure a credential helper to remove this warning. See 16:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:27 16:29:27 Login Succeeded 16:29:27 nexus3.edgexfoundry.org:10002 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:27 Configure a credential helper to remove this warning. See 16:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:27 16:29:27 Login Succeeded 16:29:27 nexus3.edgexfoundry.org:10003 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:27 Configure a credential helper to remove this warning. See 16:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:27 16:29:27 Login Succeeded 16:29:27 nexus3.edgexfoundry.org:10004 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:27 Configure a credential helper to remove this warning. See 16:29:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:27 16:29:27 Login Succeeded 16:29:27 docker.io 16:29:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:28 Configure a credential helper to remove this warning. See 16:29:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:28 16:29:28 Login Succeeded 16:29:28 ---> docker-login.sh ends [Pipeline] } 16:29:28 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 16:29:29 + git log --format=format:%s -1 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [Pipeline] echo 16:29:29 GIT_COMMIT: 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11, Commit Message: ci: standardize dockerfiles [Pipeline] echo 16:29:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:29:30 16:29:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:29:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:29:30 latest: Pulling from edgex-devops/git-semver 16:29:30 31603596830f: Pulling fs layer 16:29:30 2a8b12db71e7: Pulling fs layer 16:29:30 6ca5941a6612: Pulling fs layer 16:29:30 ecc8261a40a4: Pulling fs layer 16:29:30 ecc8261a40a4: Waiting 16:29:30 2a8b12db71e7: Verifying Checksum 16:29:30 2a8b12db71e7: Download complete 16:29:30 31603596830f: Download complete 16:29:30 ecc8261a40a4: Verifying Checksum 16:29:30 ecc8261a40a4: Download complete 16:29:30 6ca5941a6612: Verifying Checksum 16:29:30 6ca5941a6612: Download complete 16:29:31 31603596830f: Pull complete 16:29:31 2a8b12db71e7: Pull complete 16:29:32 6ca5941a6612: Pull complete 16:29:32 ecc8261a40a4: Pull complete 16:29:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:29:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:29:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:29:32 prd-centos7-docker-4c-2g-18182 does not seem to be running inside a container 16:29:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-66 -v /w/workspace/dgexfoundry_device-rest-go_PR-66:/w/workspace/dgexfoundry_device-rest-go_PR-66:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-66@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:10004/edgex-devops/git-semver:latest cat 16:29:34 $ docker top 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:34 [ssh-agent] Looking for ssh-agent implementation... 16:29:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:34 $ docker exec 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 ssh-agent 16:29:35 SSH_AUTH_SOCK=/tmp/ssh-mCGgUSJSlfnU/agent.12 16:29:35 SSH_AGENT_PID=17 16:29:35 Running ssh-add (command line suppressed) 16:29:35 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_8745098983348717826.key (/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_8745098983348717826.key) 16:29:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:35 + git tag --points-at HEAD [Pipeline] } 16:29:35 $ docker exec --env ******** --env ******** 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 ssh-agent -k 16:29:35 unset SSH_AUTH_SOCK; 16:29:35 unset SSH_AGENT_PID; 16:29:35 echo Agent pid 17 killed; 16:29:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:29:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:36 [ssh-agent] Looking for ssh-agent implementation... 16:29:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:36 $ docker exec 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 ssh-agent 16:29:36 SSH_AUTH_SOCK=/tmp/ssh-ia3BIc2f3z5j/agent.46 16:29:36 SSH_AGENT_PID=51 16:29:36 Running ssh-add (command line suppressed) 16:29:36 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_63399369004239383.key (/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/private_key_63399369004239383.key) 16:29:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:36 + git semver init 16:29:36 # -> Open(): unable to determine branch for HEAD 16:29:36 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-66/.git 16:29:36 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-66 16:29:36 # $SEMVER_REMOTE_NAME = origin 16:29:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:29:36 # $SEMVER_USER_NAME = edgex-jenkins 16:29:36 # $SEMVER_BRANCH = PR-66 16:29:36 # $SEMVER_TEMP = /tmp/semver-851351388 16:29:36 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 16:29:38 # '/tmp/semver-851351388' -> '/w/workspace/dgexfoundry_device-rest-go_PR-66/.semver' 16:29:38 # -> Force: false 16:29:38 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-66/.semver [Pipeline] } 16:29:38 $ docker exec --env ******** --env ******** 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 ssh-agent -k 16:29:38 unset SSH_AUTH_SOCK; 16:29:38 unset SSH_AGENT_PID; 16:29:38 echo Agent pid 51 killed; 16:29:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:39 + git semver [Pipeline] } 16:29:39 $ docker stop --time=1 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 16:29:41 $ docker rm -f 716ad76eafca155c7edc26d57533f84257b945b201d74ba5c19706379167d8f2 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:29:41 Stashed 1 file(s) [Pipeline] echo 16:29:41 [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 16:29:57 Still waiting to schedule task 16:29:57 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:29:57 Still waiting to schedule task 16:29:57 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-18180’ 16:31:48 Running on prd-centos7-docker-4c-2g-18183 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [Pipeline] { [Pipeline] ws 16:31:48 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 16:31:55 using credential edgex-jenkins-ssh 16:31:55 Cloning the remote Git repository 16:31:55 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:31:55 > git init /w/workspace/device-rest-go/2 # timeout=10 16:31:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:31:55 > git --version # timeout=10 16:31:56 > git --version # 'git version 2.24.3' 16:31:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:31:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:31:58 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 16:31:58 Merge succeeded, producing 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 16:31:58 Checking out Revision 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 (PR-66) 16:31:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:31:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:31:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:31:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:31:57 using GIT_SSH to set credentials SSH Credentials for GitHub 16:31:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:31:58 > git config core.sparsecheckout # timeout=10 16:31:58 > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 16:31:58 > git remote # timeout=10 16:31:58 > git config --get remote.origin.url # timeout=10 16:31:58 using GIT_SSH to set credentials SSH Credentials for GitHub 16:31:58 > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 16:31:58 > git rev-parse HEAD^{commit} # timeout=10 16:31:58 > git config core.sparsecheckout # timeout=10 16:31:58 > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 16:32:02 Commit message: "ci: standardize dockerfiles" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:32:04 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:32:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:32:05 + sudo service docker restart 16:32:05 + true 16:32:05 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:32:06 provisioning config files... 16:32:06 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8211904161452197644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:32:07 ---> docker-login.sh 16:32:07 nexus3.edgexfoundry.org:10001 16:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:08 Configure a credential helper to remove this warning. See 16:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:08 16:32:08 Login Succeeded 16:32:08 nexus3.edgexfoundry.org:10002 16:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:08 Configure a credential helper to remove this warning. See 16:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:08 16:32:08 Login Succeeded 16:32:08 nexus3.edgexfoundry.org:10003 16:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:09 Configure a credential helper to remove this warning. See 16:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:09 16:32:09 Login Succeeded 16:32:09 nexus3.edgexfoundry.org:10004 16:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:09 Configure a credential helper to remove this warning. See 16:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:09 16:32:09 Login Succeeded 16:32:09 docker.io 16:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:32:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:32:10 Configure a credential helper to remove this warning. See 16:32:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:32:10 16:32:10 Login Succeeded 16:32:10 ---> docker-login.sh ends [Pipeline] } 16:32:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:32:10 ========================================================= 16:32:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:32:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:32: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 . 16:32:11 Sending build context to Docker daemon 84.48kB 16:32:11 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 16:32:11 Step 2/10 : FROM ${BASE} 16:32:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:32:11 188c0c94c7c5: Pulling fs layer 16:32:11 0ef7d3d256c8: Pulling fs layer 16:32:11 de9db76c5a1d: Pulling fs layer 16:32:11 bca2f99d35d6: Pulling fs layer 16:32:11 93359f2a8cfa: Pulling fs layer 16:32:11 7c6f9722023f: Pulling fs layer 16:32:11 a35cf1a2eb13: Pulling fs layer 16:32:11 bca2f99d35d6: Waiting 16:32:11 93359f2a8cfa: Waiting 16:32:11 7c6f9722023f: Waiting 16:32:11 a35cf1a2eb13: Waiting 16:32:11 de9db76c5a1d: Verifying Checksum 16:32:11 de9db76c5a1d: Download complete 16:32:11 0ef7d3d256c8: Verifying Checksum 16:32:11 0ef7d3d256c8: Download complete 16:32:11 93359f2a8cfa: Verifying Checksum 16:32:11 93359f2a8cfa: Download complete 16:32:11 7c6f9722023f: Verifying Checksum 16:32:11 7c6f9722023f: Download complete 16:32:11 188c0c94c7c5: Verifying Checksum 16:32:11 188c0c94c7c5: Download complete 16:32:12 188c0c94c7c5: Pull complete 16:32:12 0ef7d3d256c8: Pull complete 16:32:13 de9db76c5a1d: Pull complete 16:32:15 a35cf1a2eb13: Verifying Checksum 16:32:15 a35cf1a2eb13: Download complete 16:32:16 bca2f99d35d6: Verifying Checksum 16:32:16 bca2f99d35d6: Download complete 16:32:26 bca2f99d35d6: Pull complete 16:32:26 93359f2a8cfa: Pull complete 16:32:27 7c6f9722023f: Pull complete 16:32:32 a35cf1a2eb13: Pull complete 16:32:32 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:32:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:32:32 ---> a62c8e92a672 16:32:32 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 16:32:32 ---> Running in ffc1ef922a87 16:32:32 Removing intermediate container ffc1ef922a87 16:32:32 ---> e0e1d8a504d7 16:32:32 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:32:32 ---> Running in 7e07ec6b074c 16:32:33 Removing intermediate container 7e07ec6b074c 16:32:33 ---> 84b6087030e3 16:32:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:32:33 ---> Running in 970c1c889a09 16:32:33 Removing intermediate container 970c1c889a09 16:32:33 ---> fba590fded4b 16:32:33 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:32:33 ---> Running in 607512a18c21 16:32:35 Removing intermediate container 607512a18c21 16:32:35 ---> 0be1f61be20a 16:32:35 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:32:35 ---> Running in aa33df8cf8a2 16:32:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:32:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:32:38 OK: 166 MiB in 39 packages 16:32:39 Removing intermediate container aa33df8cf8a2 16:32:39 ---> a7ed7e6b8529 16:32:39 Step 8/10 : WORKDIR /device-rest-go 16:32:39 ---> Running in f79557b31834 16:32:39 Removing intermediate container f79557b31834 16:32:39 ---> 5db2d2b18f69 16:32:39 Step 9/10 : COPY . . 16:32:40 ---> bdc904860243 16:32:40 Step 10/10 : RUN go mod download 16:32:40 ---> Running in e7f14b138331 16:32:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18185 in /w/workspace/dgexfoundry_device-rest-go_PR-66 [Pipeline] { [Pipeline] ws 16:32:57 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 16:33:02 using credential edgex-jenkins-ssh 16:33:02 Cloning the remote Git repository 16:33:02 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:33:02 > git init /w/workspace/device-rest-go/2 # timeout=10 16:33:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:33:02 > git --version # timeout=10 16:33:02 > git --version # 'git version 2.17.1' 16:33:02 using GIT_SSH to set credentials SSH Credentials for GitHub 16:33:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:33:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:33:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:33:04 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:33:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:33:04 using GIT_SSH to set credentials SSH Credentials for GitHub 16:33:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/66/head:refs/remotes/origin/PR-66 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:33:05 Merging remotes/origin/master commit 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 into PR head commit 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 16:33:05 Merge succeeded, producing 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 16:33:05 Checking out Revision 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 (PR-66) 16:33:05 > git config core.sparsecheckout # timeout=10 16:33:05 > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 16:33:05 > git remote # timeout=10 16:33:05 > git config --get remote.origin.url # timeout=10 16:33:05 using GIT_SSH to set credentials SSH Credentials for GitHub 16:33:05 > git merge 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 16:33:05 > git rev-parse HEAD^{commit} # timeout=10 16:33:05 > git config core.sparsecheckout # timeout=10 16:33:05 > git checkout -f 998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 # timeout=10 16:33:07 Removing intermediate container e7f14b138331 16:33:07 ---> fe95eb4b0d11 16:33:07 Successfully built fe95eb4b0d11 16:33:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:33:07 + docker inspect -f . ci-base-image-x86_64 16:33:07 . [Pipeline] withDockerContainer 16:33:08 prd-centos7-docker-4c-2g-18183 does not seem to be running inside a container 16:33:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:33:09 $ docker top 0211ad1de1d1dbaa66aa18bd0c5ba319d20c111d33eb0405fa5d7ccdefd22e23 -eo pid,comm 16:33:09 Commit message: "ci: standardize dockerfiles" [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 16:33:10 + go version 16:33:10 go version go1.15.5 linux/amd64 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } 16:33:10 $ docker stop --time=1 0211ad1de1d1dbaa66aa18bd0c5ba319d20c111d33eb0405fa5d7ccdefd22e23 16:33:12 $ docker rm -f 0211ad1de1d1dbaa66aa18bd0c5ba319d20c111d33eb0405fa5d7ccdefd22e23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:33:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 16:33:14 + docker inspect -f . ci-base-image-x86_64 16:33:14 . [Pipeline] withDockerContainer 16:33:15 prd-centos7-docker-4c-2g-18183 does not seem to be running inside a container 16:33:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 16:33:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:33:16 $ docker top 939f42a589b8f02e232668e98dadf5e465966e02ffab0d9b39f5758b4393e9f4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 16:33:17 + sudo service docker restart 16:33:17 + true 16:33:17 + make test 16:33:17 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:33:18 ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:33:19 provisioning config files... 16:33:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config2830516621559100029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:19 ---> docker-login.sh 16:33:19 nexus3.edgexfoundry.org:10001 16:33:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:20 Configure a credential helper to remove this warning. See 16:33:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:20 16:33:20 Login Succeeded 16:33:20 nexus3.edgexfoundry.org:10002 16:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:21 Configure a credential helper to remove this warning. See 16:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:21 16:33:21 Login Succeeded 16:33:21 nexus3.edgexfoundry.org:10003 16:33:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:21 Configure a credential helper to remove this warning. See 16:33:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:21 16:33:21 Login Succeeded 16:33:21 nexus3.edgexfoundry.org:10004 16:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:22 Configure a credential helper to remove this warning. See 16:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:22 16:33:22 Login Succeeded 16:33:22 docker.io 16:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:23 Configure a credential helper to remove this warning. See 16:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:23 16:33:23 Login Succeeded 16:33:23 ---> docker-login.sh ends [Pipeline] } 16:33:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:33:23 ========================================================= 16:33:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:33:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:33:24 + 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 . 16:33:24 Sending build context to Docker daemon 84.48kB 16:33:24 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 16:33:24 Step 2/10 : FROM ${BASE} 16:33:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:33:24 5f621e34cdf4: Pulling fs layer 16:33:24 a4357932f1b6: Pulling fs layer 16:33:24 18c013af1878: Pulling fs layer 16:33:24 00ac8860ef70: Pulling fs layer 16:33:24 63d7cb157983: Pulling fs layer 16:33:24 b116817d02f9: Pulling fs layer 16:33:24 745a02a5169b: Pulling fs layer 16:33:24 63d7cb157983: Waiting 16:33:24 b116817d02f9: Waiting 16:33:24 745a02a5169b: Waiting 16:33:24 00ac8860ef70: Waiting 16:33:24 18c013af1878: Verifying Checksum 16:33:24 18c013af1878: Download complete 16:33:24 a4357932f1b6: Verifying Checksum 16:33:24 a4357932f1b6: Download complete 16:33:24 5f621e34cdf4: Verifying Checksum 16:33:24 5f621e34cdf4: Download complete 16:33:24 63d7cb157983: Download complete 16:33:25 b116817d02f9: Verifying Checksum 16:33:25 b116817d02f9: Download complete 16:33:25 5f621e34cdf4: Pull complete 16:33:26 a4357932f1b6: Pull complete 16:33:26 18c013af1878: Pull complete 16:33:27 745a02a5169b: Verifying Checksum 16:33:27 745a02a5169b: Download complete 16:33:28 00ac8860ef70: Verifying Checksum 16:33:28 00ac8860ef70: Download complete 16:33:38 00ac8860ef70: Pull complete 16:33:39 63d7cb157983: Pull complete 16:33:39 b116817d02f9: Pull complete 16:33:40 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:33:40 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 56.3% of statements 16:33:40 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:33:42 745a02a5169b: Pull complete 16:33:42 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:33:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:33:42 ---> b7e6874047d6 16:33:42 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 16:33:45 gofmt -l . 16:33:45 [ "`gofmt -l .`" = "" ] 16:33:45 ./bin/test-go-mod-tidy.sh 16:33:45 ./bin/test-attribution-txt.sh [Pipeline] } 16:33:45 $ docker stop --time=1 939f42a589b8f02e232668e98dadf5e465966e02ffab0d9b39f5758b4393e9f4 16:33:46 ---> Running in 1ca9599ed76d 16:33:46 Removing intermediate container 1ca9599ed76d 16:33:46 ---> 612a825d244f 16:33:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 16:33:46 ---> Running in a97198a02bb7 16:33:46 Removing intermediate container a97198a02bb7 16:33:46 ---> 02009f30d260 16:33:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:33:47 ---> Running in 4eec73a9a197 16:33:47 Removing intermediate container 4eec73a9a197 16:33:47 ---> c07961cf5026 16:33:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:33:47 ---> Running in 2e0cc2060cdc 16:33:48 $ docker rm -f 939f42a589b8f02e232668e98dadf5e465966e02ffab0d9b39f5758b4393e9f4 [Pipeline] // withDockerContainer [Pipeline] sh 16:33:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:33:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 16:33:50 Removing intermediate container 2e0cc2060cdc 16:33:50 ---> 98318e247fac 16:33:50 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:33:50 ---> Running in 60eca2daddbe [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:33:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:33:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:33:51 + ls -al . 16:33:51 total 96 16:33:51 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 4 16:33 . 16:33:51 drwxrwxr-x. 4 jenkins jenkins 28 Jan 4 16:31 .. 16:33:51 -rw-rw-r--. 1 jenkins jenkins 5294 Jan 4 16:31 Attribution.txt 16:33:51 drwxrwxr-x. 2 jenkins jenkins 64 Jan 4 16:31 bin 16:33:51 drwxrwxr-x. 3 jenkins jenkins 32 Jan 4 16:31 cmd 16:33:51 -rw-r--r--. 1 jenkins jenkins 9369 Jan 4 16:33 coverage.out 16:33:51 -rw-rw-r--. 1 jenkins jenkins 1530 Jan 4 16:31 Dockerfile 16:33:51 -rw-rw-r--. 1 jenkins jenkins 1002 Jan 4 16:31 Dockerfile.build 16:33:51 -rw-rw-r--. 1 jenkins jenkins 151 Jan 4 16:31 .dockerignore 16:33:51 drwxrwxr-x. 2 jenkins jenkins 93 Jan 4 16:33 driver 16:33:51 drwxrwxr-x. 8 jenkins jenkins 179 Jan 4 16:32 .git 16:33:51 drwxrwxr-x. 2 jenkins jenkins 60 Jan 4 16:31 .github 16:33:51 -rw-rw-r--. 1 jenkins jenkins 339 Jan 4 16:31 .gitignore 16:33:51 -rw-r--r--. 1 jenkins jenkins 267 Jan 4 16:33 go.mod 16:33:51 -rw-r--r--. 1 jenkins jenkins 13790 Jan 4 16:33 go.sum 16:33:51 -rw-rw-r--. 1 jenkins jenkins 680 Jan 4 16:31 Jenkinsfile 16:33:51 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 4 16:31 LICENSE 16:33:51 -rw-rw-r--. 1 jenkins jenkins 951 Jan 4 16:31 Makefile 16:33:51 -rw-rw-r--. 1 jenkins jenkins 5917 Jan 4 16:31 README.md 16:33:51 drwxrwxr-x. 4 jenkins jenkins 71 Jan 4 16:31 snap 16:33:51 -rw-rw-r--. 1 jenkins jenkins 5 Jan 4 16:29 VERSION 16:33:51 -rw-rw-r--. 1 jenkins jenkins 713 Jan 4 16:31 version.go [Pipeline] isUnix [Pipeline] sh 16:33:52 + 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=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 --label arch=amd64 --label version=0.0.0 . 16:33:52 Sending build context to Docker daemon 96.26kB 16:33:52 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 16:33:52 Step 2/25 : FROM ${BASE} AS builder 16:33:52 ---> fe95eb4b0d11 16:33:52 Step 3/25 : ARG MAKE='make build' 16:33:52 ---> Running in bee87d527e69 16:33:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:33:53 Removing intermediate container bee87d527e69 16:33:53 ---> 212b682a653a 16:33:53 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 16:33:53 ---> Running in 272b0c06a790 16:33:53 Removing intermediate container 272b0c06a790 16:33:53 ---> 0ea39de045b6 16:33:53 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:33:53 ---> Running in 52c652ad10f2 16:33:53 Removing intermediate container 52c652ad10f2 16:33:53 ---> a3e3ad7f3ba2 16:33:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:33:54 OK: 142 MiB in 39 packages 16:33:54 ---> Running in 268f030e7523 16:33:55 Removing intermediate container 60eca2daddbe 16:33:55 ---> 7e973290befa 16:33:55 Step 8/10 : WORKDIR /device-rest-go 16:33:55 ---> Running in 0eca81d2659e 16:33:56 Removing intermediate container 0eca81d2659e 16:33:56 ---> 00da4349c781 16:33:56 Step 9/10 : COPY . . 16:33:56 Removing intermediate container 268f030e7523 16:33:56 ---> ebd9397bd34e 16:33:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:33:56 ---> Running in d5b1d04df051 16:33:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:33:57 ---> 4eca34699348 16:33:57 Step 10/10 : RUN go mod download 16:33:57 ---> Running in 3fd5399f8bf0 16:33:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:33:59 OK: 166 MiB in 39 packages 16:33:59 Removing intermediate container d5b1d04df051 16:33:59 ---> f86279f1285b 16:33:59 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 16:33:59 ---> Running in f539fa0ffcaf 16:34:00 Removing intermediate container f539fa0ffcaf 16:34:00 ---> e03f515edd9e 16:34:00 Step 9/25 : COPY go.mod . 16:34:00 ---> 30de2f458b7a 16:34:00 Step 10/25 : COPY Makefile . 16:34:01 ---> 39d3ba74af3a 16:34:01 Step 11/25 : RUN make update 16:34:01 ---> Running in 4f24b7a44c9e 16:34:02 CGO_ENABLED=0 GO111MODULE=on go mod download 16:34:03 Removing intermediate container 4f24b7a44c9e 16:34:03 ---> bc6c6a09d435 16:34:03 Step 12/25 : COPY . . 16:34:03 ---> 1524a09d13fc 16:34:03 Step 13/25 : RUN $MAKE 16:34:03 ---> Running in 351d6df80c1f 16:34:04 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 16:34:19 Removing intermediate container 3fd5399f8bf0 16:34:19 ---> eb48ccc27795 16:34:19 Successfully built eb48ccc27795 16:34:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:34:19 + docker inspect -f . ci-base-image-arm64 16:34:19 . [Pipeline] withDockerContainer 16:34:20 prd-ubuntu18.04-docker-arm64-4c-16g-18185 does not seem to be running inside a container 16:34:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:34:21 $ docker top 6773da44821d9e33b26c951a75e534394fff96066d5e61374a2fb55271128b59 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:22 + go version 16:34:22 go version go1.15.5 linux/arm64 [Pipeline] } 16:34:22 $ docker stop --time=1 6773da44821d9e33b26c951a75e534394fff96066d5e61374a2fb55271128b59 16:34:24 $ docker rm -f 6773da44821d9e33b26c951a75e534394fff96066d5e61374a2fb55271128b59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:34:25 + docker inspect -f . ci-base-image-arm64 16:34:25 . [Pipeline] withDockerContainer 16:34:26 prd-ubuntu18.04-docker-arm64-4c-16g-18185 does not seem to be running inside a container 16:34:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:34:27 $ docker top 7667ba99e53b969507bf5e9e59cd056fd650ab3282dcea6b5c20f2c6c4e588d0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:28 Removing intermediate container 351d6df80c1f 16:34:28 ---> 5ca0f1049a55 16:34:28 Step 14/25 : FROM alpine:3.12 16:34:28 3.12: Pulling from library/alpine 16:34:28 801bfaa63ef2: Pulling fs layer 16:34:28 801bfaa63ef2: Verifying Checksum 16:34:28 801bfaa63ef2: Download complete 16:34:28 801bfaa63ef2: Pull complete 16:34:28 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 16:34:28 Status: Downloaded newer image for alpine:3.12 16:34:28 ---> 389fef711851 16:34:28 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:34:28 ---> Running in a56ae722dd0b 16:34:28 Removing intermediate container a56ae722dd0b 16:34:28 ---> 6a1eaf1e66c3 16:34:28 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 16:34:28 ---> Running in 35fdb714ab6c 16:34:28 Removing intermediate container 35fdb714ab6c 16:34:28 ---> 08e27bd54666 16:34:28 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 16:34:28 ---> c5a7b8713036 16:34:28 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 16:34:28 ---> 89c2b0f56ef0 16:34:28 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 16:34:28 + make test 16:34:28 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 16:34:29 ---> e3c7c5f84adc 16:34:29 Step 20/25 : EXPOSE 49986 16:34:29 ---> Running in 45a898ecdceb 16:34:29 Removing intermediate container 45a898ecdceb 16:34:29 ---> 411dad29434a 16:34:29 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 16:34:29 ? github.com/edgexfoundry/device-rest-go [no test files] 16:34:29 ---> Running in be07d2720ddd 16:34:29 Removing intermediate container be07d2720ddd 16:34:29 ---> 19bb110bf120 16:34:29 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:34:30 ---> Running in 4772f7e9bff2 16:34:30 Removing intermediate container 4772f7e9bff2 16:34:30 ---> c4255747fe23 16:34:30 Step 23/25 : LABEL arch=amd64 16:34:30 ---> Running in ae0c0983e0c2 16:34:30 Removing intermediate container ae0c0983e0c2 16:34:30 ---> c5ff41f49a1f 16:34:30 Step 24/25 : LABEL git_sha=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 16:34:30 ---> Running in 0d99f0406086 16:34:30 Removing intermediate container 0d99f0406086 16:34:30 ---> ec3df65eae07 16:34:30 Step 25/25 : LABEL version=0.0.0 16:34:31 ---> Running in abf25895664b 16:34:31 Removing intermediate container abf25895664b 16:34:31 ---> 1d48c916f9a0 16:34:31 [Warning] One or more build-args [ARCH] were not consumed 16:34:31 Successfully built 1d48c916f9a0 16:34:31 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] } 16:35:02 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:35:02 ok github.com/edgexfoundry/device-rest-go/driver 0.084s coverage: 56.3% of statements 16:35:02 CGO_ENABLED=0 GO111MODULE=on go vet ./... 16:35:11 gofmt -l . 16:35:11 [ "`gofmt -l .`" = "" ] 16:35:11 ./bin/test-go-mod-tidy.sh 16:35:11 ./bin/test-attribution-txt.sh [Pipeline] } 16:35:11 $ docker stop --time=1 7667ba99e53b969507bf5e9e59cd056fd650ab3282dcea6b5c20f2c6c4e588d0 16:35:13 $ docker rm -f 7667ba99e53b969507bf5e9e59cd056fd650ab3282dcea6b5c20f2c6c4e588d0 [Pipeline] // withDockerContainer [Pipeline] sh 16:35:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:35:14 Warning: overwriting stash ‘coverage-report’ 16:35:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:35:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:35:17 + ls -al . 16:35:17 total 124 16:35:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:35 . 16:35:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:33 .. 16:35:17 -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 16:33 .dockerignore 16:35:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 16:33 .git 16:35:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:33 .github 16:35:17 -rw-rw-r-- 1 jenkins jenkins 339 Jan 4 16:33 .gitignore 16:35:17 -rw-rw-r-- 1 jenkins jenkins 5294 Jan 4 16:33 Attribution.txt 16:35:17 -rw-rw-r-- 1 jenkins jenkins 1530 Jan 4 16:33 Dockerfile 16:35:17 -rw-rw-r-- 1 jenkins jenkins 1002 Jan 4 16:33 Dockerfile.build 16:35:17 -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 16:33 Jenkinsfile 16:35:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 16:33 LICENSE 16:35:17 -rw-rw-r-- 1 jenkins jenkins 951 Jan 4 16:33 Makefile 16:35:17 -rw-rw-r-- 1 jenkins jenkins 5917 Jan 4 16:33 README.md 16:35:17 -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 16:29 VERSION 16:35:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:33 bin 16:35:17 drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 16:33 cmd 16:35:17 -rw-r--r-- 1 jenkins jenkins 9369 Jan 4 16:35 coverage.out 16:35:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 16:35 driver 16:35:17 -rw-r--r-- 1 jenkins jenkins 267 Jan 4 16:35 go.mod 16:35:17 -rw-r--r-- 1 jenkins jenkins 13790 Jan 4 16:35 go.sum 16:35:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 16:33 snap 16:35:17 -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 16:33 version.go [Pipeline] isUnix [Pipeline] sh 16:35:17 + 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=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 --label arch=arm64 --label version=0.0.0 . 16:35:17 Sending build context to Docker daemon 96.26kB 16:35:17 Step 1/25 : ARG BASE=golang:1.15-alpine3.12 16:35:17 Step 2/25 : FROM ${BASE} AS builder 16:35:17 ---> eb48ccc27795 16:35:17 Step 3/25 : ARG MAKE='make build' 16:35:18 ---> Running in d7bd27ab585c 16:35:18 Removing intermediate container d7bd27ab585c 16:35:18 ---> e75603d1ff30 16:35:18 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 16:35:18 ---> Running in 024d2c2136ff 16:35:19 Removing intermediate container 024d2c2136ff 16:35:19 ---> 96a8561cf679 16:35:19 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 16:35:19 ---> Running in edc7e2beee30 16:35:19 Removing intermediate container edc7e2beee30 16:35:19 ---> 668b46be828b 16:35:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:19 ---> Running in 47ec5b0fe96f 16:35:22 Removing intermediate container 47ec5b0fe96f 16:35:22 ---> 60461b533dac 16:35:22 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:35:22 ---> Running in eab8c3f59b66 16:35:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:35:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:35:25 OK: 142 MiB in 39 packages 16:35:26 Removing intermediate container eab8c3f59b66 16:35:26 ---> 8595df025590 16:35:26 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 16:35:26 ---> Running in e447a7353600 16:35:26 Removing intermediate container e447a7353600 16:35:26 ---> 5ed8a5e1a00b 16:35:26 Step 9/25 : COPY go.mod . 16:35:27 ---> a53d98fd02c9 16:35:27 Step 10/25 : COPY Makefile . 16:35:28 ---> e341224d2ea1 16:35:28 Step 11/25 : RUN make update 16:35:28 ---> Running in 64c3ff93eef0 16:35:29 CGO_ENABLED=0 GO111MODULE=on go mod download 16:35:30 Removing intermediate container 64c3ff93eef0 16:35:30 ---> 81415d3f4309 16:35:30 Step 12/25 : COPY . . 16:35:31 ---> 0fa9f6cbe92c 16:35:31 Step 13/25 : RUN $MAKE 16:35:31 ---> Running in b5f2a16d5052 16:35:32 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 16:35:59 Removing intermediate container b5f2a16d5052 16:35:59 ---> 08a35843bb6a 16:35:59 Step 14/25 : FROM alpine:3.12 16:36:00 3.12: Pulling from library/alpine 16:36:00 159e5727ea61: Pulling fs layer 16:36:00 159e5727ea61: Verifying Checksum 16:36:00 159e5727ea61: Download complete 16:36:01 159e5727ea61: Pull complete 16:36:01 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 16:36:01 Status: Downloaded newer image for alpine:3.12 16:36:01 ---> afeebe901d6b 16:36:01 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 16:36:01 ---> Running in c0d46f365607 16:36:02 Removing intermediate container c0d46f365607 16:36:02 ---> 5a8450591225 16:36:02 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 16:36:02 ---> Running in 8008e3cb6a4a 16:36:02 Removing intermediate container 8008e3cb6a4a 16:36:02 ---> 05ea97deef1a 16:36:02 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 16:36:03 ---> 5aabc9b9ecb6 16:36:03 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 16:36:03 ---> d7d7f46bbb4f 16:36:03 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 16:36:05 ---> 08d574cd9841 16:36:05 Step 20/25 : EXPOSE 49986 16:36:05 ---> Running in 099a9fe53beb 16:36:05 Removing intermediate container 099a9fe53beb 16:36:05 ---> 8ebb2e1862b8 16:36:05 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 16:36:05 ---> Running in f21bc5c55f43 16:36:06 Removing intermediate container f21bc5c55f43 16:36:06 ---> 6507fe3880af 16:36:06 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:36:06 ---> Running in 3e2da5ccc140 16:36:06 Removing intermediate container 3e2da5ccc140 16:36:06 ---> a707ce40749b 16:36:06 Step 23/25 : LABEL arch=arm64 16:36:06 ---> Running in 0c3d23c32efa 16:36:07 Removing intermediate container 0c3d23c32efa 16:36:07 ---> 88fbbf5858e1 16:36:07 Step 24/25 : LABEL git_sha=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 16:36:07 ---> Running in 22c8f67cac94 16:36:07 Removing intermediate container 22c8f67cac94 16:36:07 ---> 56dab9597749 16:36:07 Step 25/25 : LABEL version=0.0.0 16:36:07 ---> Running in 37956a8108c7 16:36:08 Removing intermediate container 37956a8108c7 16:36:08 ---> 621b13102490 16:36:08 [Warning] One or more build-args [ARCH] were not consumed 16:36:08 Successfully built 621b13102490 16:36:08 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 16:36:09 provisioning config files... 16:36:09 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config7593971361783316251tmp [Pipeline] { [Pipeline] sh 16:36:10 + set +x 16:36:10 + curl -s https://codecov.io/bash 16:36:10 + bash -s -- 16:36:10 16:36:10 _____ _ 16:36:10 / ____| | | 16:36:10 | | ___ __| | ___ ___ _____ __ 16:36:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:36:10 | |___| (_) | (_| | __/ (_| (_) \ V / 16:36:10 \_____\___/ \__,_|\___|\___\___/ \_/ 16:36:10 Bash-20201231-23d4836 16:36:10 16:36:10 16:36:10 ==> git version 2.24.3 found 16:36:10 ==> 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 16:36:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 16:36:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 16:36:10 ==> Jenkins CI detected. 16:36:10 project root: . 16:36:10 --> token set from env 16:36:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:36:10 ==> Running gcov in . (disable via -X gcov) 16:36:10 ==> Python coveragepy not found 16:36:10 ==> Searching for coverage reports in: 16:36:10 + . 16:36:10 -> Found 1 reports 16:36:10 ==> Detecting git/mercurial file structure 16:36:10 ==> Reading reports 16:36:10 + ./coverage.out bytes=9369 16:36:10 ==> Appending adjustments 16:36:10 https://docs.codecov.io/docs/fixing-reports 16:36:10 + Found adjustments 16:36:10 ==> Gzipping contents 16:36:10 4.0K /tmp/codecov.tJ2OgP.gz 16:36:10 ==> Uploading reports 16:36:10 url: https://codecov.io 16:36:10 query: branch=PR-66&commit=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-66%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=66&job=&cmd_args= 16:36:10 -> Pinging Codecov 16:36:10 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-66&commit=998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-66%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=66&job=&cmd_args= 16:36:10 -> Uploading to 16:36:10 https://storage.googleapis.com/codecov/v4/raw/2021-01-04/4E5D53B4F1F92C436F7061BF334D961C/998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11/4a7f214c-f946-4f3e-8562-fb080ed968e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210104T163610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de021ef1c96ea452e3e2c2d0458299bb2303aa0f8ec28b8892a84077ee08f957 16:36:10 % Total % Received % Xferd Average Speed Time Time Time Current 16:36:10 Dload Upload Total Spent Left Speed 16:36:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4414 --:--:-- --:--:-- --:--:-- 4425 16:36:11 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/998a81bb1e0d2740bbaa11fd591fdc86dc5a9b11 [Pipeline] } 16:36:11 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 16:36:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:36:14 ---> package-listing.sh 16:36:14 ++ facter osfamily 16:36:14 ++ tr '[:upper:]' '[:lower:]' 16:36:14 + OS_FAMILY=redhat 16:36:14 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-66 16:36:14 + START_PACKAGES=/tmp/packages_start.txt 16:36:14 + END_PACKAGES=/tmp/packages_end.txt 16:36:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:36:14 + PACKAGES=/tmp/packages_start.txt 16:36:14 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-66 ']' 16:36:14 + PACKAGES=/tmp/packages_end.txt 16:36:14 + case "${OS_FAMILY}" in 16:36:14 + rpm -qa 16:36:14 + sort 16:36:20 + '[' -f /tmp/packages_start.txt ']' 16:36:20 + '[' -f /tmp/packages_end.txt ']' 16:36:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:36:20 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-66 ']' 16:36:20 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-66/archives/ 16:36:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-66/archives/ [Pipeline] echo 16:36:20 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-66/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:36:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:36:20 16:36:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:36:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:36:21 alpine: Pulling from edgex-lftools-log-publisher 16:36:21 df20fa9351a1: Pulling fs layer 16:36:21 36b3adc4ff6f: Pulling fs layer 16:36:21 8ad3a11d3b57: Pulling fs layer 16:36:21 46f8f816bc3b: Pulling fs layer 16:36:21 93b61091891f: Pulling fs layer 16:36:21 93b9cdb0e59b: Pulling fs layer 16:36:21 5e14af77c1be: Pulling fs layer 16:36:21 01666e4c0597: Pulling fs layer 16:36:21 aa168da1d23b: Pulling fs layer 16:36:21 01666e4c0597: Waiting 16:36:21 93b61091891f: Waiting 16:36:21 93b9cdb0e59b: Waiting 16:36:21 5e14af77c1be: Waiting 16:36:21 aa168da1d23b: Waiting 16:36:21 46f8f816bc3b: Waiting 16:36:21 36b3adc4ff6f: Verifying Checksum 16:36:21 36b3adc4ff6f: Download complete 16:36:21 46f8f816bc3b: Verifying Checksum 16:36:21 46f8f816bc3b: Download complete 16:36:21 df20fa9351a1: Verifying Checksum 16:36:21 df20fa9351a1: Download complete 16:36:21 93b9cdb0e59b: Verifying Checksum 16:36:21 93b9cdb0e59b: Download complete 16:36:21 5e14af77c1be: Download complete 16:36:21 93b61091891f: Verifying Checksum 16:36:21 93b61091891f: Download complete 16:36:21 01666e4c0597: Verifying Checksum 16:36:21 01666e4c0597: Download complete 16:36:21 8ad3a11d3b57: Verifying Checksum 16:36:21 8ad3a11d3b57: Download complete 16:36:21 df20fa9351a1: Pull complete 16:36:22 36b3adc4ff6f: Pull complete 16:36:23 aa168da1d23b: Verifying Checksum 16:36:23 aa168da1d23b: Download complete 16:36:24 8ad3a11d3b57: Pull complete 16:36:24 46f8f816bc3b: Pull complete 16:36:24 93b61091891f: Pull complete 16:36:24 93b9cdb0e59b: Pull complete 16:36:24 5e14af77c1be: Pull complete 16:36:24 01666e4c0597: Pull complete 16:36:32 aa168da1d23b: Pull complete 16:36:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:36:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:36:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:36:33 prd-centos7-docker-4c-2g-18182 does not seem to be running inside a container 16:36:33 $ 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-66/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-66 -v /w/workspace/dgexfoundry_device-rest-go_PR-66:/w/workspace/dgexfoundry_device-rest-go_PR-66:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-66@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-66@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:36:35 $ docker top 3aed40767bc65fa11686fd50b8e35e584ff2291310e8374932070a3fcfbb601e -eo pid,comm [Pipeline] { [Pipeline] sh 16:36:36 + touch /tmp/pre-build-complete [Pipeline] sh 16:36:36 + mkdir -p /var/log/sa [Pipeline] sh 16:36:37 + ls /var/log/sa-host 16:36:37 + sadf -c /var/log/sa-host/sa04 16:36:37 file_magic: OK 16:36:37 HZ: Using current value: 100 16:36:37 file_header: OK 16:36:37 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 16:36:37 Statistics: 16:36:37 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:36:37 File successfully converted to sysstat format version 12.2.1 16:36:37 + sadf -c /var/log/sa-host/sa23 16:36:37 file_magic: OK 16:36:37 HZ: Using current value: 100 16:36:37 file_header: OK 16:36:37 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 16:36:37 Statistics: 16:36:37 Hnuu...uuuununununu... 16:36:37 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:36:37 provisioning config files... 16:36:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-66@tmp/config6910548014640214180tmp [Pipeline] { [Pipeline] echo 16:36:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:36:37 ---> create-netrc.sh [Pipeline] } 16:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:36:37 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:36:38 ---> python-tools-install.sh [Pipeline] echo 16:36:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:36:38 ---> sudo-logs.sh 16:36:38 Archiving 'sudo' log.. [Pipeline] echo 16:36:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:36:38 ---> job-cost.sh 16:36:38 lf-activate-venv: SKIPPING 16:36:38 INFO: No Stack... 16:36:39 INFO: Retrieving Pricing Info for: v1-standard-2 16:36:40 INFO: Archiving Costs [Pipeline] echo 16:36:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:36:40 ---> logs-deploy.sh 16:36:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-66/2 16:36:40 INFO: archiving workspace using pattern(s): 16:36:42 Archives upload complete. 16:36:42 INFO: archiving logs to Nexus 16:36:43 ---> uname -a: 16:36:43 Linux prd-centos7-docker-4c-2g-18182.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 16:36:43 16:36:43 16:36:43 ---> lscpu: 16:36:43 Architecture: x86_64 16:36:43 CPU op-mode(s): 32-bit, 64-bit 16:36:43 Byte Order: Little Endian 16:36:43 Address sizes: 40 bits physical, 48 bits virtual 16:36:43 CPU(s): 4 16:36:43 On-line CPU(s) list: 0-3 16:36:43 Thread(s) per core: 1 16:36:43 Core(s) per socket: 1 16:36:43 Socket(s): 4 16:36:43 NUMA node(s): 1 16:36:43 Vendor ID: GenuineIntel 16:36:43 CPU family: 6 16:36:43 Model: 44 16:36:43 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 16:36:43 Stepping: 1 16:36:43 CPU MHz: 2933.442 16:36:43 BogoMIPS: 5866.88 16:36:43 Virtualization: VT-x 16:36:43 Hypervisor vendor: KVM 16:36:43 Virtualization type: full 16:36:43 L1d cache: 128 KiB 16:36:43 L1i cache: 128 KiB 16:36:43 L2 cache: 16 MiB 16:36:43 L3 cache: 64 MiB 16:36:43 NUMA node0 CPU(s): 0-3 16:36:43 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 16:36:43 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 16:36:43 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 16:36:43 Vulnerability Meltdown: Mitigation; PTI 16:36:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:36:43 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:36:43 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:36:43 Vulnerability Srbds: Not affected 16:36:43 Vulnerability Tsx async abort: Not affected 16:36:43 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 16:36:43 16:36:43 16:36:43 ---> nproc: 16:36:43 4 16:36:43 16:36:43