See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch-2-1-testsuite/8/ch...
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-718] The extra constructor, generated by javassist, is
removed from the Advisor.constructors list. This action is performed by the methods that
initialize the collection: ClassAdvisor.createConstructorTable(),
ClassContainer.createConstructorTable() and ClassProxyContainer.createConstructorTable().
The fix was not needed at GeneratedAdvisor.createConstructorTable() method because this
method uses the collection initialized by the super class.
------------------------------------------
[...truncated 67219 lines...]
[junit] Running org.jboss.test.aop.nameddomain.NamedDomainTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.414 sec
_run-precompiled-test_2.0.x:
[echo] Compiling beforeafterthrowingstack with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 2180 ms
[junit] Running
org.jboss.test.aop.beforeafterthrowingstack.BeforeAfterThrowingStackTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.148 sec
_run-precompiled-test_2.0.x:
[echo] Compiling beforeafterthrowingscoped with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 6180 ms
[junit] Running
org.jboss.test.aop.beforeafterthrowingscoped.BeforeAfterThrowingScopedTestCase
[junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 4.072 sec
[junit] Running
org.jboss.test.aop.beforeafterthrowingscoped.CallerJoinpointScopedTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 15.546 sec
_run-precompiled-test_2.0.x:
[echo] Compiling beforeafterthrowingannotated with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1294 ms
[junit] Running
org.jboss.test.aop.beforeafterthrowingannotated.BeforeAfterThrowingAnnotatedTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.235 sec
_run-precompiled-test_2.0.x:
[echo] Compiling postweavingmixins with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1942 ms
[junit] Running org.jboss.test.aop.postweavingmixins.PostWeavingMixinsTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.256 sec
_base-jdk50-tests_2.0.x:
_run-precompiled-test_2.0.x:
[echo] Compiling bridgemethod with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 2238 ms
[junit] Running org.jboss.test.aop.bridgemethod.BridgeMethodWeavingTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.902 sec
_base-tests:
_run-precompiled-test_2.0.x:
[echo] Compiling inheritanceacrosspackages with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 2519 ms
[junit] Running
org.jboss.test.aop.inheritanceacrosspackages.InheritanceAcrossPackagesTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.117 sec
_run-precompiled-test_2.0.x:
[echo] Compiling annotationoverride with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1537 ms
[junit] Running org.jboss.test.aop.annotationoverride.AnnotationOverrideTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.031 sec
_run-precompiled-test_2.0.x:
[echo] Compiling arguments with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 3148 ms
[junit] Running org.jboss.test.aop.arguments.ArgumentsTestCase
[junit] Tests run: 18, Failures: 4, Errors: 0, Time elapsed: 3.042 sec
[junit] Test org.jboss.test.aop.arguments.ArgumentsTestCase FAILED
_run-precompiled-test_2.0.x:
[echo] Compiling invocationParams with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1656 ms
[junit] Running org.jboss.test.aop.invocationParams.InvocationTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.425 sec
_run-precompiled-test_2.0.x:
[echo] Compiling packagedotdot with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 3625 ms
[junit] Running org.jboss.test.aop.packagedotdot.PackageTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 2.814 sec
_run-precompiled-test_2.0.x:
[echo] Compiling serialization/simple with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1177 ms
[junit] Running org.jboss.test.aop.serialization.simple.SimpleSerialiizationTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.799 sec
_run-precompiled-test_2.0.x:
[echo] Compiling extender with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 2878 ms
[junit] Running org.jboss.test.aop.extender.ExtenderTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.712 sec
_run-precompiled-test_2.0.x:
[echo] Compiling jdk15base with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1659 ms
[junit] Running org.jboss.test.aop.jdk15base.AOPTester
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.93 sec
_run-precompiled-test_2.0.x:
[echo] Compiling invoketarget with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 3258 ms
[junit] Running org.jboss.test.aop.invoketarget.InvokeTargetTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.405 sec
_run-precompiled-test_2.0.x:
[echo] Compiling instanceofintroduced with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1776 ms
[junit] Running org.jboss.test.aop.instanceofintroduced.InstanceofIntroducedTestCase
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 2.187 sec
_run-precompiled-test_2.0.x:
[echo] Compiling implementz with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 2377 ms
[junit] Running org.jboss.test.aop.implementz.ImplementsTester
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.306 sec
_run-precompiled-test_2.0.x:
[echo] Compiling annotatedcflow with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1370 ms
[junit] Running org.jboss.test.aop.annotatedcflow.AnnotatedCFlowTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.354 sec
_run-precompiled-test_2.0.x:
[echo] Compiling scope with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 7237 ms
[junit] Running org.jboss.test.aop.scope.ScopeTestCase
[junit] Tests run: 26, Failures: 0, Errors: 0, Time elapsed: 5.167 sec
_run-precompiled-test_2.0.x:
[echo] Compiling construction with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1737 ms
[junit] Running org.jboss.test.aop.construction.ConstructionTester
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.229 sec
_run-precompiled-test_2.0.x:
[echo] Compiling constructortarget with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] javassist.CannotCompileException: [source error] Method
ExternalClass3$POJOTargetAdvisor_new_$aop is private
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:368)
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:334)
[aopc] at
org.jboss.aop.instrument.GeneratedAdvisorConstructorExecutionTransformer.initialiseWrapper(GeneratedAdvisorConstructorExecutionTransformer.java:131)
[aopc] at
org.jboss.aop.instrument.ConstructorExecutionTransformer.buildConstructorWrappers(ConstructorExecutionTransformer.java:375)
[aopc] at
org.jboss.aop.instrument.ConstructorExecutionTransformer.transform(ConstructorExecutionTransformer.java:177)
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:747)
[aopc] at
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor.transform(GeneratedAdvisorInstrumentor.java:119)
[aopc] at
org.jboss.aop.ClassicWeavingStrategy.translate(ClassicWeavingStrategy.java:110)
[aopc] at org.jboss.aop.AspectManager.translate(AspectManager.java:1056)
[aopc] at org.jboss.aop.AspectManager.transform(AspectManager.java:998)
[aopc] at org.jboss.aop.standalone.Compiler.compileFile(Compiler.java:391)
[aopc] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:243)
[aopc] at org.jboss.aop.standalone.Compiler.main(Compiler.java:88)
[aopc] Caused by: compile error: Method ExternalClass3$POJOTargetAdvisor_new_$aop is
private
[aopc] at
javassist.compiler.MemberCodeGen.getAccessiblePrivate(MemberCodeGen.java:665)
[aopc] at
javassist.compiler.MemberCodeGen.atMethodCallCore2(MemberCodeGen.java:612)
[aopc] at javassist.compiler.MemberCodeGen.atMethodCallCore(MemberCodeGen.java:575)
[aopc] at javassist.compiler.MemberCodeGen.atCallExpr(MemberCodeGen.java:523)
[aopc] at javassist.compiler.JvstCodeGen.atCallExpr(JvstCodeGen.java:243)
[aopc] at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
[aopc] at javassist.compiler.CodeGen.compileExpr(CodeGen.java:229)
[aopc] at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:597)
[aopc] at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:424)
[aopc] at javassist.compiler.CodeGen.atStmnt(CodeGen.java:362)
[aopc] at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
[aopc] at javassist.compiler.CodeGen.atStmnt(CodeGen.java:350)
[aopc] at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
[aopc] at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:291)
[aopc] at javassist.compiler.Javac.compileBody(Javac.java:222)
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:360)
[aopc] ... 12 more
[aopc] java.lang.RuntimeException: failed to transform:
org.jboss.test.aop.constructortarget.ExternalClass3$POJOTarget
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:829)
[aopc] at
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor.transform(GeneratedAdvisorInstrumentor.java:119)
[aopc] at
org.jboss.aop.ClassicWeavingStrategy.translate(ClassicWeavingStrategy.java:110)
[aopc] at org.jboss.aop.AspectManager.translate(AspectManager.java:1056)
[aopc] at org.jboss.aop.AspectManager.transform(AspectManager.java:998)
[aopc] at org.jboss.aop.standalone.Compiler.compileFile(Compiler.java:391)
[aopc] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:243)
[aopc] at org.jboss.aop.standalone.Compiler.main(Compiler.java:88)
[aopc] Caused by: javassist.CannotCompileException: [source error] Method
ExternalClass3$POJOTargetAdvisor_new_$aop is private
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:368)
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:334)
[aopc] at
org.jboss.aop.instrument.GeneratedAdvisorConstructorExecutionTransformer.initialiseWrapper(GeneratedAdvisorConstructorExecutionTransformer.java:131)
[aopc] at
org.jboss.aop.instrument.ConstructorExecutionTransformer.buildConstructorWrappers(ConstructorExecutionTransformer.java:375)
[aopc] at
org.jboss.aop.instrument.ConstructorExecutionTransformer.transform(ConstructorExecutionTransformer.java:177)
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:747)
[aopc] ... 7 more
[aopc] Caused by: compile error: Method ExternalClass3$POJOTargetAdvisor_new_$aop is
private
[aopc] at
javassist.compiler.MemberCodeGen.getAccessiblePrivate(MemberCodeGen.java:665)
[aopc] at
javassist.compiler.MemberCodeGen.atMethodCallCore2(MemberCodeGen.java:612)
[aopc] at javassist.compiler.MemberCodeGen.atMethodCallCore(MemberCodeGen.java:575)
[aopc] at javassist.compiler.MemberCodeGen.atCallExpr(MemberCodeGen.java:523)
[aopc] at javassist.compiler.JvstCodeGen.atCallExpr(JvstCodeGen.java:243)
[aopc] at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
[aopc] at javassist.compiler.CodeGen.compileExpr(CodeGen.java:229)
[aopc] at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:597)
[aopc] at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:424)
[aopc] at javassist.compiler.CodeGen.atStmnt(CodeGen.java:362)
[aopc] at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
[aopc] at javassist.compiler.CodeGen.atStmnt(CodeGen.java:350)
[aopc] at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
[aopc] at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:291)
[aopc] at javassist.compiler.Javac.compileBody(Javac.java:222)
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:360)
[aopc] ... 12 more
[aopc] log4j:WARN No appenders could be found for logger
(org.jboss.aop.ClassicWeavingStrategy).
[aopc] log4j:WARN Please initialize the log4j system properly.
[aopc] Exception in thread "main" java.lang.RuntimeException:
java.lang.RuntimeException: failed to transform:
org.jboss.test.aop.constructortarget.ExternalClass3$POJOTarget
[aopc] at org.jboss.aop.AspectManager.translate(AspectManager.java:1067)
[aopc] at org.jboss.aop.AspectManager.transform(AspectManager.java:998)
[aopc] at org.jboss.aop.standalone.Compiler.compileFile(Compiler.java:391)
[aopc] at org.jboss.aop.standalone.Compiler.compile(Compiler.java:243)
[aopc] at org.jboss.aop.standalone.Compiler.main(Compiler.java:88)
[aopc] Caused by: java.lang.RuntimeException: failed to transform:
org.jboss.test.aop.constructortarget.ExternalClass3$POJOTarget
[aopc] at
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor.transform(GeneratedAdvisorInstrumentor.java:148)
[aopc] at
org.jboss.aop.ClassicWeavingStrategy.translate(ClassicWeavingStrategy.java:110)
[aopc] at org.jboss.aop.AspectManager.translate(AspectManager.java:1056)
[aopc] ... 4 more
[aopc] Caused by: java.lang.RuntimeException: failed to transform:
org.jboss.test.aop.constructortarget.ExternalClass3$POJOTarget
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:829)
[aopc] at
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor.transform(GeneratedAdvisorInstrumentor.java:119)
[aopc] ... 6 more
[aopc] Caused by: javassist.CannotCompileException: [source error] Method
ExternalClass3$POJOTargetAdvisor_new_$aop is private
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:368)
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:334)
[aopc] at
org.jboss.aop.instrument.GeneratedAdvisorConstructorExecutionTransformer.initialiseWrapper(GeneratedAdvisorConstructorExecutionTransformer.java:131)
[aopc] at
org.jboss.aop.instrument.ConstructorExecutionTransformer.buildConstructorWrappers(ConstructorExecutionTransformer.java:375)
[aopc] at
org.jboss.aop.instrument.ConstructorExecutionTransformer.transform(ConstructorExecutionTransformer.java:177)
[aopc] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:747)
[aopc] ... 7 more
[aopc] Caused by: compile error: Method ExternalClass3$POJOTargetAdvisor_new_$aop is
private
[aopc] at
javassist.compiler.MemberCodeGen.getAccessiblePrivate(MemberCodeGen.java:665)
[aopc] at
javassist.compiler.MemberCodeGen.atMethodCallCore2(MemberCodeGen.java:612)
[aopc] at javassist.compiler.MemberCodeGen.atMethodCallCore(MemberCodeGen.java:575)
[aopc] at javassist.compiler.MemberCodeGen.atCallExpr(MemberCodeGen.java:523)
[aopc] at javassist.compiler.JvstCodeGen.atCallExpr(JvstCodeGen.java:243)
[aopc] at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45)
[aopc] at javassist.compiler.CodeGen.compileExpr(CodeGen.java:229)
[aopc] at javassist.compiler.CodeGen.atReturnStmnt2(CodeGen.java:597)
[aopc] at javassist.compiler.JvstCodeGen.atReturnStmnt(JvstCodeGen.java:424)
[aopc] at javassist.compiler.CodeGen.atStmnt(CodeGen.java:362)
[aopc] at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
[aopc] at javassist.compiler.CodeGen.atStmnt(CodeGen.java:350)
[aopc] at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49)
[aopc] at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:291)
[aopc] at javassist.compiler.Javac.compileBody(Javac.java:222)
[aopc] at javassist.CtBehavior.setBody(CtBehavior.java:360)
[aopc] ... 12 more
BUILD FAILED
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch-2-1-testsuite/ws/t...
:275: The following error occurred while executing this line:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch-2-1-testsuite/ws/t...
:259: The following error occurred while executing this line:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch-2-1-testsuite/ws/t...
:590: The following error occurred while executing this line:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch-2-1-testsuite/ws/t...
:292: The following error occurred while executing this line:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch-2-1-testsuite/ws/t...
:46: The following error occurred while executing this line:
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch-2-1-testsuite/ws/t...
:648: Java returned: 1
Total time: 61 minutes 57 seconds
[jboss-aop-branch-2-1-testsuite] $ bash -xe /tmp/hudson2690348986269205967.sh
+ kill 32564
Recording test results