This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine
Summary: failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks: 257152
  Show dependency tree
 
Reported: 2015-11-25 16:53 UTC by Vladimir Voskresensky
Modified: 2016-03-04 02:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2015-11-25 16:53:06 UTC
the test SelectModelTestCase.testSelectModelGetFunctions fails on Ubuntu for a long time
Comment 1 Vladimir Voskresensky 2015-11-25 16:53:15 UTC
org.netbeans.modules.cnd.modelimpl.csm.AstRendererException: 
/usr/include/stdio.h: undefined position : error: Empty function name.
	at org.netbeans.modules.cnd.modelimpl.csm.AstRendererException.throwAstRendererException(AstRendererException.java:81)
	at org.netbeans.modules.cnd.modelimpl.csm.FunctionDDImpl.create(FunctionDDImpl.java:105)
	at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:240)
	at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:122)
	at org.netbeans.modules.cnd.modelimpl.parser.ParserProviderImpl$Antlr2CppParser.render(ParserProviderImpl.java:240)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._parse(FileImpl.java:1157)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsedImpl(FileImpl.java:726)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:641)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(ParserThread.java:148)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:74)
	at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:92)
	at java.lang.Thread.run(Thread.java:745)
Comment 2 ilia 2015-12-15 14:28:47 UTC
Fixing in releases:

304996 6e1b00e69e6b | petrk | 2015-12-09 17:22 +0300 | Fixing #256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine
305073 67b8a35ad5ac | petrk | 2015-12-15 00:55 +0300 | Fixing #256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine

This bug is partially fixed. I mark this one as fixed and open a new one.
Comment 4 Quality Engineering 2015-12-16 02:30:55 UTC
Integrated into 'main-silver', will be available in build *201512160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d93425479e5e
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixing #256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine
(transplanted from 6e1b00e69e6b108bbc8ba0c940edc5bf3a6ee7ef)
Comment 5 Quality Engineering 2015-12-22 02:27:05 UTC
Integrated into 'main-silver', will be available in build *201512220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/aa98a7b66f14
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixing #257152 - was [Bug 256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine]
(transplanted from 981e71e3b94fe8df437ba1c168d4c5e9397dc718)
Comment 6 Vladimir Voskresensky 2015-12-22 16:14:55 UTC
verified.
other tasks are covered by https://netbeans.org/bugzilla/show_bug.cgi?id=257152
Comment 8 Quality Engineering 2016-01-28 02:34:21 UTC
Integrated into 'main-silver', will be available in build *201601280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f0eb0bdd5d93
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #257152 - was [Bug 256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine]
-- improved parser recovery
(transplanted from d8bc693d534dfab3b9fbb2eb5f030966518633be)
Comment 9 Quality Engineering 2016-01-29 02:37:22 UTC
Integrated into 'main-silver', will be available in build *201601290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8cdd1008a08e
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Additional fix for #257152 - was [Bug 256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine]
-- added simple recovery for C
(transplanted from 437517a2ae8804b2f2eb3a2a243c1120331f0caf)
Comment 10 Quality Engineering 2016-02-05 02:38:20 UTC
Integrated into 'main-silver', will be available in build *201602050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/74ee6ad1ca39
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #257152 - was [Bug 256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine] (with PetrK)
- recovery for C and C++ languages which doesn't break K&R support in C++ files
(transplanted from 1f9a0f817162b9f9de54decbf755f9a57cc1c1c6)
Comment 11 Quality Engineering 2016-02-06 03:32:48 UTC
Integrated into 'main-silver', will be available in build *201602060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e20c7343289f
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #257152 - was [Bug 256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine]
- rollback changes in grammar and mark tests as @Ignore
(transplanted from d94593afaea86b2adde8446d512915321979e1a1)
Comment 12 Quality Engineering 2016-03-04 02:06:59 UTC
Integrated into 'main-silver', will be available in build *201603040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/34efd66cc693
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: extra fix for #257152 - was [Bug 256791 - failing SelectModelTestCase.testSelectModelGetFunctions on Ubuntu test machine] (with PetrK)
- don't use system specific include paths (it makes tests unstable on some test machines)