When executing patchtest on guest, the suite starts testing mboxes located at $BASE/mboxes, but after testing around half of them, the guest stops the patchtest execution with the following message: /patchtest/mboxes/4134.1.mbox /patchtest/mboxes/4135.1.mbox /patchtest/patchtest/scripts/test-mboxes: line 86: /patchtest/results/4135.1.mbox.log: Too many open files INIT: Switching to runlevel: 0 INIT: Sending processes the TERM signal Right after halting, $BASE/results contains empty.json and .log files for the mboxes that couldn't be tested.
When manually executed in guest, the following exception is raised before the suite tests all the mboxes, causing it to stop. ---------------------------------------------------------------------- Ran 4 tests in 0.197s OK Traceback (most recent call last): File "/patchtest/patchtest/patchtest", line 154, in _runner result = runner.run(suite) File "/usr/lib/python2.7/unittest/runner.py", line 149, in run startTestRun() File "/patchtest/patchtest/patchtest", line 101, in startTestRun self.repo.merge() File "/patchtest/patchtest/lib/patchtestrepo.py", line 161, in merge 'updateenv': {'PTRESOURCE':self._patch.path}}) File "/patchtest/patchtest/lib/patchtestrepo.py", line 116, in _exec raise ce CmdException None patchtest failed, removing patchtest branch
(In reply to comment #1) > When manually executed in guest, the following exception is raised before > the suite tests all the mboxes, causing it to stop. > > ---------------------------------------------------------------------- > Ran 4 tests in 0.197s > > OK > Traceback (most recent call last): > File "/patchtest/patchtest/patchtest", line 154, in _runner > result = runner.run(suite) > File "/usr/lib/python2.7/unittest/runner.py", line 149, in run > startTestRun() > File "/patchtest/patchtest/patchtest", line 101, in startTestRun > self.repo.merge() > File "/patchtest/patchtest/lib/patchtestrepo.py", line 161, in merge > 'updateenv': {'PTRESOURCE':self._patch.path}}) > File "/patchtest/patchtest/lib/patchtestrepo.py", line 116, in _exec > raise ce > CmdException > None > patchtest failed, removing patchtest branch This is not related to the reported issue. Please file a bug and make sure you provide enough info; also indicate if pt execution @ host has the same issue.
The message no longer appears using the script [1] to create and launch the guest machine. Resolving this as NOTABUG. [1] http://git.yoctoproject.org/cgit/cgit.cgi/patchtest/tree/scripts/create-guest?h=create-guest