You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/09/20 22:28:00 UTC

[jira] [Commented] (SOLR-18107) LoggingHandlerTest flaky after Log4j 2.25.3 upgrade

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

ASF subversion and git services commented on SOLR-18107:
--------------------------------------------------------

Commit 04327534d6e70f7d046f52ff0f2f2057b9c8ab3d in solr's branch refs/heads/branch_10x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=04327534d6e ]

SOLR-18107: fix Log4j2Watcher, register parents (#4113)

The /admin/info/logging endpoint (or just a test) could yield partial logging hierarchies after log4j was upgraded.  It should now be robust.

(cherry picked from commit 824bab96a7a4d2843d48aa0c22131f8d731111a9)


> LoggingHandlerTest flaky after Log4j 2.25.3 upgrade
> ---------------------------------------------------
>
>                 Key: SOLR-18107
>                 URL: https://issues.apache.org/jira/browse/SOLR-18107
>             Project: Solr
>          Issue Type: Test
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 10.1, 9.11
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Test failure looks like this:
> {noformat}
> java.lang.AssertionError: Logger Missing: org.apache.solr.bogus_logger_package.BogusClass_A	
> 	at __randomizedtesting.SeedInfo.seed([65A22EF593FBBD34:FEF96B7DCE4A03CD]:0)	
> 	at org.junit.Assert.fail(Assert.java:89)	
> 	at org.junit.Assert.assertTrue(Assert.java:42)	
> 	at org.apache.solr.handler.admin.LoggingHandlerTest.assertLoggerLevel(LoggingHandlerTest.java:200)	
> 	at org.apache.solr.handler.admin.LoggingHandlerTest.testLogLevelHandlerOutput(LoggingHandlerTest.java:129)
> {noformat}
> [Develocity|https://develocity.apache.org/scans/tests?search.rootProjectNames=solr-root&search.timeZoneId=America%2FNew_York&tests.container=org.apache.solr.handler.admin.LoggingHandlerTest&tests.sortField=FLAKY&tests.test=testLogLevelHandlerOutput#]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org