8000 Tests fail on armhf · Issue #29281 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Tests fail on armhf #29281
Closed
Closed
@panlinux

Description

@panlinux

Symfony version(s) affected: 3.4.18

Description
The test suite fails on armhf, and apparently on s390x too, but I only have the armhf output at hand.

How to reproduce
Debian (and Ubuntu) run autopkgtests constantly:

This is the test script from Debian: https://salsa.debian.org/php-team/pear/symfony/blob/master/debian/tests/phpunit

Ubuntu just added a skip at the top if the architecture is s390x.

Some tests are disabled already, and most of the patches that are applied to the package are about fixing or disabling other tests.

Updating to 3.4.18 fixed the tests in all arches except armhf (s390x is skipped and the green result is a fake one). The armhf failure that remains with symfony version 3.4.18 and php 7.2.11 is:

http://paste.ubuntu.com/p/CBFFzP43Yk/

The test run starts on line 2337.

Summary of the tests that failed:

Symfony\Component\Form\Tests\Extension\Core\DataTransformer\IntegerToLocalizedStringTransformerTest::testReverseTransformDisallowsNaN2
Failed asserting that exception of type "\Symfony\Component\Form\Exception\TransformationFailedException" is thrown.

Symfony\Component\Form\Tests\Extension\Core\DataTransformer\NumberToLocalizedStringTransformerTest::testReverseTransformDisallowsNaN2
Failed asserting that exception of type "\Symfony\Component\Form\Exception\TransformationFailedException" is thrown.

...

Symfony\Component\VarDumper\Tests\Caster\SplCasterTest::testCastFileInfo with data set #0 ('/tmp/autopkgtest.WOPzjm/build...st.php', 'SplFileInfo {\n%Apath: "%sCas...e\n%A}')
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
   aTime: 2018-11-21 19:07:54
   mTime: 2018-11-03 10:03:29
   cTime: 2018-11-21 19:07:45
-  inode: %d
+  inode: -1993734302
   size: 4986
   perms: 0100664
   owner: 1000

Symfony\Component\VarDumper\Tests\Caster\SplCasterTest::testCastFileObject
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
   aTime: 2018-11-21 19:07:54
   mTime: 2018-11-03 10:03:29
   cTime: 2018-11-21 19:07:45
-  inode: %d
+  inode: -1993734302
   size: 4986
   perms: 0100664
   owner: 1000
@@ @@
   csvControl: array:3 [
     0 => ","
     1 => """
-%A]
+    2 => "\"
+  ]
   flags: DROP_NEW_LINE|SKIP_EMPTY
   maxLineLen: 0
   fstat: array:26 [
-    "dev" => %d
-    "ino" => %d
-    "nlink" => %d
+    "dev" => 40
+    "ino" => -1993734302
+    "nlink" => 1
     "rdev" => 0
-    "blksize" => %i
-    "blocks" => %i
+    "blksize" => 4096
+    "blocks" => 16
      …20
   ]
   eof: false
   key: 0
 }

Possible Solution

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0