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

Arturo Bernal commented on JSPWIKI-1240:
----------------------------------------

Status on current master, in case it helps to decide whether this can be 
closed. RSSGeneratorTest passed in 5 full runs of the jspwiki-main test suite 
on Linux (935 tests, no failures). In the last 60 completed runs of the Java CI 
workflow on GitHub, none of the failures I looked at came from this test; the 
failures I did not open are in the runs of the pull requests of JSPWIKI-1254 
and JSPWIKI-684. The failure in this report was seen mostly with JDK 19 on 
macOS, which I have not run, so this does not prove that it is gone.

> Inconsistent test failures with RSSGenerator not finding the XML user 
> database on CI builds
> -------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1240
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1240
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Build system
>            Reporter: Alex O'Ree
>            Assignee: Alex O'Ree
>            Priority: Minor
>              Labels: pull-request-available
>
> usually on JDK19 with macos
>  
> [INFO] [*] testBlogRSS 
>  
> [INFO] 
>  
> [INFO] Stack trace 
>  
> [INFO] java.lang.IllegalStateException: FATAL: database does not exist 
>  
>  at 
> org.apache.wiki.auth.user.XMLUserDatabase.findByAttribute(XMLUserDatabase.java:452)
>  
>  
>  at 
> org.apache.wiki.auth.user.XMLUserDatabase.findBy(XMLUserDatabase.java:147) 
>  
>  at 
> org.apache.wiki.auth.user.XMLUserDatabase.findByLoginName(XMLUserDatabase.java:131)
>  
>  
>  at 
> org.apache.wiki.auth.login.UserDatabaseLoginModule.login(UserDatabaseLoginModule.java:84)
>  
>  
>  at 
> org.apache.wiki.auth.DefaultAuthenticationManager.doJAASLogin(DefaultAuthenticationManager.java:334)
>  
>  
>  at 
> org.apache.wiki.auth.DefaultAuthenticationManager.login(DefaultAuthenticationManager.java:227)
>  
>  
>  at org.apache.wiki.TestEngine.saveText(TestEngine.java:367) 
>  
>  at 
> org.apache.wiki.rss.RSSGeneratorTest.testBlogRSS(RSSGeneratorTest.java:49) 
>  
>  
> Error:  Errors: 
>  
> Error:  RSSGeneratorTest.testBlogRSS:49 » IllegalState FATAL: database does 
> not exist 
>  
> [INFO] 
>  
> Error:  Tests run: 875, Failures: 0, Errors: 1, Skipped: 0



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to