Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856364 - dev-java/javassist-3.29.{0,1}: restricts test for unsolved test failures
Summary: dev-java/javassist-3.29.{0,1}: restricts test for unsolved test failures
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: 784263 Java-test-failures
  Show dependency tree
 
Reported: 2022-07-04 09:49 UTC by Volkmar W. Pogatzki
Modified: 2022-12-11 07:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volkmar W. Pogatzki 2022-07-04 09:49:26 UTC
#	Time: 11.595
#	There were 6 failures:
#	1) testInsertAt(javassist.JvstTest2)
#	javassist.CannotCompileException: [source error] no such field: j
#		at javassist.CtBehavior.insertAt(CtBehavior.java:1306)
#		at javassist.CtBehavior.insertAt(CtBehavior.java:1233)
#		at javassist.JvstTest2.testInsertAt(JvstTest2.java:37)
#		... 27 trimmed
#	Caused by: compile error: no such field: j
#		at javassist.compiler.TypeChecker.fieldAccess(TypeChecker.java:873)
#		at javassist.compiler.TypeChecker.atFieldAssign(TypeChecker.java:296)
#		at javassist.compiler.JvstTypeChecker.atFieldAssign(JvstTypeChecker.java:95)
#		at javassist.compiler.TypeChecker.atAssignExpr(TypeChecker.java:255)
#		at javassist.compiler.ast.AssignExpr.accept(AssignExpr.java:43)
#		at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:266)
#		at javassist.compiler.CodeGen.atStmnt(CodeGen.java:360)
#		at javassist.compiler.ast.Stmnt.accept(Stmnt.java:53)
#		at javassist.compiler.CodeGen.atStmnt(CodeGen.java:381)
#		at javassist.compiler.ast.Stmnt.accept(Stmnt.java:53)
#		at javassist.compiler.Javac.compileStmnt(Javac.java:578)
#		at javassist.CtBehavior.insertAt(CtBehavior.java:1285)
#		... 30 more
#	2) testInsertLocal(javassist.JvstTest2)
#	javassist.CannotCompileException: [source error] no such field: i
#		at javassist.CtBehavior.insertBefore(CtBehavior.java:806)
#		at javassist.CtBehavior.insertBefore(CtBehavior.java:766)
#		at javassist.JvstTest2.testInsertLocal(JvstTest2.java:49)
#		... 27 trimmed
#	Caused by: compile error: no such field: i
#		at javassist.compiler.TypeChecker.fieldAccess(TypeChecker.java:873)
#		at javassist.compiler.TypeChecker.atFieldAssign(TypeChecker.java:296)
#		at javassist.compiler.JvstTypeChecker.atFieldAssign(JvstTypeChecker.java:95)
#		at javassist.compiler.TypeChecker.atAssignExpr(TypeChecker.java:255)
#		at javassist.compiler.ast.AssignExpr.accept(AssignExpr.java:43)
#		at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:266)
#		at javassist.compiler.CodeGen.atStmnt(CodeGen.java:360)
#		at javassist.compiler.ast.Stmnt.accept(Stmnt.java:53)
#		at javassist.compiler.CodeGen.atStmnt(CodeGen.java:381)
#		at javassist.compiler.ast.Stmnt.accept(Stmnt.java:53)
#		at javassist.compiler.Javac.compileStmnt(Javac.java:578)
#		at javassist.CtBehavior.insertBefore(CtBehavior.java:786)
#		... 30 more
#	3) testNewArray(javassist.JvstTest2)
#	javassist.CannotCompileException: [source error] no such field: i
#		at javassist.expr.NewArray.replace(NewArray.java:182)
#		at javassist.JvstTest2$4.edit(JvstTest2.java:749)
#		at javassist.expr.ExprEditor.loopBody(ExprEditor.java:238)
#		at javassist.expr.ExprEditor.doit(ExprEditor.java:96)
#		at javassist.CtBehavior.instrument(CtBehavior.java:744)
#		at javassist.JvstTest2.testNewArray(JvstTest2.java:760)
#		... 27 trimmed
#	Caused by: compile error: no such field: i
#		at javassist.compiler.TypeChecker.fieldAccess(TypeChecker.java:873)
#		at javassist.compiler.TypeChecker.atFieldAssign(TypeChecker.java:296)
#		at javassist.compiler.JvstTypeChecker.atFieldAssign(JvstTypeChecker.java:95)
#		at javassist.compiler.TypeChecker.atAssignExpr(TypeChecker.java:255)
#		at javassist.compiler.ast.AssignExpr.accept(AssignExpr.java:43)
#		at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:266)
#		at javassist.compiler.CodeGen.atStmnt(CodeGen.java:360)
#		at javassist.compiler.ast.Stmnt.accept(Stmnt.java:53)
#		at javassist.compiler.CodeGen.atStmnt(CodeGen.java:381)
#		at javassist.compiler.ast.Stmnt.accept(Stmnt.java:53)
#		at javassist.compiler.Javac.compileStmnt(Javac.java:578)
#		at javassist.expr.NewArray.replace2(NewArray.java:252)
#		at javassist.expr.NewArray.replace(NewArray.java:180)
#		... 33 more
#	4) testURL(javassist.JvstTest2)
#	junit.framework.AssertionFailedError
#		at junit.framework.Assert.fail(Assert.java:55)
#		at junit.framework.Assert.assertTrue(Assert.java:22)
#		at junit.framework.Assert.assertTrue(Assert.java:31)
#		at junit.framework.TestCase.assertTrue(TestCase.java:200)
#		at javassist.JvstTest2.testURL(JvstTest2.java:336)
#	5) testMethodParameters(javassist.JvstTest4)
#	junit.framework.ComparisonFailure: expected:<[i]> but was:<[arg0]>
#		at junit.framework.Assert.assertEquals(Assert.java:100)
#		at junit.framework.Assert.assertEquals(Assert.java:107)
#		at junit.framework.TestCase.assertEquals(TestCase.java:260)
#		at javassist.JvstTest4.testMethodParameters(JvstTest4.java:1010)
#	6) testLocalVarAttribute(javassist.bytecode.BytecodeTest)
#	junit.framework.AssertionFailedError
#		at junit.framework.Assert.fail(Assert.java:55)
#		at junit.framework.Assert.assertTrue(Assert.java:22)
#		at junit.framework.Assert.assertTrue(Assert.java:31)
#		at junit.framework.TestCase.assertTrue(TestCase.java:200)
#		at javassist.bytecode.BytecodeTest.testLocalVarAttribute(BytecodeTest.java:335)
#
#	FAILURES!!!
#	Tests run: 431,  Failures: 6
Comment 1 Larry the Git Cow gentoo-dev 2022-11-10 09:26:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28839f25077e6419d6a6db34e917fee5142c6f55

commit 28839f25077e6419d6a6db34e917fee5142c6f55
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-09-15 09:30:51 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2022-11-10 09:26:30 +0000

    dev-java/javassist: add 3.29.2
    
    removes test restriction and specifically excludes failing tests
    Bug: https://bugs.gentoo.org/856364
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/27267
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-java/javassist/Manifest                |  1 +
 dev-java/javassist/javassist-3.29.2.ebuild | 79 ++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2022-12-11 07:58:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a50a923db2ded47e3aa2ec299ca6a40eb3862f8

commit 9a50a923db2ded47e3aa2ec299ca6a40eb3862f8
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2022-12-10 21:40:09 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2022-12-11 07:58:49 +0000

    dev-java/javassist: drop 3.29.1
    
    Closes: https://bugs.gentoo.org/856364
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/28632
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/javassist/Manifest                |  1 -
 dev-java/javassist/javassist-3.29.1.ebuild | 68 ------------------------------
 2 files changed, 69 deletions(-)