<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 25, 2020 at 3:54 AM Bryce Harrington <<a href="mailto:bryce.harrington@canonical.com">bryce.harrington@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Christian, would you mind looking into this one?<br></blockquote><div><br></div><div>Sure, taking a look ... </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Tue, Mar 24, 2020 at 07:14:02PM -0700, Bryce Harrington wrote:<br>
> > > php-league-commonmark<br>
> > >   - League\CommonMark\Tests\Functional\BinTest::testStdin<br>
> > >     Failed asserting that 1 matches expected 0.<br>
> > >   - 1.3.1-1 could be sync'd from debian<br>
> > >   - syncpackage -V 1.3.1-1 -d unstable -r focal-proposed php-league-commonmark<br>
> > >   - Sync Done<br>
> > >   - Yet php-defaults still showing as built against<br>
> > >     php-league-commonmark 1.3.0-1...?<br>
> > >   - Guessing needs a retrigger?<br>
> > <br>
> > 1.3.1-1 is still failing the same way.  The test result needs to be<br>
> > analyzed and a patch figured out.  This might be HW specific to s390.<br>
> <br>
> Still needs figured out<br>
<br>
This appears to be something peculiar to s390x, which I'm guessing you<br>
know a way to run checks on?<br>
<br>
>From the test it looks like it's simply doing:<br>
<br>
$ bin/commonmark ./tests/functional/data/atx_heading.md<br></blockquote><div><br></div><div>In an unbuilt tree this fails for sure:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">root@f-php:~/php-league-commonmark-1.3.1# bin/commonmark ./tests/functional/data/atx_heading.md
</span><br>PHP Fatal error:  Uncaught Error: Class 'League\CommonMark\CommonMarkConverter' not found in /root/php-league-commonmark-1.3.1/bin/commonmark:84
<br>Stack trace:
<br>#0 {main}
<br>  thrown in /root/php-league-commonmark-1.3.1/bin/commonmark on line 84
<br>Fatal error: Uncaught Error: Class 'League\CommonMark\CommonMarkConverter' not found in /root/php-league-commonmark-1.3.1/bin/commonmark:84
<br>Stack trace:
<br>#0 {main}
<br>  thrown in /root/php-league-commonmark-1.3.1/bin/commonmark on line 84<br>
<br></span></div><div><span style="font-family:monospace">If I build it on s390x it runs the tests as well and they all work.</span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(178,104,24)">WARNINGS!</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(0,0,0);background-color:rgb(178,104,24)">Tests: 2773, Assertions: 3341, Warnings: 92.</span></span> </div><div><br></div><div>The warnings are mostly deprecation warnings.</div><div>Running the same in the build dir or as autopkgtest returns the same result (working)</div><div><br></div><div>Running commonmark itself also works just fine.</div><div>TL;DR: not reproducible outside of launchpad test env :-/</div><div><br></div><div>I might later on check if different package levels (I ran all proposed) might change anything.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<h1>H1</h1><br>
<h2>H2</h2><br>
<h3>H3</h3><br>
<h4>H4</h4><br>
<h5>H5</h5><br>
<h6>H6</h6><br>
<h1>H1</h1><br>
<h2>H2</h2><br>
<h3>H3</h3><br>
<h4>H4</h4><br>
<h5>H5</h5><br>
<h6>H6</h6><br>
<br>
For some unclear reason, on s390x this is resulting in an exitcode of<br>
1.  Can you check and see if you can reproduce that, and if so look at<br>
what might be going on?<br>
<br>
Thanks,<br>
Bryce<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Christian Ehrhardt<br>Staff Engineer, Ubuntu Server<br>Canonical Ltd</div></div>