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 179861 - unstable test RepositoryValidation
Summary: unstable test RepositoryValidation
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2010-01-26 03:38 UTC by Alexander Simon
Modified: 2010-09-23 09:03 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 Alexander Simon 2010-01-26 03:38:04 UTC
Unstable difference between number of processor states.
For example Windows:
junit.framework.AssertionFailedError: OUTPUT Difference - check: diff C:\hudson\workspace\cnd-test-winxp\unit\work\org-netbeans-modules-cnd-repository\o.n.m.c.r.i.R\r-1\ModelBuiltFromRepository.out C:\hudson\workspace\cnd-test-winxp\unit\work\org-netbeans-modules-cnd-repository\o.n.m.c.r.i.R\r-1\ModelBuiltFromRepository.out.golden
Beginning of diff:
	 61615   	File C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	 61616   		Alias C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	 61617   		Model File C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	       + 		Number of states 2
	 61618 - 		Number of states 1
	 61619   		State [1316-1357][2277-2297]
	       + 		State [1296-1494][2277-2297]

Linux:
junit.framework.AssertionFailedError: OUTPUT Difference - check: diff /export/home/tester/hudson/workspace/cnd-test-ubuntu.x86_64/unit/work/org-netbeans-modules-cnd-repository/o.n.m.c.r.i.R/r-2/ModelBuiltFromRepository.out /export/home/tester/hudson/workspace/cnd-test-ubuntu.x86_64/unit/work/org-netbeans-modules-cnd-repository/o.n.m.c.r.i.R/r-2/ModelBuiltFromRepository.out.golden
Beginning of diff:
	 61616   	File /tmp/tester-cnd-test-downloads/pkg-config-0.23/glib-1.2.10/gmodule/gmodule-dl.c
	 61617   		Alias /tmp/tester-cnd-test-downloads/pkg-config-0.23/glib-1.2.10/gmodule/gmodule-dl.c
	 61618   		Model File /tmp/tester-cnd-test-downloads/pkg-config-0.23/glib-1.2.10/gmodule/gmodule-dl.c
	 61619 - 		Number of states 2
	       + 		Number of states 1
	 61620   		State [1316-1357][2277-2297]
	 61621 - 		State [1296-1494][2277-2297]
Comment 1 Quality Engineering 2010-02-03 21:50:14 UTC
Integrated into 'main-golden', will be available in build *201002040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/802f42c2186f
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: trying to fix BZ#179861: unstable test RepositoryValidation
Comment 2 Alexander Simon 2010-02-04 01:40:00 UTC
log with additional information:
Beginning of diff:
	  1   comparison 2 SAME   parse (1) C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	  2   	from C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule.c 
	  3   	valid=true, compile-context=true, cleaned=false  
	  4 - 	[1316-1357][2277-2297] keeping [PARSING]
	    + 	[1316-1357][2277-2297] keeping [[1316-1357][2277-2297]]
	  5 - pc state comparison SAME   parse (1) C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	    + pc state comparison WORSE   parse (1) C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	  6   	from C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule.c 
	  7   	valid=true, compile-context=true, cleaned=false  
	  8 - 	[1316-1357][2277-2297] keeping [PARSING]
	    + 	[1316-1357][2277-2297] keeping []
	  9 - scheduling   parse (1) C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	 10 - 	from C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule.c 
	 11 - 	valid=true, compile-context=true, cleaned=false  
	 12   	[1316-1357][2277-2297] keeping [PARSING]
Beginning of diff:
	 59866   	File C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	 59867   		Alias C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	 59868   		Model File C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dl.c
	 59869 - 		Number of states 2
	       + 		Number of states 1
	 59870   		State [1316-1357][2277-2297]
	 59871 - 		State [1316-1357][2277-2297]
	 59872   	File C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dld.c
	 59873   		Alias C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dld.c
	 59874   		Model File C:\Documents and Settings\av202691\Local Settings\Temp\av202691-cnd-test-downloads\pkg-config-0.23\glib-1.2.10\gmodule\gmodule-dld.c
Comment 3 Vladimir Voskresensky 2010-02-04 08:23:42 UTC
fixed:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=7b9a95553bdf
Comment 4 Quality Engineering 2010-02-04 22:32:47 UTC
Integrated into 'main-golden', will be available in build *201002050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7b9a95553bdf
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #179861: unstable test RepositoryValidation
Comment 5 Egor Ushakov 2010-09-17 12:08:57 UTC
Still unstable:
junit.framework.AssertionFailedError: OUTPUT Difference - check: diff C:\hudson\workspace\cnd-test-winxp\unit\work\org-netbeans-modules-cnd-repository\o.n.m.c.r.i.R\r-1\ModelBuiltFromRepository.out C:\hudson\workspace\cnd-test-winxp\unit\work\org-netbeans-modules-cnd-repository\o.n.m.c.r.i.R\r-1\ModelBuiltFromRepository.out.golden
Beginning of diff:
	 12208   FUNCTION DEFINITION parse_err_msg  [4900:1/172086-4903:2/172145] FunctionD
DImpl SCOPE: $Global$ 
	 12209       SIGNATURE parse_err_msg()
	 12210       UNIQUE NAME f:parse_err_msg()
	 12211 -     DECLARATION: parse_err_msg  [2082:1/108628-2082:34/108661]
	       +     DECLARATION: parse_err_msg  [152:1/5814-152:34/5847]
	 12212       PARAMETERS:
	 12213       RETURNS const *char TEXT=const char*  [4900:1/172086-4900:13/172098]
	 12214       STATEMENT COMPOUND  [4901:1/172115-4903:2/172145] SCOPE: parse_err_msg
Comment 6 Egor Ushakov 2010-09-20 07:59:18 UTC
another output from mac:
Beginning of diff:
	 16492   
	 16493   ========== Dumping model of FILE split.cpp
	 16494   Includes:
	 16495 - "compatibility.hpp" [6:1/108-6:29/136]
	       + "compatibility.hpp" <FAILED inclusion> [6:1/108-6:29/136]
	 16496   "litesql/split.hpp" <FAILED inclusion> [7:1/137-7:29/165]
	 16497   <string> <FAILED inclusion> [8:1/166-8:18/183]
	 16498   <string.h> <FAILED inclusion> [9:1/184-9:20/203]
Comment 7 Egor Ushakov 2010-09-20 09:10:13 UTC
addition to the previous comment:

58086   		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/persistent.cpp
	 58087   		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/postgresql.cpp
	 58088   		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/selectquery.cpp
	 58089 - 		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/split.cpp
	 58090   		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/sqlite3.cpp
	 58091   		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/string.cpp
	 58092   		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/updatequery.cpp
	 58126   		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/compatibility.hpp
	 58127   
	 58128   ========== Dumping links for file /var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/split.cpp
	 58129 - 	Output
	 58130 - 		/var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/compatibility.hpp
	 58131   
	 58132   ========== Dumping links for file /var/tmp/hudson1/tester-cnd-test-downloads/litesql-0.3.3/src/library/sqlite3.cpp
	 58133   	Output
Comment 8 Vladimir Voskresensky 2010-09-20 15:18:35 UTC
fix trying to find predictable fun decl
http://hg.netbeans.org/cnd-main/rev/000c816efcf3
Comment 9 Quality Engineering 2010-09-21 03:11:42 UTC
Integrated into 'main-golden', will be available in build *201009210000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/000c816efcf3
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #179861] unstable test RepositoryValidation
Comment 10 Quality Engineering 2010-09-23 03:00:44 UTC
Integrated into 'main-golden', will be available in build *201009230000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e242363151de
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fix for #179861: unstable test RepositoryValidation
Comment 11 Vladimir Voskresensky 2010-09-23 09:03:13 UTC
the last commit probably fixed it