See
http://hudson.qa.jboss.com/hudson/job/jboss-aop-branch-2-1-testsuite/7/ch...
Changes:
[flavia.rainone(a)jboss.com] [JBAOP-567] Added tests for non-declared default constructor
interception on constructortarget. Plus, removed the declaration of default constructors
for constructor call and construction interception on rebuildingchain tests. Finally,
removed TODOs associated with JBAOP-567, added a TODO associated with JBAOP-722, and added
a TODO associated with JBAOP-718.
[flavia.rainone(a)jboss.com] [JBAOP-567] The generated constructor wrapper cannot be
private. Added the PUBLIC modifier to it.
------------------------------------------
[...truncated 67229 lines...]
_run-precompiled-test_2.0.x:
[echo] Compiling beforeafterthrowingstack with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1245 ms
[junit] Running
org.jboss.test.aop.beforeafterthrowingstack.BeforeAfterThrowingStackTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.136 sec
_run-precompiled-test_2.0.x:
[echo] Compiling beforeafterthrowingscoped with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 5510 ms
[junit] Running
org.jboss.test.aop.beforeafterthrowingscoped.BeforeAfterThrowingScopedTestCase
[junit] Tests run: 20, Failures: 0, Errors: 0, Time elapsed: 4.135 sec
[junit] Running
org.jboss.test.aop.beforeafterthrowingscoped.CallerJoinpointScopedTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 15.282 sec
_run-precompiled-test_2.0.x:
[echo] Compiling beforeafterthrowingannotated with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1270 ms
[junit] Running
org.jboss.test.aop.beforeafterthrowingannotated.BeforeAfterThrowingAnnotatedTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.056 sec
_run-precompiled-test_2.0.x:
[echo] Compiling postweavingmixins with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1281 ms
[junit] Running org.jboss.test.aop.postweavingmixins.PostWeavingMixinsTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.761 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: 1702 ms
[junit] Running org.jboss.test.aop.bridgemethod.BridgeMethodWeavingTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.534 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: 2360 ms
[junit] Running
org.jboss.test.aop.inheritanceacrosspackages.InheritanceAcrossPackagesTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.147 sec
_run-precompiled-test_2.0.x:
[echo] Compiling annotationoverride with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 2126 ms
[junit] Running org.jboss.test.aop.annotationoverride.AnnotationOverrideTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.278 sec
_run-precompiled-test_2.0.x:
[echo] Compiling arguments with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 3251 ms
[junit] Running org.jboss.test.aop.arguments.ArgumentsTestCase
[junit] Tests run: 18, Failures: 4, Errors: 0, Time elapsed: 3.029 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: 1562 ms
[junit] Running org.jboss.test.aop.invocationParams.InvocationTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.639 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: 3.535 sec
_run-precompiled-test_2.0.x:
[echo] Compiling serialization/simple with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1279 ms
[junit] Running org.jboss.test.aop.serialization.simple.SimpleSerialiizationTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.83 sec
_run-precompiled-test_2.0.x:
[echo] Compiling extender with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 2582 ms
[junit] Running org.jboss.test.aop.extender.ExtenderTestCase
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.563 sec
_run-precompiled-test_2.0.x:
[echo] Compiling jdk15base with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 3178 ms
[junit] Running org.jboss.test.aop.jdk15base.AOPTester
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.364 sec
_run-precompiled-test_2.0.x:
[echo] Compiling invoketarget with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 3797 ms
[junit] Running org.jboss.test.aop.invoketarget.InvokeTargetTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.522 sec
_run-precompiled-test_2.0.x:
[echo] Compiling instanceofintroduced with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1780 ms
[junit] Running org.jboss.test.aop.instanceofintroduced.InstanceofIntroducedTestCase
[junit] Test org.jboss.test.aop.instanceofintroduced.InstanceofIntroducedTestCase
FAILED
_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.056 sec
_run-precompiled-test_2.0.x:
[echo] Compiling annotatedcflow with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 954 ms
[junit] Running org.jboss.test.aop.annotatedcflow.AnnotatedCFlowTestCase
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.037 sec
_run-precompiled-test_2.0.x:
[echo] Compiling scope with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 6006 ms
[junit] Running org.jboss.test.aop.scope.ScopeTestCase
[junit] Tests run: 26, Failures: 0, Errors: 0, Time elapsed: 3.785 sec
_run-precompiled-test_2.0.x:
[echo] Compiling construction with optimized=true and instrumentor
org.jboss.aop.instrument.GeneratedAdvisorInstrumentor
[aopc] Build Successful: 1022 ms
[junit] Running org.jboss.test.aop.construction.ConstructionTester
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.864 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: 69 minutes 28 seconds
[jboss-aop-branch-2-1-testsuite] $ bash -xe /tmp/hudson1991907112207591722.sh
+ kill 19443
+
/home/hudson/hudson_workspace/plugins/process-kill/WEB-INF/classes/hudson/plugins/process_kill/kill-script.sh:
line 134: 32540 Terminated sleep 10
/tmp/hudson1991907112207591722.sh: line 2:
/home/hudson/hudson_workspace/plugins/process-kill/WEB-INF/classes/hudson/plugins/process_kill/kill-script.sh::
No such file or directory
Recording test results