Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923610

Summary: dev-java/mvel-2.5.0 fails tests -testCalculateAge(org.mvel2.tests.core.ControlFlowTests) - junit.framework.AssertionFailedError: expected:<N> but was:<Y>
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Java team <java>
Status: CONFIRMED ---    
Severity: normal CC: gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-02-02 08:26:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/mvel-2.5.0 fails tests.
Discovered on: arm64 (internal ref: tinderbox_arm64)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-02 08:26:17 UTC
Created attachment 884020 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-02 08:26:18 UTC
Error(s) that match a know pattern:


......................[Error: [Error: unbalanced braces { ... }]
.....[Error: [Error: expected character ':' in foreach tag]
.....[Error: cannot assign type java.lang.Integer to org.mvel2.tests.core.res.Bar]
.....[Error: throwException( ): this should throw an exception]
....[Error: [Error: incompatible types in statement: class java.lang.String (compared from: class java.lang.Integer)]
...[Error: no such identifier: i]
..[Error: Failed to compileShared: 1 compilation error(s): 
.[Error: unclosed @foreach{} block. expected @end{}]
.[Error: unqualified type in strict mode for: foo]
Caused by: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base]
Caused by: [Error: incompatible types in statement: class java.lang.String (compared from: class java.lang.Integer)]
FAILURES!!!
[Error: [Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base]
[Error: could not access: 2x; in class: org.mvel2.tests.core.res.Base]
java.lang.AssertionError: Detailed Failure Report:
junit.framework.AssertionFailedError: expected:<N> but was:<Y>
Comment 3 Volkmar W. Pogatzki 2024-02-22 15:02:33 UTC
(In reply to Agostino Sarubbo from comment #2)
> Error(s) that match a know pattern:
> 
> [...]

Proposal for better "known pattern": "junit.framework.AssertionFailedError:"