On Fri, Dec 6, 2024 at 3:20 AM David Laight <David.Laight(a)aculab.com> wrote:
>
> From: Naresh Kamboju
> > Sent: 05 December 2024 18:42
> >
> > On Thu, 5 Dec 2024 at 20:46, Dan Carpenter <dan.carpenter(a)linaro.org> wrote:
> > >
> > > Add David to the CC list.
> >
> > Anders bisected this reported issue and found the first bad commit as,
> >
> > # first bad commit:
> > [ef32b92ac605ba1b7692827330b9c60259f0af49]
> > minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp()
>
> That 'just' changed the test to use __builtin_constant_p() and
> thus gets checked after the optimiser has run.
>
> I can paraphrase the code as:
> unsigned int fn(unsigned int x)
> {
> return clamp(10, 5, x == 0 ? 0 : x - 1);
> }
> which is never actually called with x <= 5.
> The compiler converts it to:
> return x < 0 ? clamp(10, 5, 0) : clamp(10, 5, x);
> (Probably because it can see that clamp(10, 5, 0) is constant.)
> And then the compile-time sanity check in clamp() fires.
>
> The order of the arguments to clamp is just wrong!
>
> David
>
The build is still failing with today's next, should the offending
commit be reverted?
Bartosz
Total jobs: 96
Total errors: 15 (15.62%)
LAVA errors: 0 (0.00%)
Test errors: 15 (15.62%)
Job errors: 0 (0.00%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 92
Total errors: 13 (14.13%)
Error type: Test
Error count: 13 (14.13%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 6 (6.52%)
IDs:
db845c-01:
8020679 8021041 8021044
db845c-03:
8020676
db845c-04:
8021042
db845c-08:
8020675
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 4 (4.35%)
IDs:
db845c-09:
8002392 8002394 8002395 8020569
Error: Device NOT found!
Count: 2 (2.17%)
IDs:
db845c-09:
8020562 8020566
Error: No match for error type 'Test', message 'tradefed - adb device lost[fbf682a2]'
Count: 1 (1.09%)
IDs:
db845c-09:
8020480
Device type: hi6220-hikey-r2
Total jobs: 2
Total errors: 2 (100.00%)
Error type: Test
Error count: 2 (100.00%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 2 (100.00%)
IDs:
hikey-6220-r2-05:
8021574 8021589
Device type: rk3399-rock-pi-4b
Total jobs: 1
Total errors: 0 (0.00%)
Device type: hi960-hikey
Total jobs: 1
Total errors: 0 (0.00%)
Total jobs: 167
Total errors: 28 (16.77%)
LAVA errors: 0 (0.00%)
Test errors: 17 (10.18%)
Job errors: 11 (6.59%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: qrb5165-rb5
Total jobs: 46
Total errors: 5 (10.87%)
Error type: Test
Error count: 5 (10.87%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 1 (2.17%)
IDs:
rb5-03:
8020591
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 1 (2.17%)
IDs:
rb5-03:
8020585
Error: Device NOT found!
Count: 2 (4.35%)
IDs:
rb5-03:
8019902 8020507
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 591 seconds'
Count: 1 (2.17%)
IDs:
rb5-03:
8019942
Device type: hi6220-hikey-r2
Total jobs: 1
Total errors: 0 (0.00%)
Device type: sm8550-hdk
Total jobs: 11
Total errors: 11 (100.00%)
Error type: Job
Error count: 11 (100.00%)
Error: wait for prompt timed out
Count: 5 (45.45%)
IDs:
sm8550-hdk-01:
8020517 8020523 8020525 8020548 8020549
Error: No match for error type 'Job', message 'login-action timed out after 875 seconds'
Count: 4 (36.36%)
IDs:
sm8550-hdk-01:
8020513 8020524 8020526 8020534
Error: No match for error type 'Job', message 'login-action timed out after 852 seconds'
Count: 1 (9.09%)
IDs:
sm8550-hdk-01:
8020532
Error: No match for error type 'Job', message 'login-action timed out after 872 seconds'
Count: 1 (9.09%)
IDs:
sm8550-hdk-01:
8020531
Device type: dragonboard-845c
Total jobs: 94
Total errors: 11 (11.70%)
Error type: Test
Error count: 11 (11.70%)
Error: Device NOT found!
Count: 2 (2.13%)
IDs:
db845c-09:
8019734 8019790
Error: No match for error type 'Test', message 'tradefed - adb device lost[fbf682a2]'
Count: 3 (3.19%)
IDs:
db845c-09:
8017712 8019696 8019739
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 591 seconds'
Count: 1 (1.06%)
IDs:
db845c-09:
8019517
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 3 (3.19%)
IDs:
db845c-04:
8019516
db845c-07:
8019511
db845c-09:
8019510
Error: No match for error type 'Test', message 'lava-test-interactive timed out after 600 seconds'
Count: 1 (1.06%)
IDs:
db845c-03:
8017670
Error: No match for error type 'Test', message 'tradefed - adb device lost[b6b742b9]'
Count: 1 (1.06%)
IDs:
db845c-01:
8017606
Device type: hi960-hikey
Total jobs: 15
Total errors: 1 (6.67%)
Error type: Test
Error count: 1 (6.67%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[47D27933024424E6]'
Count: 1 (6.67%)
IDs:
hi960-hikey-04:
8017573