[Testbot] FAILED (failures=17) : AT-1.5 Plone-3.1 Zope-2.10 Python-2.4.4

Archetypes Tests plone-tests at epy.co.at
Sun Mar 16 05:13:56 UTC 2008


Archetypes Tests : FAILED (failures=17)
AT-1.5 Plone-3.1 Zope-2.10 Python-2.4.4

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q -1 --config-file etc/zope.conf --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
Installing CMFCore ... done (0.046s)
Installing CMFDefault ... done (0.038s)
Installing CMFCalendar ... done (0.105s)
Installing CMFTopic ... done (0.074s)
Installing DCWorkflow ... done (0.115s)
Installing CMFActionIcons ... done (0.062s)
Installing CMFQuickInstallerTool ... done (0.137s)
Installing CMFFormController ... done (0.636s)
Installing GroupUserFolder ... done (0.989s)
Installing ZCTextIndex ... done (0.090s)
Installing CMFPlone ... done (3.999s)
Installing Archetypes ... done (0.182s)
Installing ATContentTypes ... done (0.075s)
Installing ATReferenceBrowserWidget ... done (0.021s)
Installing CMFDynamicViewFTI ... done (0.038s)
Installing ExternalEditor ... done (0.044s)
Installing ExtendedPathIndex ... done (0.053s)
Installing ResourceRegistries ... done (0.037s)
Installing SecureMailHost ... done (0.034s)
Installing CMFPlacefulWorkflow ... done (0.067s)
Installing PasswordResetTool ... done (0.077s)
Installing PluggableAuthService ... done (0.124s)
Installing PluginRegistry ... done (0.031s)
Installing PlonePAS ... done (0.041s)
Installing kupu ... done (0.819s)
Installing CMFEditions ... done (0.066s)
Installing CMFDiffTool ... done (0.046s)
Installing PloneLanguageTool ... done (0.061s)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/xmlconfig.py:323: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
Failed to import ZPsycopgDA
Failed to import ZMySQLDA
Parsing /home/stefan/autotest/temp/python24-zope210-cmf21-plone31/etc/zope.conf
Running unit tests:
  Ran 17 tests with 0 failures and 0 errors in 0.945 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 4.030 seconds.
/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 3.5. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
  Ran 74 tests with 0 failures and 0 errors in 3.180 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 15.322 seconds.
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Failure in test test_1 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 27, in test_1
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<img />' != '<img src="javascript:Alert(\'XSS\');" />'



Failure in test test_10 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 79, in test_10
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<div>test</div>' != '<div style="bacground:url(&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;">test</div>'



Failure in test test_11 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 84, in test_11
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<div>test</div>' != '<div style="bacground:url(v b  sc  ript:msgbox(\'XSS\')">test</div>'



Failure in test test_12 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 89, in test_12
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<img />' != '<img src="vbscript:msgbox(\'XSS\')" />'



Failure in test test_13 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 96, in test_13
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<img />' != '<img src="vb\n       sc\n       ript:msgbox(\'XSS\')" />'



Failure in test test_14 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 101, in test_14
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<a>test</a>' != '<a href="vbscript:Alert(\'XSS\')">test</a>'



Failure in test test_15 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 106, in test_15
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<div>div</div>' != '<div style="width: expression(window.location=\'http://www.dr.dk\';);">div</div>'



Failure in test test_16 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 111, in test_16
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<div>div</div>' != '<div style="width: ex pre ss   io n(window.location=\'http://www.dr.dk\';);">div</div>'



Failure in test test_17 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 120, in test_17
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<div>div</div>' != '<div style="width: ex\n       pre\n       ss\n       io\n       n(window.location=\'http://www.dr.dk\';);">div</div>'



Failure in test test_2 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 32, in test_2
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<img />' != '<img src="javascript:Alert(\'XSS\');" />'



Failure in test test_3 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 37, in test_3
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<img />' != '<img src="&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;" />'



Failure in test test_4 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 43, in test_4
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<img />' != '<img src="&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;" />'



Failure in test test_5 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 50, in test_5
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<img />' != '<img src="jav\n       asc\n       ript:Alert(\'XSS\');" />'



Failure in test test_6 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 56, in test_6
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<img />' != '<img src="jav asc ript:Alert(\'XSS\');" />'



Failure in test test_7 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 61, in test_7
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<a>test med a-tag</a>' != '<a href="&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;">test med a-tag</a>'



Failure in test test_8 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 66, in test_8
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<div>test</div>' != '<div style="bacground:url(jav asc ript:Alert(\'XSS\')">test</div>'



Failure in test test_9 (Products.PortalTransforms.tests.test_xss.TestXSSFilter)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 74, in test_9
    self.doTest(data_in, data_out)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone31/Products/PortalTransforms/tests/test_xss.py", line 20, in doTest
    self.assertEqual (data_out,html.getData())
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<div>test</div>' != '<div style="bacground:url(jav\n       asc\n       ript:\n       Alert(\'XSS\')">test</div>'

  Ran 503 tests with 17 failures and 0 errors in 144.511 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.783 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.020 seconds.
Total: 594 tests, 17 failures, 0 errors

FAILED (failures=17)




More information about the Testbot mailing list