[pkg-php-pear] Bug#895603: php-sabredav FTBFS: test failures

Adrian Bunk bunk at debian.org
Fri Apr 13 11:07:33 BST 2018


Source: php-sabredav
Version: 1.8.12-4
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/php-sabredav.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/php-sabredav-1.8.12'
phpunit --configuration tests/phpunit.xml
PHPUnit 7.0.3 by Sebastian Bergmann and contributors.

..SSSSSSSSSSSSSSSSSSSSSSS....................................   61 / 1201 (  5%)
..........................................R..................  122 / 1201 ( 10%)
......................R.R...............RR...................  183 / 1201 ( 15%)
........................R....................................  244 / 1201 ( 20%)
.............................................................  305 / 1201 ( 25%)
....................RSRSS...........RSRS...R.................  366 / 1201 ( 30%)
.........R...................................................  427 / 1201 ( 35%)
.......SSSSSSSSSSSS......................................RS..  488 / 1201 ( 40%)
................EEEEEEEEEE....EEEEEEEEEEE................R...  549 / 1201 ( 45%)
..SS...R.................RSSSS.S.........R........RRR........  610 / 1201 ( 50%)
.............................................................  671 / 1201 ( 55%)
..........R...............SSSSSSSS...........................  732 / 1201 ( 60%)
.............................................................  793 / 1201 ( 66%)
.............................................................  854 / 1201 ( 71%)
................................................R............  915 / 1201 ( 76%)
.............................................................  976 / 1201 ( 81%)
............................................................. 1037 / 1201 ( 86%)
.........................................SSSSSSSSS........... 1098 / 1201 ( 91%)
.........................R.R...................RSS........... 1159 / 1201 ( 96%)
..........................................                    1201 / 1201 (100%)

Time: 1.17 seconds, Memory: 26.00MB

There were 21 errors:

1) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #0 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('title', false, array(), array())), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

2) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #1 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('foo', false, array(), array())), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

3) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #2 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('title', true, array(), array())), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

4) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #3 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('foo', true, array(), array())), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

5) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #4 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('title', false, array(), array()), array('foo', false, array(), array())), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

6) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #5 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('title', false, array(), array()), array('foo', false, array(), array())), 'allof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

7) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #6 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('title', false, array(), array()), array('foo', true, array(), array())), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

8) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #7 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('title', false, array(), array()), array('foo', true, array(), array())), 'allof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

9) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #8 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('foo', false, array(), array()), array('title', true, array(), array())), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

10) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #9 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('foo', false, array(), array()), array('title', true, array(), array())), 'allof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

11) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #14 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('tel', false, 'anyof', array(array('type', false, null), array('FOO', false, null)), array())), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

12) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #15 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('tel', false, 'allof', array(array('type', false, null), array('FOO', false, null)), array())), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

13) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #16 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('url', false, 'anyof', array(), array(array('contains', 'google', false, 'i;octet')))), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

14) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #17 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('url', false, 'anyof', array(), array(array('contains', 'bing', false, 'i;octet')))), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

15) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #18 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('url', false, 'anyof', array(), array(array('contains', 'google', true, 'i;octet')))), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

16) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #19 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('url', false, 'anyof', array(), array(array('contains', 'bing', true, 'i;octet')))), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

17) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #20 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('tel', false, 'anyof', array(array('type', false, array('contains', 'WORK', 'i;octet', false))), array())), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

18) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #21 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('tel', false, 'anyof', array(array('type', false, array('contains', 'WORK', 'i;octet', true))), array())), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

19) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #22 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('tel', false, 'anyof', array(array('type', false, null)), array(array('contains', '444', 'i;octet', false)))), 'anyof', true)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertTrue() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 15

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:15

20) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #23 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('tel', false, 'allof', array(array('type', false, null)), array(array('contains', '444', 'i;octet', true)))), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

21) Sabre\CardDAV\ValidateFilterTest::testFilter with data set #24 ('BEGIN:VCARD\nVERSION:3.0\nORG...:VCARD', array(array('tel', false, 'allof', array(array('type', false, null)), array(array('contains', '444', 'i;octet', true)))), 'anyof', false)
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertFalse() must be of the type string, null given, called in /build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php on line 17

/build/1st/php-sabredav-1.8.12/tests/Sabre/CardDAV/ValidateFilterTest.php:17

--

There were 25 risky tests:

1) Sabre\CalDAV\CalendarQueryValidatorTest::testValid with data set #20 ('BEGIN:VCARD\nVERSION:3.0\nFN:...:VCARD', array('VEVENT', array(), array(), false, null), -1)
This test did not perform any assertions

2) Sabre\CalDAV\CalendarQueryValidatorTest::testValid with data set #61 ('BEGIN:VCALENDAR\nBEGIN:VFREEB...LENDAR', array('VFREEBUSY', array(), array(), false, array(DateTime Object (...), DateTime Object (...))), -1)
This test did not perform any assertions

3) Sabre\CalDAV\CalendarQueryValidatorTest::testValid with data set #63 ('BEGIN:VCALENDAR\nBEGIN:VEVENT...LENDAR', array('VEVENT', array(), array(array('SUMMARY', false, array(), array(DateTime Object (...), DateTime Object (...)), null)), false, null), -1)
This test did not perform any assertions

4) Sabre\CalDAV\CalendarQueryValidatorTest::testValid with data set #79 ('BEGIN:VCALENDAR\nBEGIN:VJOURN...LENDAR', array('VJOURNAL', array(), array(array('VALARM', false, array(), array(), array(DateTime Object (...), DateTime Object (...)), null)), false, null), -1)
This test did not perform any assertions

5) Sabre\CalDAV\CalendarQueryValidatorTest::testValid with data set #80 ('BEGIN:VCALENDAR\nBEGIN:VJOURN...LENDAR', array('VJOURNAL', array(), array(array('VALARM', false, array(), array(), array(DateTime Object (...), DateTime Object (...)), null)), false, null), -1)
This test did not perform any assertions

6) Sabre\CalDAV\ICSExportPluginTest::testInit
This test did not perform any assertions

7) Sabre\CalDAV\Property\AllowedSharingModesTest::testSimple
This test did not perform any assertions

8) Sabre\CalDAV\Property\InviteTest::testSimple
This test did not perform any assertions

9) Sabre\CalDAV\Property\SupportedCalendarDataTest::testSimple
This test did not perform any assertions

10) Sabre\CalDAV\Property\SupportedCollationSetTest::testSimple
This test did not perform any assertions

11) Sabre\CalDAV\ShareableCalendarTest::testPublish
This test did not perform any assertions

12) Sabre\CalDAV\UserCalendarsSharedCalendarsTest::testShareReply
This test did not perform any assertions

13) Sabre\CardDAV\Property\SupportedAddressDataDataTest::testSimple
This test did not perform any assertions

14) Sabre\DAV\Auth\Backend\ApacheTest::testConstruct
This test did not perform any assertions

15) Sabre\DAV\Auth\PluginTest::testAuthenticate
This test did not perform any assertions

16) Sabre\DAV\BasicNodeTest::testSimpleDirectoryConstruct
This test did not perform any assertions

17) Sabre\DAV\ClientTest::testConstruct
This test did not perform any assertions

18) Sabre\DAV\ClientTest::testRequestError
This test did not perform any assertions

19) Sabre\DAV\ClientTest::testRequestHTTPError
This test did not perform any assertions

20) Sabre\DAV\ClientTest::testRequestHTTP404
This test did not perform any assertions

21) Sabre\DAV\Locks\Backend\FSTest::testGetLocksChildren
This test did not perform any assertions

22) Sabre\DAV\ServerSimpleTest::testBaseUriCheck
This test did not perform any assertions

23) Sabre\DAVACL\Property\ACLRestrictionsTest::testConstruct
This test did not perform any assertions

24) Sabre\DAVACL\Property\ACLTest::testConstruct
This test did not perform any assertions

25) Sabre\DAVACL\Property\SupportedPrivilegeSetTest::testSimple
This test did not perform any assertions

ERRORS!
Tests: 1201, Assertions: 2174, Errors: 21, Skipped: 67, Risky: 25.
make[1]: *** [debian/rules:20: override_dh_auto_test] Error 2



More information about the pkg-php-pear mailing list