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...] [0K[1m Test [22mtest()[32m PASSED[m [0K[1mxmlobject.extensions.interfaceFeature.methodNameCollision.checkin.NameCollisionTest[m [0K[1m Test [22mtest()[32m PASSED[m [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 [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 [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[33m (1.1s)[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 2964 tests in 4m (170 skipped)[m > 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