Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use .java-version and prepare to use VM with installed tools in BK #241

Merged
merged 4 commits into from
Mar 11, 2024

Apply suggestions from code review

594190c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

ci: use .java-version and prepare to use VM with installed tools in BK #241

Apply suggestions from code review
594190c
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Tests succeeded Mar 11, 2024 in 1s

238 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
ecs-logging-core/target/surefire-reports/TEST-co.elastic.logging.EcsJsonSerializerTest.xml 9✔️ 264ms
ecs-logging-core/target/surefire-reports/TEST-co.elastic.logging.TimestampSerializerTest.xml 2✔️ 638ms
jboss-logmanager-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jboss.logmanager.EcsFormatterTest.xml 3✔️ 12ms
jboss-logmanager-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jboss.logmanager.JBossLogManagerTest.xml 10✔️ 312ms
jul-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jul.EcsFormatterTest.xml 7✔️ 12ms
jul-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jul.JulIntegrationTest.xml 11✔️ 302ms
jul-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jul.JulLoggingTest.xml 11✔️ 51ms
log4j-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j.Log4jEcsLayoutIntegrationTest.xml 10✔️ 383ms
log4j-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j.Log4jEcsLayoutTest.xml 10✔️ 42ms
log4j-legacy-tests/target/surefire-reports/TEST-co.elastic.logging.log4j.LegacyLog4jEcsLayoutTest.xml 10✔️ 322ms
log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.CurrentLog4j2EcsLayoutTest.xml 20✔️ 679ms
log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.EcsLayoutWithExceptionPatternTest.xml 17✔️ 96ms
log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.EcsLayoutWithStackTraceAsArrayTest.xml 17✔️ 137ms
log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.Log4j2EcsBuilderTest.xml 1✔️ 0ms
log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.Log4j2EcsLayoutIntegrationTest.xml 17✔️ 106ms
log4j2-legacy-tests/target/surefire-reports/TEST-co.elastic.logging.log4j2.LegacyLog4j2EcsLayoutTest.xml 17✔️ 554ms
logback-ecs-encoder/target/surefire-reports/TEST-co.elastic.logging.logback.EcsEncoderIntegrationTest.xml 11✔️ 406ms
logback-ecs-encoder/target/surefire-reports/TEST-co.elastic.logging.logback.EcsEncoderTest.xml 11✔️ 40ms
logback-ecs-encoder/target/surefire-reports/TEST-co.elastic.logging.logback.EcsEncoderWithCustomThrowableConverterIntegrationTest.xml 11✔️ 67ms
logback-ecs-encoder/target/surefire-reports/TEST-co.elastic.logging.logback.EcsEncoderWithStacktraceAsArrayTest.xml 11✔️ 22ms
logback-legacy-tests/target/surefire-reports/TEST-co.elastic.logging.logback.LegacyEcsEncoderIntegrationTest.xml 11✔️ 455ms
logback-legacy-tests/target/surefire-reports/TEST-co.elastic.logging.logback.LegacyEcsEncoderTest.xml 11✔️ 45ms

✔️ ecs-logging-core/target/surefire-reports/TEST-co.elastic.logging.EcsJsonSerializerTest.xml

9 tests were completed in 264ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.EcsJsonSerializerTest 9✔️ 264ms

✔️ co.elastic.logging.EcsJsonSerializerTest

✔️ testEscaping
✔️ serializeNullDoesNotThrowAnException
✔️ serializeExceptionWithStackTraceAsArray
✔️ testRemoveIfEndsWith
✔️ serializeExceptionWithNullMessage
✔️ serializeExceptionAsArray
✔️ serializeException
✔️ serializeExceptionAsString
✔️ serializeExceptionWithSingleLineStackTraceAsArray

✔️ ecs-logging-core/target/surefire-reports/TEST-co.elastic.logging.TimestampSerializerTest.xml

2 tests were completed in 638ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.TimestampSerializerTest 2✔️ 638ms

✔️ co.elastic.logging.TimestampSerializerTest

✔️ testSerializeWithCustomLocale
✔️ testSerializeEpochTimestampAsIsoDateTime

✔️ jboss-logmanager-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jboss.logmanager.EcsFormatterTest.xml

3 tests were completed in 12ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.jboss.logmanager.EcsFormatterTest 3✔️ 12ms

✔️ co.elastic.logging.jboss.logmanager.EcsFormatterTest

✔️ testMultipleNDCInformationLogging
✔️ testExceptionLogging
✔️ testSingleNDCInformationLogging

✔️ jboss-logmanager-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jboss.logmanager.JBossLogManagerTest.xml

10 tests were completed in 312ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.jboss.logmanager.JBossLogManagerTest 10✔️ 312ms

✔️ co.elastic.logging.jboss.logmanager.JBossLogManagerTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog

✔️ jul-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jul.EcsFormatterTest.xml

7 tests were completed in 12ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.jul.EcsFormatterTest 7✔️ 12ms

✔️ co.elastic.logging.jul.EcsFormatterTest

✔️ testFormatWithoutLoggerName
✔️ testFormatWithInnerClassName
✔️ testFormatWithInvalidClassName
✔️ testFormatWithEmptyLoggerName
✔️ testFormatWithoutIncludeOriginFlag
✔️ testMdcSerialization_singleEntry
✔️ testFormatWithIncludeOriginFlag

✔️ jul-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jul.JulIntegrationTest.xml

11 tests were completed in 302ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.jul.JulIntegrationTest 11✔️ 302ms

✔️ co.elastic.logging.jul.JulIntegrationTest

✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testLogOrigin
✔️ testAdditionalFieldsAsList
✔️ testLogExceptionNullMessage
✔️ testLogException

✔️ jul-ecs-formatter/target/surefire-reports/TEST-co.elastic.logging.jul.JulLoggingTest.xml

11 tests were completed in 51ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.jul.JulLoggingTest 11✔️ 51ms

✔️ co.elastic.logging.jul.JulLoggingTest

✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testLogOrigin
✔️ testAdditionalFieldsAsList

✔️ log4j-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j.Log4jEcsLayoutIntegrationTest.xml

10 tests were completed in 383ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j.Log4jEcsLayoutIntegrationTest 10✔️ 383ms

✔️ co.elastic.logging.log4j.Log4jEcsLayoutIntegrationTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog

✔️ log4j-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j.Log4jEcsLayoutTest.xml

10 tests were completed in 42ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j.Log4jEcsLayoutTest 10✔️ 42ms

✔️ co.elastic.logging.log4j.Log4jEcsLayoutTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog

✔️ log4j-legacy-tests/target/surefire-reports/TEST-co.elastic.logging.log4j.LegacyLog4jEcsLayoutTest.xml

10 tests were completed in 322ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j.LegacyLog4jEcsLayoutTest 10✔️ 322ms

✔️ co.elastic.logging.log4j.LegacyLog4jEcsLayoutTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog

✔️ log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.CurrentLog4j2EcsLayoutTest.xml

20 tests were completed in 679ms with 20 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j2.CurrentLog4j2EcsLayoutTest 20✔️ 679ms

✔️ co.elastic.logging.log4j2.CurrentLog4j2EcsLayoutTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testJsonMessageBoolean
✔️ testJsonMessageArray
✔️ testJsonMessageNumber
✔️ testJsonMessageString
✔️ testCustomPatternConverter
✔️ testAdditionalFieldsWithLookup
✔️ testMarker
✔️ testJsonMessageObject
✔️ testMapMessage
✔️ testParameterizedStructuredMessage

✔️ log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.EcsLayoutWithExceptionPatternTest.xml

17 tests were completed in 96ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j2.EcsLayoutWithExceptionPatternTest 17✔️ 96ms

✔️ co.elastic.logging.log4j2.EcsLayoutWithExceptionPatternTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testJsonMessageBoolean
✔️ testJsonMessageArray
✔️ testJsonMessageNumber
✔️ testJsonMessageString
✔️ testCustomPatternConverter
✔️ testAdditionalFieldsWithLookup
✔️ testMarker
✔️ testLogExceptionNullMessage
✔️ testLogException

✔️ log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.EcsLayoutWithStackTraceAsArrayTest.xml

17 tests were completed in 137ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j2.EcsLayoutWithStackTraceAsArrayTest 17✔️ 137ms

✔️ co.elastic.logging.log4j2.EcsLayoutWithStackTraceAsArrayTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testJsonMessageBoolean
✔️ testJsonMessageArray
✔️ testJsonMessageNumber
✔️ testJsonMessageString
✔️ testCustomPatternConverter
✔️ testAdditionalFieldsWithLookup
✔️ testMarker
✔️ testLogExceptionNullMessage
✔️ testLogException

✔️ log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.Log4j2EcsBuilderTest.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j2.Log4j2EcsBuilderTest 1✔️ 0ms

✔️ co.elastic.logging.log4j2.Log4j2EcsBuilderTest

✔️ testAdditionalFieldsCanBeEmptyInBuilder

✔️ log4j2-ecs-layout/target/surefire-reports/TEST-co.elastic.logging.log4j2.Log4j2EcsLayoutIntegrationTest.xml

17 tests were completed in 106ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j2.Log4j2EcsLayoutIntegrationTest 17✔️ 106ms

✔️ co.elastic.logging.log4j2.Log4j2EcsLayoutIntegrationTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testJsonMessageBoolean
✔️ testJsonMessageArray
✔️ testJsonMessageNumber
✔️ testJsonMessageString
✔️ testCustomPatternConverter
✔️ testAdditionalFieldsWithLookup
✔️ testMarker

✔️ log4j2-legacy-tests/target/surefire-reports/TEST-co.elastic.logging.log4j2.LegacyLog4j2EcsLayoutTest.xml

17 tests were completed in 554ms with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.log4j2.LegacyLog4j2EcsLayoutTest 17✔️ 554ms

✔️ co.elastic.logging.log4j2.LegacyLog4j2EcsLayoutTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testJsonMessageBoolean
✔️ testJsonMessageArray
✔️ testJsonMessageNumber
✔️ testJsonMessageString
✔️ testCustomPatternConverter
✔️ testAdditionalFieldsWithLookup
✔️ testMarker

✔️ logback-ecs-encoder/target/surefire-reports/TEST-co.elastic.logging.logback.EcsEncoderIntegrationTest.xml

11 tests were completed in 406ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.logback.EcsEncoderIntegrationTest 11✔️ 406ms

✔️ co.elastic.logging.logback.EcsEncoderIntegrationTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testMarker

✔️ logback-ecs-encoder/target/surefire-reports/TEST-co.elastic.logging.logback.EcsEncoderTest.xml

11 tests were completed in 40ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.logback.EcsEncoderTest 11✔️ 40ms

✔️ co.elastic.logging.logback.EcsEncoderTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testMarker

✔️ logback-ecs-encoder/target/surefire-reports/TEST-co.elastic.logging.logback.EcsEncoderWithCustomThrowableConverterIntegrationTest.xml

11 tests were completed in 67ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.logback.EcsEncoderWithCustomThrowableConverterIntegrationTest 11✔️ 67ms

✔️ co.elastic.logging.logback.EcsEncoderWithCustomThrowableConverterIntegrationTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testMarker
✔️ testLogException

✔️ logback-ecs-encoder/target/surefire-reports/TEST-co.elastic.logging.logback.EcsEncoderWithStacktraceAsArrayTest.xml

11 tests were completed in 22ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.logback.EcsEncoderWithStacktraceAsArrayTest 11✔️ 22ms

✔️ co.elastic.logging.logback.EcsEncoderWithStacktraceAsArrayTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testMarker
✔️ testLogExceptionNullMessage
✔️ testLogException

✔️ logback-legacy-tests/target/surefire-reports/TEST-co.elastic.logging.logback.LegacyEcsEncoderIntegrationTest.xml

11 tests were completed in 455ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.logback.LegacyEcsEncoderIntegrationTest 11✔️ 455ms

✔️ co.elastic.logging.logback.LegacyEcsEncoderIntegrationTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testMarker

✔️ logback-legacy-tests/target/surefire-reports/TEST-co.elastic.logging.logback.LegacyEcsEncoderTest.xml

11 tests were completed in 45ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
co.elastic.logging.logback.LegacyEcsEncoderTest 11✔️ 45ms

✔️ co.elastic.logging.logback.LegacyEcsEncoderTest

✔️ testLogOrigin
✔️ testSimpleLog
✔️ testMdc
✔️ testThreadContext
✔️ testAdditionalFields
✔️ testMetadata
✔️ testLogExceptionNullMessage
✔️ testLogException
✔️ testThreadContextStack
✔️ testSimpleParameterizedLog
✔️ testMarker