Total jobs: 246
Total errors: 56 (22.76%)
LAVA errors: 0 (0.00%)
Test errors: 38 (15.45%)
Job errors: 3 (1.22%)
Infra errors: 15 (6.10%)
Canceled jobs: 0 (0.00%)
Device type: x86
Total jobs: 2
Total errors: 0 (0.00%)
Device type: hi6220-hikey-r2
Total jobs: 49
Total errors: 19 (38.78%)
Error type: Test
Error count: 15 (30.61%)
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 8 (16.33%)
IDs:
hikey-6220-r2-01:
8024874 8025832 8028718
hikey-6220-r2-05:
8024559 8024593 8024871 8024872 8024875
Error: No match for error type 'Test', message 'tradefed - adb device lost[4595FE84003F72FC]'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-04:
8028298
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 594 seconds'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-01:
8025839
Error: Device NOT found!
Count: 1 (2.04%)
IDs:
hikey-6220-r2-03:
8025838
Error: No match for error type 'Test', message 'tradefed - adb device lost[235D989C003B0752]'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-03:
8025033
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-03:
8025032
Error: No match for error type 'Test', message 'tradefed - adb device lost[191FC75C003312EE]'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-06:
8024908
Error: No match for error type 'Test', message 'tradefed - adb device lost[7B1579B5003E507A]'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-05:
8024590
Error type: Infrastructure
Error count: 4 (8.16%)
Error: fastboot-flash-action timed out
Count: 1 (2.04%)
IDs:
hikey-6220-r2-01:
8025833
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 888 seconds'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-06:
8024554
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 1174 seconds'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-06:
8024067
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 1173 seconds'
Count: 1 (2.04%)
IDs:
hikey-6220-r2-06:
8024063
Device type: dragonboard-845c
Total jobs: 70
Total errors: 15 (21.43%)
Error type: Test
Error count: 10 (14.29%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 2 (2.86%)
IDs:
db845c-09:
8024446 8024930
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 595 seconds'
Count: 2 (2.86%)
IDs:
db845c-01:
8024513
db845c-07:
8024463
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 292 seconds'
Count: 1 (1.43%)
IDs:
db845c-01:
8024509
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 592 seconds'
Count: 1 (1.43%)
IDs:
db845c-07:
8024505
Error: Device NOT found!
Count: 3 (4.29%)
IDs:
db845c-07:
8023952
db845c-09:
8024192 8024443
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 596 seconds'
Count: 1 (1.43%)
IDs:
db845c-09:
8023992
Error type: Infrastructure
Error count: 4 (5.71%)
Error: fastboot-flash-action timed out
Count: 4 (5.71%)
IDs:
db845c-01:
8024468 8024503
db845c-07:
8024464 8024499
Error type: Job
Error count: 1 (1.43%)
Error: No match for error type 'Job', message 'job-cleanup timed out after 300 seconds'
Count: 1 (1.43%)
IDs:
db845c-01:
8024236
Device type: x15
Total jobs: 2
Total errors: 0 (0.00%)
Device type: qrb5165-rb5
Total jobs: 102
Total errors: 18 (17.65%)
Error type: Test
Error count: 12 (11.76%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 596 seconds'
Count: 1 (0.98%)
IDs:
rb5-03:
8028368
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 3 (2.94%)
IDs:
rb5-03:
8024477 8024998 8028351
Error: Device NOT found!
Count: 5 (4.90%)
IDs:
rb5-01:
8024244
rb5-03:
8024207 8024304 8024911 8028347
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 298 seconds'
Count: 1 (0.98%)
IDs:
rb5-07:
8024997
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 297 seconds'
Count: 1 (0.98%)
IDs:
rb5-07:
8024975
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 1 (0.98%)
IDs:
rb5-03:
8024526
Error type: Infrastructure
Error count: 4 (3.92%)
Error: Connection closed
Count: 2 (1.96%)
IDs:
rb5-05:
8024473 8028297
Error: fastboot-flash-action timed out
Count: 2 (1.96%)
IDs:
rb5-07:
8024530 8024877
Error type: Job
Error count: 2 (1.96%)
Error: wait for prompt timed out
Count: 1 (0.98%)
IDs:
rb5-03:
8024529
Error: No match for error type 'Job', message 'job-cleanup timed out after 300 seconds'
Count: 1 (0.98%)
IDs:
rb5-07:
8024480
Device type: sm8550-hdk
Total jobs: 8
Total errors: 4 (50.00%)
Error type: Infrastructure
Error count: 3 (37.50%)
Error: No match for error type 'Infrastructure', message 'fastboot-boot-commands timed out after 901 seconds'
Count: 1 (12.50%)
IDs:
sm8550-hdk-01:
8027964
Error: No match for error type 'Infrastructure', message 'boot-fastboot timed out after 882 seconds'
Count: 1 (12.50%)
IDs:
sm8550-hdk-01:
8024993
Error: No match for error type 'Infrastructure', message 'boot-fastboot timed out after 876 seconds'
Count: 1 (12.50%)
IDs:
sm8550-hdk-01:
8024992
Error type: Test
Error count: 1 (12.50%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 592 seconds'
Count: 1 (12.50%)
IDs:
sm8550-hdk-01:
8024991
Device type: rk3399-rock-pi-4b
Total jobs: 2
Total errors: 0 (0.00%)
Device type: hi960-hikey
Total jobs: 11
Total errors: 0 (0.00%)
I am Tomasz Chmielewski, a Portfolio Manager and Chartered
Financial Analyst affiliated with Iwoca Poland Sp. Z OO in
Poland. I have the privilege of working with distinguished
investors who are eager to support your company's current
initiatives, thereby broadening their investment portfolios. If
this proposal aligns with your interests, I invite you to
respond, and I will gladly share more information to assist you.
Yours sincerely,
Tomasz Chmielewski Warsaw, Mazowieckie,
Poland.
Total jobs: 360
Total errors: 62 (17.22%)
LAVA errors: 0 (0.00%)
Test errors: 57 (15.83%)
Job errors: 1 (0.28%)
Infra errors: 4 (1.11%)
Canceled jobs: 0 (0.00%)
Device type: rk3399-rock-pi-4b
Total jobs: 1
Total errors: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 164
Total errors: 11 (6.71%)
Error type: Test
Error count: 10 (6.10%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 5 (3.05%)
IDs:
db845c-09:
8022982 8023348 8023807 8023887 8023890
Error: No match for error type 'Test', message 'tradefed - adb device lost[b6b742b9]'
Count: 1 (0.61%)
IDs:
db845c-01:
8023873
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 597 seconds'
Count: 1 (0.61%)
IDs:
db845c-09:
8023786
Error: No match for error type 'Test', message 'tradefed - adb device lost[fbf682a2]'
Count: 1 (0.61%)
IDs:
db845c-09:
8023756
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 595 seconds'
Count: 1 (0.61%)
IDs:
db845c-09:
8023062
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 293 seconds'
Count: 1 (0.61%)
IDs:
db845c-07:
8022961
Error type: Job
Error count: 1 (0.61%)
Error: wait for prompt timed out
Count: 1 (0.61%)
IDs:
db845c-10:
8022999
Device type: sm8550-hdk
Total jobs: 11
Total errors: 2 (18.18%)
Error type: Test
Error count: 2 (18.18%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 1 (9.09%)
IDs:
sm8550-hdk-01:
8023817
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 595 seconds'
Count: 1 (9.09%)
IDs:
sm8550-hdk-01:
8023816
Device type: qrb5165-rb5
Total jobs: 82
Total errors: 10 (12.20%)
Error type: Test
Error count: 10 (12.20%)
Error: Device NOT found!
Count: 2 (2.44%)
IDs:
rb5-01:
8023820
rb5-03:
8024014
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 6 (7.32%)
IDs:
rb5-03:
8023772 8023838 8023858 8023893 8023934
8023937
Error: No match for error type 'Test', message 'tradefed - adb device lost[74d67c95]'
Count: 1 (1.22%)
IDs:
rb5-03:
8023836
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 597 seconds'
Count: 1 (1.22%)
IDs:
rb5-03:
8023823
Device type: hi960-hikey
Total jobs: 35
Total errors: 4 (11.43%)
Error type: Test
Error count: 4 (11.43%)
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 2 (5.71%)
IDs:
hi960-hikey-03:
8024075
hi960-hikey-04:
8023669
Error: No match for error type 'Test', message 'tradefed - adb device lost[47D27933024424E6]'
Count: 1 (2.86%)
IDs:
hi960-hikey-04:
8024074
Error: Device NOT found!
Count: 1 (2.86%)
IDs:
hi960-hikey-04:
8023659
Device type: hi6220-hikey-r2
Total jobs: 67
Total errors: 35 (52.24%)
Error type: Test
Error count: 31 (46.27%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[191FC75C003312EE]'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-06:
8024059
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 22 (32.84%)
IDs:
hikey-6220-r2-01:
8023697 8023699
hikey-6220-r2-05:
8023681 8023688 8023689 8023705 8023707
8023710 8024010 8024035 8024036 8024037
8024039 8024040 8024046 8024047 8024049
8024050 8024051 8024053 8024054 8024057
Error: Device NOT found!
Count: 2 (2.99%)
IDs:
hikey-6220-r2-03:
8023692
hikey-6220-r2-05:
8024043
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 28788 seconds'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-03:
8023991
Error: No match for error type 'Test', message 'tradefed - adb device lost[2047EDF7003CEE68]'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-01:
8023958
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 2 (2.99%)
IDs:
hikey-6220-r2-03:
8023716
hikey-6220-r2-04:
8023713
Error: No match for error type 'Test', message 'tradefed - adb device lost[4595FE84003F72FC]'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-04:
8023709
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 28798 seconds'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-06:
8023682
Error type: Infrastructure
Error count: 4 (5.97%)
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 888 seconds'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-06:
8024056
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 1165 seconds'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-06:
8024052
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 1172 seconds'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-06:
8024048
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 1174 seconds'
Count: 1 (1.49%)
IDs:
hikey-6220-r2-06:
8024045
Total jobs: 150
Total errors: 11 (7.33%)
LAVA errors: 0 (0.00%)
Test errors: 0 (0.00%)
Job errors: 11 (7.33%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-410c
Total jobs: 11
Total errors: 10 (90.91%)
Error type: Job
Error count: 10 (90.91%)
Error: No match for error type 'Job', message 'Unable to update image rootfs: 'mount: mount exited with status 32: mount: /sysroot: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.\n dmesg(1) may have more information after failed mount system call.''
Count: 10 (90.91%)
IDs:
dragonboard-410c-01:
4117882 4117931 4117933 4117940 4117956
4117972 4117996 4118029 4118034 4118052
Device type: dragonboard-845c
Total jobs: 11
Total errors: 0 (0.00%)
Device type: beaglebone-black
Total jobs: 41
Total errors: 0 (0.00%)
Device type: bcm2837-rpi-3-b-32
Total jobs: 43
Total errors: 0 (0.00%)
Device type: x15
Total jobs: 32
Total errors: 1 (3.12%)
Error type: Job
Error count: 1 (3.12%)
Error: No match for error type 'Job', message 'login-action timed out after 275 seconds'
Count: 1 (3.12%)
IDs:
x15-01:
4118015
Device type: qemu
Total jobs: 4
Total errors: 0 (0.00%)
Device type: frdm-kw41z
Total jobs: 2
Total errors: 0 (0.00%)
Device type: frdm-k64f
Total jobs: 3
Total errors: 0 (0.00%)
Device type: docker
Total jobs: 2
Total errors: 0 (0.00%)
Device type: hi6220-hikey-r2
Total jobs: 1
Total errors: 0 (0.00%)
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
Total jobs: 205
Total errors: 58 (28.29%)
LAVA errors: 0 (0.00%)
Test errors: 31 (15.12%)
Job errors: 22 (10.73%)
Infra errors: 5 (2.44%)
Canceled jobs: 0 (0.00%)
Device type: sm8550-hdk
Total jobs: 21
Total errors: 21 (100.00%)
Error type: Job
Error count: 21 (100.00%)
Error: No match for error type 'Job', message 'login-action timed out after 875 seconds'
Count: 12 (57.14%)
IDs:
sm8550-hdk-01:
8017416 8017418 8017422 8017423 8017427
8017453 8017454 8019771 8019776 8020465
8020508 8020511
Error: No match for error type 'Job', message 'login-action timed out after 876 seconds'
Count: 1 (4.76%)
IDs:
sm8550-hdk-01:
8020468
Error: wait for prompt timed out
Count: 7 (33.33%)
IDs:
sm8550-hdk-01:
8017421 8017431 8017442 8017452 8017455
8019773 8019774
Error: No match for error type 'Job', message 'login-action timed out after 870 seconds'
Count: 1 (4.76%)
IDs:
sm8550-hdk-01:
8019772
Device type: hi6220-hikey-r2
Total jobs: 29
Total errors: 16 (55.17%)
Error type: Test
Error count: 13 (44.83%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[235D989C003B0752]'
Count: 5 (17.24%)
IDs:
hikey-6220-r2-03:
8017751 8019520 8019576 8019947 8020467
Error: No match for error type 'Test', message 'tradefed - adb device lost[7B1579B5003E507A]'
Count: 1 (3.45%)
IDs:
hikey-6220-r2-05:
8019961
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 2 (6.90%)
IDs:
hikey-6220-r2-05:
8019584 8019946
Error: No match for error type 'Test', message 'tradefed - adb device lost[191FC75C003312EE]'
Count: 3 (10.34%)
IDs:
hikey-6220-r2-06:
8017400 8017517 8019579
Error: No match for error type 'Test', message 'tradefed - adb device lost[4595FE84003F72FC]'
Count: 1 (3.45%)
IDs:
hikey-6220-r2-04:
8017590
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 28798 seconds'
Count: 1 (3.45%)
IDs:
hikey-6220-r2-05:
8017456
Error type: Infrastructure
Error count: 2 (6.90%)
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 888 seconds'
Count: 1 (3.45%)
IDs:
hikey-6220-r2-06:
8020458
Error: No match for error type 'Infrastructure', message 'wait-device-boardid timed out after 1171 seconds'
Count: 1 (3.45%)
IDs:
hikey-6220-r2-06:
8019577
Error type: Job
Error count: 1 (3.45%)
Error: No match for error type 'Job', message 'login-action timed out after 880 seconds'
Count: 1 (3.45%)
IDs:
hikey-6220-r2-01:
8017457
Device type: rk3399-rock-pi-4b
Total jobs: 2
Total errors: 0 (0.00%)
Device type: qrb5165-rb5
Total jobs: 73
Total errors: 10 (13.70%)
Error type: Test
Error count: 8 (10.96%)
Error: Device NOT found!
Count: 2 (2.74%)
IDs:
rb5-03:
8017738 8019745
Error: No match for error type 'Test', message 'tradefed - adb device lost[d8a1879f]'
Count: 1 (1.37%)
IDs:
rb5-07:
8019714
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 598 seconds'
Count: 4 (5.48%)
IDs:
rb5-01:
8017623
rb5-03:
8017529 8019677 8019680
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 581 seconds'
Count: 1 (1.37%)
IDs:
rb5-07:
8019565
Error type: Infrastructure
Error count: 2 (2.74%)
Error: fastboot-flash-action timed out
Count: 2 (2.74%)
IDs:
rb5-07:
8017688 8017703
Device type: x15
Total jobs: 1
Total errors: 1 (100.00%)
Error type: Test
Error count: 1 (100.00%)
Error: lava-test-shell timed out
Count: 1 (100.00%)
IDs:
x15-06:
8018361
Device type: dragonboard-845c
Total jobs: 57
Total errors: 10 (17.54%)
Error type: Test
Error count: 9 (15.79%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[c7cf1849]'
Count: 1 (1.75%)
IDs:
db845c-07:
8017549
Error: No match for error type 'Test', message 'tradefed - adb device lost[b6b742b9]'
Count: 2 (3.51%)
IDs:
db845c-01:
8017481 8017547
Error: No match for error type 'Test', message 'lava-docker-test-shell timed out after 594 seconds'
Count: 1 (1.75%)
IDs:
db845c-07:
8017510
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 3 (5.26%)
IDs:
db845c-04:
8017505 8017508
db845c-08:
8017507
Error: No match for error type 'Test', message 'lava-test-interactive timed out after 600 seconds'
Count: 1 (1.75%)
IDs:
db845c-03:
8017488
Error: Device NOT found!
Count: 1 (1.75%)
IDs:
db845c-09:
8017168
Error type: Infrastructure
Error count: 1 (1.75%)
Error: fastboot-flash-action timed out
Count: 1 (1.75%)
IDs:
db845c-01:
8017525
Device type: hi960-hikey
Total jobs: 22
Total errors: 0 (0.00%)
Hello,
On Fri, 6 Dec 2024, David Laight wrote:
> From: Julian Anastasov
> > Sent: 06 December 2024 16:23
> ...
> > I'm not sure how much memory we can see in small system,
> > IMHO, problem should not be possible in practice:
> >
> > - nobody expects 0 from totalram_pages() in the code
> >
> > - order_base_2(sizeof(struct ip_vs_conn)) is probably 8 on 32-bit
>
> It is 0x120 bytes on 64bit, so 8 could well be right.
That is already for 9 :)
> > > Is all stems from order_base_2(totalram_pages()).
> > > order_base_2(n) is 'n > 1 ? ilog2(n - 1) + 1 : 0'.
> > > And the compiler generates two copies of the code that follows
> > > for the 'constant zero' and ilog2() values.
> > > And the 'zero' case compiles clamp(20, 8, 0) which is errored.
> > > Note that it is only executed if totalram_pages() is zero,
> > > but it is always compiled 'just in case'.
> >
> > I'm confused with these compiler issues,
>
> The compiler is just doing its job.
> Consider this expression:
> (x >= 1 ? 2 * x : 1) - 1
> It is likely to get converted to:
> (x >= 1 ? 2 * x - 1 : 0)
> to avoid the subtract when x < 1.
>
> The same thing is happening here.
> order_base_2() has a (condition ? fn() : 0) in it.
> All the +/- constants get moved inside, on 64bit that is +12 -2 -1 -9 = 0.
> Then the clamp() with constants gets moved inside:
> (condition ? clamp(27, 8, fn() + 0) : clamp(27, 8, 0 + 0))
> Now, at runtime, we know that 'condition' is true and (fn() >= 8)
> so the first clamp() is valid and the second one never used.
> But this isn't known by the compiler and clamp() detects the invalid
> call and generates a warning.
I see, such optimizations are beyond my expectations,
I used max_avail var to separate the operations between
different macro calls but in the end they are mixed together...
> > if you
> > think we should go with the patch just decide if it is a
> > net or net-next material. Your change is safer for bad
> > max_avail values but I don't expect to see problem while
> > running without the change, except the building bugs.
> >
> > Also, please use nf/nf-next tag to avoid any
> > confusion with upstreaming...
>
> I've copied Andrew M - he's taken the minmax.h change into his mm tree.
> This is one of the build breakages.
>
> It probably only needs to go into next for now (via some route).
> But I can image the minmax.h changes getting backported a bit.
OK, then can you send v2 with Fixes header, precised comments
and nf tag, it fixes a recent commit, so it can be backported easily...
Regards
--
Julian Anastasov <ja(a)ssi.bg>
Hello,
On Fri, 6 Dec 2024, David Laight wrote:
> From: Julian Anastasov
> > Sent: 06 December 2024 12:19
> >
> > On Fri, 6 Dec 2024, David Laight wrote:
> >
> > > The intention of the code seems to be that the minimum table
> > > size should be 256 (1 << min).
> > > However the code uses max = clamp(20, 5, max_avail) which implies
> >
> > Actually, it tries to reduce max=20 (max possible) below
> > max_avail: [8 .. max_avail]. Not sure what 5 is here...
>
> Me mistyping values between two windows :-)
>
> Well min(max, max_avail) would be the reduced upper limit.
> But you'd still fall foul of the compiler propagating the 'n > 1'
> check in order_base_2() further down the function.
>
> > > the author thought max_avail could be less than 5.
> > > But clamp(val, min, max) is only well defined for max >= min.
> > > If max < min whether is returns min or max depends on the order of
> > > the comparisons.
> >
> > Looks like max_avail goes below 8 ? What value you see
> > for such small system?
>
> I'm not, but clearly you thought the value could be small otherwise
> the code would only have a 'max' limit.
> (Apart from a 'sanity' min of maybe 2 to stop the code breaking.)
I'm not sure how much memory we can see in small system,
IMHO, problem should not be possible in practice:
- nobody expects 0 from totalram_pages() in the code
- order_base_2(sizeof(struct ip_vs_conn)) is probably 8 on 32-bit
- PAGE_SHIFT: 12 (for 4KB) or more?
So, if totalram_pages() returns below 128 pages (4KB each)
max_avail will be below 19 (7 + 12), then 19 is reduced with 2 + 1
and becomes 16, finally with 8 (from the 2nd order_base_2) to reach
16-8=8. You need a system with less than 512KB (19 bits) to trigger
problem in clamp() that will lead to max below 8. Further, without
checks, for ip_vs_conn_tab_bits=1 we need totalram_pages() to return 0
pages.
> > > Detected by compile time checks added to clamp(), specifically:
> > > minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp()
> >
> > Existing or new check? Does it happen that max_avail
> > is a constant, so that a compile check triggers?
>
> Is all stems from order_base_2(totalram_pages()).
> order_base_2(n) is 'n > 1 ? ilog2(n - 1) + 1 : 0'.
> And the compiler generates two copies of the code that follows
> for the 'constant zero' and ilog2() values.
> And the 'zero' case compiles clamp(20, 8, 0) which is errored.
> Note that it is only executed if totalram_pages() is zero,
> but it is always compiled 'just in case'.
I'm confused with these compiler issues, if you
think we should go with the patch just decide if it is a
net or net-next material. Your change is safer for bad
max_avail values but I don't expect to see problem while
running without the change, except the building bugs.
Also, please use nf/nf-next tag to avoid any
confusion with upstreaming...
Regards
--
Julian Anastasov <ja(a)ssi.bg>