[JIRA] (JENKINS-15895) Job stuck collecting compiler warnings with the eclipse compiler
Stéphane Nicoll commented on JENKINS-15895 Job stuck collecting compiler warnings with the eclipse compiler it does work with only the Javac compiler as the problem is in the eclipse parser it seems. I can only use the Javac compiler and I get a proper list of warnings. Thanks! (Hint: maybe we should document somewhere that Maven-based jobs using the jdt compiler do not need to use the eclipse parser) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collecting compiler warnings with the eclipse compiler
Stéphane Nicoll commented on JENKINS-15895 Job stuck collecting compiler warnings with the eclipse compiler I am using a maven-based job. According to JENINS-15933, eclipse would be detected automatically as far as I understand. That's probably not what I want. By the way, I am not so sure that it's a performance problem, really. Parsing 4000 lines in more than 2 hours, something must definitely be wrong. Thanks. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collecting compiler warnings with the eclipse compiler
Stéphane Nicoll commented on JENKINS-15895 Job stuck collecting compiler warnings with the eclipse compiler [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ com.bsb.fluid.core.ui-incubator --- [INFO] Compiling (JDT) 26 source files to C:\stuff\ci\jenkins\jobs\incubator-fluid\workspace\core\com.bsb.fluid.core.ui-incubator\target\test-classes [WARNING] C:\stuff\ci\jenkins\jobs\incubator-fluid\workspace\core\com.bsb.fluid.core.ui-incubator\target\generated-sources\test-annotations\com\bsb\fluid\test\core\ui\task\MDummyPersonCrudTaskController.java:[34,0] Type safety: Unchecked invocation cast(PathFactory) of the generic method cast(PathFactoryA) of type BasePathDummyPersonCrudTaskController [WARNING] C:\stuff\ci\jenkins\jobs\incubator-fluid\workspace\core\com.bsb.fluid.core.ui-incubator\target\generated-sources\test-annotations\com\bsb\fluid\test\core\ui\task\MDummyPersonCrudTaskController.java:[34,0] Type safety: The _expression_ of type MDefaultCrudTaskController needs unchecked conversion to conform to MDefaultCrudTaskControllerPerson,InMemoryCrudTaskEntityHandlerPerson [WARNING] C:\stuff\ci\jenkins\jobs\incubator-fluid\workspace\core\com.bsb.fluid.core.ui-incubator\target\generated-sources\test-annotations\com\bsb\fluid\test\core\ui\task\MDummyPersonCrudTaskController.java:[34,0] Type safety: Unchecked invocation type(ClassPerson, ClassInMemoryCrudTaskEntityHandler) of the generic method type(ClassMT, ClassMH) of type MDefaultCrudTaskController [WARNING] C:\stuff\ci\jenkins\jobs\incubator-fluid\workspace\core\com.bsb.fluid.core.ui-incubator\target\generated-sources\test-annotations\com\bsb\fluid\test\core\ui\task\MDummyPersonCrudTaskController.java:[34,0] Type safety: The _expression_ of type PathFactory needs unchecked conversion to conform to PathFactoryMDefaultCrudTaskControllerPerson,InMemoryCrudTaskEntityHandlerPerson mojoSucceeded org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-testCompile) mojoStarted org.apache.maven.plugins:maven-surefire-plugin:2.12(default-test) [INFO] This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collecting compiler warnings with the eclipse compiler
Stéphane Nicoll commented on JENKINS-15895 Job stuck collecting compiler warnings with the eclipse compiler Sorry it took so long to get those info. Let me know if you need anything else. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collecting compiler warnings with the eclipse compiler
Stéphane Nicoll commented on JENKINS-15895 Job stuck collecting compiler warnings with the eclipse compiler 350kb. After 1h15, it is still on at hudson.plugins.warnings.parser.RegexpParser.findAnnotations(RegexpParser.java:86) Seems a lot for ~4000 lines This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collecting compiler warnings with the eclipse compiler
Stéphane Nicoll updated JENKINS-15895 Job stuck collecting compiler warnings with the eclipse compiler The compiler warnings. They all relates to Java source files. I don't know what you mean by relative path. Change By: Stéphane Nicoll (26/Nov/12 7:52 AM) Attachment: compiler-warnings.png This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collecting compiler warnings with the eclipse compiler
Stéphane Nicoll updated JENKINS-15895 Job stuck collecting compiler warnings with the eclipse compiler Change By: Stéphane Nicoll (26/Nov/12 7:54 AM) Attachment: compiler-warnings-2.png This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collecting compiler warnings with the eclipse compiler
Stéphane Nicoll updated JENKINS-15895 Job stuck collecting compiler warnings with the eclipse compiler Change By: Stéphane Nicoll (23/Nov/12 1:18 PM) Summary: Jobstuck collection collecting compilerwarningswiththeeclipsecompiler This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collection compiler warnings with the eclipse compiler
Stéphane Nicoll updated JENKINS-15895 Job stuck collection compiler warnings with the eclipse compiler Change By: Stéphane Nicoll (22/Nov/12 3:37 PM) Description: Ihaveamavenprojectstylewiththefollowingconfigurationforthemavencompilerplugin{code:java}pluginartifactIdmaven-compiler-plugin/artifactIdversion2.3.2/versionconfigurationsource1.6/sourcetarget1.6/targetcompilerIdjdt/compilerIdshowWarningstrue/showWarnings/configuration/plugin{code}Thejenkinsconfigscanforcompilerwarningsusingtwoparsers:EclipseJavacompilerandJavacompiler.Noneoftheadvancedoptionsareenabled(seescrenshot).Ihaveanotsobigprojectwitharound20compilerwarnings.IamrunningJenkins1.459withthewarningsplugin3.26andthisisworkingfine(thegraphisgenerated,newwarningsarefound,etc).IfIswitchtothenewconfiguration(andthatsbeenalongtimeIwanttoupgrade),thejobisstuckwhenparsingthewarnings.ThisisexactlysimilartoJENKINS-10097.Seetheconfigurationof1.459withthelatestwarningsplugins. Alsoattachedathreadsdump. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collection compiler warnings with the eclipse compiler
Stéphane Nicoll updated JENKINS-15895 Job stuck collection compiler warnings with the eclipse compiler Change By: Stéphane Nicoll (22/Nov/12 3:38 PM) Attachment: config-491-warnings-4.18.png This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collection compiler warnings with the eclipse compiler
Stéphane Nicoll commented on JENKINS-15895 Job stuck collection compiler warnings with the eclipse compiler Hi, Sorry I was in the middle of updating this issue and the network went down. The only threadump I can attach is from my-jenkins:8080/threadDump and I haven't found any useful information there. Do you have a way to generate a reliable thread dump of the process? The warnings are all in java source files. I am attaching the config for the instance that is stuck now. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collection compiler warnings with the eclipse compiler
Stéphane Nicoll updated JENKINS-15895 Job stuck collection compiler warnings with the eclipse compiler Change By: Stéphane Nicoll (22/Nov/12 7:36 AM) Attachment: config-459-warnings-3.26.png This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira
[JIRA] (JENKINS-15895) Job stuck collection compiler warnings with the eclipse compiler
Stéphane Nicoll created JENKINS-15895 Job stuck collection compiler warnings with the eclipse compiler Issue Type: Bug Assignee: Ulli Hafner Attachments: config-459-warnings-3.26.png Components: warnings Created: 22/Nov/12 7:35 AM Description: I have a maven project style with the following configuration for the maven compiler plugin plugin artifactIdmaven-compiler-plugin/artifactId version2.3.2/version configuration source1.6/source target1.6/target compilerIdjdt/compilerId showWarningstrue/showWarnings /configuration /plugin The jenkins config scan for compiler warnings using two parsers: Eclipse Java compiler and Java compiler. None of the advanced options are enabled (see screnshot). I have a not so big project with around 20 compiler warnings. I am running Jenkins 1.459 with the warnings plugin 3.26 and this is working fine (the graph is generated, new warnings are found, etc). If I switch to the new configuration (and that's been a long time I want to upgrade), the job is stuck when parsing the warnings. This is exactly similar to JENKINS-10097. See the configuration of 1.459 with the latest warnings plugins. Also attached a threads dump. Environment: Jenkins 1.491 - Warnings plugin 4.18 - Static Analysis Utilities 1.48 - Violations 0.7.10 - Dashboard view 2.2 Project: Jenkins Priority: Major Reporter: Stéphane Nicoll This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira