Skip to contentSkip to conversation

kernelci/staging-next staging-next-20220916.0: 3 runs 1 failures

DISCUSSION Guillaume Tucker 2 participants 5 messages Sep 16, 2022 – Sep 19, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello,

Quoted 21 lines · staging.kernelci.org bot

kernelci/staging-next staging-next-20220916.0: 3 runs 1 failures

Summary
=======

Tree:     kernelci
Branch:   staging-next
Describe: staging-next-20220916.0
URL:      https://github.com/kernelci/linux.git
SHA1:     d2957623a1103bf8971b0754bc04193dce0dbde2

Name | Result | Total | Failures
----------------+----------+----------+---------

kunit           | fail     |      244 |        4
kver            | pass     |        0 |        0
fstests         | None     |      247 |        5

Failing tests
=============

Quoted 7 lines

kunit
-----

* slub_test.test_next_pointer
* slub_test.test_first_word
* slub_test.test_clobber_50th_byte
* slub_test.test_clobber_redzone_free

We're just starting to run KUnit in Kubernetes with the new KernelCI API & pipeline and these failures showed up on next-20220916. Here's the details from the log:

[12:52:08] ================== slub_test (5 subtests) ================== [12:52:08] [PASSED] test_clobber_zone
[12:52:08] # test_next_pointer: EXPECTATION FAILED at lib/slub_kunit.c:50 [12:52:08] Expected 3 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] # test_next_pointer: EXPECTATION FAILED at lib/slub_kunit.c:62 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 2 - test_next_pointer
[12:52:08] [FAILED] test_next_pointer
[12:52:08] # test_first_word: EXPECTATION FAILED at lib/slub_kunit.c:85 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 3 - test_first_word
[12:52:08] [FAILED] test_first_word
[12:52:08] # test_clobber_50th_byte: EXPECTATION FAILED at lib/slub_kunit.c:100 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 4 - test_clobber_50th_byte
[12:52:08] [FAILED] test_clobber_50th_byte
[12:52:08] # test_clobber_redzone_free: EXPECTATION FAILED at lib/slub_kunit.c:117 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 5 - test_clobber_redzone_free
[12:52:08] [FAILED] test_clobber_redzone_free
[12:52:08] # Subtest: slub_test
[12:52:08] 1..5
[12:52:08] # slub_test: pass:1 fail:4 skip:0 total:5
[12:52:08] # Totals: pass:1 fail:4 skip:0 total:5
[12:52:08] not ok 23 - slub_test
[12:52:08] ==================== [FAILED] slub_test ====================

I've reproduced them by hand with the same Docker environment so it seems valid but it would be great if you could please confirm. Are they known failures, and do you know when they were introduced? They're not failing in mainline afaict.

We'll be adding support for tracking regressions soon so we'll be able to know when failures start to appear automatically. For now, it's useful to double check we're producing valid results.

Thanks,
Guillaume

#2 lore raw
Quoted 69 lines · Guillaume Tucker

Hello,

Quoted 21 lines · staging.kernelci.org bot

kernelci/staging-next staging-next-20220916.0: 3 runs 1 failures

Summary
=======

Tree:     kernelci
Branch:   staging-next
Describe: staging-next-20220916.0
URL:      https://github.com/kernelci/linux.git
SHA1:     d2957623a1103bf8971b0754bc04193dce0dbde2

Name | Result | Total | Failures
----------------+----------+----------+---------

kunit           | fail     |      244 |        4
kver            | pass     |        0 |        0
fstests         | None     |      247 |        5

Failing tests
=============

Quoted 7 lines

kunit
-----

* slub_test.test_next_pointer
* slub_test.test_first_word
* slub_test.test_clobber_50th_byte
* slub_test.test_clobber_redzone_free

We're just starting to run KUnit in Kubernetes with the new KernelCI API & pipeline and these failures showed up on next-20220916. Here's the details from the log:

[12:52:08] ================== slub_test (5 subtests) ================== [12:52:08] [PASSED] test_clobber_zone
[12:52:08] # test_next_pointer: EXPECTATION FAILED at lib/slub_kunit.c:50 [12:52:08] Expected 3 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] # test_next_pointer: EXPECTATION FAILED at lib/slub_kunit.c:62 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 2 - test_next_pointer
[12:52:08] [FAILED] test_next_pointer
[12:52:08] # test_first_word: EXPECTATION FAILED at lib/slub_kunit.c:85 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 3 - test_first_word
[12:52:08] [FAILED] test_first_word
[12:52:08] # test_clobber_50th_byte: EXPECTATION FAILED at lib/slub_kunit.c:100 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 4 - test_clobber_50th_byte
[12:52:08] [FAILED] test_clobber_50th_byte
[12:52:08] # test_clobber_redzone_free: EXPECTATION FAILED at lib/slub_kunit.c:117 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 5 - test_clobber_redzone_free
[12:52:08] [FAILED] test_clobber_redzone_free
[12:52:08] # Subtest: slub_test
[12:52:08] 1..5
[12:52:08] # slub_test: pass:1 fail:4 skip:0 total:5
[12:52:08] # Totals: pass:1 fail:4 skip:0 total:5
[12:52:08] not ok 23 - slub_test
[12:52:08] ==================== [FAILED] slub_test ====================

Quoted 4 lines

I've reproduced them by hand with the same Docker environment so it seems valid but it would be great if you could please confirm. Are they known failures, and do you know when they were introduced? They're not failing in mainline afaict.

Hi, what's the .config here please?
Thanks.

Quoted 6 lines

We'll be adding support for tracking regressions soon so we'll be able to know when failures start to appear automatically. For now, it's useful to double check we're producing valid results.

Thanks,
Guillaume

#3 lore raw
Quoted 70 lines · Vlastimil Babka
Quoted 69 lines · Guillaume Tucker

Hello,

Quoted 21 lines · staging.kernelci.org bot

kernelci/staging-next staging-next-20220916.0: 3 runs 1 failures

Summary
=======

Tree:     kernelci
Branch:   staging-next
Describe: staging-next-20220916.0
URL:      https://github.com/kernelci/linux.git
SHA1:     d2957623a1103bf8971b0754bc04193dce0dbde2

Name | Result | Total | Failures
----------------+----------+----------+---------

kunit           | fail     |      244 |        4
kver            | pass     |        0 |        0
fstests         | None     |      247 |        5

Failing tests
=============

Quoted 7 lines

kunit
-----

* slub_test.test_next_pointer
* slub_test.test_first_word
* slub_test.test_clobber_50th_byte
* slub_test.test_clobber_redzone_free

We're just starting to run KUnit in Kubernetes with the new KernelCI API & pipeline and these failures showed up on next-20220916. Here's the details from the log:

[12:52:08] ================== slub_test (5 subtests) ================== [12:52:08] [PASSED] test_clobber_zone
[12:52:08] # test_next_pointer: EXPECTATION FAILED at lib/slub_kunit.c:50 [12:52:08] Expected 3 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] # test_next_pointer: EXPECTATION FAILED at lib/slub_kunit.c:62 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 2 - test_next_pointer
[12:52:08] [FAILED] test_next_pointer
[12:52:08] # test_first_word: EXPECTATION FAILED at lib/slub_kunit.c:85 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 3 - test_first_word
[12:52:08] [FAILED] test_first_word
[12:52:08] # test_clobber_50th_byte: EXPECTATION FAILED at lib/slub_kunit.c:100 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 4 - test_clobber_50th_byte
[12:52:08] [FAILED] test_clobber_50th_byte
[12:52:08] # test_clobber_redzone_free: EXPECTATION FAILED at lib/slub_kunit.c:117 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 5 - test_clobber_redzone_free
[12:52:08] [FAILED] test_clobber_redzone_free
[12:52:08] # Subtest: slub_test
[12:52:08] 1..5
[12:52:08] # slub_test: pass:1 fail:4 skip:0 total:5
[12:52:08] # Totals: pass:1 fail:4 skip:0 total:5
[12:52:08] not ok 23 - slub_test
[12:52:08] ==================== [FAILED] slub_test ====================

Quoted 7 lines
Quoted 4 lines

I've reproduced them by hand with the same Docker environment so it seems valid but it would be great if you could please confirm. Are they known failures, and do you know when they were introduced? They're not failing in mainline afaict.

Hi, what's the .config here please?
Thanks.

Nevermind, reproduced it and will fix soon, thanks!
Wonder why no other existing bot didn't report it sooner, it's been in next for a while - they don't run kunit tests?

Quoted 7 lines
Quoted 6 lines

We'll be adding support for tracking regressions soon so we'll be able to know when failures start to appear automatically. For now, it's useful to double check we're producing valid results.

Thanks,
Guillaume

#4 lore raw
Quoted 76 lines · Vlastimil Babka
Quoted 75 lines · Vlastimil Babka
Quoted 73 lines · Guillaume Tucker

Hello,

Quoted 21 lines · staging.kernelci.org bot

kernelci/staging-next staging-next-20220916.0: 3 runs 1 failures

Summary
=======

Tree:     kernelci
Branch:   staging-next
Describe: staging-next-20220916.0
URL:      https://github.com/kernelci/linux.git
SHA1:     d2957623a1103bf8971b0754bc04193dce0dbde2

Name | Result | Total | Failures
----------------+----------+----------+---------

kunit           | fail     |      244 |        4
kver            | pass     |        0 |        0
fstests         | None     |      247 |        5

Failing tests
=============

Quoted 7 lines

kunit
-----

* slub_test.test_next_pointer
* slub_test.test_first_word
* slub_test.test_clobber_50th_byte
* slub_test.test_clobber_redzone_free

We're just starting to run KUnit in Kubernetes with the new KernelCI API & pipeline and these failures showed up on next-20220916. Here's the details from the log:

[12:52:08] ================== slub_test (5 subtests) ================== [12:52:08] [PASSED] test_clobber_zone
[12:52:08] # test_next_pointer: EXPECTATION FAILED at lib/slub_kunit.c:50 [12:52:08] Expected 3 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] # test_next_pointer: EXPECTATION FAILED at lib/slub_kunit.c:62 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 2 - test_next_pointer
[12:52:08] [FAILED] test_next_pointer
[12:52:08] # test_first_word: EXPECTATION FAILED at lib/slub_kunit.c:85 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 3 - test_first_word
[12:52:08] [FAILED] test_first_word
[12:52:08] # test_clobber_50th_byte: EXPECTATION FAILED at lib/slub_kunit.c:100 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 4 - test_clobber_50th_byte
[12:52:08] [FAILED] test_clobber_50th_byte
[12:52:08] # test_clobber_redzone_free: EXPECTATION FAILED at lib/slub_kunit.c:117 [12:52:08] Expected 2 == slab_errors, but
[12:52:08] slab_errors == 0
[12:52:08] not ok 5 - test_clobber_redzone_free
[12:52:08] [FAILED] test_clobber_redzone_free
[12:52:08] # Subtest: slub_test
[12:52:08] 1..5
[12:52:08] # slub_test: pass:1 fail:4 skip:0 total:5
[12:52:08] # Totals: pass:1 fail:4 skip:0 total:5
[12:52:08] not ok 23 - slub_test
[12:52:08] ==================== [FAILED] slub_test ====================

I've reproduced them by hand with the same Docker environment so it seems valid but it would be great if you could please confirm. Are they known failures, and do you know when they were introduced? They're not failing in mainline afaict.

Quoted 4 lines
Quoted 2 lines

Hi, what's the .config here please?
Thanks.

Nevermind, reproduced it and will fix soon, thanks!

Great! Since this was reported by a KernelCI email, could you please add this to your fix?

It was using the plain default config, I've put it here anyway:

https://storage.staging.kernelci.org/images/tmp/kunit-config

We'll soon be adding artifacts to test results, I guess we can include the config file in that.

Quoted 2 lines

Wonder why no other existing bot didn't report it sooner, it's been in next for a while - they don't run kunit tests?

I suppose we're the first public CI system to be running KUnit... Glad that helped, sounds like a very good start.

Thanks,
Guillaume

#5 lore raw
Quoted 8 lines · Guillaume Tucker
Quoted 7 lines · Vlastimil Babka
Quoted 5 lines · Vlastimil Babka
Quoted 1 line · Guillaume Tucker

Hello,

Hi, what's the .config here please?
Thanks.

Quoted 6 lines
Quoted 1 line

Nevermind, reproduced it and will fix soon, thanks!

Great! Since this was reported by a KernelCI email, could you please add this to your fix?

I'd love to, but it was still possible to amend the broken commit and
Reported-by: for the whole of it would be misleading. We currently lack a standard way for giving the report credit in such situation :/

Quoted 5 lines

It was using the plain default config, I've put it here anyway:

https://storage.staging.kernelci.org/images/tmp/kunit-config

Quoted 8 lines

We'll soon be adding artifacts to test results, I guess we can include the config file in that.

Quoted 2 lines

Wonder why no other existing bot didn't report it sooner, it's been in next for a while - they don't run kunit tests?

I suppose we're the first public CI system to be running KUnit... Glad that helped, sounds like a very good start.

Yep, thanks a lot!

Quoted 3 lines

Thanks,
Guillaume