Bug 9373

Summary: ptest for perl hang
Product: [QA/Testing] Runtime Testing Reporter: wangyi <yix.wang>
Component: generalAssignee: Aníbal Limón <anibal.limon>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: Medium CC: benjamin.esquivel, francisco.j.pedraza.gonzalez, leonardo.sandoval.gonzalez, randy.macleod, warthog9
Version: unspecified   
Target Milestone: 2.3 M1   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
Logs_2.2-M3 none

Description wangyi 2016-04-01 07:09:22 UTC
When i run perl ptest cases on my device, i found it hung at modules nntp_ipv6.t,pop3_ipv6.t,and smpt_ipv6.t. When test hung, i inputted "ps aux | grep perl" by another termimal, i found some processes which did not quit. if i kill these processes by manual, the test will be going and at this moment, the log file outputted these cases fail.So i modified wait() to kill() in these module files, and run test.The test failed but not hung.
Comment 1 John 'Warthog9' Hawley 2016-10-05 21:09:12 UTC
not a Minnow specific bug, punting back to PC
Comment 2 Randy MacLeod 2016-10-06 14:38:09 UTC
An old bug, please check if it's reproducible on master and perhaps older supported releases.
Comment 3 Aníbal Limón 2016-10-06 15:04:31 UTC
(In reply to comment #2)
> An old bug, please check if it's reproducible on master and perhaps older
> supported releases.

I wrote a new ptest-runner in C to avoid being blocked by some ptest package when fail and don't end the process, you will see TIMEOUT keyword into the ptest perl package.

But anyway the perl ptest need to be fixed.
Comment 4 Francisco Pedraza 2016-10-06 15:42:18 UTC
Created attachment 3457 [details]
Logs_2.2-M3
Comment 5 Francisco Pedraza 2016-10-06 15:45:27 UTC
(In reply to comment #4)
> Created attachment 3457 [details]
> Logs_2.2-M3

Status repor for ptest only have one failure for perl
https://wiki.yoctoproject.org/wiki/Ptest_2679a347c576f5411fbe802d2f6201c94036ecb2
I took a look on the logs for this, several test cases for perl are 'skipped' however I found this one as failure:
FAIL: t/porting/customized, under BEGIN: /usr/lib/perl/ptest
Comment 6 Benjamin Esquivel 2016-11-09 19:19:16 UTC
bug 8656 is also for the ptest perl failures and has enough information. Closing this as duplicate.

*** This bug has been marked as a duplicate of bug 8656 ***