Hi, I see these tests fail on both Windows and Linux. What gives? Who checked in this code without running the tests?! Chris PS: Does anyone know why there's that SearchIndex warning appearing, but on Linux only? zope-tests@squishdot.org wrote:
====================================================================== Python Version:2.2.3 (#1, Jun 10 2003, 13:52:48) [GCC 2.95.2 20000220 (Debian GNU/Linux)]
Modules included: Zope (HEAD)
Warning: no test input files found!!! /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/SearchIndex/__init__.py:19: DeprecationWarning: The usage of the SearchIndex package is deprecated since Zope 2.4. This package is only kept for backwards compatibility for a while and will go away in a future release.
Please use instead the re-factored modules in Products/PluginIndexes.
warnings.warn("The usage of the SearchIndex package is deprecated since \ /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/TALGenerator.py:870: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title"). File None at row, column (1, 0) Attributes name , DeprecationWarning) /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/TALGenerator.py:862: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title"). File None at row, column (14, 0) Attributes name title , DeprecationWarning) /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/TALGenerator.py:862: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title"). File None at row, column (17, 0) Attributes name title , DeprecationWarning) /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/TALGenerator.py:870: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title"). File None at row, column (1, 0) Attributes value , DeprecationWarning) /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/TALGenerator.py:870: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title"). File None at row, column (1, 0) Attributes alt , DeprecationWarning) /stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/TAL/TALGenerator.py:870: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title"). File None at row, column (5, 3) Attributes alt , DeprecationWarning) ====================================================================== ERROR: testSetupServers (testStarter.ZopeStarterTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "testStarter.py", line 166, in testSetupServers File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/Zope/Startup/__init__.py", line 186, in setupServers raise ZConfig.ConfigurationError(socket_err ConfigurationError: There was a problem starting a server of type "HTTPServer". This may mean that your user does not have permission to bind to the port which the server is trying to use or the port may already be in use by another application. (Address already in use)
====================================================================== ERROR: test_fcgi_factory (test_config.ZServerConfigurationTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 113, in test_fcgi_factory factory = self.load_factory("""\ File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory StringIO.StringIO(text)) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile return _get_config_loader(schema, overrides).loadFile(file, url) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader loader = ConfigLoader(schema) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__ if schema.isabstract(): AttributeError: 'NoneType' object has no attribute 'isabstract'
====================================================================== ERROR: test_ftp_factory (test_config.ZServerConfigurationTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 135, in test_ftp_factory factory = self.load_factory("""\ File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory StringIO.StringIO(text)) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile return _get_config_loader(schema, overrides).loadFile(file, url) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader loader = ConfigLoader(schema) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__ if schema.isabstract(): AttributeError: 'NoneType' object has no attribute 'isabstract'
====================================================================== ERROR: test_http_factory (test_config.ZServerConfigurationTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 66, in test_http_factory factory = self.load_factory("""\ File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory StringIO.StringIO(text)) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile return _get_config_loader(schema, overrides).loadFile(file, url) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader loader = ConfigLoader(schema) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__ if schema.isabstract(): AttributeError: 'NoneType' object has no attribute 'isabstract'
====================================================================== ERROR: test_icp_factory (test_config.ZServerConfigurationTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 161, in test_icp_factory factory = self.load_factory("""\ File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory StringIO.StringIO(text)) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile return _get_config_loader(schema, overrides).loadFile(file, url) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader loader = ConfigLoader(schema) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__ if schema.isabstract(): AttributeError: 'NoneType' object has no attribute 'isabstract'
====================================================================== ERROR: test_monitor_factory (test_config.ZServerConfigurationTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 148, in test_monitor_factory factory = self.load_factory("""\ File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory StringIO.StringIO(text)) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile return _get_config_loader(schema, overrides).loadFile(file, url) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader loader = ConfigLoader(schema) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__ if schema.isabstract(): AttributeError: 'NoneType' object has no attribute 'isabstract'
====================================================================== ERROR: test_pcgi_factory (test_config.ZServerConfigurationTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 104, in test_pcgi_factory factory = self.load_unix_domain_factory("""\ File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 57, in load_unix_domain_factory factory = self.load_factory(text % fn) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZServer/tests/test_config.py", line 48, in load_factory StringIO.StringIO(text)) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 45, in loadConfigFile return _get_config_loader(schema, overrides).loadFile(file, url) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 55, in _get_config_loader loader = ConfigLoader(schema) File "/stuff/chrisw/ZopeTests/sandbox/Zope/lib/python/ZConfig/loader.py", line 163, in __init__ if schema.isabstract(): AttributeError: 'NoneType' object has no attribute 'isabstract'
====================================================================== ERROR: test_webdav_source_factory (test_config.ZServerConfigurationTestCase) - <truncated>
_______________________________________________ Zope-Coders mailing list Zope-Coders@zope.org http://mail.zope.org/mailman/listinfo/zope-coders
Chris Withers writes:
I see these tests fail on both Windows and Linux.
What gives? Who checked in this code without running the tests?!
As I've indicated previously, I don't see these tests failing on Linux at all. -Fred -- Fred L. Drake, Jr. <fred at zope.com> PythonLabs at Zope Corporation
Fred L. Drake, Jr. wrote:
Chris Withers writes:
I see these tests fail on both Windows and Linux.
What gives? Who checked in this code without running the tests?!
As I've indicated previously, I don't see these tests failing on Linux at all.
Well, I see an identical set of tests fail and warnings from the stuff mentioned in the subject line on both Windows and Linux. That makes me kinda suspicious ;-) Can I take a peak at the config.xml you're using for autotester.py? What versions of python are you using for Python 2.1 and Python 2.2 resepctively? cheers, Chris
Chris Withers writes:
Can I take a peak at the config.xml you're using for autotester.py?
I'm running "make ftest test" from the command line.
What versions of python are you using for Python 2.1 and Python 2.2 resepctively?
Python 2.2.3 for everything. -Fred -- Fred L. Drake, Jr. <fred at zope.com> PythonLabs at Zope Corporation
Fred L. Drake, Jr. wrote:
Chris Withers writes:
Can I take a peak at the config.xml you're using for autotester.py?
I'm running "make ftest test" from the command line.
Never heard of that, what does it do? What versions of Zope does it work with? On Linux I'm using: <build> <location>Zope</location> <command>./configure</command> <options>--with-python=/usr/local/bin/python2.2</options> </build> <build> <location>Zope</location> <command>make</command> <options>testinst</options> </build> <test> <location>Zope</location> <script>utilities/testrunner.py</script> <options>-v 0 -a</options> </test> Python Version:2.2.3 On Windows: <build> <location>Zope</location> <command>setup.py</command> <options>build_ext -i</options> </build> <test> <location>Zope</location> <script>utilities/testrunner.py</script> <options>-v 0 -a</options> </test> Python Version:2.2.3 Now, there doesn't seem to by anything in there which is gonna make this kinda difference from my point of view. Hmmm, maybe a PyXML version or something? Can you think of anything? I have to admit, I'm at a bit of a loss, although I can assure you those tests are failing for me on both platforms with fresh checkouts :-S cheers, Chris
participants (2)
-
Chris Withers -
Fred L. Drake, Jr.