Last modified: 2014-11-09 05:20:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69908, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67908 - IPTCTest::testIPTCParseForcedUTFButInvalid() failing in vagrant
IPTCTest::testIPTCParseForcedUTFButInvalid() failing in vagrant
Status: RESOLVED DUPLICATE of bug 37665
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-12 00:45 UTC by Chad H.
Modified: 2014-11-09 05:20 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chad H. 2014-07-12 00:45:15 UTC
Only failing on php 5.5.9, hhvm passing just fine.

1) IPTCTest::testIPTCParseForcedUTFButInvalid
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'ø'
+    0 => ''
 )

Result from IPTC::parse() is pretty lacking:

array(1) {
  'Keywords' =>
  array(1) {
    [0] =>
    string(0) ""
  }
}
Comment 1 Chad H. 2014-07-14 19:04:42 UTC
Transient? Not seeing this now. Hmm....
Comment 2 Nemo 2014-07-27 00:16:48 UTC
How does this differ from bug 37665? Slightly different output here with php5:

14) IPTCTest::testIPTCParseForcedUTFButInvalid
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'ø'
+    0 => ''
 )

/srv/vagrant/mediawiki/tests/phpunit/includes/media/IPTCTest.php:50
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160
Comment 3 Nemo 2014-07-28 00:12:51 UTC
I have this consistently with what in attachment 16052 [details] minus Wikibase.
Comment 4 Antoine "hashar" Musso (WMF) 2014-07-28 09:49:02 UTC
Doesn't seem to be caused by other extensions installed, thus removing from blocker: Bug 67216 - Have unit tests of all wmf deployed extensions pass when installed together
Comment 5 Bryan Davis 2014-11-09 05:20:05 UTC

*** This bug has been marked as a duplicate of bug 37665 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links