command: mvn -Dtest=hudson.model.NodeTest test
all tests fail with same stack trace

using local branch for this 
PR https://github.com/jenkinsci/jenkins/pull/6193

Just trying to get some tests running before writing a new one

On Friday, January 28, 2022 at 7:15:10 PM UTC timja...@gmail.com wrote:

> Could you add more context?
>
> Which test?
> Which repo?
>
> How are you trying to run it?
>
> On Fri, 28 Jan 2022 at 19:09, Niv Keidan <niv.k...@veertu.com> wrote:
>
>> Hey guys,
>> Working on a PR I am trying to run a single test locally and hitting this 
>> stack trace:
>>
>> org.jvnet.hudson.reactor.ReactorException: 
>> java.lang.IllegalArgumentException: Unable to inject class 
>> hudson.model.UserIdMapper at 
>> org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:291) at 
>> jenkins.InitReactorRunner.run(InitReactorRunner.java:49) at 
>> jenkins.model.Jenkins.executeReactor(Jenkins.java:1190) at 
>> jenkins.model.Jenkins.<init>(Jenkins.java:981) at 
>> hudson.model.Hudson.<init>(Hudson.java:86) at 
>> org.jvnet.hudson.test.JenkinsRule.newHudson(JenkinsRule.java:688) at 
>> org.jvnet.hudson.test.JenkinsRule.before(JenkinsRule.java:404) at 
>> org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:595) at 
>> org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
>>  
>> at 
>> org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
>>  
>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at 
>> java.base/java.lang.Thread.run(Thread.java:829) Caused by: 
>> java.lang.IllegalArgumentException: Unable to inject class 
>> hudson.model.UserIdMapper at 
>> hudson.init.TaskMethodFinder.lookUp(TaskMethodFinder.java:130) at 
>> hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110) at 
>> hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:185) at 
>> org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:305) at 
>> jenkins.model.Jenkins$5.runTask(Jenkins.java:1156) at 
>> org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:222) at 
>> org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:121) at 
>> jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68)
>>  
>> at 
>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>  
>> at 
>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>  
>> ... 1 more 
>>
>> any idea?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-de...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/fd3e9129-aeb0-4783-bd39-792c3f5b920cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/fd3e9129-aeb0-4783-bd39-792c3f5b920cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/6d3fce51-1046-4a2e-b599-0cd34df22b45n%40googlegroups.com.

Reply via email to