Skip to contentSkip to conversation

xfstests failed test cases

DISCUSSION ChenXiaoSong 1 participant 6 messages Jan 28 – Feb 2 10 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): CAH2r5mv41nFwJQwszD82MQbtDV75zVy6=tbwqxDTOsw2hwfBpw@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CANT5p=qmo_KORMQbnjonapAaGHq=UvWAMzR0jNKBBvx3UUkyjQ@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CANT5p=pfQE2A++j6W4sEudrSLH6ct=ho4i=k2ZDEecUAX0cReg@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAH2r5mvakK7=1i-fZTE9hLLYd_Q3o5z557vQZ5QQtdOTkZeSew@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAH2r5mufJgC85ULoVzYSMXDq4=-RUiJ2YgppM434vz1Q4B1d+A@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAH2r5msVifsc-E0TjaYXt2Afh1MiCsJTSwMnsDAdUShRgkJ_4A@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAH2r5mukVmnfK7X3jXWwRnD-_RAMuUgzXpi+HzNjxOat4tobJA@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAH2r5mvW23-eUsjDQ_0oLrmj406Og5sDs-yPgqh6jPwdSEG+Tg@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): CAH2r5mu909vLwAQcKFQX7cWz421V1QmSiBAKyJeC8gUcGVb0Ew@mail.gmail.com

#9 lore raw

I have reproduced the failures of these test cases. For detailed information, please check the link: https://chenxiaosong.com/en/smb-buildbot.html (I will ensure this link is always accessible).

Perhaps sending these issues to the mailing list could help resolve them more quickly.

Thanks,
ChenXiaoSong <[email protected]>

Quoted 3 lines · Steve French

I did see a crash in cifs/103
(http://smb311-linux-testing.southcentralus.cloudapp.azure.com/#/ builders/12/builds/38/steps/19/logs/stdio) running mchan test run to Windows. Ideas?

Quoted 26 lines · Steve French

Any thoughts on the failures with current for-next (to WIndows, fast VM, with multichannel) for tests generic/533 and generic/565

+++ /data/xfstests-dev/results//smb3mcmfs/generic/565.out.bad

2026-01-24 22:13:17.098765412 -0600
(quoted diff) +0 -0
@@ -1,4 +1,6 @@

QA output created by 565

(quoted diff) +2 -0
+mkdir: cannot create directory '/mnt/test/test-565': Input/output error
+/mnt/scratch/copy: Input/output error cmp: /mnt/test/test-565/file:

No such file or directory
md5sums after xdev copy:
-81615449a98aaaad8dc179b3bec87f38 TEST_DIR/test-565/file -81615449a98aaaad8dc179b3bec87f38 SCRATCH_MNT/copy +md5sum: /mnt/test/test-565/file: No such file or directory

http://smb311-linux-testing.southcentralus.cloudapp.azure.com/#/builders/12/builds/46/steps/138/logs/stdio

and

http://smb311-linux-testing.southcentralus.cloudapp.azure.com/#/builders/12/builds/46/steps/136/logs/stdio

and also git/0003

http://smb311-linux-testing.southcentralus.cloudapp.azure.com/#/builders/12/builds/46/steps/160/logs/stdio

Does this fail for you as well?

A message that is not in the archive (sent off-list or not yet received): CAH2r5muyYgm4-Nwvd=d+Sqq7mmd+HGPoyM1tid6dsnN1=vt3Ng@mail.gmail.com

#11 lore raw

I will identify the cause of these test case failures as soon as possible.

Thanks,
ChenXiaoSong <[email protected]>

Quoted 1 line · Steve French

This is helpful. Any luck finding out if fails on both mainline and also for-next and if so can we bisect it?

#12 lore raw
In reply to ChenXiaoSong

I found the key factor that triggers kmemleak in cifs/103, the directory exported by the server must be read-only.

When sharing a folder on Windows, do not check "Allow Change", set the permissions of the shared directory to read-only.

Alternatively, smb.conf of Samba is configured as follows:

```
[test]
    ...
    read only = yes
[test2]
    ...
    read only = yes
```

For detailed information, please check the link: https://chenxiaosong.com/en/smb-buildbot.html#cifs-103

I will first try to analyze the code, and if that doesn't work, I will try to bisect it.

Thanks,
ChenXiaoSong <[email protected]>

Quoted 3 lines · ChenXiaoSong

I have reproduced the failures of these test cases. For detailed information, please check the link: https://chenxiaosong.com/en/smb- buildbot.html (I will ensure this link is always accessible).

Perhaps sending these issues to the mailing list could help resolve them more quickly.

#13 lore raw

Steve and I have completed a git bisect and found the first bad commit:
[e255612b5ed9f179abe8196df7c2ba09dd227900] cifs: Add fallback for SMB2 CREATE without FILE_READ_ATTRIBUTES

For detailed information, please check the link: https://chenxiaosong.com/en/smb-buildbot.html#cifs-103-bisect

Thanks,
ChenXiaoSong <[email protected]>

Quoted 25 lines · ChenXiaoSong

I found the key factor that triggers kmemleak in cifs/103, the directory exported by the server must be read-only.

When sharing a folder on Windows, do not check "Allow Change", set the permissions of the shared directory to read-only.

Alternatively, smb.conf of Samba is configured as follows:

```
[test]
     ...
     read only = yes
[test2]
     ...
     read only = yes
```

For detailed information, please check the link: https:// chenxiaosong.com/en/smb-buildbot.html#cifs-103

I will first try to analyze the code, and if that doesn't work, I will try to bisect it.

Thanks,
ChenXiaoSong <[email protected]>

Quoted 3 lines · ChenXiaoSong

I have reproduced the failures of these test cases. For detailed information, please check the link: https://chenxiaosong.com/en/smb- buildbot.html (I will ensure this link is always accessible).

Perhaps sending these issues to the mailing list could help resolve them more quickly.

#14 lore raw

I have already submitted a patch to fix this issue: https://lore.kernel.org/linux-cifs/[email protected]/

Thanks,
ChenXiaoSong <[email protected]>

Quoted 35 lines · ChenXiaoSong

Steve and I have completed a git bisect and found the first bad commit:
[e255612b5ed9f179abe8196df7c2ba09dd227900] cifs: Add fallback for SMB2 CREATE without FILE_READ_ATTRIBUTES

For detailed information, please check the link: https:// chenxiaosong.com/en/smb-buildbot.html#cifs-103-bisect

Thanks,
ChenXiaoSong <[email protected]>

Quoted 25 lines · ChenXiaoSong

I found the key factor that triggers kmemleak in cifs/103, the directory exported by the server must be read-only.

When sharing a folder on Windows, do not check "Allow Change", set the permissions of the shared directory to read-only.

Alternatively, smb.conf of Samba is configured as follows:

```
[test]
     ...
     read only = yes
[test2]
     ...
     read only = yes
```

For detailed information, please check the link: https:// chenxiaosong.com/en/smb-buildbot.html#cifs-103

I will first try to analyze the code, and if that doesn't work, I will try to bisect it.

Thanks,
ChenXiaoSong <[email protected]>

Quoted 3 lines · ChenXiaoSong

I have reproduced the failures of these test cases. For detailed information, please check the link: https://chenxiaosong.com/en/smb- buildbot.html (I will ensure this link is always accessible).

Perhaps sending these issues to the mailing list could help resolve them more quickly.

#15 lore raw

I have submitted another patch to fix the SMB1 kmemleak issue: https://lore.kernel.org/linux-cifs/[email protected]/

Thanks,
ChenXiaoSong <[email protected]>

Quoted 42 lines · ChenXiaoSong

I have already submitted a patch to fix this issue: https:// lore.kernel.org/linux-cifs/20260201081017.998628-1- [email protected]/

Thanks,
ChenXiaoSong <[email protected]>

Quoted 35 lines · ChenXiaoSong

Steve and I have completed a git bisect and found the first bad commit:
[e255612b5ed9f179abe8196df7c2ba09dd227900] cifs: Add fallback for SMB2 CREATE without FILE_READ_ATTRIBUTES

For detailed information, please check the link: https:// chenxiaosong.com/en/smb-buildbot.html#cifs-103-bisect

Thanks,
ChenXiaoSong <[email protected]>

Quoted 25 lines · ChenXiaoSong

I found the key factor that triggers kmemleak in cifs/103, the directory exported by the server must be read-only.

When sharing a folder on Windows, do not check "Allow Change", set the permissions of the shared directory to read-only.

Alternatively, smb.conf of Samba is configured as follows:

```
[test]
     ...
     read only = yes
[test2]
     ...
     read only = yes
```

For detailed information, please check the link: https:// chenxiaosong.com/en/smb-buildbot.html#cifs-103

I will first try to analyze the code, and if that doesn't work, I will try to bisect it.

Thanks,
ChenXiaoSong <[email protected]>

Quoted 3 lines · ChenXiaoSong

I have reproduced the failures of these test cases. For detailed information, please check the link: https://chenxiaosong.com/en/smb- buildbot.html (I will ensure this link is always accessible).

Perhaps sending these issues to the mailing list could help resolve them more quickly.