Uploaded image for project: 'XWiki Infrastructure'
  1. XWiki Infrastructure
  2. XINFRA-432

Test failures of xwiki-platform-bootstrap aren't reported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • ci.xwiki.org
    • None
    • Unknown
    • N/A
    • N/A

    Description

      The module xwiki-platform-bootstrap has failing frontend tests but they aren't reported on ci.xwiki.org. When building the module alone, you get the following output:

      [INFO] less/dropdowns.less
      [INFO]  63:2   ✖  Unexpected whitespace at end of line                                                           no-eol-whitespace                
      [INFO]  67:5   ✖  Expected "padding-top" to come before "border-top"                                             order/properties-order           
      [INFO]  74:3   ✖  Expected ".dropdown-menu > li > ul > li > a" to have no more than 4 compound selectors         selector-max-compound-selectors  
      [INFO]  74:11  ✖  Expected newline after ","                                                                     selector-list-comma-newline-after
      [INFO]  83:5   ✖  Expected ".dropdown-menu > li > ul > li > a:hover" to have no more than 4 compound selectors   selector-max-compound-selectors  
      [INFO]  83:5   ✖  Expected ".dropdown-menu > li > ul > li > a:focus" to have no more than 4 compound selectors   selector-max-compound-selectors  
      [INFO]  83:5   ✖  Expected ".dropdown-menu > li > ul > li > a:hover" to have no more than 2 type selectors       selector-max-type                
      [INFO]  83:5   ✖  Expected ".dropdown-menu > li > ul > li > a:focus" to have no more than 2 type selectors       selector-max-type
      [INFO] 
      [INFO] ✖ 8 problems
      [INFO] 
      [INFO] Warning: Task "stylelint:dist" failed. Use --force to continue.
      [INFO] 
      [INFO] Aborted due to warnings.
      [INFO] 
      [INFO] 
      [INFO] Execution Time (2025-06-17 17:41:25 UTC+2)
      [INFO] jshint:core     160ms  ▇▇▇ 6%
      [INFO] jshint:test     179ms  ▇▇▇▇ 7%
      [INFO] jscs:core       298ms  ▇▇▇▇▇▇ 11%
      [INFO] jscs:test       272ms  ▇▇▇▇▇ 10%
      [INFO] jscs:grunt       29ms  ▇ 1%
      [INFO] stylelint:dist   1.7s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 64%
      [INFO] Total 2.6s
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  01:05 min
      [INFO] Finished at: 2025-06-17T17:41:28+02:00
      [INFO] ------------------------------------------------------------------------
      [INFO] 61 goals, 61 executed
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.15.1:npm (npm-run-lint) on project xwiki-platform-bootstrap: Failed to run task: 'npm run lint' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 3 (Exit value: 3) -> [Help 1]
      [ERROR] 
      

      However, on Jenkins we use -Dmaven.test.failure.ignore and due to this Maven just continues and the test failure is completely ignored in the end.

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: