[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread lan...@yandex.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kirill Merkushev commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 
github-branch-source has very old dep to github-plugin which may not work with latest core. But when you tried to override github dep manually, you've done it wrong. The order of dependencies in maven matters a lot. So i just ask you to check overriding in correct order. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vivek Pandey commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 
As I mentioned, we don't have explicit dependency on github plugin, only github-branch-source and there is this error so not sure what you are asking me to do. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread lan...@yandex.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kirill Merkushev commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 
When you define dependency to github AFTER branch-source - you actually don't override it. Nothing changes. Please try to define first github dep and then branch-source. (see maven docs for explanation).  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vivek Pandey commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 
Its plugin version 2.6 and core 1.652. 
I think I was not clear, we do not override github plugin dependency. It gets included transitively from github-branch-source. Basically just defining dependency on github-branch-source demonstrates this issue. 
In the past we did override github plugin version with version 1.18.2 and this problem was present even then. The dependency was defined as: 

 


org.jenkins-ci.plugins
github-branch-source
1.5


com.coravy.hudson.plugins.github
github
1.18.2

 

 
Hope it helps. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread lan...@yandex.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kirill Merkushev commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 
yep, i know that branch-source has transitive dep. My question is how you have tried to override it (exactly)? And what core version do you have? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vivek Pandey commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 
In this case there is no explicit dependency defined. Its pulled in via transitive dependency of github-branch-source plugin ver 1.14. 
In past we tried defining github plugin ver 1.18.2 and 1.19 together with github-branch-source but then removed explicit dependency on github.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread lan...@yandex.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kirill Merkushev commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 
How did you defined github-plugin dependency in pom (before after dep to github-branch-source)? What is your core version? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vivek Pandey commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 
Sorry about that, provided more details in the original description. Basically github-branch-source plugin has transitive dependency on github plugin. At one time we also had github plugin explicitly defined in our pom (to use newer version in hope this random load failure will go away) but it didn't help so we have only github-branch-source that reproduces the problem. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vivek Pandey updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-34548 
 
 
 
  InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 

Change By:
 
 Vivek Pandey 
 
 
 
 
 
 
 
 
 
 Our plugin has maven dependency on github plugin. {code:xml}org.jenkins-ci.plugins git github-branch-source  2 1 . 4.2 6 {code} Project dependency tree shows github-branch-source plugin has dependency on github plugin, that fails to load during InjectedTest  run.{code}[INFO] +- org.jenkins-ci.plugins:github-branch-source:jar:1.6:compile[INFO] |  +- org.jenkins-ci.plugins:github-api:jar:1.75:compile[INFO] |  |  +- org.kohsuke:github-api:jar:1.72:compile[INFO] |  |  \- com.squareup.okhttp:okhttp-urlconnection:jar:2.5.0:compile[INFO] |  | \- com.squareup.okhttp:okhttp:jar:2.5.0:compile[INFO] |  |\- com.squareup.okio:okio:jar:1.6.0:compile[INFO] |  \- com.coravy.hudson.plugins.github:github:jar:1.14.0:compile[INFO] | +- org.apache.commons:commons-lang3:jar:3.4:compile[INFO] | \- org.jenkins-ci.plugins:plain-credentials:jar:1.1:compile{code}InjectedTest  are run during test run and it fails with the following error. Failure is random so not easy to reproduce.{code:java}Running InjectedTestTests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.611 sec <<< FAILURE! - in InjectedTesttestPluginActive(org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests)  Time elapsed: 0.086 sec  <<< ERROR!java.lang.Error: Plugin github failed to start  at org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests.testPluginActive(PluginAutomaticTestBuilder.java:92)Caused by: java.lang.NullPointerExceptionTests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.824 sec - in io.jenkins.blueocean.service.embedded.PipelineApiTestResults :Tests in error:   PluginAutomaticTestBuilder$OtherTests.testPluginActive:92  Plugin github faile...{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 

[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-03 Thread lan...@yandex.ru (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kirill Merkushev commented on  JENKINS-34548 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 
 

 

 
org.jenkins-ci.plugins
git
2.4.2

 

 
is not github plugin  
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [core] (JENKINS-34548) InjectedTest failure: github plugin fails to start

2016-05-02 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Vivek Pandey created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-34548 
 
 
 
  InjectedTest failure: github plugin fails to start  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Kirill Merkushev 
 
 
 

Components:
 

 core, github-plugin 
 
 
 

Created:
 

 2016/May/02 10:12 PM 
 
 
 

Environment:
 

 ubuntu:15.04, run inside docker container 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Vivek Pandey 
 
 
 
 
 
 
 
 
 
 
Our plugin has maven dependency on github plugin.  

 


org.jenkins-ci.plugins
git
2.4.2

 

 
InjectedTest are run during test run and it fails with the following error. Failure is random so not easy to reproduce. 

 

Running InjectedTest
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 9.611 sec <<< FAILURE! - in InjectedTest
testPluginActive(org.jvnet.hudson.test.PluginAutomaticTestBuilder$OtherTests)  Time elapsed: 0.086 sec  <<< ERROR!
java.lang.Error: Plugin github failed to start
  at