Bug#439479: libcommons-modeler-java: FTBFS: tests failed
Lucas Nussbaum
lucas at lucas-nussbaum.net
Sat Aug 25 08:31:44 UTC 2007
Package: libcommons-modeler-java
version: 2.0.1-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20070823 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Relevant part:
compile.tests:
[javac] Compiling 7 source files to /build/user/libcommons-modeler-java-2.0.1/target/tests
[javac] ----------
[javac] 1. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 33)
[javac] import junit.framework.Test;
[javac] ^^^^^
[javac] The import junit cannot be resolved
[javac] ----------
[javac] 2. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 34)
[javac] import junit.framework.TestCase;
[javac] ^^^^^
[javac] The import junit cannot be resolved
[javac] ----------
[javac] 3. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 35)
[javac] import junit.framework.TestSuite;
[javac] ^^^^^
[javac] The import junit cannot be resolved
[javac] ----------
[javac] 4. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 45)
[javac] public class RegistryTestCase extends TestCase {
[javac] ^^^^^^^^
[javac] TestCase cannot be resolved to a type
[javac] ----------
[javac] 5. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 67)
[javac] super(name);
[javac] ^^^^^^^^^^^^
[javac] The constructor Object(String) is undefined
[javac] ----------
[javac] 6. WARNING in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 80)
[javac] registry = Registry.getRegistry();
[javac] ^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getRegistry() from the type Registry is deprecated
[javac] ----------
[javac] 7. WARNING in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/Registry
[javac] TestCase.java (at line 85)
[javac] Registry.loadRegistry(stream);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method loadRegistry(InputStream) from the type Registry is deprecated
[javac] ----------
[javac] 8. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 95)
[javac] public static Test suite() {
[javac] ^^^^
[javac] Test cannot be resolved to a type
[javac] ----------
[javac] 9. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 97)
[javac] return (new TestSuite(RegistryTestCase.class));
[javac] ^^^^^^^^^
[javac] TestSuite cannot be resolved to a type
[javac] ----------
[javac] 10. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 122)
[javac] assertNotNull("Found HttpConnector managed bean");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 11. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 126)
[javac] assertNotNull("Found HttpConnector ModelMBeanInfo", info);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, ModelMBeanInfo) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 12. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 130)
[javac] assertNotNull("Found HttpConnector acceptCount info", mmainfo);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, ModelMBeanAttributeInfo) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 13. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 134)
[javac] assertNotNull("Found HttpConnector acceptCount descriptor", desc);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, Descriptor) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 14. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 150)
[javac] assertNotNull("Found HttpConnector managed bean");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 15. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 154)
[javac] assertNotNull("Found HttpConnector ModelMBeanInfo", info);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, ModelMBeanInfo) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 16. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 158)
[javac] assertNotNull("Found HttpConnector MBeanConstructorInfo array", mcinfo);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, MBeanConstructorInfo[]) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 17. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 159)
[javac] assertEquals("Found HttpConnector MBeanConstructorInfo entry",
[javac] ^^^^^^^^^^^^
[javac] The method assertEquals(String, int, int) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 18. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 168)
[javac] assertNotNull("Found HttpConnector constructor descriptor", desc);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, Descriptor) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 19. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 185)
[javac] assertNotNull("Found HttpConnector managed bean");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 20. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 189)
[javac] assertNotNull("Found HttpConnector fields");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 21. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 202)
[javac] assertNotNull("Found attribute");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 22. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 206)
[javac] assertNotNull("Found attribute fields");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 23. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 219)
[javac] assertNotNull("Found constructor");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 24. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 223)
[javac] assertNotNull("Found constructor fields");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 25. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 236)
[javac] assertNotNull("Found notification");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 26. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 240)
[javac] assertNotNull("Found notification fields");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 27. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 253)
[javac] assertNotNull("Found operation");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 28. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 257)
[javac] assertNotNull("Found operation fields");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 29. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 271)
[javac] assertNotNull("Found HttpConnector managed bean");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 30. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 275)
[javac] assertNotNull("Found HttpConnector ModelMBeanInfo", info);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, ModelMBeanInfo) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 31. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 278)
[javac] assertEquals("Correct className",
[javac] ^^^^^^^^^^^^
[javac] The method assertEquals(String, String, String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 32. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 281)
[javac] assertEquals("Correct description",
[javac] ^^^^^^^^^^^^
[javac] The method assertEquals(String, String, String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 33. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 287)
[javac] assertNotNull("Found HttpConnector MBeanDescriptor", desc);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, Descriptor) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 34. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 303)
[javac] assertNotNull("Found HttpConnector managed bean");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 35. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 307)
[javac] assertNotNull("Found HttpConnector ModelMBeanInfo", info);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, ModelMBeanInfo) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 36. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 311)
[javac] assertNotNull("Found HttpConnector problem info", mmninfo);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, ModelMBeanNotificationInfo) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 37. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 315)
[javac] assertNotNull("Found HttpConnector problem descriptor", desc);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, Descriptor) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 38. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 331)
[javac] assertNotNull("Found HttpConnector managed bean");
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 39. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 335)
[javac] assertNotNull("Found HttpConnector ModelMBeanInfo", info);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, ModelMBeanInfo) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 40. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 339)
[javac] assertNotNull("Found HttpConnector initialize info", mmoinfo);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, ModelMBeanOperationInfo) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 41. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 343)
[javac] assertNotNull("Found HttpConnector initialize descriptor", desc);
[javac] ^^^^^^^^^^^^^
[javac] The method assertNotNull(String, Descriptor) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 42. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 389)
[javac] assertTrue("Found name " + name, found);
[javac] ^^^^^^^^^^
[javac] The method assertTrue(String, boolean) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 43. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 390)
[javac] assertEquals("Correct name " + name + " value",
[javac] ^^^^^^^^^^^^
[javac] The method assertEquals(String, Object, Object) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 44. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryTestCase.java (at line 404)
[javac] assertEquals("name=" + name + " value",
[javac] ^^^^^^^^^^^^
[javac] The method assertEquals(String, Object, Object) is undefined for the type RegistryTestCase
[javac] ----------
[javac] 45. ERROR in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/RegistryT
[javac] estCase.java (at line 410)
[javac] fail("Cannot find field name=" + name + " and value=" + value);
[javac] ^^^^
[javac] The method fail(String) is undefined for the type RegistryTestCase
[javac] ----------
[javac] ----------
[javac] 46. WARNING in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/demo/Demo.java (at line 85)
[javac] private static Demo demo = null;
[javac] ^^^^
[javac] The field Demo.demo is never read locally
[javac] ----------
[javac] 47. WARNING in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/demo/Demo.java (at line 302)
[javac] Registry.loadRegistry(stream);
[javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[javac] The method loadRegistry(InputStream) from the type Registry is deprecated
[javac] ----------
[javac] 48. WARNING in /build/user/libcommons-modeler-java-2.0.1/src/test/org/apache/commons/modeler/demo/De
[javac] mo.java (at line 304)
[javac] registry = Registry.getRegistry();
[javac] ^^^^^^^^^^^^^^^^^^^^^^
[javac] The method getRegistry() from the type Registry is deprecated
[javac] ----------
[javac] 48 problems (43 errors, 5 warnings)
BUILD FAILED
/build/user/libcommons-modeler-java-2.0.1/build.xml:303: Compile failed; see the compiler error output for details.
Total time: 1 second
make: *** [debian/stamp-ant-check] Error 1
The full build log is available from
http://people.debian.org/~lucas/logs/2007/08/23
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment. Internet was not accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-java-maintainers
mailing list