kgyrtkirk opened a new pull request, #15747: URL: https://github.com/apache/druid/pull/15747
this PR contains: * remove `integration-tests-ex/cases` from excluded projects from initial build * enable ErrorProne's `CheckedExceptionNotThrown` to get earlier errors than `intellij-inspections` * correct version for `ddsketch` module I've bumped into some unrelated intellij errors fora PR and it turned out that its not specific to any PR: * recent runs of master shows that sometimes `intellij-inspections` for example this [build](https://github.com/apache/druid/actions/runs/7607133428/job/20713977290) * the contents of the commits are not related to these errors - they sometimes just happen; even in PR runs. * however the reported errors are always the same; and they always come from the `integration-tests-ex/cases/` module * the github workflow builds the whole project - except a few submodules ;and `integration-tests-ex/cases/` is one of them * because of that the intellij check is building that module based on the above: * I think the preceeding build should not exclude that module * I've run a few times this job and the issue disappeared <details> <summary>reported errors</summary> ``` 2024-01-22T06:30:04.0874181Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/msq/ITMultiStageQuery.java:52 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0877931Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/msq/ITMultiStageQuery.java:116 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0881851Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/msq/ITMultiStageQueryWorkerFaultTolerance.java:65 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0885858Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/msq/ITKeyStatisticsSketchMergeMode.java:55 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0889566Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/msq/ITKeyStatisticsSketchMergeMode.java:125 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0893224Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/msq/ITKeyStatisticsSketchMergeMode.java:196 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0896761Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/AzureTestUtil.java:85 -- The declared exception <code>URISyntaxException</code> is never thrown 2024-01-22T06:30:04.0900061Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/AzureTestUtil.java:122 -- The declared exception <code>URISyntaxException</code> is never thrown 2024-01-22T06:30:04.0903244Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/AzureTestUtil.java:75 -- The declared exception <code>URISyntaxException</code> is never thrown 2024-01-22T06:30:04.0906433Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/AzureTestUtil.java:75 -- The declared exception <code>InvalidKeyException</code> is never thrown 2024-01-22T06:30:04.0909300Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/AzureTestUtil.java:109 -- The declared exception <code>URISyntaxException</code> is never thrown 2024-01-22T06:30:04.0912243Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/GcsTestUtil.java:102 -- The declared exception <code>IOException</code> is never thrown 2024-01-22T06:30:04.0915646Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/GcsTestUtil.java:92 -- The declared exception <code>IOException</code> is never thrown 2024-01-22T06:30:04.0918815Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/GcsTestUtil.java:108 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0921962Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/GcsTestUtil.java:75 -- The declared exception <code>GeneralSecurityException</code> is never thrown 2024-01-22T06:30:04.0925393Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/GcsTestUtil.java:75 -- The declared exception <code>IOException</code> is never thrown 2024-01-22T06:30:04.0928406Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/config/DruidTestRunner.java:78 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0931289Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/config/DruidTestRunner.java:60 -- The declared exception <code>Throwable</code> is never thrown 2024-01-22T06:30:04.0934422Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/indexer/ITLocalInputSourceAllFormatSchemalessTest.java:108 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0937899Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/indexer/ITLocalInputSourceAllFormatSchemalessTest.java:122 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0941357Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/indexer/ITLocalInputSourceAllFormatSchemalessTest.java:94 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0944956Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/indexer/ITLocalInputSourceAllFormatSchemalessTest.java:43 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0948492Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/indexer/ITLocalInputSourceAllFormatSchemalessTest.java:80 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.0951686Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/indexer/AbstractITBatchIndexTest.java:185 -- The declared exception <code>Exception</code> is never thrown 2024-01-22T06:30:04.2322532Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/config/Initializer.java:352 -- Call to <code>asList</code> with only one argument #loc 2024-01-22T06:30:04.3646314Z [ERROR] integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/utils/DruidClusterAdminClient.java:250 -- Suspicious call to 'List.contains' 2024-01-22T06:30:04.4930619Z [ERROR] integration-tests-ex/cases/pom.xml:21 -- Failed to read artifact descriptor for org.yaml:snakeyaml:jar:1.21 #loc 2024-01-22T06:30:04.4932870Z [ERROR] integration-tests-ex/cases/pom.xml:21 -- Failed to read artifact descriptor for com.microsoft.azure:azure-storage:jar:8.6.0 #loc 2024-01-22T06:30:04.9271853Z ##[error]Process completed with exit code 1. ``` </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
