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...]
xmlobject.extensions.interfaceFeature.multInterfaces.checkin.MultInterfacesTest

  Test test() PASSED

xmlobject.extensions.interfaceFeature.readOnlyBean.checkin.ReadOnlyTest

  Test test() PASSED

xmlobject.extensions.prePostFeature.ValueRestriction.checkin.ValueRestrictionTest

  Test test() PASSED

xmlobject.extensions.prePostFeature.readOnlyBean.checkin.ReadOnlyTest

  Test test() PASSED

xmlobject.schematypes.checkin.EnumTests

  Test testEnumRestriction() PASSED
  Test testReport1() PASSED
  Test testReport2() PASSED
  Test testReport3() PASSED

xmlobject.schematypes.checkin.GDateTests

  Test testBigGDurations() PASSED
  Test testFailure() PASSED
  Test testAPI() PASSED
  Test testOrder() PASSED
  Test testValidDuration() PASSED
  Test testGregorianCalendar() PASSED
  Test test24hDates() PASSED
  Test testInvalidGDurations() PASSED
  Test testEmptyDuration() PASSED
  Test testAddAndSubtractDuration() PASSED
  Test testYearStartingWith0() PASSED
  Test testSuccess() PASSED

xmlobject.schematypes.checkin.IntTests

  Test testLatLong() PASSED

xmlobject.schematypes.checkin.NumeralsTests

  Test testNumerals() PASSED

xmlobject.schematypes.checkin.QNameTests

  Test testQName() PASSED

xmlobject.schematypes.checkin.SchemaTypesTests

  Test testSourceName() PASSED
  Test testRead() PASSED
  Test testWriteRead() PASSED
  Test testStoreWrite() PASSED
  Test testDefaults() PASSED

xmlobject.schematypes.detailed.ListAndUnionTests

  Test testUnionSetters() PASSED
  Test testListGetters() PASSED
  Test testUnionGetters() PASSED
  Test testListSetters() PASSED
  Test testUnionArray() PASSED

xmlobject.schematypes.detailed.QNameSetTest

  Test testQNameSets() PASSED

xmlobject.usertype.averageCase.checkin.AverageTest

  Test testBadInput() PASSED
  Test test() PASSED

xmlobject.usertype.multipleItems.checkin.AverageTest

  Test testBadInputGetIthBad() PASSED
  Test testBadInput() PASSED
  Test testBadInputGetIthGood() PASSED
  Test testArrayGetSet() PASSED
  Test test() PASSED
  Test testIthGetSet() PASSED

xmlobject.xmlloader.detailed.JapaneseTextTest

  testEncoding(String)

    Test [1] pr-xml-euc-jp.xml PASSED
    Test [2] pr-xml-iso-2022-jp.xml PASSED
    Test [3] pr-xml-little-endian.xml PASSED
    Test [4] pr-xml-shift_jis.xml PASSED
    Test [5] pr-xml-utf-8.xml PASSED
    Test [6] pr-xml-utf-16.xml PASSED
    Test [7] weekly-euc-jp.xml PASSED
    Test [8] weekly-iso-2022-jp.xml PASSED
    Test [9] weekly-little-endian.xml PASSED
    Test [10] weekly-shift_jis.xml PASSED
    Test [11] weekly-utf-8.xml PASSED
    Test [12] weekly-utf-16.xml PASSED
    Test [13] prefix_test.xml PASSED

xmlobject.xmlloader.detailed.ParseTest

  Test testErrorListener() PASSED
  Test testLoadStripWhitespace() PASSED
  Test testPrefixNotDefined() PASSED
  Test testLoadDiscardDocumentElement() PASSED
  Test testParsingDOMWithDTD() PASSED

xmlobject.xmlloader.detailed.XmlLoaderBvtTest

  Test testCastDocument() PASSED

xmlobject.xmlloader.detailed.XmlLoaderMiscTest

  Test testTypeForClass() PASSED
  Test testTypeLoaderForClassLoader() PASSED
  Test testGetContextTypeLoader() PASSED (1.7s)
  Test testNewInstance() PASSED
  Test testGetBuiltInTypeSystem() PASSED

xmlobject.xmlloader.detailed.XmlStreamBeanReader

  Test testXMLStreamReaderLoader() PASSED
  Test testXmlStreamReaderException() PASSED

xmltokensource.detailed.NewDomNodeTest

  Test testNewDomNodeRoundTrip() PASSED
  Test testNewDomNode() PASSED
  Test testNewDomNodeWithOptions() PASSED
  Test testNewDomNodeWithNamespace() PASSED

xmltokensource.detailed.PrettyPrintNamespaceTest

  Test testWithInstanceFromSchema() PASSED
  Test testWithNewInstance() PASSED

xmltokensource.detailed.RoundTripLoaderTest

  Test testNewDomNodeWithOptionsRoundTrip() PASSED
  Test testXmlTextWithOptionsRoundTrip() PASSED
  Test testNewInputStreamRoundTrip() PASSED
  Test testNewDomNodeRoundTrip() PASSED
  Test testXmlTextRoundTrip() PASSED
  Test testNewInputStreamWithOptionsRoundTrip() PASSED

xmltokensource.detailed.XmlTextTest

  Test testSavePrettyPrint() PASSED
  Test testXmlTextFromTEXT() PASSED
  Test testSAVENAMESPACESFIRST() PASSED
  Test testSavePrettyPrintIndent3() PASSED
  Test testSTARTDOCvsFirstChild() PASSED
  Test testSaveSyntheticDocumentElement() PASSED
  Test testXmlTextFromTEXTafterEND() PASSED
  Test testSavePrettyPrintIndentNeg1() PASSED
  Test testSAVENAMESPACESlast() PASSED
  Test testDefaultNamespace() PASSED

SUCCESS: Executed 3041 tests in 4m 19s (170 skipped)


> 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]

Reply via email to