This issue has been created
There are 2 updates.
 
 
XWiki Infrastructure / cid:jira-generated-image-avatar-9906458d-5764-46b1-8656-a6d69aa841b0 XINFRA-432 Open

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

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-bd3f7f4f-5b7a-4d47-8fa0-ed29ccd9a9b9 Michael Hamann created this issue on 17/Jun/25 18:01
 
Summary: Test failures of xwiki-platform-bootstrap aren't reported
Issue Type: cid:jira-generated-image-avatar-9906458d-5764-46b1-8656-a6d69aa841b0 Bug
Assignee: Unassigned
Components: ci.xwiki.org
Created: 17/Jun/25 18:01
Priority: cid:jira-generated-image-static-major-e68993c8-24da-47f8-a1cb-b10bfc1889eb Major
Reporter: Michael Hamann
Description:

The module `xwiki-platform-boostrap` 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.

 
 

2 updates

 
cid:jira-generated-image-avatar-bd3f7f4f-5b7a-4d47-8fa0-ed29ccd9a9b9 Changes by Michael Hamann on 17/Jun/25 18:01
 
Description: The module ` {{ xwiki-platform- boostrap` bootstrap}} has failing frontend tests but they aren't reported on ci.xwiki.org. When building the module alone, you get the following output:

{noformat}
[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]
{noformat}

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.
 
cid:jira-generated-image-avatar-709af23d-4b6b-4845-9c51-1b14890df867 Changes by Simon Urli on 17/Jun/25 18:04
 
Priority: Major Blocker