See
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/113/display/redirect?page=changes>
Changes:
[PJ Fanning] more conversion issues
[PJ Fanning] update security doc
[PJ Fanning] fix animal sniffer issue
[PJ Fanning] add tests
[PJ Fanning] throw loader exception on repeated string in StringPool.readFrom.
Thanks
------------------------------------------
[...truncated 227.48 KiB...]
[0K[1mxmlobject.extensions.interfaceFeature.multInterfaces.checkin.MultInterfacesTest[m
[0K[1m Test [22mtest()[32m PASSED[m
[0K[1mxmlobject.extensions.interfaceFeature.readOnlyBean.checkin.ReadOnlyTest[m
[0K[1m Test [22mtest()[32m PASSED[m
[0K[1mxmlobject.extensions.prePostFeature.ValueRestriction.checkin.ValueRestrictionTest[m
[0K[1m Test [22mtest()[32m PASSED[m
[0K[1mxmlobject.extensions.prePostFeature.readOnlyBean.checkin.ReadOnlyTest[m
[0K[1m Test [22mtest()[32m PASSED[m
[0K[1mxmlobject.schematypes.checkin.EnumTests[m
[0K[1m Test [22mtestEnumRestriction()[32m PASSED[m
[0K[1m Test [22mtestReport1()[32m PASSED[m
[0K[1m Test [22mtestReport2()[32m PASSED[m
[0K[1m Test [22mtestReport3()[32m PASSED[m
[0K[1mxmlobject.schematypes.checkin.GDateTests[m
[0K[1m Test [22mtestBigGDurations()[32m PASSED[m
[0K[1m Test [22mtestFailure()[32m PASSED[m
[0K[1m Test [22mtestAPI()[32m PASSED[m
[0K[1m Test [22mtestOrder()[32m PASSED[m
[0K[1m Test [22mtestValidDuration()[32m PASSED[m
[0K[1m Test [22mtestGregorianCalendar()[32m PASSED[m
[0K[1m Test [22mtest24hDates()[32m PASSED[m
[0K[1m Test [22mtestInvalidGDurations()[32m PASSED[m
[0K[1m Test [22mtestEmptyDuration()[32m PASSED[m
[0K[1m Test [22mtestAddAndSubtractDuration()[32m PASSED[m
[0K[1m Test [22mtestYearStartingWith0()[32m PASSED[m
[0K[1m Test [22mtestSuccess()[32m PASSED[m
[0K[1mxmlobject.schematypes.checkin.IntTests[m
[0K[1m Test [22mtestLatLong()[32m PASSED[m
[0K[1mxmlobject.schematypes.checkin.NumeralsTests[m
[0K[1m Test [22mtestNumerals()[32m PASSED[m
[0K[1mxmlobject.schematypes.checkin.QNameTests[m
[0K[1m Test [22mtestQName()[32m PASSED[m
[0K[1mxmlobject.schematypes.checkin.SchemaTypesTests[m
[0K[1m Test [22mtestSourceName()[32m PASSED[m
[0K[1m Test [22mtestRead()[32m PASSED[m
[0K[1m Test [22mtestWriteRead()[32m PASSED[m
[0K[1m Test [22mtestStoreWrite()[32m PASSED[m
[0K[1m Test [22mtestDefaults()[32m PASSED[m
[0K[1mxmlobject.schematypes.detailed.ListAndUnionTests[m
[0K[1m Test [22mtestUnionSetters()[32m PASSED[m
[0K[1m Test [22mtestListGetters()[32m PASSED[m
[0K[1m Test [22mtestUnionGetters()[32m PASSED[m
[0K[1m Test [22mtestListSetters()[32m PASSED[m
[0K[1m Test [22mtestUnionArray()[32m PASSED[m
[0K[1mxmlobject.schematypes.detailed.QNameSetTest[m
[0K[1m Test [22mtestQNameSets()[32m PASSED[m
[0K[1mxmlobject.usertype.averageCase.checkin.AverageTest[m
[0K[1m Test [22mtestBadInput()[32m PASSED[m
[0K[1m Test [22mtest()[32m PASSED[m
[0K[1mxmlobject.usertype.multipleItems.checkin.AverageTest[m
[0K[1m Test [22mtestBadInputGetIthBad()[32m PASSED[m
[0K[1m Test [22mtestBadInput()[32m PASSED[m
[0K[1m Test [22mtestBadInputGetIthGood()[32m PASSED[m
[0K[1m Test [22mtestArrayGetSet()[32m PASSED[m
[0K[1m Test [22mtest()[32m PASSED[m
[0K[1m Test [22mtestIthGetSet()[32m PASSED[m
[0K[1mxmlobject.xmlloader.detailed.JapaneseTextTest[m
[0K[1m testEncoding(String)[m
[0K[1m Test [22m[1] pr-xml-euc-jp.xml[32m PASSED[m
[0K[1m Test [22m[2] pr-xml-iso-2022-jp.xml[32m PASSED[m
[0K[1m Test [22m[3] pr-xml-little-endian.xml[32m PASSED[m
[0K[1m Test [22m[4] pr-xml-shift_jis.xml[32m PASSED[m
[0K[1m Test [22m[5] pr-xml-utf-8.xml[32m PASSED[m
[0K[1m Test [22m[6] pr-xml-utf-16.xml[32m PASSED[m
[0K[1m Test [22m[7] weekly-euc-jp.xml[32m PASSED[m
[0K[1m Test [22m[8] weekly-iso-2022-jp.xml[32m PASSED[m
[0K[1m Test [22m[9] weekly-little-endian.xml[32m PASSED[m
[0K[1m Test [22m[10] weekly-shift_jis.xml[32m PASSED[m
[0K[1m Test [22m[11] weekly-utf-8.xml[32m PASSED[m
[0K[1m Test [22m[12] weekly-utf-16.xml[32m PASSED[m
[0K[1m Test [22m[13] prefix_test.xml[32m PASSED[m
[0K[1mxmlobject.xmlloader.detailed.ParseTest[m
[0K[1m Test [22mtestErrorListener()[32m PASSED[m
[0K[1m Test [22mtestLoadStripWhitespace()[32m PASSED[m
[0K[1m Test [22mtestPrefixNotDefined()[32m PASSED[m
[0K[1m Test [22mtestLoadDiscardDocumentElement()[32m PASSED[m
[0K[1m Test [22mtestParsingDOMWithDTD()[32m PASSED[m
[0K[1mxmlobject.xmlloader.detailed.XmlLoaderBvtTest[m
[0K[1m Test [22mtestCastDocument()[32m PASSED[m
[0K[1mxmlobject.xmlloader.detailed.XmlLoaderMiscTest[m
[0K[1m Test [22mtestTypeForClass()[32m PASSED[m
[0K[1m Test [22mtestTypeLoaderForClassLoader()[32m PASSED[m
[0K[1m Test [22mtestGetContextTypeLoader()[32m PASSED[33m (1.7s)[m
[0K[1m Test [22mtestNewInstance()[32m PASSED[m
[0K[1m Test [22mtestGetBuiltInTypeSystem()[32m PASSED[m
[0K[1mxmlobject.xmlloader.detailed.XmlStreamBeanReader[m
[0K[1m Test [22mtestXMLStreamReaderLoader()[32m PASSED[m
[0K[1m Test [22mtestXmlStreamReaderException()[32m PASSED[m
[0K[1mxmltokensource.detailed.NewDomNodeTest[m
[0K[1m Test [22mtestNewDomNodeRoundTrip()[32m PASSED[m
[0K[1m Test [22mtestNewDomNode()[32m PASSED[m
[0K[1m Test [22mtestNewDomNodeWithOptions()[32m PASSED[m
[0K[1m Test [22mtestNewDomNodeWithNamespace()[32m PASSED[m
[0K[1mxmltokensource.detailed.PrettyPrintNamespaceTest[m
[0K[1m Test [22mtestWithInstanceFromSchema()[32m PASSED[m
[0K[1m Test [22mtestWithNewInstance()[32m PASSED[m
[0K[1mxmltokensource.detailed.RoundTripLoaderTest[m
[0K[1m Test [22mtestNewDomNodeWithOptionsRoundTrip()[32m PASSED[m
[0K[1m Test [22mtestXmlTextWithOptionsRoundTrip()[32m PASSED[m
[0K[1m Test [22mtestNewInputStreamRoundTrip()[32m PASSED[m
[0K[1m Test [22mtestNewDomNodeRoundTrip()[32m PASSED[m
[0K[1m Test [22mtestXmlTextRoundTrip()[32m PASSED[m
[0K[1m Test [22mtestNewInputStreamWithOptionsRoundTrip()[32m PASSED[m
[0K[1mxmltokensource.detailed.XmlTextTest[m
[0K[1m Test [22mtestSavePrettyPrint()[32m PASSED[m
[0K[1m Test [22mtestXmlTextFromTEXT()[32m PASSED[m
[0K[1m Test [22mtestSAVENAMESPACESFIRST()[32m PASSED[m
[0K[1m Test [22mtestSavePrettyPrintIndent3()[32m PASSED[m
[0K[1m Test [22mtestSTARTDOCvsFirstChild()[32m PASSED[m
[0K[1m Test [22mtestSaveSyntheticDocumentElement()[32m PASSED[m
[0K[1m Test [22mtestXmlTextFromTEXTafterEND()[32m PASSED[m
[0K[1m Test [22mtestSavePrettyPrintIndentNeg1()[32m PASSED[m
[0K[1m Test [22mtestSAVENAMESPACESlast()[32m PASSED[m
[0K[1m Test [22mtestDefaultNamespace()[32m PASSED[m
[0K[1;32mSUCCESS: [39mExecuted 3041 tests in 4m 19s (170 skipped)[m
> Task :check
> Task :srcDistTar
> Task :jacocoTestReport
> Task :srcDistZip
> Task :jenkins
> Task :sonar
08:05:42,786 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found
logback-core version 1.5.32
08:05:42,787 |-INFO in ch.qos.logback.classic.util.ContextInitializer@762278fc
- No custom configurators were discovered as a service.
08:05:42,787 |-INFO in ch.qos.logback.classic.util.ContextInitializer@762278fc
- Trying to configure with ch.qos.logback.classic.util.DefaultJoranConfigurator
08:05:42,788 |-INFO in ch.qos.logback.classic.util.ContextInitializer@762278fc
- Constructed configurator of type class
ch.qos.logback.classic.util.DefaultJoranConfigurator
08:05:42,789 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could
NOT find resource [logback-test.xml]
08:05:42,789 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found
resource [logback.xml] at
[jar:file:/home/jenkins/.sonar/cache/ec1fd5148852139c5cccd59f8f99b5e4/sonarcloud-scanner-engine-13.5.0.4089.jar!/logback.xml]
08:05:42,879 |-INFO in
ch.qos.logback.classic.model.processor.ConfigurationModelHandlerFull - Scan
attribute set to false.
08:05:42,887 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [org.apache.commons.beanutils.converters] to WARN
08:05:42,887 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [org.eclipse.jgit.internal.storage.file] to INFO
08:05:42,887 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [org.springframework] to INFO
08:05:42,887 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger
[org.springframework.context.annotation.AnnotationConfigApplicationContext] to
ERROR
08:05:42,887 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [org.sonar.scanner.spring.PriorityBeanFactory] to INFO
08:05:42,887 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [nl.altindag.ssl.util.CertificateUtils] to INFO
08:05:42,887 |-INFO in
ch.qos.logback.core.model.processor.DefaultProcessor@2b649a82 - End of
configuration.
08:05:42,888 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@193b7361
- Registering current configuration as safe fallback point
08:05:42,893 |-INFO in ch.qos.logback.classic.util.ContextInitializer@762278fc
- ch.qos.logback.classic.util.DefaultJoranConfigurator.configure() call lasted
101 milliseconds. ExecutionStatus=DO_NOT_INVOKE_NEXT_IF_ANY
08:05:42,960 |-WARN in Logger[org.sonar.batch.bootstrapper.EnvironmentConfig] -
No appenders present in context [default] for logger
[org.sonar.batch.bootstrapper.EnvironmentConfig].
08:05:42,978 |-INFO in
ch.qos.logback.classic.model.processor.ConfigurationModelHandlerFull - Scan
attribute not set or set to unrecognized value.
08:05:42,983 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler
- Processing appender named [STDOUT]
08:05:42,983 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler
- About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
08:05:42,997 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler
- Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder]
for [encoder] property
08:05:42,999 |-INFO in
ch.qos.logback.core.model.processor.ModelInterpretationContext@601c657c - value
"%d{HH:mm:ss.SSS} %-5level - %msg%n" substituted for "${FORMAT}"
08:05:43,054 |-INFO in ch.qos.logback.core.ConsoleAppender[STDOUT] - NOTE:
Writing to the console can be slow. Try to avoid logging to the
08:05:43,054 |-INFO in ch.qos.logback.core.ConsoleAppender[STDOUT] - console in
production environments, especially in high volume systems.
08:05:43,054 |-INFO in ch.qos.logback.core.ConsoleAppender[STDOUT] - See also
https://logback.qos.ch/codes.html#slowConsole
08:05:43,055 |-INFO in
ch.qos.logback.core.model.processor.ModelInterpretationContext@601c657c - value
"INFO" substituted for "${ROOT_LOGGER_LEVEL}"
08:05:43,056 |-INFO in
ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level
of ROOT logger to INFO
08:05:43,056 |-INFO in
ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching
appender named [STDOUT] to Logger[ROOT]
08:05:43,057 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [org.apache.commons.beanutils.converters] to WARN
08:05:43,057 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [nl.altindag.ssl.util.CertificateUtils] to INFO
08:05:43,057 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [org.eclipse.jgit.internal.storage.file] to INFO
08:05:43,057 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [org.springframework] to INFO
08:05:43,057 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger
[org.springframework.context.annotation.AnnotationConfigApplicationContext] to
ERROR
08:05:43,057 |-INFO in
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of
logger [org.sonar.scanner.spring.PriorityBeanFactory] to INFO
08:05:43,057 |-INFO in
ch.qos.logback.core.model.processor.DefaultProcessor@51c141b - End of
configuration.
08:05:43,057 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@aa33eb0 -
Registering current configuration as safe fallback point
> Task :sonar FAILED
[Incubating] Problems report is available at:
file://<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/build/reports/problems/problems-report.html>
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonar'.
>
The version of Java (17) used to run this analysis is deprecated, and
SonarQube Cloud no longer supports it. Please upgrade to Java 21 or later.
You can find more information here:
https://docs.sonarsource.com/sonarqube-cloud/analyzing-source-code/scanners/scanner-environment/general-requirements
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with
Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings
and determine if they come from your own scripts or plugins.
For more on this, please refer to
https://docs.gradle.org/8.14.5/userguide/command_line_interface.html#sec:command_line_warnings
in the Gradle documentation.
BUILD FAILED in 7m 39s
48 actionable tasks: 27 executed, 21 from cache
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
ERROR: Not all environment variables could be successfully injected. Check for
similarly-named environment variables.
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner
succeed?
ERROR: Not all environment variables could be successfully injected. Check for
similarly-named environment variables.
Archiving artifacts
ERROR: Not all environment variables could be successfully injected. Check for
similarly-named environment variables.
Recording test results
ERROR: Not all environment variables could be successfully injected. Check for
similarly-named environment variables.
[Checks API] No suitable checks publisher found.
[SpotBugs] Skipping execution of recorder since overall result is 'FAILURE'
ERROR: Not all environment variables could be successfully injected. Check for
similarly-named environment variables.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]