Bug 14882

Summary: AB-INT PTEST ARM: tcl cmdMZ.test failure
Product: [QA/Testing] Package Testing (ptest) Reporter: Alexandre Belloni <alexandre.belloni>
Component: ptestAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandre.belloni, randy.macleod
Version: unspecified   
Target Milestone: 5.0   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT AB-HAVE-PLAN
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
TCL ptest log none

Description Alexandre Belloni 2022-08-11 12:18:47 UTC
Created attachment 4893 [details]
TCL ptest log

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/3521/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1


cmdMZ.test


==== cmdMZ-6.6 Tcl_TimeRateObjCmd: slower commands take longer, but it remains almost the same time of measument FAILED
==== Contents of test case:

    set m1 [timerate {_nrt_sleep 0.01} 50]
    set m2 [timerate {_nrt_sleep 1.00} 50]
    list [list  [expr {[lindex $m1 0] < [lindex $m2 0]}]  [expr {[lindex $m1 0] < 100}]  [expr {[lindex $m2 0] > 100}]  [expr {[lindex $m1 2] > 500}]  [expr {[lindex $m2 2] < 500}]  [expr {[lindex $m1 4] > 10000}]  [expr {[lindex $m2 4] < 10000}]  [expr {[lindex $m1 6] > 5 && [lindex $m1 6] < 100}]  [expr {[lindex $m2 6] > 5 && [lindex $m2 6] < 100}]  ] $m1 $m2; # interesting only in error case.

---- Result was:
{1 1 1 1 1 1 1 1 0} {10.0727 s/# 4964 # 99278.0 #/sec 50.001 net-ms} {3347.00 s/# 34 # 298.78 #/sec 113.798 net-ms}
---- Result should have been (glob matching):
{1 1 1 1 1 1 1 1 1} *
==== cmdMZ-6.6 FAILED
Comment 1 Randy MacLeod 2023-04-21 18:45:44 UTC
Moved en masse from 4.2 to 4.3 by Randy.
Comment 2 Alexandre Belloni 2023-07-19 14:45:37 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5002/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1
Comment 3 Alexandre Belloni 2023-09-07 17:16:06 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/5538/steps/12/logs/stdio

qemux86-64-ptest debian11-ty-1
Comment 4 Alexandre Belloni 2023-09-21 17:13:40 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5451/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1
Comment 5 Ross Burton 2023-12-07 22:20:50 UTC
Patch to add skips sent.
Comment 6 Ross Burton 2023-12-13 16:49:05 UTC
Hopefully fixed in 68beb4f4b5a0bea5d431decddf7656f18ac7a04a.