Bug 98066 - kdepim-3.3.2: test suite fails for libkcal
Summary: kdepim-3.3.2: test suite fails for libkcal
Status: RESOLVED FIXED
Alias: None
Product: kresources
Classification: Miscellaneous
Component: framework (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Cornelius Schumacher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-28 12:55 UTC by Sascha Silbe
Modified: 2005-07-24 21:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2005-01-28 12:55:03 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
Compiler:          gcc-3.3.5 x86
OS:                Linux

When trying to compile kde-base/kdepim-3.3.2 on Gentoo with FEATURES=maketest enables (which automatically runs "make check"), I get the following errors:

make[3]: Leaving directory `/var/tmp/portage/portage/kdepim-3.3.2/work/kdepim-3.3.2/libkcal/tests'
rm -f FAILED; \
for i in test1.ics test2.ics test3.ics test4.ics test5.ics test_Mozilla.ics; do \
  perl ./checkcalendar.pl  ./data/$i; \
        done; \
[ ! -e FAILED ]
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Creating link /var/tmp/portage/portage/kdepim-3.3.2/temp/fakehome/.kde/socket-cube.
Created link from "/var/tmp/portage/portage/kdepim-3.3.2/temp/fakehome/.kde/socket-cube" to "/tmp/ksocket-portage"
/usr/X11R6/bin/iceauth:  creating new authority file /var/tmp/portage/portage/kdepim-3.3.2/temp/fakehome/.ICEauthority
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Creating link /var/tmp/portage/portage/kdepim-3.3.2/temp/fakehome/.kde/tmp-cube.
Created link from "/var/tmp/portage/portage/kdepim-3.3.2/temp/fakehome/.kde/tmp-cube" to "/tmp/kde-portage"
kded: cannot connect to X server localhost:11.0
DCOP aborting call from 'anonymous-21786' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Checking 'test1.ics.out':
  OK
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Checking 'test2.ics.out':
  OK
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Checking 'test3.ics.out':
  OK
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QDate::setYMD: Invalid date 1601-01-01
QDate::setYMD: Invalid date 1601-01-01
QDate::setYMD: Invalid date 1601-01-01
QDate::setYMD: Invalid date 1601-01-01
Checking 'test4.ics.out':
  Line 5: Expected      : ORGANIZER:MAILTO:srhaque at ncube.com
  Line 5: Actual output : ORGANIZER;CN="Shaheedur Haque":MAILTO:srhaque at ncube.com
  Line 17: Expected      : CLASS:PUBLIC
  Line 17: Actual output : STATUS:TENTATIVE
  Line 18: Expected      : PRIORITY:5
  Line 18: Actual output : CLASS:PUBLIC
  Line 19: Expected      : RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
  Line 19: Actual output : PRIORITY:5
  Line 20: Expected      : DTSTART:20031110T180000Z
  Line 20: Actual output : RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
  Line 21: Expected      : DTEND:20031110T190000Z
  Line 21: Actual output : DTSTART:20031110T170000Z
  Line 22: Expected      : TRANSP:OPAQUE
  Line 22: Actual output : DTEND:20031110T180000Z
  Line 23: Expected      : END:VEVENT
  Line 23: Actual output : TRANSP:OPAQUE
  Line 24: Expected      :
  Line 24: Actual output : END:VEVENT
  Line 25: Expected      : END:VCALENDAR
  Line 25: Actual output :
  Line 26: Expected      :
  Line 26: Actual output : END:VCALENDAR
  Line 27: Expected      :   Line 27: Actual output :

  UNEXPECTED FAIL: 12 errors found, 2 expected.
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QDate::setYMD: Invalid date 1601-01-01
QDate::setYMD: Invalid date 1601-01-01
QDate::setYMD: Invalid date 1601-01-01
QDate::setYMD: Invalid date 1601-01-01
Checking 'test5.ics.out':
  Line 5: Expected      : ORGANIZER:MAILTO:srhaque at ncube.com
  Line 5: Actual output : ORGANIZER;CN="Shaheedur Haque":MAILTO:srhaque at ncube.com
  Line 17: Expected      : CLASS:PUBLIC
  Line 17: Actual output : STATUS:TENTATIVE
  Line 18: Expected      : PRIORITY:5
  Line 18: Actual output : CLASS:PUBLIC
  Line 19: Expected      : RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
  Line 19: Actual output : PRIORITY:5
  Line 20: Expected      : DTSTART:20031110T180000Z
  Line 20: Actual output : RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
  Line 21: Expected      : DTEND:20031110T190000Z
  Line 21: Actual output : DTSTART:20031110T170000Z
  Line 22: Expected      : TRANSP:OPAQUE
  Line 22: Actual output : DTEND:20031110T180000Z
  Line 23: Expected      : END:VEVENT
  Line 23: Actual output : TRANSP:OPAQUE
  Line 24: Expected      :
  Line 24: Actual output : END:VEVENT
  Line 25: Expected      : END:VCALENDAR
  Line 25: Actual output :
  Line 26: Expected      :
  Line 26: Actual output : END:VCALENDAR
  Line 27: Expected      :   Line 27: Actual output :

  FAILED: 12 errors found.
--- ./data/test5.ics.ref        2004-05-22 22:58:13.000000000 +0200
+++ test5.ics.out       2005-01-28 02:19:39.092864136 +0100
@@ -2,8 +2,8 @@
 PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN
 VERSION:2.0 
 BEGIN:VEVENT
-DTSTAMP:20040122T092708Z
-ORGANIZER:MAILTO:srhaque at ncube.com
+DTSTAMP:20050128T021939Z
+ORGANIZER;CN="Shaheedur Haque":MAILTO:srhaque at ncube.com
 X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
 X-MICROSOFT-CDO-BUSYSTATUS:BUSY
 X-MICROSOFT-CDO-IMPORTANCE:1
@@ -15,11 +15,12 @@
 SEQUENCE:0  
 LAST-MODIFIED:20031111T180554Z
 SUMMARY:Bob Bond's staff
+STATUS:TENTATIVE
 CLASS:PUBLIC
 PRIORITY:5  
 RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=MO
-DTSTART:20031110T180000Z
-DTEND:20031110T190000Z
+DTSTART:20031110T170000Z
+DTEND:20031110T180000Z
 TRANSP:OPAQUE
 END:VEVENT  

QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Checking 'test_Mozilla.ics.out':
  Line 6: Expected      : CREATED:20040501T080000Z
  Line 6: Actual output : CREATED:20050128T021939Z
  Line 9: Expected      : LAST-MODIFIED:20040518T105729Z
  Line 9: Actual output : LAST-MODIFIED:20050128T021939Z
  Line 11: Expected      : CLASS:PRIVATE
  Line 11: Actual output : STATUS:NEEDS-ACTION
  Line 12: Expected      : PRIORITY:3
  Line 12: Actual output : CLASS:PRIVATE
  Line 13: Expected      : DUE:20040505T111500Z
  Line 13: Actual output : PRIORITY:3
  Line 14: Expected      : DTSTART:20040505T101500Z
  Line 14: Actual output : DUE:20040505T111500Z
  Line 15: Expected      : PERCENT-COMPLETE:0
  Line 15: Actual output : DTSTART:20040505T101500Z
  Line 16: Expected      : END:VTODO
  Line 16: Actual output : PERCENT-COMPLETE:0
  Line 17: Expected      :
  Line 17: Actual output : END:VTODO
  Line 18: Expected      : BEGIN:VEVENT
  Line 18: Actual output :
  Line 19: Expected      : DTSTAMP:20040518T105729Z
  Line 19: Actual output : BEGIN:VEVENT
  Line 20: Expected      : ORGANIZER:MAILTO:
  Line 20: Actual output : DTSTAMP:20050128T021939Z
  Line 21: Expected      : CREATED:20040518T105729Z
  Line 21: Actual output : ORGANIZER:MAILTO:
  Line 22: Expected      : UID:9387e0e8-9ea1-11d8-86ed-b77ddbb7d081
  Line 22: Actual output : CREATED:20050128T021939Z
  Line 23: Expected      : SEQUENCE:0
  Line 23: Actual output : UID:9387e0e8-9ea1-11d8-86ed-b77ddbb7d081
  Line 24: Expected      : LAST-MODIFIED:20040518T105729Z
  Line 24: Actual output : SEQUENCE:0
  Line 25: Expected      : SUMMARY:Yemassee Graduation
  Line 25: Actual output : LAST-MODIFIED:20050128T021939Z
  Line 26: Expected      : CLASS:PRIVATE
  Line 26: Actual output : SUMMARY:Yemassee Graduation
  Line 27: Expected      : PRIORITY:3
  Line 27: Actual output : STATUS:CONFIRMED
  Line 28: Expected      : DTSTART;VALUE=DATE:20040528
  Line 28: Actual output : CLASS:PRIVATE
  Line 29: Expected      : DTEND;VALUE=DATE:20040529
  Line 29: Actual output : PRIORITY:3
  Line 30: Expected      : TRANSP:OPAQUE
  Line 30: Actual output : DTSTART;VALUE=DATE:20040528
  Line 31: Expected      : END:VEVENT
  Line 31: Actual output : DTEND;VALUE=DATE:20040529
  Line 32: Expected      :
  Line 32: Actual output : TRANSP:OPAQUE
  Line 33: Expected      : BEGIN:VEVENT
  Line 33: Actual output : END:VEVENT
  Line 34: Expected      : DTSTAMP:20040518T105729Z
  Line 34: Actual output :
  Line 35: Expected      : ORGANIZER:MAILTO:
  Line 35: Actual output : BEGIN:VEVENT
  Line 36: Expected      : X-MOZILLA-ALARM-DEFAULT-LENGTH:0
  Line 36: Actual output : DTSTAMP:20050128T021939Z
  Line 37: Expected      : CREATED:20040518T105729Z
  Line 37: Actual output : ORGANIZER:MAILTO:
  Line 38: Expected      : UID:896c9eb4-1dd2-11b2-b487-b1bef43989c3
  Line 38: Actual output : X-MOZILLA-ALARM-DEFAULT-LENGTH:0
  Line 39: Expected      : SEQUENCE:0
  Line 39: Actual output : CREATED:20050128T021939Z
  Line 40: Expected      : LAST-MODIFIED:20040518T105729Z
  Line 40: Actual output : UID:896c9eb4-1dd2-11b2-b487-b1bef43989c3
  Line 41: Expected      : DESCRIPTION:15-501 E Durham\, lt Easttowne Dr\, 3rd left Providence\, 3rd drive
  Line 41: Actual output : SEQUENCE:0
  Line 42: Expected      :   rt\, up on ste 200
  Line 42: Actual output : LAST-MODIFIED:20050128T021939Z
  Line 43: Expected      : SUMMARY:Dental Exam
  Line 43: Actual output : DESCRIPTION:15-501 E Durham\, lt Easttowne Dr\, 3rd left Providence\, 3rd drive
  Line 44: Expected      : CLASS:PRIVATE
  Line 44: Actual output :   rt\, up on ste 200
  Line 45: Expected      : PRIORITY:3
  Line 45: Actual output : SUMMARY:Dental Exam
  Line 46: Expected      : DTSTART:20040510T090000Z
  Line 46: Actual output : STATUS:CONFIRMED
  Line 47: Expected      : DTEND:20040510T110000Z
  Line 47: Actual output : CLASS:PRIVATE
  Line 48: Expected      : TRANSP:OPAQUE
  Line 48: Actual output : PRIORITY:3
  Line 49: Expected      : END:VEVENT
  Line 49: Actual output : DTSTART:20040510T090000Z
  Line 50: Expected      :
  Line 50: Actual output : DTEND:20040510T110000Z
  Line 51: Expected      : BEGIN:VEVENT
  Line 51: Actual output : TRANSP:OPAQUE
  Line 52: Expected      : DTSTAMP:20040518T105729Z
  Line 52: Actual output : END:VEVENT
  Line 53: Expected      : ORGANIZER:MAILTO:
  Line 53: Actual output :
  Line 54: Expected      : CREATED:20040518T105729Z
  Line 54: Actual output : BEGIN:VEVENT
  Line 55: Expected      : UID:918141053
  Line 55: Actual output : DTSTAMP:20050128T021939Z
  Line 56: Expected      : SEQUENCE:0
  Line 56: Actual output : ORGANIZER:MAILTO:
  Line 57: Expected      : LAST-MODIFIED:20040503T202715Z
  Line 57: Actual output : CREATED:20050128T021939Z
  Line 58: Expected      : SUMMARY:Performance with Anne
  Line 58: Actual output : UID:918141053
  Line 59: Expected      : LOCATION:Raleigh
  Line 59: Actual output : SEQUENCE:0
  Line 60: Expected      : CLASS:PRIVATE
  Line 60: Actual output : LAST-MODIFIED:20040503T202715Z
  Line 61: Expected      : PRIORITY:3
  Line 61: Actual output : SUMMARY:Performance with Anne
  Line 62: Expected      : DTSTART:20040523T170000Z
  Line 62: Actual output : LOCATION:Raleigh
  Line 63: Expected      : DTEND:20040523T200000Z
  Line 63: Actual output : STATUS:CONFIRMED
  Line 64: Expected      : TRANSP:OPAQUE
  Line 64: Actual output : CLASS:PRIVATE
  Line 65: Expected      : END:VEVENT
  Line 65: Actual output : PRIORITY:3
  Line 66: Expected      :
  Line 66: Actual output : DTSTART:20040523T170000Z
  Line 67: Expected      : BEGIN:VEVENT
  Line 67: Actual output : DTEND:20040523T200000Z
  Line 68: Expected      : DTSTAMP:20040518T105729Z
  Line 68: Actual output : TRANSP:OPAQUE
  Line 69: Expected      : ORGANIZER:MAILTO:
  Line 69: Actual output : END:VEVENT
  Line 70: Expected      : CREATED:20040518T105729Z
  Line 70: Actual output :
  Line 71: Expected      : UID:06ef0474-1dd2-11b2-853d-cc63771f70dd
  Line 71: Actual output : BEGIN:VEVENT
  Line 72: Expected      : SEQUENCE:0
  Line 72: Actual output : DTSTAMP:20050128T021939Z
  Line 73: Expected      : LAST-MODIFIED:20040504T211728Z
  Line 73: Actual output : ORGANIZER:MAILTO:
  Line 74: Expected      : SUMMARY:Convivium at 2707 Anderson Dr\, Raleigh\, 27608
  Line 74: Actual output : CREATED:20050128T021939Z
  Line 75: Expected      : CLASS:PRIVATE
  Line 75: Actual output : UID:06ef0474-1dd2-11b2-853d-cc63771f70dd
  Line 76: Expected      : PRIORITY:3
  Line 76: Actual output : SEQUENCE:0
  Line 77: Expected      : DTSTART:20040516T200000Z
  Line 77: Actual output : LAST-MODIFIED:20040504T211728Z
  Line 78: Expected      : DTEND:20040516T220000Z
  Line 78: Actual output : SUMMARY:Convivium at 2707 Anderson Dr\, Raleigh\, 27608
  Line 79: Expected      : TRANSP:OPAQUE
  Line 79: Actual output : STATUS:CONFIRMED
  Line 80: Expected      : END:VEVENT
  Line 80: Actual output : CLASS:PRIVATE
  Line 81: Expected      :
  Line 81: Actual output : PRIORITY:3
  Line 82: Expected      : END:VCALENDAR
  Line 82: Actual output : DTSTART:20040516T200000Z
  Line 83: Expected      :
  Line 83: Actual output : DTEND:20040516T220000Z
  Line 84: Expected      :   Line 84: Actual output : TRANSP:OPAQUE
  Line 85: Expected      :   Line 85: Actual output : END:VEVENT
  Line 86: Expected      :   Line 86: Actual output :
  Line 87: Expected      :   Line 87: Actual output : END:VCALENDAR
  Line 88: Expected      :   Line 88: Actual output :

  UNEXPECTED FAIL: 80 errors found, test_Mozilla.ics expected.
make[2]: *** [check] Error 1
make[2]: Leaving directory `/var/tmp/portage/portage/kdepim-3.3.2/work/kdepim-3.3.2/libkcal/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/kdepim-3.3.2/work/kdepim-3.3.2/libkcal'
make: *** [check-recursive] Error 1
Comment 1 Reinhold Kainhofer 2005-07-24 21:31:42 UTC
Thanks for the bug report.
The test suite is actually not meant to check if libkcal was compiled correctly, but mainly for us developers to detect where we are not fully rfc-compliant and where regressions were introduced. Thus the test suite hardly ever runs without errors.

Nonetheless, the current version in svn trunk runs almost error-less, except for one error (which results in three failed tests) where we first need to clear how things are actually supposed to work according to the rfc.

Cheers,
Reinhold