You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/07/19 01:50:37 UTC

[GitHub] [pulsar] tuteng opened a new issue #4761: [pulsar-test] Could not resolve host: github.com

tuteng opened a new issue #4761: [pulsar-test] Could not resolve host: github.com
URL: https://github.com/apache/pulsar/issues/4761
 
 
   **Describe the bug**
   During the test, the following exceptions are thrown frequently, causing the test to be interrupted. 
   ```
   No credentials specified
   Cloning the remote Git repository
   Cloning repository https://github.com/apache/pulsar.git
    > git init /home/jenkins/jenkins-slave/workspace/pulsar_precommit_cpp # timeout=10
   Fetching upstream changes from https://github.com/apache/pulsar.git
    > git --version # timeout=10
    > git fetch --tags --progress https://github.com/apache/pulsar.git +refs/heads/*:refs/remotes/origin/*
   ERROR: Error cloning remote repo 'origin'
   hudson.plugins.git.GitException: Command "git fetch --tags --progress https://github.com/apache/pulsar.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
   stdout: 
   stderr: fatal: unable to access 'https://github.com/apache/pulsar.git/': Could not resolve host: github.com
   
   	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)
   	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1761)
   	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:72)
   	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:442)
   	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:655)
   	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
   	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
   	at hudson.remoting.UserRequest.perform(UserRequest.java:212)
   	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
   	at hudson.remoting.Request$2.run(Request.java:369)
   	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H27
   		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
   		at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
   		at hudson.remoting.Channel.call(Channel.java:955)
   		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
   		at sun.reflect.GeneratedMethodAccessor974.invoke(Unknown Source)
   		at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   		at java.lang.reflect.Method.invoke(Method.java:498)
   		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
   		at com.sun.proxy.$Proxy135.execute(Unknown Source)
   		at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
   		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
   		at hudson.scm.SCM.checkout(SCM.java:504)
   		at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
   		at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
   		at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
   		at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
   		at hudson.model.Run.execute(Run.java:1810)
   		at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
   		at hudson.model.ResourceController.execute(ResourceController.java:97)
   		at hudson.model.Executor.run(Executor.java:429)
   ```
   
   **To Reproduce**
   Some example:
   https://builds.apache.org/job/pulsar_precommit_cpp/8613/console
   https://builds.apache.org/job/pulsar_precommit_cpp/8615/console
   
   **Expected behavior**
   The test can pass.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services