See 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/98/display/redirect?page=changes>

Changes:

[PJ Fanning] add test case that shows issue (disabled)


------------------------------------------
[...truncated 223.52 KiB...]

  Test test() PASSED

xmlobject.extensions.interfaceFeature.methodNameCollision.checkin.NameCollisionTest

  Test test() PASSED

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 testFailure() PASSED
  Test testAPI() PASSED
  Test testOrder() PASSED
  Test testValidDuration() PASSED
  Test testGregorianCalendar() PASSED
  Test test24hDates() 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 (1.1s)

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 2964 tests in 4m (170 skipped)


> Task :check
> Task :srcDistTar
> Task :jacocoTestReport
> Task :srcDistZip
> Task :jenkins

> Task :sonar
08:05:55,515 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is 
logback-classic version ?
08:05:55,517 |-INFO in ch.qos.logback.classic.util.ContextInitializer@67197794 
- No custom configurators were discovered as a service.
08:05:55,517 |-INFO in ch.qos.logback.classic.util.ContextInitializer@67197794 
- Trying to configure with 
ch.qos.logback.classic.joran.SerializedModelConfigurator
08:05:55,519 |-INFO in ch.qos.logback.classic.util.ContextInitializer@67197794 
- Constructed configurator of type class 
ch.qos.logback.classic.joran.SerializedModelConfigurator
08:05:55,520 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could 
NOT find resource [logback-test.scmo]
08:05:55,520 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could 
NOT find resource [logback.scmo]
08:05:55,524 |-INFO in ch.qos.logback.classic.util.ContextInitializer@67197794 
- ch.qos.logback.classic.joran.SerializedModelConfigurator.configure() call 
lasted 1 milliseconds. ExecutionStatus=INVOKE_NEXT_IF_ANY
08:05:55,524 |-INFO in ch.qos.logback.classic.util.ContextInitializer@67197794 
- Trying to configure with ch.qos.logback.classic.util.DefaultJoranConfigurator
08:05:55,525 |-INFO in ch.qos.logback.classic.util.ContextInitializer@67197794 
- Constructed configurator of type class 
ch.qos.logback.classic.util.DefaultJoranConfigurator
08:05:55,525 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could 
NOT find resource [logback-test.xml]
08:05:55,526 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found 
resource [logback.xml] at 
[jar:file:/home/jenkins/.sonar/cache/98e939b080b6ea5c0a925515fe7d4150/sonarcloud-scanner-engine-11.15.0.777.jar!/logback.xml]
08:05:55,534 |-INFO in 
ch.qos.logback.core.joran.spi.ConfigurationWatchList@750bfb76 - URL 
[jar:file:/home/jenkins/.sonar/cache/98e939b080b6ea5c0a925515fe7d4150/sonarcloud-scanner-engine-11.15.0.777.jar!/logback.xml]
 is not of type file
08:05:55,619 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [org.apache.commons.beanutils.converters] to WARN
08:05:55,619 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [org.eclipse.jgit.internal.storage.file] to INFO
08:05:55,619 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [org.springframework] to INFO
08:05:55,619 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger 
[org.springframework.context.annotation.AnnotationConfigApplicationContext] to 
ERROR
08:05:55,619 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [org.sonar.core.platform.PriorityBeanFactory] to INFO
08:05:55,619 |-INFO in 
ch.qos.logback.core.model.processor.DefaultProcessor@6714ec93 - End of 
configuration.
08:05:55,620 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2d039b1a 
- Registering current configuration as safe fallback point
08:05:55,620 |-INFO in ch.qos.logback.classic.util.ContextInitializer@67197794 
- ch.qos.logback.classic.util.DefaultJoranConfigurator.configure() call lasted 
95 milliseconds. ExecutionStatus=DO_NOT_INVOKE_NEXT_IF_ANY
08:05:55,672 |-WARN in Logger[org.sonar.batch.bootstrapper.EnvironmentConfig] - 
No appenders present in context [default] for logger 
[org.sonar.batch.bootstrapper.EnvironmentConfig].
08:05:55,686 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler 
- Processing appender named [STDOUT]
08:05:55,686 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler 
- About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
08:05:55,700 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler 
- Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] 
for [encoder] property
08:05:55,739 |-INFO in 
ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level 
of ROOT logger to INFO
08:05:55,740 |-INFO in 
ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching 
appender named [STDOUT] to Logger[ROOT]
08:05:55,741 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [org.apache.commons.beanutils.converters] to WARN
08:05:55,741 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [nl.altindag.ssl.util.CertificateUtils] to INFO
08:05:55,741 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [org.eclipse.jgit.internal.storage.file] to INFO
08:05:55,741 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [org.springframework] to INFO
08:05:55,741 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger 
[org.springframework.context.annotation.AnnotationConfigApplicationContext] to 
ERROR
08:05:55,741 |-INFO in 
ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of 
logger [org.sonar.core.platform.PriorityBeanFactory] to INFO
08:05:55,741 |-INFO in 
ch.qos.logback.core.model.processor.DefaultProcessor@10aecf9 - End of 
configuration.
08:05:55,742 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2bf067e5 
- Registering current configuration as safe fallback point

Invalid character encountered in file 
<https://ci-builds.apache.org/job/POI/job/POI-XMLBeans-DSL-Sonar/ws/src/main/java/org/apache/xmlbeans/impl/schema/StscChecker.java>
 at line 348 for encoding UTF-8. Please fix file content or configure the 
encoding to be used using property 'sonar.sourceEncoding'.

> 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'.
> Fail to request 
> https://sonarcloud.io/api/ce/submit?organization=apache&projectKey=apache_xmlbeans&projectName=xmlbeans

* 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.3/userguide/command_line_interface.html#sec:command_line_warnings
 in the Gradle documentation.

BUILD FAILED in 14m 45s
48 actionable tasks: 45 executed, 1 from cache, 2 up-to-date
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: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to