Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923610 - dev-java/mvel-2.5.0 fails tests -testCalculateAge(org.mvel2.tests.core.ControlFlowTests) - junit.framework.AssertionFailedError: expected:<N> but was:<Y>
Summary: dev-java/mvel-2.5.0 fails tests -testCalculateAge(org.mvel2.tests.core.Contro...
Status: RESOLVED OBSOLETE
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:
 
Reported: 2024-02-02 08:26 UTC by Agostino Sarubbo
Modified: 2024-11-04 09:28 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,262.55 KB, text/plain)
2024-02-02 08:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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:"
Comment 4 Volkmar W. Pogatzki 2024-10-06 09:39:08 UTC
Reproduced on amd64. Does no longer occur on dev-java/mvel-2.5.2
Comment 5 Larry the Git Cow gentoo-dev 2024-10-09 09:37:51 UTC
The bug has been referenced in the following commit(s):

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

commit c75076e867d8d25cfd4c597f3086a7b05d9df159
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-10-06 09:37:34 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-10-09 09:36:02 +0000

    dev-java/mvel: add 2.5.2
    
    Bug: https://bugs.gentoo.org/923610
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/38891
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/mvel/Manifest          |  1 +
 dev-java/mvel/mvel-2.5.2.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2024-11-04 07:18:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bdeccdfbc9095fb41313b2608d363faac21d19d

commit 0bdeccdfbc9095fb41313b2608d363faac21d19d
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-11-03 14:08:47 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-11-04 07:18:33 +0000

    dev-java/mvel: drop 2.5.0-r1 - CVE-2023-51079
    
    Bug: https://bugs.gentoo.org/923610
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/39191
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/mvel/Manifest             |  1 -
 dev-java/mvel/mvel-2.5.0-r1.ebuild | 66 --------------------------------------
 2 files changed, 67 deletions(-)
Comment 7 Volkmar W. Pogatzki 2024-11-04 09:28:34 UTC
The affected version is gone. Closing.