[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#955657: ufo2ft: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.7 3.8" returned exit code 13



Source: ufo2ft
Version: 2.12.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200402 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ufo2ft/build; python3.7 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.7.7, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg, testpaths: tests
> collected 489 items
> 
> tests/featureCompiler_test.py ...........                                [  2%]
> tests/fontInfoData_test.py ...............                               [  5%]
> tests/integration_test.py FF..FsFsFFFF.......                            [  9%]
> tests/outlineCompiler_test.py .......................................... [ 17%]
> ........................................                                 [ 25%]
> tests/preProcessor_test.py ............                                  [ 28%]
> tests/featureWriters/featureWriters_test.py ........                     [ 30%]
> tests/featureWriters/kernFeatureWriter_test.py ...................       [ 33%]
> tests/featureWriters/markFeatureWriter_test.py ...............           [ 37%]
> tests/filters/decomposeComponents_test.py ..                             [ 37%]
> tests/filters/flattenComponents_test.py ......                           [ 38%]
> tests/filters/propagateAnchors_test.py .............                     [ 41%]
> tests/filters/sortContours_test.py ....                                  [ 42%]
> tests/filters/transformations_test.py ..........................         [ 47%]
> tests/featureCompiler_test.py ...........                                [ 49%]
> tests/fontInfoData_test.py ...............                               [ 52%]
> tests/integration_test.py FF..FsFsFFFF.......                            [ 56%]
> tests/outlineCompiler_test.py .......................................... [ 65%]
> ........................................                                 [ 73%]
> tests/preProcessor_test.py ............                                  [ 75%]
> tests/featureWriters/featureWriters_test.py ........                     [ 77%]
> tests/featureWriters/kernFeatureWriter_test.py ...................       [ 81%]
> tests/featureWriters/markFeatureWriter_test.py ...............           [ 84%]
> tests/filters/decomposeComponents_test.py ..                             [ 84%]
> tests/filters/flattenComponents_test.py ......                           [ 86%]
> tests/filters/propagateAnchors_test.py .............                     [ 88%]
> tests/filters/sortContours_test.py ....                                  [ 89%]
> tests/filters/transformations_test.py ..........................         [ 94%]
> tests/fontInfoData_test.py ..                                            [ 95%]
> tests/featureWriters/markFeatureWriter_test.py .........                 [ 97%]
> tests/filters/filters_test.py .............                              [ 99%]
> tests/filters/transformations_test.py .                                  [100%]
> 
> =================================== FAILURES ===================================
> __________________ IntegrationTest.test_TestFont_TTF[defcon] ___________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff117728390>
> testufo = <defcon.objects.font.Font object at 0x7ff1177281d0>
> 
>     def test_TestFont_TTF(self, testufo):
>         ttf = compileTTF(testufo)
> >       expectTTX(ttf, "TestFont.ttx")
> 
> tests/integration_test.py:74: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff117af66d0>
> expectedTTX = 'TestFont.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont.ttx
> +++ <generated>
> @@ -498,7 +498,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> __________________ IntegrationTest.test_TestFont_CFF[defcon] ___________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff1176a5250>
> testufo = <defcon.objects.font.Font object at 0x7ff117700b50>
> 
>     def test_TestFont_CFF(self, testufo):
>         otf = compileOTF(testufo)
> >       expectTTX(otf, "TestFont-CFF.ttx")
> 
> tests/integration_test.py:78: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff117633e10>
> expectedTTX = 'TestFont-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-CFF.ttx
> +++ <generated>
> @@ -405,7 +405,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> _______________ IntegrationTest.test_removeOverlaps_CFF[defcon] ________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff11772e050>
> testufo = <defcon.objects.font.Font object at 0x7ff11772e610>
> 
>     def test_removeOverlaps_CFF(self, testufo):
>         otf = compileOTF(testufo, removeOverlaps=True)
> >       expectTTX(otf, "TestFont-NoOverlaps-CFF.ttx")
> 
> tests/integration_test.py:108: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff106b61ed0>
> expectedTTX = 'TestFont-NoOverlaps-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-NoOverlaps-CFF.ttx
> +++ <generated>
> @@ -407,7 +407,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> _________________ IntegrationTest.test_removeOverlaps[defcon] __________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff106adc150>
> testufo = <defcon.objects.font.Font object at 0x7ff106adcf10>
> 
>     def test_removeOverlaps(self, testufo):
>         ttf = compileTTF(testufo, removeOverlaps=True)
> >       expectTTX(ttf, "TestFont-NoOverlaps-TTF.ttx")
> 
> tests/integration_test.py:117: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff106ae49d0>
> expectedTTX = 'TestFont-NoOverlaps-TTF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-NoOverlaps-TTF.ttx
> +++ <generated>
> @@ -500,7 +500,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> _____________ IntegrationTest.test_interpolatableTTFs_lazy[defcon] _____________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff1176778d0>
> FontClass = <class 'defcon.objects.font.Font'>
> 
>     def test_interpolatableTTFs_lazy(self, FontClass):
>         # two same UFOs **must** be interpolatable
>         ufos = [FontClass(getpath("TestFont.ufo")) for _ in range(2)]
>         ttfs = list(compileInterpolatableTTFs(ufos))
> >       expectTTX(ttfs[0], "TestFont.ttx")
> 
> tests/integration_test.py:128: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff1175a4a10>
> expectedTTX = 'TestFont.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont.ttx
> +++ <generated>
> @@ -498,7 +498,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> ________________ IntegrationTest.test_optimizeCFF_none[defcon] _________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff1175a6b10>
> testufo = <defcon.objects.font.Font object at 0x7ff1175a30d0>
> 
>     def test_optimizeCFF_none(self, testufo):
>         otf = compileOTF(testufo, optimizeCFF=0)
> >       expectTTX(otf, "TestFont-NoOptimize-CFF.ttx")
> 
> tests/integration_test.py:133: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff106adac90>
> expectedTTX = 'TestFont-NoOptimize-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-NoOptimize-CFF.ttx
> +++ <generated>
> @@ -424,7 +424,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> _____________ IntegrationTest.test_optimizeCFF_specialize[defcon] ______________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff106a06610>
> testufo = <defcon.objects.font.Font object at 0x7ff106a06890>
> 
>     def test_optimizeCFF_specialize(self, testufo):
>         otf = compileOTF(testufo, optimizeCFF=1)
> >       expectTTX(otf, "TestFont-Specialized-CFF.ttx")
> 
> tests/integration_test.py:137: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff106a067d0>
> expectedTTX = 'TestFont-Specialized-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-Specialized-CFF.ttx
> +++ <generated>
> @@ -402,7 +402,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> ____________ IntegrationTest.test_optimizeCFF_subroutinize[defcon] _____________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff106aa0ad0>
> testufo = <defcon.objects.font.Font object at 0x7ff106aa0fd0>
> 
>     def test_optimizeCFF_subroutinize(self, testufo):
>         otf = compileOTF(testufo, optimizeCFF=2)
> >       expectTTX(otf, "TestFont-CFF.ttx")
> 
> tests/integration_test.py:141: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff106a06090>
> expectedTTX = 'TestFont-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-CFF.ttx
> +++ <generated>
> @@ -405,7 +405,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> __________________ IntegrationTest.test_TestFont_TTF[ufoLib2] __________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff106ae79d0>
> testufo = <ufoLib2.objects.font.Font 'Some Font (Family Name) Regular (Style Name)' at 0x7ff11759d190>
> 
>     def test_TestFont_TTF(self, testufo):
>         ttf = compileTTF(testufo)
> >       expectTTX(ttf, "TestFont.ttx")
> 
> tests/integration_test.py:74: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff118ece490>
> expectedTTX = 'TestFont.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont.ttx
> +++ <generated>
> @@ -498,7 +498,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> __________________ IntegrationTest.test_TestFont_CFF[ufoLib2] __________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff10695e510>
> testufo = <ufoLib2.objects.font.Font 'Some Font (Family Name) Regular (Style Name)' at 0x7ff11777a050>
> 
>     def test_TestFont_CFF(self, testufo):
>         otf = compileOTF(testufo)
> >       expectTTX(otf, "TestFont-CFF.ttx")
> 
> tests/integration_test.py:78: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff1069de290>
> expectedTTX = 'TestFont-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-CFF.ttx
> +++ <generated>
> @@ -405,7 +405,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> _______________ IntegrationTest.test_removeOverlaps_CFF[ufoLib2] _______________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff106967350>
> testufo = <ufoLib2.objects.font.Font 'Some Font (Family Name) Regular (Style Name)' at 0x7ff11759d190>
> 
>     def test_removeOverlaps_CFF(self, testufo):
>         otf = compileOTF(testufo, removeOverlaps=True)
> >       expectTTX(otf, "TestFont-NoOverlaps-CFF.ttx")
> 
> tests/integration_test.py:108: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff106ae7f50>
> expectedTTX = 'TestFont-NoOverlaps-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-NoOverlaps-CFF.ttx
> +++ <generated>
> @@ -407,7 +407,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> _________________ IntegrationTest.test_removeOverlaps[ufoLib2] _________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff106952910>
> testufo = <ufoLib2.objects.font.Font 'Some Font (Family Name) Regular (Style Name)' at 0x7ff11759deb0>
> 
>     def test_removeOverlaps(self, testufo):
>         ttf = compileTTF(testufo, removeOverlaps=True)
> >       expectTTX(ttf, "TestFont-NoOverlaps-TTF.ttx")
> 
> tests/integration_test.py:117: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff106904210>
> expectedTTX = 'TestFont-NoOverlaps-TTF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-NoOverlaps-TTF.ttx
> +++ <generated>
> @@ -500,7 +500,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> ____________ IntegrationTest.test_interpolatableTTFs_lazy[ufoLib2] _____________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff1068f3750>
> FontClass = <function FontClass.<locals>.ctor at 0x7ff106bbc440>
> 
>     def test_interpolatableTTFs_lazy(self, FontClass):
>         # two same UFOs **must** be interpolatable
>         ufos = [FontClass(getpath("TestFont.ufo")) for _ in range(2)]
>         ttfs = list(compileInterpolatableTTFs(ufos))
> >       expectTTX(ttfs[0], "TestFont.ttx")
> 
> tests/integration_test.py:128: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff1069041d0>
> expectedTTX = 'TestFont.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont.ttx
> +++ <generated>
> @@ -498,7 +498,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> ________________ IntegrationTest.test_optimizeCFF_none[ufoLib2] ________________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff10687d950>
> testufo = <ufoLib2.objects.font.Font 'Some Font (Family Name) Regular (Style Name)' at 0x7ff106ab47d0>
> 
>     def test_optimizeCFF_none(self, testufo):
>         otf = compileOTF(testufo, optimizeCFF=0)
> >       expectTTX(otf, "TestFont-NoOptimize-CFF.ttx")
> 
> tests/integration_test.py:133: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff117676290>
> expectedTTX = 'TestFont-NoOptimize-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-NoOptimize-CFF.ttx
> +++ <generated>
> @@ -424,7 +424,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> _____________ IntegrationTest.test_optimizeCFF_specialize[ufoLib2] _____________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff106920350>
> testufo = <ufoLib2.objects.font.Font 'Some Font (Family Name) Regular (Style Name)' at 0x7ff11759d190>
> 
>     def test_optimizeCFF_specialize(self, testufo):
>         otf = compileOTF(testufo, optimizeCFF=1)
> >       expectTTX(otf, "TestFont-Specialized-CFF.ttx")
> 
> tests/integration_test.py:137: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff117daaa90>
> expectedTTX = 'TestFont-Specialized-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-Specialized-CFF.ttx
> +++ <generated>
> @@ -402,7 +402,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> ____________ IntegrationTest.test_optimizeCFF_subroutinize[ufoLib2] ____________
> 
> self = <tests.integration_test.IntegrationTest object at 0x7ff1069749d0>
> testufo = <ufoLib2.objects.font.Font 'Some Font (Family Name) Regular (Style Name)' at 0x7ff11759d5f0>
> 
>     def test_optimizeCFF_subroutinize(self, testufo):
>         otf = compileOTF(testufo, optimizeCFF=2)
> >       expectTTX(otf, "TestFont-CFF.ttx")
> 
> tests/integration_test.py:141: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> font = <fontTools.ttLib.ttFont.TTFont object at 0x7ff106a10650>
> expectedTTX = 'TestFont-CFF.ttx', tables = None
> 
>     def expectTTX(font, expectedTTX, tables=None):
>         with open(getpath(expectedTTX), "r", encoding="utf-8") as f:
>             expected = readLines(f)
>         font.recalcTimestamp = False
>         font["head"].created, font["head"].modified = 3570196637, 3601822698
>         font["head"].checkSumAdjustment = 0x12345678
>         f = UnicodeIO()
>         font.saveXML(f, tables=tables)
>     
>         actual = readLines(f)
>         if actual != expected:
>             for line in difflib.unified_diff(
>                 expected, actual, fromfile=expectedTTX, tofile="<generated>"
>             ):
>                 sys.stderr.write(line)
> >           pytest.fail("TTX output is different from expected")
> E           Failed: TTX output is different from expected
> 
> tests/integration_test.py:56: Failed
> ----------------------------- Captured stderr call -----------------------------
> --- TestFont-CFF.ttx
> +++ <generated>
> @@ -405,7 +405,7 @@
>        <!-- LookupCount=1 -->
>        <Lookup index="0">
>          <LookupType value="2"/>
> -        <LookupFlag value="8"/>
> +        <LookupFlag value="8"/><!-- ignoreMarks -->
>          <!-- SubTableCount=1 -->
>          <PairPos index="0" Format="1">
>            <Coverage Format="1">
> =============================== warnings summary ===============================
> ufo2ft/outlineCompiler.py:943
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ufo2ft/build/ufo2ft/outlineCompiler.py:943: DeprecationWarning: invalid escape sequence \s
>     '(^<ttFont\s+)(sfntVersion=".*"\s+)(.*>$)', flags=re.MULTILINE
> 
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> =========================== short test summary info ============================
> SKIPPED [2] .pybuild/cpython3_3.7_ufo2ft/build/tests/integration_test.py:110: skia-pathops is unavailable in debian yet
> SKIPPED [2] .pybuild/cpython3_3.7_ufo2ft/build/tests/integration_test.py:119: skia-pathops is unavailable in debian yet
> FAILED tests/integration_test.py::IntegrationTest::test_TestFont_TTF[defcon]
> FAILED tests/integration_test.py::IntegrationTest::test_TestFont_CFF[defcon]
> FAILED tests/integration_test.py::IntegrationTest::test_removeOverlaps_CFF[defcon]
> FAILED tests/integration_test.py::IntegrationTest::test_removeOverlaps[defcon]
> FAILED tests/integration_test.py::IntegrationTest::test_interpolatableTTFs_lazy[defcon]
> FAILED tests/integration_test.py::IntegrationTest::test_optimizeCFF_none[defcon]
> FAILED tests/integration_test.py::IntegrationTest::test_optimizeCFF_specialize[defcon]
> FAILED tests/integration_test.py::IntegrationTest::test_optimizeCFF_subroutinize[defcon]
> FAILED tests/integration_test.py::IntegrationTest::test_TestFont_TTF[ufoLib2]
> FAILED tests/integration_test.py::IntegrationTest::test_TestFont_CFF[ufoLib2]
> FAILED tests/integration_test.py::IntegrationTest::test_removeOverlaps_CFF[ufoLib2]
> FAILED tests/integration_test.py::IntegrationTest::test_removeOverlaps[ufoLib2]
> FAILED tests/integration_test.py::IntegrationTest::test_interpolatableTTFs_lazy[ufoLib2]
> FAILED tests/integration_test.py::IntegrationTest::test_optimizeCFF_none[ufoLib2]
> FAILED tests/integration_test.py::IntegrationTest::test_optimizeCFF_specialize[ufoLib2]
> FAILED tests/integration_test.py::IntegrationTest::test_optimizeCFF_subroutinize[ufoLib2]
> ========= 16 failed, 469 passed, 4 skipped, 1 warnings in 5.47 seconds =========
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_ufo2ft/build; python3.7 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.7 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/04/02/ufo2ft_2.12.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


Reply to: