You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Philipp Ottlinger (Jira)" <ji...@apache.org> on 2021/08/07 21:07:00 UTC

[jira] [Commented] (RAT-273) Build failures with JDK16 and JDK17 - analyze test behaviour or rewrite tests

    [ https://issues.apache.org/jira/browse/RAT-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395319#comment-17395319 ] 

Philipp Ottlinger commented on RAT-273:
---------------------------------------

Same situation with:
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Java version: 17-ea, vendor: Oracle Corporation, runtime: /jdk-17
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-80-generic", arch: "amd64", family: "unix"


> Build failures with JDK16 and JDK17 - analyze test behaviour or rewrite tests
> -----------------------------------------------------------------------------
>
>                 Key: RAT-273
>                 URL: https://issues.apache.org/jira/browse/RAT-273
>             Project: Apache Rat
>          Issue Type: Bug
>    Affects Versions: 0.14
>            Reporter: Philipp Ottlinger
>            Priority: Major
>
> A Travis build running against
>  DOCKER_IMAGE=maven:3.6.3-openjdk-16  
>  revealed the following test failures:
>  {{Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec <<< FAILURE! - in org.apache.rat.header.HeaderMatcherTest
> lines(org.apache.rat.header.HeaderMatcherTest) Time elapsed: 0.01 sec <<< FAILURE!
> java.lang.AssertionError: One line read expected:<1> but was:<2>
> at org.apache.rat.header.HeaderMatcherTest.lines(HeaderMatcherTest.java:84)
> noLines(org.apache.rat.header.HeaderMatcherTest) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError: No lines read expected:<0> but was:<1>
> at org.apache.rat.header.HeaderMatcherTest.noLines(HeaderMatcherTest.java:74)}}
> SUMMARY:
> {{ HeaderMatcherTest.lines:84 One line read expected:<1> but was:<2>
>  HeaderMatcherTest.noLines:74 No lines read expected:<0> but was:<1>}}
> [https://travis-ci.org/github/apache/creadur-rat/jobs/726998247]
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)