You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Saksham Verma <sa...@gmail.com> on 2020/08/10 16:45:57 UTC
How to run individual Test
Hi Dev Team,
Need help with below questions:
1. The Pull request Tests are failing on Travis CI. But Is there any way I
can get the logs for the test job?
2. How can I run any individual test. Whenever I am trying to run a single
test I get below error:
java.lang.VerifyError: Inconsistent stackmap frames at branch target 392
Exception Details:
Location:
org/apache/juli/ClassLoaderLogManager.readConfiguration(Ljava/lang/ClassLoader;)V
@392: ldc_w
Reason:
Type uninitialized 370 (current frame, stack[2]) is not assignable to
uninitialized 366 (stack map, stack[2])
Current Frame:
bci: @383
flags: { }
locals: { 'org/apache/juli/ClassLoaderLogManager',
'java/lang/ClassLoader', 'java/io/InputStream', 'java/lang/String' }
stack: { uninitialized 366, uninitialized 366, uninitialized 370,
uninitialized 370, 'java/lang/String', integer }
Stackmap Frame:
bci: @392
flags: { }
locals: { 'org/apache/juli/ClassLoaderLogManager',
'java/lang/ClassLoader', 'java/io/InputStream', 'java/lang/String' }
stack: { uninitialized 366, uninitialized 366, uninitialized 366,
uninitialized 366, 'java/lang/String' }
Bytecode:
Thanks,
Saksham
Re: How to run individual Test
Posted by Igal Sapir <ig...@lucee.org>.
Saksham,
On Mon, Aug 10, 2020 at 9:46 AM Saksham Verma <sa...@gmail.com>
wrote:
> Hi Dev Team,
>
> Need help with below questions:
>
> 1. The Pull request Tests are failing on Travis CI. But Is there any way I
> can get the logs for the test job?
>
> 2. How can I run any individual test.
>
See section 7 of the BUILDING.txt [1] file.
Igal
[1] https://github.com/apache/tomcat/blob/master/BUILDING.txt#L308
> Whenever I am trying to run a single test I get below error:
> java.lang.VerifyError: Inconsistent stackmap frames at branch target 392
> Exception Details:
> Location:
>
> org/apache/juli/ClassLoaderLogManager.readConfiguration(Ljava/lang/ClassLoader;)V
> @392: ldc_w
> Reason:
> Type uninitialized 370 (current frame, stack[2]) is not assignable to
> uninitialized 366 (stack map, stack[2])
> Current Frame:
> bci: @383
> flags: { }
> locals: { 'org/apache/juli/ClassLoaderLogManager',
> 'java/lang/ClassLoader', 'java/io/InputStream', 'java/lang/String' }
> stack: { uninitialized 366, uninitialized 366, uninitialized 370,
> uninitialized 370, 'java/lang/String', integer }
> Stackmap Frame:
> bci: @392
> flags: { }
> locals: { 'org/apache/juli/ClassLoaderLogManager',
> 'java/lang/ClassLoader', 'java/io/InputStream', 'java/lang/String' }
> stack: { uninitialized 366, uninitialized 366, uninitialized 366,
> uninitialized 366, 'java/lang/String' }
> Bytecode:
>
> Thanks,
> Saksham
>