Failure to grab a thread with b4
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CABgObfZ4SXoXimBGVwL1uWNNvMJmJG5WoTQoBefysU6rS7EPaQ@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): CAHk-=wjyyZxDUr8c_V+Pa9NEM4jvJa0Joy32ss7-Kb0W=rZyjA@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): CAMwyc-RVsOwbO93WLKB++KAwF5WasfiPkqSjkn3oPNZUMnWOcA@mail.gmail.com
A message that is not in the archive (sent off-list or not yet received): 20200704204849.q7lfqbahtdxway44@wittgenstein
A message that is not in the archive (sent off-list or not yet received): 20200704205140.3sztf4avevm635rt@wittgenstein
Quoted 2 lines · Christian Brauner
Quoted 1 line · Christian Brauner
Hey Konstantin,
Please remember to cc [email protected] as well.
Quoted 36 lines
Quoted 36 lines
I'm running:
brauner@wittgenstein|~
Quoted 1 line
b4 --version
0.5.1
and it fails to grab two patches from a series I sent:
Looking up https://lore.kernel.org/r/20200622234326.906346-1-christian.brauner%40ubuntu.com
Grabbing thread from lore.kernel.org/lkml
Checking for newer revisions on https://lore.kernel.org/lkml/
Analyzing 20 messages in the thread
---
Thread incomplete, attempting to backfill
---
Writing ./20200623_christian_brauner_arch_remove_do_fork_and_have_copy_thread_tls.mbx
[PATCH 01/17] fork: foldlegacy_clone_args_valid()into_do_fork()
[PATCH 02/17] sparc64: enableHAVE_COPY_THREAD_TLS
[PATCH 03/17] sparc: share process creation helpers between sparc and sparc64 [PATCH 04/17] sparc: unconditionally enableHAVE_COPY_THREAD_TLS
[PATCH 05/17] ia64: enableHAVE_COPY_THREAD_TLS, switch tokernel_clone_args[PATCH 06/17] nios2: enableHAVE_COPY_THREAD_TLS, switch tokernel_clone_args[PATCH 07/17] h8300: selectHAVE_COPY_THREAD_TLS, switch tokernel_clone_args[PATCH 08/17] fork: removedo_fork()
[PATCH 09/17] alpha: switch tocopy_thread_tls()
[PATCH 10/17] c6x: switch tocopy_thread_tls()
[PATCH 11/17] hexagon: switch tocopy_thread_tls()
+ Acked-by: Brian Cain <[email protected]>
[PATCH 12/17] microblaze: switch tocopy_thread_tls()
[PATCH 13/17] nds32: switch tocopy_thread_tls()
[PATCH 14/17] sh: switch tocopy_thread_tls()
[PATCH 15/17] unicore: switch tocopy_thread_tls()
ERROR: missing [16/17]!
ERROR: missing [17/17]!
Quoted 1 line
Quoted 1 line
Just in case you need to fix something.
Well, they are actually not on LKML as far as I can tell -- very likely due to vger having hiccups on the day you sent them. E.g. the following links return 404:
https://lore.kernel.org/lkml/[email protected]/
https://lore.kernel.org/lkml/[email protected]/
They do exist on linuxppc-dev, but not the rest of the series. Unfortunately, we are currently only able to backfill based on cc information present on the cover letter, so we don't try to backfill from linuxppc-dev because the cover letter doesn't have that list cc'd.
I don't want to do clever workaround fixes for this, as eventually public-inbox will gain ability to collate threads from all of the lists it is tracking, so this category of problems should go away entirely without needing to work in clever hacks.
Quoted 6 lines
Looking up
https://lore.kernel.org/r/20200622234326.906346-18-christian.brauner%40ubuntu.com
Grabbing thread from lore.kernel.org/linuxppc-dev Traceback (most recent call last):
File "/home/brauner/.local/bin//b4", line 8, in <module>sys.exit(cmd())
Quoted 10 lines
File "
/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 222, in cmd
cmdargs.func(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 40, incmd_am
b4.mbox.main(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 491, in main
get_extra_series(threadmbox, direction=1)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 369, inget_extra_series
lsub =b4.LoreSubject(base_msg['Subject'])
TypeError: 'NoneType' object is not subscriptable
Press any key to continue...
Got it -- the fix should be landing in master and stable-0.5.y soon.
-K
Quoted 48 lines · Konstantin Ryabitsev
Quoted 2 lines · Christian Brauner
Quoted 1 line · Christian Brauner
Hey Konstantin,
Please remember to cc [email protected] as well.
Quoted 36 lines
Quoted 36 lines
I'm running:
brauner@wittgenstein|~
Quoted 1 line
b4 --version
0.5.1
and it fails to grab two patches from a series I sent:
Looking up https://lore.kernel.org/r/20200622234326.906346-1-christian.brauner%40ubuntu.com
Grabbing thread from lore.kernel.org/lkml
Checking for newer revisions on https://lore.kernel.org/lkml/
Analyzing 20 messages in the thread
---
Thread incomplete, attempting to backfill
---
Writing ./20200623_christian_brauner_arch_remove_do_fork_and_have_copy_thread_tls.mbx
[PATCH 01/17] fork: foldlegacy_clone_args_valid()into_do_fork()
[PATCH 02/17] sparc64: enableHAVE_COPY_THREAD_TLS
[PATCH 03/17] sparc: share process creation helpers between sparc and sparc64 [PATCH 04/17] sparc: unconditionally enableHAVE_COPY_THREAD_TLS
[PATCH 05/17] ia64: enableHAVE_COPY_THREAD_TLS, switch tokernel_clone_args[PATCH 06/17] nios2: enableHAVE_COPY_THREAD_TLS, switch tokernel_clone_args[PATCH 07/17] h8300: selectHAVE_COPY_THREAD_TLS, switch tokernel_clone_args[PATCH 08/17] fork: removedo_fork()
[PATCH 09/17] alpha: switch tocopy_thread_tls()
[PATCH 10/17] c6x: switch tocopy_thread_tls()
[PATCH 11/17] hexagon: switch tocopy_thread_tls()
+ Acked-by: Brian Cain <[email protected]>
[PATCH 12/17] microblaze: switch tocopy_thread_tls()
[PATCH 13/17] nds32: switch tocopy_thread_tls()
[PATCH 14/17] sh: switch tocopy_thread_tls()
[PATCH 15/17] unicore: switch tocopy_thread_tls()
ERROR: missing [16/17]!
ERROR: missing [17/17]!Quoted 1 line
Quoted 1 line
Just in case you need to fix something.
Well, they are actually not on LKML as far as I can tell -- very likely due to vger having hiccups on the day you sent them. E.g. the following links return 404:
Quoted 7 lines
https://lore.kernel.org/lkml/[email protected]/
https://lore.kernel.org/lkml/[email protected]/They do exist on linuxppc-dev, but not the rest of the series. Unfortunately, we are currently only able to backfill based on cc information present on the cover letter, so we don't try to backfill from linuxppc-dev because the cover letter doesn't have that list cc'd.
Ah, ok. Since I've received Acks on the missing patches I assumed that they must've made it somewhere.
Quoted 23 lines
I don't want to do clever workaround fixes for this, as eventually public-inbox will gain ability to collate threads from all of the lists it is tracking, so this category of problems should go away entirely without needing to work in clever hacks.
Quoted 6 lines
Looking up
https://lore.kernel.org/r/20200622234326.906346-18-christian.brauner%40ubuntu.com
Grabbing thread from lore.kernel.org/linuxppc-dev Traceback (most recent call last):
File "/home/brauner/.local/bin//b4", line 8, in <module>sys.exit(cmd())Quoted 10 lines
File "
/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 222, in cmd
cmdargs.func(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 40, incmd_am
b4.mbox.main(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 491, in main
get_extra_series(threadmbox, direction=1)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 369, inget_extra_series
lsub =b4.LoreSubject(base_msg['Subject'])
TypeError: 'NoneType' object is not subscriptable
Press any key to continue...
Quoted 1 line
Got it -- the fix should be landing in master and stable-0.5.y soon.
I've had another crash today. It might be related but I'm posting in case it is a separate bug:
Press any key to continue...
Looking up https://lore.kernel.org/r/20200706201720.3482959-1-keescook%40chromium.org
Grabbing thread from lore.kernel.org/linux-api
Checking for newer revisions on https://lore.kernel.org/linux-api/
Analyzing 10 messages in the thread
---
Writing ./v6_20200706_keescook_add_seccomp_notifier_ioctl_that_enables_adding_fds.mbx
[✓] [PATCH v6 1/7] net/scm: Regularize compat handling of scm_detach_fds()
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 2/7] fs: Move __scm_install_fd() to __receive_fd()
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 3/7] fs: Add receive_fd() wrapper for __receive_fd()
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 4/7] pidfd: Replace open-coded partial receive_fd()
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 5/7] fs: Expand __receive_fd() to accept existing fd
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 6/7] seccomp: Introduce addfd ioctl to seccomp user notifier
Traceback (most recent call last):
File "/home/brauner/.local/bin//b4", line 8, in <module>
sys.exit(cmd())
File "/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 222, in cmd
cmdargs.func(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 40, in cmd_am
b4.mbox.main(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 494, in main
mbox_to_am(threadmbox, cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 110, in mbox_to_am
am_mbx = lser.save_am_mbox(mbx, noaddtrailers=cmdargs.noaddtrailers,
File "/home/brauner/.local/lib/python3.8/site-packages/b4/__init__.py", line 532, in save_am_mbox
failed.remove('commit metadata')
ValueError: list.remove(x): x not in list
Press any key to continue...
Closing connection to imap.gmail.com...
Christian
Quoted 24 lines · Christian Brauner
I've had another crash today. It might be related but I'm posting in case it is a separate bug:
Press any key to continue...
Looking up https://lore.kernel.org/r/20200706201720.3482959-1-keescook%40chromium.org
Grabbing thread from lore.kernel.org/linux-api
Checking for newer revisions on https://lore.kernel.org/linux-api/
Analyzing 10 messages in the thread
---
Writing ./v6_20200706_keescook_add_seccomp_notifier_ioctl_that_enables_adding_fds.mbx
[✓] [PATCH v6 1/7] net/scm: Regularize compat handling ofscm_detach_fds()
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 2/7] fs: Move__scm_install_fd()to__receive_fd()
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 3/7] fs: Addreceive_fd()wrapper for__receive_fd()
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 4/7] pidfd: Replace open-coded partialreceive_fd()
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 5/7] fs: Expand__receive_fd()to accept existing fd
+ Signed-off-by: Christian Brauner <[email protected]>
[✗[0m] [PATCH v6 6/7] seccomp: Introduce addfd ioctl to seccomp user notifier
Traceback (most recent call last):
File "/home/brauner/.local/bin//b4", line 8, in <module>sys.exit(cmd())
Quoted 11 lines
File "
/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 222, in cmd
cmdargs.func(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 40, incmd_am
b4.mbox.main(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 494, in main
mbox_to_am(threadmbox, cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 110, inmbox_to_am
am_mbx= lser.save_am_mbox(mbx, noaddtrailers=cmdargs.noaddtrailers,
File "/home/brauner/.local/lib/python3.8/site-packages/b4/__init__.py", line 532, insave_am_mbox
failed.remove('commit metadata')
ValueError:list.remove(x): x not in list
I can't reproduce this one. Can you give me all command-line switches you're using with "b4 am"?
-K
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · Konstantin Ryabitsev via linux.kernel.org
Quoted 14 lines
Traceback (most recent call last):
File "/home/brauner/.local/bin//b4", line 8, in <module>sys.exit(cmd())File "
/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 222, in cmd
cmdargs.func(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/command.py", line 40, incmd_am
b4.mbox.main(cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 494, in main
mbox_to_am(threadmbox, cmdargs)
File "/home/brauner/.local/lib/python3.8/site-packages/b4/mbox.py", line 110, inmbox_to_am
am_mbx= lser.save_am_mbox(mbx, noaddtrailers=cmdargs.noaddtrailers,
File "/home/brauner/.local/lib/python3.8/site-packages/b4/__init__.py", line 532, insave_am_mbox
failed.remove('commit metadata')
ValueError:list.remove(x): x not in list
Quoted 2 lines
I can't reproduce this one. Can you give me all command-line switches you're using with "b4 am"?
I managed to recreate it based on the output you were seeing -- the latest 0.5.y should have the fix. I'll plan to release 0.5.2 by the end of the week.
Thanks,
-K