[Bug 1890341] Re: Intermittent autopkgtest failure with testStdinPipe (s390x)
Launchpad Bug Tracker
1890341 at bugs.launchpad.net
Thu Aug 27 17:30:59 UTC 2020
This bug was fixed in the package phpmyadmin-sql-parser - 4.6.1-2ubuntu1
---------------
phpmyadmin-sql-parser (4.6.1-2ubuntu1) groovy; urgency=medium
* d/p/use-stream-select-instead-of-non-blocking-stdin.patch: Fix FTBFS
and autopkgtest failure due to non-determinism when using non-blocking
stdin to read inputs. The fix is to use the well-known idiom of
"select + a timeout" instead. (LP: #1890341)
-- Sergio Durigan Junior <sergio.durigan at canonical.com> Wed, 26 Aug
2020 19:47:54 -0400
** Changed in: phpmyadmin-sql-parser (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1890341
Title:
Intermittent autopkgtest failure with testStdinPipe (s390x)
Status in phpMyAdmin sql-parser:
Fix Committed
Status in phpmyadmin-sql-parser package in Ubuntu:
Fix Released
Bug description:
On s390x (only), the unit test suite appears to fail intermittently on
a test case that invokes the php cli binary. This test case executes
the binary six times, which sometimes passes, and sometimes fails with
error code 1. It appears that re-triggering the test several times
eventually results in it (randomly?) passing, but it passes only about
10-20% of the time.
Upstream: https://github.com/phpmyadmin/sql-parser/issues/309
Below is one of the test runs, where all 6 attempts failed:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-groovy/groovy/s390x/p/phpmyadmin-sql-
parser/20200804_040216_41a8c@/log.gz
There were 6 failures:
1) PhpMyAdmin\SqlParser\Tests\Utils\CLITest::testStdinPipe with data set #0 ('echo "SELECT 1" | /usr/bin/ph...-query', 0)
Failed asserting that 1 is identical to 0.
/tmp/autopkgtest.BXMsD1/build.Bwe/src/tests/Utils/CLITest.php:431
2) PhpMyAdmin\SqlParser\Tests\Utils\CLITest::testStdinPipe with data set #1 ('echo "invalid query" | /usr/b...-query', 0)
Failed asserting that 1 is identical to 0.
/tmp/autopkgtest.BXMsD1/build.Bwe/src/tests/Utils/CLITest.php:431
3) PhpMyAdmin\SqlParser\Tests\Utils\CLITest::testStdinPipe with data set #2 ('echo "SELECT 1" | /usr/bin/ph...-query', 0)
Failed asserting that 1 is identical to 0.
/tmp/autopkgtest.BXMsD1/build.Bwe/src/tests/Utils/CLITest.php:431
4) PhpMyAdmin\SqlParser\Tests\Utils\CLITest::testStdinPipe with data set #3 ('echo "invalid query" | /usr/b...-query', 10)
Failed asserting that 1 is identical to 10.
/tmp/autopkgtest.BXMsD1/build.Bwe/src/tests/Utils/CLITest.php:431
5) PhpMyAdmin\SqlParser\Tests\Utils\CLITest::testStdinPipe with data set #4 ('echo "SELECT 1" | /usr/bin/ph...-query', 0)
Failed asserting that 1 is identical to 0.
/tmp/autopkgtest.BXMsD1/build.Bwe/src/tests/Utils/CLITest.php:431
6) PhpMyAdmin\SqlParser\Tests\Utils\CLITest::testStdinPipe with data set #5 ('echo "invalid query" | /usr/b...-query', 0)
Failed asserting that 1 is identical to 0.
/tmp/autopkgtest.BXMsD1/build.Bwe/src/tests/Utils/CLITest.php:431
--
To manage notifications about this bug go to:
https://bugs.launchpad.net/phpmyadmin-sql-parser/+bug/1890341/+subscriptions
More information about the Ubuntu-sponsors
mailing list