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.
Choose ide.kit/**/MemoryValidationTest.java and try to provide it (my Hg revision is bddd19762029): 1. profile/profile others/Profile MemoryValidationTest.java 2. choose memory profiling Fails with: profile-test-single-nb: Profiler agent JVM arguments stored in property profiler.jvmargs Extra JVM arguments: -J-XX:+HeapDumpOnOutOfMemoryError -J-XX:HeapDumpPath=/nbsrc/java.kit/nbproject/private/profiler Profiler Agent: Initializing... Profiler Agent: Options: >/home/jarda/bin/netbeans/profiler3/lib,5140,10< Profiler Agent: Initialized succesfully Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 9) Profiler Agent: Established local connection with the tool Profiler Agent: Redefining 100 classes at idx 0, out of total 443 Profiler Agent: Redefining 100 classes at idx 100, out of total 443 Profiler Agent: Redefining 100 classes at idx 200, out of total 443 Profiler Agent: Redefining 100 classes at idx 300, out of total 443 Profiler Agent: Redefining 43 classes at idx 400, out of total 443 Testsuite: org.netbeans.test.ide.MemoryValidationTest Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec Null Test: Caused an ERROR org.netbeans.test.ide.MemoryValidationTest java.lang.ClassNotFoundException: org.netbeans.test.ide.MemoryValidationTest at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) Profiler Agent: Connection with agent closed Profiler Agent: Connection with agent closed Test org.netbeans.test.ide.MemoryValidationTest FAILED /nbsrc/nbbuild/templates/common.xml:832: The following error occurred while executing this line: /nbsrc/nbbuild/templates/common.xml:828: Some tests failed; see details above. BUILD FAILED (total time: 9 seconds)
Caused by incorrectly set test type. It's hardcoded to 'unit' but should be 'qa-functional'.
Fixed in profiler-main. http://hg.netbeans.org/profiler-main/rev/2465f45cf12b
Integrated into 'main-golden', will be available in build *200911031401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2465f45cf12b User: Jiri Sedlacek <jis@netbeans.org> Log: Bugfix #174733 - fixed profiling qa-functional tests in NB modules