Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32033

Reduce unit tests output

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.43, 2023.3
    • Component/s: Tests

      Description

      In order to speedup CI and reduce amount of useless information in tests output:

      A 2021 "Run unit test" step produces 102k output lines:

      • 4.3k ERROR
      • 27k WARN
      • 18.4k INFO (most from maven)
      • 53k others (stacks, maven output ..)

      1. Make sure tests are running at WARN level (stream importer ?)

      2. Remove obvious noises:

      - 19k   WARN  [Slf4jExceptionHandler$2] Cache should have been cleaned -> upgrade CQ KO, filter log4j -> OK
      
      - 5.2k  WARN  [TransientStorageComponent] Missing configuration for default transient store, using in-memory -> OK
       
      - 2k    ERROR [AbstractRuntimeService$1] NUXEO INSTANCE REGISTRATION FILE IS MISSING -> HF patch deployed, install pristine jar before -> OK
      
      - 713  WARN  [JavaUtilLoggingHelper$LogHandler] The XML schema [*.xsd] could not be found. This is very likely to break XML validation if XML validation is enabled. -> NXP-26400 -> KO
      
      - 228  ERROR [AutomationComponent] Operation chain with id 'zipTreeExportRendition' references unknown operation with id 'Document.Export'
       (same for xmlExportRendition) (for instance in RenditionJsonEnricherTest) -> OK
      
      - 228 ERROR [ComponentManagerImpl] Duplicate component name: service:org.nuxeo.runtime.avro  -> OK
        (same with service:org.nuxeo.runtime.avro.contrib)
      
      - 100 WARN  [StreamOrphanBlobGC$BlobGCComputation] Cannot delete blobs because ecm:blobKeys capabilty is missing on repository: test -> OK
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: