Bug 14633

Summary: AB-INT PTEST: tcl ptest intermittent failure
Product: [QA/Testing] Package Testing (ptest) Reporter: Minjae Kim <flowergom>
Component: ptestAssignee: Unassigned <unassigned>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Undecided CC: randy.macleod, richard.purdie
Version: 3.4   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Minjae Kim 2021-11-17 06:41:26 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/2405/steps/12/logs/stdio
WARNING: core-image-ptest-all-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 25, in test_ptestrunner_expectfail
    self.do_ptestrunner()
  File "/home/pokybuild/yocto-worker/qemuarm64-ptest/build/meta/lib/oeqa/runtime/cases/ptest.py", line 112, in do_ptestrunner
    self.fail(failmsg)
AssertionError: Failed ptests:
{'tcl': '2021-10-15T18:56\n'
        '2021-10-15T18:56\n'
        'PASS: aaa_exit.test\n'
        'PASS: append.test\n'
        'PASS: appendComp.test\n'
        'PASS: apply.test\n'
        'PASS: assemble.test\n'
        'PASS: assocd.test\n'
        'PASS: async.test\n'
        'PASS: autoMkindex.test\n'
        'PASS: basic.test\n'
        'PASS: binary.test\n'
        'PASS: case.test\n'
        'PASS: chan.test\n'
        'PASS: chanio.test\n'
        'PASS: clock.test\n'
        'PASS: cmdAH.test\n'
        'PASS: cmdIL.test\n'
        'PASS: cmdInfo.test\n'
        'PASS: cmdMZ.test\n'
        'PASS: compExpr-old.test\n'
        'PASS: compExpr.test\n'
        'PASS: compile.test\n'
        'PASS: concat.test\n'
        'PASS: config.test\n'
        'PASS: coroutin
.......
Comment 1 Randy MacLeod 2021-11-18 15:56:50 UTC
From the process tree:
        'init\n'
        '  |-dbus-daemon --system\n'
        '  |-getty 38400 tty1\n'
        '  |-klogd -n\n'
        '  |-rngd -r /dev/hwrng\n'
        '  |   `-4*[{rngd}]\n'
        '  |-sshd\n'
        '  |   `-sshd\n'
        '  |       `-ptest-runner -t 450 -d /usr/lib\n'
        '  |           |-ptest-runner-co '
        '/usr/bin/ptest-runner-collect-system-data\n'
        '  |           |   `-pstree -a -l\n'
        '  |           |-run-ptest /usr/lib/tcl/ptest/run-ptest\n'
        '  |           |   `-tcltest tests/all.tcl -file socket.test\n'
        '  |           |       `-tcltest /usr/lib/tcl/ptest/tests/socket.test '
        '-file socket.test -testdir /usr/lib/tcl/ptest/tests\n'
        '  |           |           `-{tcltest}\n'
        '  |           `-{ptest-runner}\n'
        '  |-start_getty /bin/start_getty 115200 ttyAMA0 vt102\n'
        '  |   `-sh\n'
        '  |-start_getty /bin/start_getty 115200 hvc0 vt102\n'
        '  |   `-getty -L 115200 hvc0 vt102\n'
        '  |-syslogd -n -O /var/log/messages\n'
        '  `-udevd -d\n'

The socket test seems to be hung or at least timed out.
Comment 2 Richard Purdie 2021-11-18 15:57:51 UTC
Looks related to the other bug, can hang or fail

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