[Zope-dev] buildbot failure in Zope on zope.app.zptpage

ct at gocept.com ct at gocept.com
Sat Jun 7 07:03:30 EDT 2008


The Buildbot has detected a new failure of zope.app.zptpage on Zope.
Full details are available at:
 http://zopebuildbot.whq.gocept.com/zope.app.zptpage/builds/95

Buildbot URL: http://zopebuildbot.whq.gocept.com/

Buildslave for this Build: local

Build Reason: The Nightly scheduler named 'zope.app.zptpage nightly' triggered this build
Build Source Stamp: [branch zope.app.zptpage/trunk] HEAD
Blamelist: 

BUILD FAILED: failed test
Logs are attached.

sincerely,
 -The Buildbot

-------------- next part --------------
A    build/bootstrap.py
A    build/buildout.cfg
A    build/CHANGES.txt
A    build/setup.py
A    build/src
A    build/src/zope
A    build/src/zope/app
A    build/src/zope/app/__init__.py
A    build/src/zope/app/zptpage
A    build/src/zope/app/zptpage/zptpage.py
A    build/src/zope/app/zptpage/tests
A    build/src/zope/app/zptpage/tests/test_zptpage.py
A    build/src/zope/app/zptpage/tests/__init__.py
A    build/src/zope/app/zptpage/tests/test_zptpageeval.py
A    build/src/zope/app/zptpage/browser
A    build/src/zope/app/zptpage/browser/url.txt
A    build/src/zope/app/zptpage/browser/zpt.gif
A    build/src/zope/app/zptpage/browser/zptpage.py
A    build/src/zope/app/zptpage/browser/collector266.txt
A    build/src/zope/app/zptpage/browser/preview.pt
A    build/src/zope/app/zptpage/browser/collector269.txt
A    build/src/zope/app/zptpage/browser/configure.zcml
A    build/src/zope/app/zptpage/browser/__init__.py
A    build/src/zope/app/zptpage/browser/tests.py
A    build/src/zope/app/zptpage/browser/inlinecode.pt
A    build/src/zope/app/zptpage/DEPENDENCIES.cfg
A    build/src/zope/app/zptpage/testing.py
A    build/src/zope/app/zptpage/configure.zcml
A    build/src/zope/app/zptpage/__init__.py
A    build/src/zope/app/zptpage/i18n.py
A    build/src/zope/app/zptpage/ftesting.zcml
A    build/src/zope/app/zptpage/PACKAGE.cfg
A    build/src/zope/app/zptpage/interfaces.py
A    build/src/zope/app/zptpage/textindex
A    build/src/zope/app/zptpage/textindex/zptpage.py
A    build/src/zope/app/zptpage/textindex/zope.app.zptpage.textindex-configure.zcml
A    build/src/zope/app/zptpage/textindex/DEPENDENCIES.cfg
A    build/src/zope/app/zptpage/textindex/configure.zcml
A    build/src/zope/app/zptpage/textindex/__init__.py
A    build/src/zope/app/zptpage/textindex/tests.py
A    build/src/zope/app/zptpage/textindex/SETUP.cfg
A    build/src/zope/app/zptpage/zptpage-configure.zcml
A    build/src/zope/app/zptpage/SETUP.cfg
A    build/src/zope/__init__.py
A    build/README.txt
 U   build
Checked out revision 87225.
-------------- next part --------------
Creating directory '/home/ctheune/zope.org/slave/zope.app.zptpage/build/bin'.
Creating directory '/home/ctheune/zope.org/slave/zope.app.zptpage/build/parts'.
Creating directory '/home/ctheune/zope.org/slave/zope.app.zptpage/build/develop-eggs'.
Generated script '/home/ctheune/zope.org/slave/zope.app.zptpage/build/bin/buildout'.
-------------- next part --------------
Upgraded:
  zc.buildout version 1.0.3,
  setuptools version 0.6c8;
restarting.
Generated script '/home/ctheune/zope.org/slave/zope.app.zptpage/build/bin/buildout'.
Develop: '/home/ctheune/zope.org/slave/zope.app.zptpage/build/.'
Installing test.
Generated script '/home/ctheune/zope.org/slave/zope.app.zptpage/build/bin/test'.
-------------- next part --------------
Running unit tests:


Failure in test test_debug_flags (zope.app.zptpage.tests.test_zptpage.ZPTPageTests)
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/tests/test_zptpage.py", line 140, in test_debug_flags
    self.assertEquals(page.render(request), 'Foo\n')
  File "/usr/local/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: u'Foo' != 'Foo\n'



Failure in test test_template_context_wrapping (zope.app.zptpage.tests.test_zptpage.ZPTPageTests)
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/tests/test_zptpage.py", line 119, in test_template_context_wrapping
    self.assertEquals(page.render(request), 'zpt\n')
  File "/usr/local/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: u'zpt' != 'zpt\n'

  Ran 15 tests with 2 failures and 0 errors in 0.538 seconds.
Running zope.app.zptpage.testing.ZPTPageLayer tests:
  Set up zope.app.zptpage.testing.ZPTPageLayer in 2.765 seconds.


Failure in test testIndex (zope.app.zptpage.browser.tests.ZPTPageTest)
Traceback (most recent call last):
  File "/usr/local/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/tests.py", line 158, in testIndex
    '<html><body><h1>http://localhost/zptpage</h1></body></html>\n')
  File "/usr/local/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<html><body><h1>http://localhost/zptpage</h1></body></html>' != '<html><body><h1>http://localhost/zptpage</h1></body></html>\n'



Failure in test /home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt
Failed doctest test for collector266.txt
  File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt", line 0

----------------------------------------------------------------------
File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt", line 99, in collector266.txt
Failed example:
    print http(r"""
    GET /page HTTP/1.1
    Authorization: Basic bWdyOm1ncnB3
    """, handle_errors=False)
Differences (ndiff with -expected +actual):
      HTTP/1.1 200 <MESSAGE>
    - Content-Length: 52
    ?                  ^
    + Content-Length: 51
    ?                  ^
      Content-Type: text/html;charset=utf-8
      <BLANKLINE>
      <html>
      <body>
      <div>
      Hi world
      </div>
      </body>
      </html>
    - <BLANKLINE>
----------------------------------------------------------------------
File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt", line 159, in collector266.txt
Failed example:
    print http(r"""
    GET /page2 HTTP/1.1
    Authorization: Basic bWdyOm1ncnB3
    """, handle_errors=False)
Differences (ndiff with -expected +actual):
      HTTP/1.1 200 <MESSAGE>
    - Content-Length: 68
    ?                  ^
    + Content-Length: 67
    ?                  ^
      Content-Type: text/html;charset=utf-8
      <BLANKLINE>
      <html>
      <body>
      <div>
      Hello <span>world</span>
      </div>
      </body>
      </html>
    - <BLANKLINE>
----------------------------------------------------------------------
File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector266.txt", line 220, in collector266.txt
Failed example:
    print http(r"""
    GET /page3 HTTP/1.1
    Authorization: Basic bWdyOm1ncnB3
    """, handle_errors=False)
Differences (ndiff with -expected +actual):
      HTTP/1.1 200 <MESSAGE>
    - Content-Length: 66
    ?                  ^
    + Content-Length: 65
    ?                  ^
      Content-Type: text/html;charset=utf-8
      <BLANKLINE>
      <html>
      <body>
      <div>
      Hello <span>bob</span>
      </div>
      </body>
      </html>
    - <BLANKLINE>



Failure in test /home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector269.txt
Failed doctest test for collector269.txt
  File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector269.txt", line 0

----------------------------------------------------------------------
File "/home/ctheune/zope.org/slave/zope.app.zptpage/build/src/zope/app/zptpage/browser/collector269.txt", line 121, in collector269.txt
Failed example:
    print http(r"""
    GET /page HTTP/1.1
    Authorization: Basic bWdyOm1ncnB3
    """, handle_errors=False)
Differences (ndiff with -expected +actual):
      HTTP/1.1 200 <MESSAGE>
    - Content-Length: 119
    ?                   ^
    + Content-Length: 118
    ?                   ^
      Content-Type: text/html;charset=utf-8
      <BLANKLINE>
      <html>
      <body>
      <div>
      Hello <span>bob</span>
      <BLANKLINE>
      <div>
         <p>1</p>
      <BLANKLINE>
         <p> string expr</p>
      </div>
      </div>
      </body>
      </html>
    - <BLANKLINE>

  Ran 20 tests with 3 failures and 0 errors in 3.208 seconds.
Tearing down left over layers:
  Tear down zope.app.zptpage.testing.ZPTPageLayer in 0.003 seconds.
Total: 35 tests, 5 failures, 0 errors in 6.881 seconds.


More information about the Zope-Dev mailing list