| 1 | 22:37:25 There were 6 failures: |
|---|---|
| 2 | 22:37:25 |
| 3 | 22:37:25 1) Wikibase\Lexeme\Tests\MediaWiki\Search\LexemeCompletionSearchTest::testSearchElastic with data set "simple" ('Duck', 'simple') |
| 4 | 22:37:25 Failed asserting that two strings are equal. |
| 5 | 22:37:25 --- Expected |
| 6 | 22:37:25 +++ Actual |
| 7 | 22:37:25 @@ @@ |
| 8 | 22:37:25 - "weight": 0.4\n |
| 9 | 22:37:25 + "weight": 0.40000000000000002\n |
| 10 | 22:37:25 @@ @@ |
| 11 | 22:37:25 - "weight": 0.6\n |
| 12 | 22:37:25 + "weight": 0.59999999999999998\n |
| 13 | 22:37:25 |
| 14 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2265 |
| 15 | 22:37:25 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Search/LexemeCompletionSearchTest.php:86 |
| 16 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:409 |
| 17 | 22:37:25 /workspace/src/maintenance/doMaintenance.php:94 |
| 18 | 22:37:25 |
| 19 | 22:37:25 2) Wikibase\Lexeme\Tests\MediaWiki\Search\LexemeCompletionSearchTest::testSearchElastic with data set "byid" ('(L2)', 'byid') |
| 20 | 22:37:25 Failed asserting that two strings are equal. |
| 21 | 22:37:25 --- Expected |
| 22 | 22:37:25 +++ Actual |
| 23 | 22:37:25 @@ @@ |
| 24 | 22:37:25 - "weight": 0.4\n |
| 25 | 22:37:25 + "weight": 0.40000000000000002\n |
| 26 | 22:37:25 @@ @@ |
| 27 | 22:37:25 - "weight": 0.6\n |
| 28 | 22:37:25 + "weight": 0.59999999999999998\n |
| 29 | 22:37:25 |
| 30 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2265 |
| 31 | 22:37:25 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Search/LexemeCompletionSearchTest.php:86 |
| 32 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:409 |
| 33 | 22:37:25 /workspace/src/maintenance/doMaintenance.php:94 |
| 34 | 22:37:25 |
| 35 | 22:37:25 3) Wikibase\Lexeme\Tests\MediaWiki\Search\LexemeCompletionSearchTest::testSearchFormElastic with data set "simple" ('Duck', 'simple') |
| 36 | 22:37:25 Failed asserting that two strings are equal. |
| 37 | 22:37:25 --- Expected |
| 38 | 22:37:25 +++ Actual |
| 39 | 22:37:25 @@ @@ |
| 40 | 22:37:25 - "weight": 0.4\n |
| 41 | 22:37:25 + "weight": 0.40000000000000002\n |
| 42 | 22:37:25 @@ @@ |
| 43 | 22:37:25 - "weight": 0.6\n |
| 44 | 22:37:25 + "weight": 0.59999999999999998\n |
| 45 | 22:37:25 |
| 46 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2265 |
| 47 | 22:37:25 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Search/LexemeCompletionSearchTest.php:105 |
| 48 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:409 |
| 49 | 22:37:25 /workspace/src/maintenance/doMaintenance.php:94 |
| 50 | 22:37:25 |
| 51 | 22:37:25 4) Wikibase\Lexeme\Tests\MediaWiki\Search\LexemeCompletionSearchTest::testSearchFormElastic with data set "byid" ('(L2)', 'byid') |
| 52 | 22:37:25 Failed asserting that two strings are equal. |
| 53 | 22:37:25 --- Expected |
| 54 | 22:37:25 +++ Actual |
| 55 | 22:37:25 @@ @@ |
| 56 | 22:37:25 - "weight": 0.4\n |
| 57 | 22:37:25 + "weight": 0.40000000000000002\n |
| 58 | 22:37:25 @@ @@ |
| 59 | 22:37:25 - "weight": 0.6\n |
| 60 | 22:37:25 + "weight": 0.59999999999999998\n |
| 61 | 22:37:25 |
| 62 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2265 |
| 63 | 22:37:25 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Search/LexemeCompletionSearchTest.php:105 |
| 64 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:409 |
| 65 | 22:37:25 /workspace/src/maintenance/doMaintenance.php:94 |
| 66 | 22:37:25 |
| 67 | 22:37:25 5) Wikibase\Lexeme\Tests\MediaWiki\Search\LexemeFullTextQueryBuilderTest::testSearchElastic with data set "work" ('duck', '/workspace/src/extensions/Wik...pected') |
| 68 | 22:37:25 Failed asserting that two strings are equal. |
| 69 | 22:37:25 --- Expected |
| 70 | 22:37:25 +++ Actual |
| 71 | 22:37:25 @@ @@ |
| 72 | 22:37:25 - "boost": 0.1\n |
| 73 | 22:37:25 + "boost": 0.10000000000000001\n |
| 74 | 22:37:25 @@ @@ |
| 75 | 22:37:25 - "boost": 0.1\n |
| 76 | 22:37:25 + "boost": 0.10000000000000001\n |
| 77 | 22:37:25 @@ @@ |
| 78 | 22:37:25 - "weight": 0.4\n |
| 79 | 22:37:25 + "weight": 0.40000000000000002\n |
| 80 | 22:37:25 @@ @@ |
| 81 | 22:37:25 - "weight": 0.6\n |
| 82 | 22:37:25 + "weight": 0.59999999999999998\n |
| 83 | 22:37:25 |
| 84 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2265 |
| 85 | 22:37:25 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Search/LexemeFullTextQueryBuilderTest.php:97 |
| 86 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:409 |
| 87 | 22:37:25 /workspace/src/maintenance/doMaintenance.php:94 |
| 88 | 22:37:25 |
| 89 | 22:37:25 6) Wikibase\Lexeme\Tests\MediaWiki\Search\LexemeFullTextQueryBuilderTest::testSearchElastic with data set "id" (' L2-F1 ', '/workspace/src/extensions/Wik...pected') |
| 90 | 22:37:25 Failed asserting that two strings are equal. |
| 91 | 22:37:25 --- Expected |
| 92 | 22:37:25 +++ Actual |
| 93 | 22:37:25 @@ @@ |
| 94 | 22:37:25 - "boost": 0.1\n |
| 95 | 22:37:25 + "boost": 0.10000000000000001\n |
| 96 | 22:37:25 @@ @@ |
| 97 | 22:37:25 - "boost": 0.1\n |
| 98 | 22:37:25 + "boost": 0.10000000000000001\n |
| 99 | 22:37:25 @@ @@ |
| 100 | 22:37:25 - "weight": 0.4\n |
| 101 | 22:37:25 + "weight": 0.40000000000000002\n |
| 102 | 22:37:25 @@ @@ |
| 103 | 22:37:25 - "weight": 0.6\n |
| 104 | 22:37:25 + "weight": 0.59999999999999998\n |
| 105 | 22:37:25 |
| 106 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2265 |
| 107 | 22:37:25 /workspace/src/extensions/WikibaseLexeme/tests/phpunit/mediawiki/Search/LexemeFullTextQueryBuilderTest.php:97 |
| 108 | 22:37:25 /workspace/src/tests/phpunit/MediaWikiTestCase.php:409 |
| 109 | 22:37:25 /workspace/src/maintenance/doMaintenance.php:94 |
https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php71-docker/1/console
Can be verified by commenting "check experimental" in Gerrit to trigger the PHP 7.1 jobs. T205958: Wikibase\Repo\Search\Elastic\Tests\EntitySearchElasticFulltextTest::testSearchElastic fails on PHP 7.1 appears nearly identical. Looks to be caused by https://wiki.php.net/rfc/precise_float_value.