ERROR: Failed to upload report - 500: An error has occurred. Please contact your administrator

21 views
Skip to first unread message

LnT

unread,
Nov 8, 2017, 3:03:31 AM11/8/17
to MySQL Users Group Philippines
Hi,

in Virtual machine 'A' - installed jenkins master 2.20 and SonarQube6.5.   
in Virutual Machine 'B' - installed  MySQL5.7.

SonarQube run as windows service and I see sonarqube default tables populated in MySQL DB.
Tried to run sonarqube scanned on source code files (js) from jenkins. Size of source code is about 30MB.


please find below tail log of SonarQube scanner

 ================================================================================
 INFO: CPD calculation finished
 INFO: Analysis report generated in 96690ms, dir size=108 MB
 INFO: Analysis reports compressed in 43993ms, zip size=34 MB
 INFO: ------------------------------------------------------------------------
 INFO: EXECUTION FAILURE
 INFO: ------------------------------------------------------------------------
 INFO: Total time: 11:42.237s
 INFO: Final Memory: 58M/1288M
 INFO: ------------------------------------------------------------------------
 ERROR: Error during SonarQube Scanner execution
 ERROR: Failed to upload report - 500: An error has occurred. Please contact your administrator
 ERROR:
 ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
 ERROR: SonarQube scanner exited with non-zero code: 1
 ================================================================================

I tried to increase max_allowed_packets in MySQL server

Before increase, max_allowed_packet value is like below
 ====================================================
 mysql> Select @@global.max_allowed_packet;
 +-----------------------------+
 | @@global.max_allowed_packet |
 +-----------------------------+
 |                     4194304 |
 +-----------------------------+
 1 row in set (0.00 sec)
 ====================================================
 
Updated F:\mysql\my.ini file in mysql server. Restarted Mysql server and sonarqube as well.
After increase, max_allowed_packet value is like below
 ====================================================
 mysql> Select @@global.max_allowed_packet;
 +-----------------------------+
 | @@global.max_allowed_packet |
 +-----------------------------+
 |                     4194304 |
 +-----------------------------+
 1 row in set (0.00 sec)
 ====================================================

I dont see max_allowed_packet value is getting changed.

Please help.

Regards,
LnT 


Reply all
Reply to author
Forward
0 new messages